页面调整

This commit is contained in:
cclu 2022-05-11 18:46:14 +08:00
parent f1591c01e7
commit 83786fb95b
10 changed files with 28 additions and 21 deletions

View File

@ -20,13 +20,17 @@
margin-left: 36rpx; margin-left: 36rpx;
color: #333333; color: #333333;
} }
.content-type-text { .content-type-text {
color: #686868; color: #686868;
padding-left: 38rpx; padding-left: 38rpx;
font-size: 22rpx; font-size: 22rpx;
line-height: 1.6; line-height: 1.6;
max-width: 610rpx; max-width: 306rpx;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
} }
.content-index { .content-index {
width: 42rpx; width: 42rpx;

View File

@ -154,7 +154,7 @@ function addUserBehavior (obj) {
// 视频播放 // 视频播放
const EZUIPlayer = require('./ezuikit.js'); const EZUIPlayer = require('./ezuikit.js');
function playVideo(opt) { function playVideo(opt) {
debugger
return new EZUIPlayer(opt) return new EZUIPlayer(opt)
} }
export default { export default {

View File

@ -105,7 +105,7 @@
left: 0; left: 0;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
min-height: 200upx; min-height: 400upx;
line-height: 100upx; line-height: 100upx;
text-align: center; text-align: center;
} }

View File

@ -2,7 +2,7 @@
<div class="card" :class="item.SORTNUM == 0 ? 'conten-border' : ''" @tap='goDetail' v-if="item"> <div class="card" :class="item.SORTNUM == 0 ? 'conten-border' : ''" @tap='goDetail' v-if="item">
<div class="uni-flex jc-between" > <div class="uni-flex jc-between" >
<p class="contentName"> <p class="contentName">
{{item.name}} {{item.serverpart}}
<!-- <span v-if="item.HIGHWAYPROINST_NEXTID=='3000'" style="color:#D73535;">退</span> <!-- <span v-if="item.HIGHWAYPROINST_NEXTID=='3000'" style="color:#D73535;">退</span>
<span v-else-if="item.HIGHWAYPROINST_NEXTID=='4000'" style="color:#D73535;"></span> --> <span v-else-if="item.HIGHWAYPROINST_NEXTID=='4000'" style="color:#D73535;"></span> -->
</p> </p>
@ -10,10 +10,10 @@
</div> </div>
<div class="content-index">{{i+1}}</div> <div class="content-index">{{i+1}}</div>
<view style="line-height: 1;"> <view style="line-height: 1;">
<text class="content-type-text">{{item.serverpart}}</text> <text class="content-type-text">{{item.title}}</text>
</view> </view>
<view class="content-box-cashpay"> <view class="content-box-cashpay">
<text >{{item.title}}</text> <text >{{item.name}}</text>
</view> </view>
<view class="bb1"></view> <view class="bb1"></view>

View File

@ -275,7 +275,7 @@
}, },
savaShops() { savaShops() {
let _this = this let _this = this
debugger
if(!this.selectShopids.length){ if(!this.selectShopids.length){
uni.showToast({ title: '请选择需要授权的门店' ,icon:'none'}) uni.showToast({ title: '请选择需要授权的门店' ,icon:'none'})
return return

View File

@ -24,7 +24,7 @@
<text>{{!pageData.isEnd ? '正在加载,请稍后...':'——— 我是有底线的 ———'}}</text> <text>{{!pageData.isEnd ? '正在加载,请稍后...':'——— 我是有底线的 ———'}}</text>
</view> </view>
<UniPop :show="showPop" @hidePopup="closePop" type="bottom" @touchmove.prevent round="true"> <UniPop :show="showPop" @hidePopup="closePop" type="bottom" @touchmove.prevent round="true">
<view class="pb24"> <view class="pb24" style="min-height: 550rpx;">
<!-- <view class="moduleTitle">日期</view> <!-- <view class="moduleTitle">日期</view>
<view class="uni-flex align-center"> <view class="uni-flex align-center">
<view v-for="(d,index) in dateList" :key="index" @click="selectDate(index)" class="tag-item" :class="{'actived':dateIndex==index}">{{d.name}}</view> <view v-for="(d,index) in dateList" :key="index" @click="selectDate(index)" class="tag-item" :class="{'actived':dateIndex==index}">{{d.name}}</view>
@ -238,8 +238,9 @@
color: #fff; color: #fff;
font-size: 28rpx; font-size: 28rpx;
background: #5b96e9; background: #5b96e9;
border-radius: 8rpx; border-radius: 40rpx;
/* margin-top: 48rpx; */ /* margin-top: 48rpx; */
margin: 48rpx auto 24rpx auto; margin: 48rpx auto 0 auto;
transform: translateY(88%);
} }
</style> </style>

View File

@ -2,18 +2,18 @@
<div class="card" :class="item.SORTNUM == 0 ? 'conten-border' : ''" @tap='goDetail' v-if="item"> <div class="card" :class="item.SORTNUM == 0 ? 'conten-border' : ''" @tap='goDetail' v-if="item">
<div class="uni-flex jc-between" > <div class="uni-flex jc-between" >
<p class="contentName"> <p class="contentName">
{{item.PRODEF_NAME}} {{item.SERVERPART_NAME}}
<span v-if="item.HIGHWAYPROINST_NEXTID=='3000'" style="color:#D73535;">退</span> <!-- <span v-if="item.HIGHWAYPROINST_NEXTID=='3000'" style="color:#D73535;">退</span>
<span v-else-if="item.HIGHWAYPROINST_NEXTID=='4000'" style="color:#D73535;"></span> <span v-else-if="item.HIGHWAYPROINST_NEXTID=='4000'" style="color:#D73535;"></span> -->
</p> </p>
<text class="typeText" :class="item.HIGHWAYPROINST_NEXTID=='9000' ? 'typeText-color' : ''">{{item.SORTNUM==0 ? '待我处理': proStatus[item.HIGHWAYPROINST_NEXTID]}}</text> <text class="typeText" :class="item.HIGHWAYPROINST_NEXTID=='9000' ? 'typeText-color' : ''">{{item.SORTNUM==0 ? '待我处理': proStatus[item.HIGHWAYPROINST_NEXTID]}}</text>
</div> </div>
<div class="content-index">{{i+1}}</div> <div class="content-index">{{i+1}}</div>
<view style="line-height: 1;"> <view style="line-height: 1;" class="content-type-text">
<text class="content-type-text">{{item.SERVERPART_NAME}}</text> {{item.PROINST_NAME}}
</view> </view>
<view class="content-box-cashpay"> <view class="content-box-cashpay">
<text >{{item.PROINST_NAME}}</text> <text >{{item.PRODEF_NAME }}</text>
</view> </view>
<view class="bb1"></view> <view class="bb1"></view>

View File

@ -414,6 +414,7 @@
box-shadow: 0 2upx 6upx rgba(0, 0, 0, 0.1); box-shadow: 0 2upx 6upx rgba(0, 0, 0, 0.1);
margin-left: 24upx; margin-left: 24upx;
margin-right: 24upx; margin-right: 24upx;
margin-top: 2rpx;
} }
.main-card+.main-card { .main-card+.main-card {
@ -422,6 +423,7 @@
.uni-collapse-content .main-card:nth-last-child(1) { .uni-collapse-content .main-card:nth-last-child(1) {
margin-bottom: 40upx; margin-bottom: 40upx;
} }
.card-title { .card-title {

View File

@ -36,7 +36,7 @@
</div> </div>
<div class="customer-content"> <div class="customer-content">
<div class="customer-title">车辆归属地</div> <div class="customer-title">车辆归属地</div>
<div v-if="chartdata.countChart[canvasTab] || !lodingDetail"> <div v-if="chartdata.countChart[canvasTab] && !lodingDetail">
<view class="operation-pie-content"> <view class="operation-pie-content">
<!-- <uni-ec-canvas <!-- <uni-ec-canvas
class="operation-stock-content" class="operation-stock-content"
@ -221,10 +221,10 @@
...params ...params
}) })
if (data.Result_Code === 100 && data.Result_Data.List.length > 0) { if (data.Result_Code === 100 && data.Result_Data.List.length > 0) {
const [list] = data.Result_Data.List const [list] = data.Result_Data.List
this.chartdata.countChart[type] = list this.chartdata.countChart[type] = list
this.showClounm({ this.showClounm({
id: 'carBelong', id: 'carBelong',
data: [{ data: [{
@ -241,7 +241,7 @@
}], }],
categories: list.OwnerCity categories: list.OwnerCity
}) })
//
this.showPie({ this.showPie({
id: 'carFunnel', id: 'carFunnel',
data: list.OwnerProvinceList.map(n => { data: list.OwnerProvinceList.map(n => {
@ -364,7 +364,7 @@
type:'categories', type:'categories',
titleFontSize: uni.upx2px(22), titleFontSize: uni.upx2px(22),
titleFontColor: '#BABABA', titleFontColor: '#BABABA',
titleOffsetX: uni.upx2px(-40), // titleOffsetX: uni.upx2px(-40),
titleOffsetY: uni.upx2px(-20), titleOffsetY: uni.upx2px(-20),
fontSize: uni.upx2px(24), fontSize: uni.upx2px(24),
fontColor: '#777777', fontColor: '#777777',

View File

@ -1176,7 +1176,7 @@
title: '正在加载...' title: '正在加载...'
}) })
const toSnhuiPageProvinceCode = [340000,520000,451200,510000,620000,630000] // const toSnhuiPageProvinceCode = [340000,520000,451200,510000,620000,630000] //
debugger
if (option.ProvinceCode) { // if (option.ProvinceCode) { //
if (toSnhuiPageProvinceCode.indexOf(parseInt(option.ProvinceCode))>-1) { if (toSnhuiPageProvinceCode.indexOf(parseInt(option.ProvinceCode))>-1) {
// 451200510000520000620000630000 // 451200510000520000620000630000