Browse Source

修改样式

message
corala 2 years ago
parent
commit
ca9e06082c
13 changed files with 183 additions and 154 deletions
  1. +2
    -0
      App.vue
  2. +2
    -2
      pages.json
  3. +36
    -12
      pages/center/Piabodata/Employeesstatistics.vue
  4. +11
    -3
      pages/center/Piabodata/TrendAnalysis.vue
  5. +3
    -3
      pages/center/Piabodata/index.vue
  6. +12
    -14
      pages/center/consumer/consumerDetail.vue
  7. +8
    -16
      pages/center/consumer/index.vue
  8. +13
    -16
      pages/center/records/index.vue
  9. +52
    -33
      pages/index/consumer/index.vue
  10. +29
    -37
      pages/index/index.vue
  11. +4
    -2
      pages/index/personal.vue
  12. +5
    -5
      pages/login/index.vue
  13. +6
    -11
      pages/mine/details2.vue

+ 2
- 0
App.vue View File

@@ -388,12 +388,14 @@
line-height: 92rpx; line-height: 92rpx;
color: #666666; color: #666666;
font-size: 28rpx; font-size: 28rpx;
font-weight: 400;
display: flex; display: flex;
justify-content: center; justify-content: center;


.activecllasscet { .activecllasscet {
width: 96rpx; width: 96rpx;
color: #2671E2; color: #2671E2;
font-weight: 600;
border-bottom: 4rpx solid #2671E2; border-bottom: 4rpx solid #2671E2;
} }
} }


+ 2
- 2
pages.json View File

@@ -574,8 +574,8 @@
}, },
"debug": false, "debug": false,
"tabBar": { "tabBar": {
"color": "#8E8E8E",
"selectedColor": "#1296db",
"color": "#666",
"selectedColor": "#2671E2",
"borderStyle": "white", "borderStyle": "white",
"list": [{ "list": [{
"pagePath": "pages/index/customer", "pagePath": "pages/index/customer",


+ 36
- 12
pages/center/Piabodata/Employeesstatistics.vue View File

@@ -34,8 +34,8 @@
</view> </view>
</view> </view>
<view class="jindu" style="margin-top: 20rpx;height: 360rpx;overflow: auto;">
<view v-if="newlisttabinfo1.result.length!=0" class="jindu-box" v-for="(item,index) in newlisttabinfo1.result" :key="index">
<view class="jindu" style="margin-top: 20rpx;min-height: 300rpx;">
<view v-if="newlisttabinfo1.result.length" class="jindu-box" v-for="(item,index) in newlisttabinfo1.result" :key="index">
<view class="jindu-boxche"> <view class="jindu-boxche">
<view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name"> <view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name">
<image v-if="index==0" class="sort-img" src="/static/images/top1.png" mode="" /> <image v-if="index==0" class="sort-img" src="/static/images/top1.png" mode="" />
@@ -61,7 +61,7 @@
<view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view> <view style="width: 100%;height: 20rpx;background: #FAFAFA;"></view>
<view class="single"> <view class="single">
<view class="title"> <view class="title">
<view class="title1" style="flex: 1;">销讲执行率排行(TOP10)</view>
<view class="title1" style="flex: 1;">平均执行率排行(TOP10)</view>
</view> </view>
<view class="hejisan"> <view class="hejisan">
<view class="sanbox1" style="width: 40%;"> <view class="sanbox1" style="width: 40%;">
@@ -73,12 +73,24 @@
<view class="text1-1">人均执行率</view> <view class="text1-1">人均执行率</view>
</view> </view>
</view> </view>
<view class="jindu" style="height: 360rpx;overflow: auto;">
<view v-if="newlisttabinfo3.result.length!=0" class="jindu-box" v-for="(item,index) in newlisttabinfo3.result" :key="index">
<view class="jindu" style="margin-top: 20rpx;min-height: 300rpx;">
<view v-if="newlisttabinfo3.result.length" class="jindu-box" v-for="(item,index) in newlisttabinfo3.result" :key="index">
<view class="jindu-boxche"> <view class="jindu-boxche">
<view class="jindu-name" v-if="item.name">{{item.name.substring(0,4)}}</view>
<view class="progress-cus">
<view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name">
<image v-if="index==0" class="sort-img" src="/static/images/top1.png" mode="" />
<image v-if="index==1" class="sort-img" src="/static/images/top2.png" mode="" />
<image v-if="index==2" class="sort-img" src="/static/images/top3.png" mode="" />
<view class="sort-number" v-if="index>2">{{index+1}}</view>
{{item.name.substring(0,4)}}</view>
<!-- <view class="jindu-name" v-if="item.name">{{item.name.substring(0,4)}}</view> -->
<!-- <view class="progress-cus">
<view class="color" :style="'width:'+ item.zxl||0 + '%'" ></view> <view class="color" :style="'width:'+ item.zxl||0 + '%'" ></view>
</view> -->
<view class="progress-cus">
<view class="color1" v-if="index==0" :style="'width:'+ item.zxl||0 + '%'" ></view>
<view class="color2" v-if="index==1" :style="'width:'+ item.zxl||0 + '%'" ></view>
<view class="color3" v-if="index==2" :style="'width:'+ item.zxl||0 + '%'" ></view>
<view class="color4" v-if="index>2" :style="'width:'+ item.zxl||0 + '%'" ></view>
</view> </view>
<view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}%</view> <view class="jindu-zxl">{{item.zxl==null?0:item.zxl}}%</view>
</view> </view>
@@ -107,13 +119,25 @@
<view class="text1-1">人均录音时长/分钟</view> <view class="text1-1">人均录音时长/分钟</view>
</view> </view>
</view> </view>
<view class="jindu" style="height: 360rpx;overflow: auto;">
<view v-if="newlisttabinfo2.result.length!=0" class="jindu-box" v-for="(item,index) in newlisttabinfo2.result" :key="index">
<view class="jindu" style="margin-top: 20rpx;min-height: 300rpx;">
<view v-if="newlisttabinfo2.result.length" class="jindu-box" v-for="(item,index) in newlisttabinfo2.result" :key="index">
<view class="jindu-boxche"> <view class="jindu-boxche">
<view class="jindu-name" v-if="item.name">{{item.name.substring(0,4)}}</view>
<view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name">
<image v-if="index==0" class="sort-img" src="/static/images/top1.png" mode="" />
<image v-if="index==1" class="sort-img" src="/static/images/top2.png" mode="" />
<image v-if="index==2" class="sort-img" src="/static/images/top3.png" mode="" />
<view class="sort-number" v-if="index>2">{{index+1}}</view>
{{item.name.substring(0,4)}}</view>
<view class="progress-cus"> <view class="progress-cus">
<view class="color" :style="'width:'+ item.zxl||0 + '%'" ></view>
<view class="color1" v-if="index==0" :style="'width:'+ item.zxl||0 + '%'" ></view>
<view class="color2" v-if="index==1" :style="'width:'+ item.zxl||0 + '%'" ></view>
<view class="color3" v-if="index==2" :style="'width:'+ item.zxl||0 + '%'" ></view>
<view class="color4" v-if="index>2" :style="'width:'+ item.zxl||0 + '%'" ></view>
</view> </view>
<!-- <view class="jindu-name" v-if="item.name">{{item.name.substring(0,4)}}</view>
<view class="progress-cus">
<view class="color" :style="'width:'+ item.zxl||0 + '%'" ></view>
</view> -->
<view class="jindu-zxl u-line-1">{{item.zxl==null?0:item.zxl}}分钟</view> <view class="jindu-zxl u-line-1">{{item.zxl==null?0:item.zxl}}分钟</view>
</view> </view>
</view> </view>
@@ -142,7 +166,7 @@
<view class="text1-1">人均违禁次数</view> <view class="text1-1">人均违禁次数</view>
</view> </view>
</view> </view>
<view class="jindu" style="height: 360rpx;overflow: auto;">
<view class="jindu" style="margin-top: 20rpx;min-height: 300rpx">
<view v-if="newlisttabinfo4.result.length" class="jindu-box" v-for="(item,index) in newlisttabinfo4.result" :key="index"> <view v-if="newlisttabinfo4.result.length" class="jindu-box" v-for="(item,index) in newlisttabinfo4.result" :key="index">
<view class="jindu-boxche"> <view class="jindu-boxche">
<view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name"> <view class="jindu-name u-flex" style='width: 170rpx' v-if="item.name">


+ 11
- 3
pages/center/Piabodata/TrendAnalysis.vue View File

@@ -55,7 +55,7 @@
<view class="num" v-else-if="item.name==='平均接待时长'">{{item.num}}分</view> <view class="num" v-else-if="item.name==='平均接待时长'">{{item.num}}分</view>
<view class="num" v-else>{{item.num||0}}</view> <view class="num" v-else>{{item.num||0}}</view>
<view class="comparesize" v-if="compareFlag&&timepickpickisshow"> <view class="comparesize" v-if="compareFlag&&timepickpickisshow">
<text style="margin-right: 50rpx;">对比:{{index==1?item.num1+'%':item.num1}}</text>
<text style="margin-right: 50rpx;">对比:{{item.name==='平均执行率'?item.num1+'%':item.num1}}</text>
<text :style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}{{(item.num2*1) > 0 ? '↑' : '↓'}}</text> <text :style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}{{(item.num2*1) > 0 ? '↑' : '↓'}}</text>
</view> </view>
</view> </view>
@@ -97,6 +97,12 @@
<view class="tabbox"> <view class="tabbox">
<view :class="{ activecllasscet2: newactiveTotal == 4 }" @click="tabxuanxiangtap(4)">销讲二级</view> <view :class="{ activecllasscet2: newactiveTotal == 4 }" @click="tabxuanxiangtap(4)">销讲二级</view>
</view> </view>
<view class="tabbox">
<view :class="{ activecllasscet2: newactiveTotal == 4 }" @click="tabxuanxiangtap(4)">销讲二级</view>
</view>
<view class="tabbox">
<view :class="{ activecllasscet2: newactiveTotal == 4 }" @click="tabxuanxiangtap(4)">销讲二级</view>
</view>
</view> </view>




@@ -1182,7 +1188,7 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.uchaserbox { .uchaserbox {
height: 50vh;
height: 500rpx;
} }


.title2-che { .title2-che {
@@ -1246,7 +1252,8 @@


.activecllasscet2 { .activecllasscet2 {
color: #2671E2; color: #2671E2;
border-bottom: 2px solid #2671E2;
font-weight: 600;
border-bottom: 4rpx solid #2671E2;
} }


.timeduibi { .timeduibi {
@@ -1303,6 +1310,7 @@


.activecllasscet { .activecllasscet {
color: #2671E2; color: #2671E2;
font-weight: 600;
border-bottom: 4rpx solid #2671E2; border-bottom: 4rpx solid #2671E2;
} }




+ 3
- 3
pages/center/Piabodata/index.vue View File

@@ -38,7 +38,7 @@
</view> </view>
<view class="swiper-box"> <view class="swiper-box">
<u-tabs-swiper ref="tabs" font-size="30" :bold="true" swiper-width="600" :current="bocindex" <u-tabs-swiper ref="tabs" font-size="30" :bold="true" swiper-width="600" :current="bocindex"
@change="tapspagek2()" inactive-color="#b1b1b1" active-color="#008ef2" :list="newlistoj1"
@change="tapspagek2()" inactive-color="#505050" active-color="#2671E2" :list="newlistoj1"
:is-scroll="true"> :is-scroll="true">
</u-tabs-swiper> </u-tabs-swiper>
</view> </view>
@@ -141,8 +141,8 @@
<view class="title1">销讲指标执行率</view> <view class="title1">销讲指标执行率</view>
</view> </view>
<view class="swiper-box"> <view class="swiper-box">
<u-tabs-swiper ref="tabs" font-size="26" :bold="false" swiper-width="600" :current="bocindex1"
@change="tapspagek3" inactive-color="#b1b1b1" active-color="#2671E2" :list="newlistoj"
<u-tabs-swiper ref="tabs" font-size="26" :bold="true" swiper-width="600" :current="bocindex1"
@change="tapspagek3" inactive-color="#505050" active-color="#2671E2" :list="newlistoj"
:is-scroll="true"> :is-scroll="true">
</u-tabs-swiper> </u-tabs-swiper>
</view> </view>


+ 12
- 14
pages/center/consumer/consumerDetail.vue View File

@@ -31,14 +31,13 @@
<view class="content-sec-lab"> <view class="content-sec-lab">
顾问姓名:<view class="content-sec-lab1">{{customerInfo.agentName}}</view> 顾问姓名:<view class="content-sec-lab1">{{customerInfo.agentName}}</view>
</view> </view>
<view class="content-sec-lab" @click.stop="tipupon">
<view class="content-sec-lab" >
客户标签: 客户标签:
<text v-if="!customerInfo.demand.cusSemanticWordsList">暂无</text> <text v-if="!customerInfo.demand.cusSemanticWordsList">暂无</text>
<view v-else class="content-sec-tips"
v-for="(che,ind) in customerInfo.demand.cusSemanticWordsList" :key='ind'>{{che.name}}</view>
<!-- <view class="conmsg-msg-lab-img" v-if="customerInfo.demand.cusSemanticWordsList.length>0">
<image class="screen-sel-img" src="../../../static/images/right.png" mode=""></image>
</view> -->
<view v-else class="content-sec-tips" v-show="ind<=1"
v-for="(che,ind) in customerInfo.demand.cusSemanticWordsList" :key='ind'>{{che.name}}
</view>
<view @click.stop="tipshow=true" v-if="customerInfo.demand.cusSemanticWordsList.length>1" class="content-sec-tips" style="text-decoration: underline;background: #fff">查看全部</view>
</view> </view>
<view class="content-sec-lab"> <view class="content-sec-lab">
添加时间:<view class="content-sec-lab1">{{customerInfo.createTime}}</view> 添加时间:<view class="content-sec-lab1">{{customerInfo.createTime}}</view>
@@ -228,7 +227,7 @@
<u-popup v-model="tipshow" mode="center" width="500rpx" height="500rpx" closeable> <u-popup v-model="tipshow" mode="center" width="500rpx" height="500rpx" closeable>
<scroll-view scroll-y="true" style="height: 440rpx;"> <scroll-view scroll-y="true" style="height: 440rpx;">
<view style="margin-top: 60rpx; display: flex; flex-wrap: wrap; padding-left: 20rpx;"> <view style="margin-top: 60rpx; display: flex; flex-wrap: wrap; padding-left: 20rpx;">
<view class="upon-sec-tips" v-for="(item,index) in customerInfo.demand.cusSemanticWords"
<view class="upon-sec-tips" v-for="(item,index) in customerInfo.demand.cusSemanticWordsList"
:key="index"> :key="index">
{{item.name}} {{item.name}}
</view> </view>
@@ -421,7 +420,7 @@
} }
}, },
tipupon() { tipupon() {
if (!this.customerInfo.demand.cusSemanticWordsList) return
// if (!this.customerInfo.demand.cusSemanticWordsList) return
this.tipshow = true this.tipshow = true
}, },
changeshow(item, type) { changeshow(item, type) {
@@ -906,7 +905,6 @@
line-height: 48rpx; line-height: 48rpx;
text-align: center; text-align: center;
margin-left: 16rpx; margin-left: 16rpx;
background: #E6625B;
border-radius: 6rpx; border-radius: 6rpx;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
@@ -926,17 +924,17 @@
} }
.clientStageName { .clientStageName {
height: 48rpx; height: 48rpx;
line-height: 48rpx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4rpx; border-radius: 4rpx;
border: 1rpx solid #FF981E; border: 1rpx solid #FF981E;
box-sizing: border-box;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #FF981E; color: #FF981E;
margin-left: 16rpx; margin-left: 16rpx;
padding: 0 16rpx; padding: 0 16rpx;
color: #FF981E;
line-height: 48rpx;
} }


.edit { .edit {
@@ -1316,14 +1314,14 @@
} }


.B { .B {
background: #F29819;
background: #FF981E;
} }


.C { .C {
background: #19AC09;
background: #F6BD16;
} }


.D { .D {
background: #1396F6;
background: #E6625B;
} }
</style> </style>

+ 8
- 16
pages/center/consumer/index.vue View File

@@ -40,17 +40,13 @@
<view class="content-first"> <view class="content-first">
<view class="left"> <view class="left">
<view v-if="item.level.length==0"></view> <view v-if="item.level.length==0"></view>
<view class="img" v-else-if="item.level==1">A</view>
<view class="img" v-else-if="item.level==2">B</view>
<view class="img" v-else-if="item.level==3">C</view>
<view class="img" v-else-if="item.level==4">D</view>
<view class="img" style="background: #E6625B" v-else-if="item.level==1">A</view>
<view class="img" style="background: #FF981E" v-else-if="item.level==2">B</view>
<view class="img" style="background: #F6BD16" v-else-if="item.level==3">C</view>
<view class="img" style="background: #E6625B" v-else-if="item.level==4">D</view>
<view class="test">{{item.name}}</view> <view class="test">{{item.name}}</view>
</view> </view>
<!-- <view class="right">
<view class="point"></view>
<view class="test">定金</view>
</view> -->
</view> </view>
<view class="content-sec"> <view class="content-sec">
@@ -582,10 +578,9 @@
.left{ .left{
display: flex; display: flex;
.img{ .img{
// margin-top: 19rpx;
width: 52rpx; width: 52rpx;
height: 52rpx; height: 52rpx;
border: 1px solid #E0E0E0;
border: 1rpx solid #E0E0E0;
border-radius: 50%; border-radius: 50%;
text-align: center; text-align: center;
line-height: 50rpx; line-height: 50rpx;
@@ -593,7 +588,6 @@
} }
.test{ .test{
margin-top: 11rpx; margin-top: 11rpx;
// margin-left: 20rpx;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
@@ -614,10 +608,9 @@
} }
} }
.content-sec{ .content-sec{
border-top: 1px solid #E0E0E0;
border-top: 1rpx solid #E0E0E0;
padding: 0 30rpx; padding: 0 30rpx;
padding-bottom: 30rpx; padding-bottom: 30rpx;
// height: 270rpx;
position: relative; position: relative;
.content-sec-lab{ .content-sec-lab{
margin-top: 30rpx; margin-top: 30rpx;
@@ -663,8 +656,7 @@
} }
.content-last{ .content-last{
display: flex; display: flex;
border-top: 1px solid #E0E0E0;
// padding: 0 30rpx;
border-top: 1rpx solid #E0E0E0;
height: 78rpx; height: 78rpx;
.content-last-tab{ .content-last-tab{
width: 33.4%; width: 33.4%;
@@ -673,7 +665,7 @@
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
line-height: 78rpx; line-height: 78rpx;
border-right: 1px solid #E0E0E0;
border-right: 1rpx solid #E0E0E0;
} }
} }


+ 13
- 16
pages/center/records/index.vue View File

@@ -14,13 +14,13 @@
--> -->
<!-- 选择器 --> <!-- 选择器 -->
<view class="boxtittab"> <view class="boxtittab">
<view class="tabbox" @click="taptimeisshow">
<view class="tabbox" :class="{activeColor: startFilterTime!=='接待时间'}" @click="taptimeisshow">
{{ startFilterTime }}<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> {{ startFilterTime }}<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</view> </view>
<view class="tabbox" @click="taptimetuisshow">
<view class="tabbox" :class="{activeColor: receptionDuration!=='接待时长'}" @click="taptimetuisshow">
{{ receptionDuration }}<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> {{ receptionDuration }}<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</view> </view>
<view class="tabbox" @click="tapsoltishow">
<view class="tabbox" :class="{activeColor: sortText!=='排序'}" @click="tapsoltishow">
{{ sortText }}<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> {{ sortText }}<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</view> </view>
<view class="tabbox" @click="screenshow"> <view class="tabbox" @click="screenshow">
@@ -317,20 +317,13 @@
}, },
onLoad(options) { onLoad(options) {
this.isnorefresh = options.refresh; this.isnorefresh = options.refresh;
if (options.activeTotal) {
this.activeTotal = options.activeTotal
}
if (options.markAdvisor) {
this.screen.markAdvisor = options.markAdvisor
}
if (options.validInvalid) {
this.screen.validInvalid = options.validInvalid
}
this.activeTotal = options.activeTotal
this.screen.markAdvisor = options.markAdvisor
this.screen.validInvalid = options.validInvalid
if (options.staTime) { if (options.staTime) {
this.staTime = options.staTime; this.staTime = options.staTime;
this.endtime = options.endtime; this.endtime = options.endtime;
} }

}, },
onShow() { onShow() {
try { try {
@@ -663,11 +656,11 @@
} }


.timeview { .timeview {
height: 80rpx;
line-height: 80rpx;
height: 90rpx;
line-height: 90rpx;
width: 100%; width: 100%;
text-align: center; text-align: center;
border-bottom: 1px solid #F8F8F8;
border-bottom: 1rpx solid #F8F8F8;
} }


//时间切换的样式 //时间切换的样式
@@ -698,6 +691,10 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
/* 设置或检索伸缩盒对象的子元素的排列方式 */ /* 设置或检索伸缩盒对象的子元素的排列方式 */
} }
.activeColor{
color: #2671E2;
}

} }


.search-box { .search-box {


+ 52
- 33
pages/index/consumer/index.vue View File

@@ -8,21 +8,21 @@
</view> </view>
<view class="search-text">输入客户姓名/手机号</view> <view class="search-text">输入客户姓名/手机号</view>
</view> </view>
<image @click="filterFun" class="filter" src="../../../static/images/filter.png" mode="" />
<!-- <image @click="filterFun" class="filter" src="../../../static/images/filter.png" mode="" /> -->
</view> </view>
</view> </view>


<!-- 选择器 --> <!-- 选择器 -->
<view class="boxtittab"> <view class="boxtittab">
<view class="tabbox" @click="tapsoltishow">
<view class="tabbox" :class="{activeColor: sortFilter!=='排序'}" @click="tapsoltishow">
{{ sortFilter }} {{ sortFilter }}
<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</view> </view>
<view class="tabbox" @click="taptimeisshow">
<view class="tabbox" :class="{activeColor: arriveFilter!=='到访时间'}" @click="taptimeisshow">
{{ arriveFilter }} {{ arriveFilter }}
<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</view> </view>
<view class="tabbox" @click="taptimetuisshow">
<view class="tabbox" :class="{activeColor: receptionDuration!=='接待时长'}" @click="taptimetuisshow">
{{ receptionDuration }} {{ receptionDuration }}
<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</view> </view>
@@ -31,7 +31,6 @@
</view> </view>
</view> </view>



<!-- 筛选后的数量 --> <!-- 筛选后的数量 -->
<view class="count" v-if="recordList.length > 0"> <view class="count" v-if="recordList.length > 0">
筛选结果:<text>{{totalRecords}} </text>条 筛选结果:<text>{{totalRecords}} </text>条
@@ -71,12 +70,12 @@
负责顾问:<view class="content-sec-lab1">{{item.agentName || ''}}</view> 负责顾问:<view class="content-sec-lab1">{{item.agentName || ''}}</view>
</view> </view>


<view class="content-sec-lab" style="line-height: 46rpx;">
<view class="content-sec-lab" style="line-height: 46rpx;">
客户意向: 客户意向:
<text v-if="item.demand.cusSemanticWordsList==null">暂无</text> <text v-if="item.demand.cusSemanticWordsList==null">暂无</text>
<template v-else> <template v-else>
<block v-for="(che,ind) in item.demand.cusSemanticWordsList" :key='ind'> <block v-for="(che,ind) in item.demand.cusSemanticWordsList" :key='ind'>
<view class="content-sec-tips">{{che.name}}</view>
<view class="content-sec-tips" v-if="ind<=3">{{che.name}}</view>
</block> </block>
</template> </template>
</view> </view>
@@ -246,7 +245,8 @@
<u-popup v-model="soltishow" mode="bottom"> <u-popup v-model="soltishow" mode="bottom">
<view class="soltishow" @tap.stop @touchmove.stop> <view class="soltishow" @tap.stop @touchmove.stop>
<block v-for="(item, index) in orderBylist" :key="index"> <block v-for="(item, index) in orderBylist" :key="index">
<view class="soltishow-item" @click="selectCallback2(item)">
<view class="soltishow-item"
:style="orderBy==item.value?'color: #2B6EFF':''" @click="selectCallback2(item)">
{{ item.label }} {{ item.label }}
</view> </view>
</block> </block>
@@ -393,20 +393,20 @@




onLoad(options) { onLoad(options) {
_this = this
this.isnorefresh = 'refresh';
this.userInfo = uni.getStorageSync("weapp_session_userInfo_data")
console.log(this.userInfo.showPhoneStatus)
if (this.isnorefresh == 'refresh') {
this.buildingID = uni.getStorageSync('buildingID').id;
this.nextPage = 1;
this.recordList = []
this.getFreeList()
this.getfindKeywordsList()
this.getFromSource();
this.isRefresh = false;
this.getMyCustom()
}
// _this = this
// this.isnorefresh = 'refresh';
// this.userInfo = uni.getStorageSync("weapp_session_userInfo_data")
// console.log(this.userInfo.showPhoneStatus)
// if (this.isnorefresh == 'refresh') {
// this.buildingID = uni.getStorageSync('buildingID').id;
// this.nextPage = 1;
// this.recordList = []
// this.getFreeList()
// this.getfindKeywordsList()
// this.getFromSource();
// this.isRefresh = false;
// this.getMyCustom()
// }
}, },


onPullDownRefresh() { onPullDownRefresh() {
@@ -428,7 +428,20 @@
let newmenulist = uni.getStorageSync('weapp_session_Menu_data'); let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
this.permissions.commonly1 = newmenulist.khgl_ck; this.permissions.commonly1 = newmenulist.khgl_ck;
this.permissions.commonly2 = newmenulist.khgl_gj; this.permissions.commonly2 = newmenulist.khgl_gj;

_this = this
this.isnorefresh = 'refresh';
this.userInfo = uni.getStorageSync("weapp_session_userInfo_data")
console.log(this.userInfo.showPhoneStatus)
if (this.isnorefresh == 'refresh') {
this.buildingID = uni.getStorageSync('buildingID').id;
this.nextPage = 1;
this.recordList = []
this.getFreeList()
this.getfindKeywordsList()
this.getFromSource();
this.isRefresh = false;
this.getMyCustom()
}
}, },
onReachBottom() { onReachBottom() {
if (this.totalRecord == this.nextPage) { if (this.totalRecord == this.nextPage) {
@@ -527,7 +540,7 @@
this.nextPage = 1; this.nextPage = 1;
this.recordList = []; this.recordList = [];
this.isRefresh = false; this.isRefresh = false;
this.arriveFilter = this.staTime + '-' + this.endtime
this.getMyCustom(); this.getMyCustom();
}, },
recordclick(i) { recordclick(i) {
@@ -627,9 +640,9 @@
} }
this.$u.post("/customer/customerManagement", parames).then(data => { this.$u.post("/customer/customerManagement", parames).then(data => {


if (this.staTime && this.endtime) {
this.receptionDuration = `${this.staTime}-${this.endtime}`
}
// if (this.staTime && this.endtime) {
// this.receptionDuration = `${this.staTime}-${this.endtime}`
// }
var list = data.results || []; var list = data.results || [];
console.log(list) console.log(list)
list.forEach(item => { list.forEach(item => {
@@ -792,11 +805,11 @@
} }


.timeview { .timeview {
height: 80rpx;
line-height: 80rpx;
height: 90rpx;
line-height: 90rpx;
width: 100%; width: 100%;
text-align: center; text-align: center;
border-bottom: 1px solid #F8F8F8;
border-bottom: 1rpx solid #F8F8F8;
} }


//时间切换的样式 //时间切换的样式
@@ -827,6 +840,9 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
/* 设置或检索伸缩盒对象的子元素的排列方式 */ /* 设置或检索伸缩盒对象的子元素的排列方式 */
} }
.activeColor{
color: #2671E2;
}
} }


.soltishow { .soltishow {
@@ -960,6 +976,7 @@
background: #FFFFFF; background: #FFFFFF;
border-radius: 4rpx; border-radius: 4rpx;
border: 1rpx solid #FF981E; border: 1rpx solid #FF981E;
box-sizing: border-box;
} }


.A { .A {
@@ -967,15 +984,15 @@
} }


.B { .B {
background: #F29819;
background: #FF981E;
} }


.C { .C {
background: #19AC09;
background: #F6BD16;
} }


.D { .D {
background: #1396F6;
background: #E6625B;
} }




@@ -1066,9 +1083,11 @@
.content-last-tab { .content-last-tab {
width: 214rpx; width: 214rpx;
height: 70rpx; height: 70rpx;
line-height: 70rpx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 8rpx; border-radius: 8rpx;
border: 1rpx solid #2671E2; border: 1rpx solid #2671E2;
box-sizing: border-box;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #2671E2; color: #2671E2;


+ 29
- 37
pages/index/index.vue View File

@@ -114,7 +114,7 @@
<view class="timebox"> <view class="timebox">
<view class="real" @click="tapjumpreception('1')"> <view class="real" @click="tapjumpreception('1')">
<view class="realnum u-flex" style="justify-content: center">{{realtimeobj.fraction || 0}}% <view class="realnum u-flex" style="justify-content: center">{{realtimeobj.fraction || 0}}%
<image class="qushi-icon" src="/static/images/excute.png" mode="" />
<!-- <image class="qushi-icon" src="/static/images/excute.png" mode="" /> -->
</view> </view>
<view class="realtext">平均执行率</view> <view class="realtext">平均执行率</view>
</view> </view>
@@ -167,7 +167,7 @@
<view class="timebox"> <view class="timebox">
<view class="real" @click="tapjumpreception('3')"> <view class="real" @click="tapjumpreception('3')">
<view class="realnum u-flex" style="justify-content: center">{{Thisweekobj.fraction || 0}}% <view class="realnum u-flex" style="justify-content: center">{{Thisweekobj.fraction || 0}}%
<image class="qushi-icon" src="/static/images/qushi-up.png" mode="" />
<!-- <image class="qushi-icon" src="/static/images/qushi-up.png" mode="" /> -->
</view> </view>
<view class="realtext">平均执行率</view> <view class="realtext">平均执行率</view>
</view> </view>
@@ -290,7 +290,7 @@
<view class="timeview" :style="{ color: zhixingcenterindex == 7 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(7,'自定义')">自定义</view> <view class="timeview" :style="{ color: zhixingcenterindex == 7 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(7,'自定义')">自定义</view>
</u-popup> </u-popup>
<!-- 底部导航栏 --> <!-- 底部导航栏 -->
<!-- <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> -->
<!-- <u-tabbar :mid-button="false" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> -->
</view> </view>
</template> </template>


@@ -752,21 +752,20 @@
prohibitedtap(i) { prohibitedtap(i) {
if (i == 1) { if (i == 1) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '0'
url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=0'
}); });
} else { } else {
if (this.zhixingcenterindex == 2) { if (this.zhixingcenterindex == 2) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '2'
url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=2'
}); });
} else if (this.zhixingcenterindex == 6) {
} else if (this.zhixingcenterindex == 6) {//近30天
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '3'
url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=3'
}); });
} else {
} else {// 自定义时间段
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '4' +
'&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd
url: '/pages/center/prohibited/index?refresh=refresh&activeTotal=4&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd
}); });
} }
} }
@@ -775,55 +774,48 @@
if (this.permissions.commonly2 == true) { if (this.permissions.commonly2 == true) {
if (i == 1) { if (i == 1) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '0'
url: '/pages/center/records/index?refresh=refresh&activeTotal=0&validInvalid=0'
}); });
} else if (i == 2) { } else if (i == 2) {
uni.switchTab({ uni.switchTab({
url: '/pages/index/customer' url: '/pages/index/customer'
}); });
} else if (i == 3) { } else if (i == 3) {
if (this.zhixingcenterindex == 2) {
if (this.zhixingcenterindex == 2) {// 近7天
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '2'
url: '/pages/center/records/index?refresh=refresh&activeTotal=2&validInvalid=0'
}); });
} else if (this.zhixingcenterindex == 6) {
} else if (this.zhixingcenterindex == 6) {//近30天
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '3'
url: '/pages/center/records/index?refresh=refresh&activeTotal=3&validInvalid=0'
}); });
} else {
} else {// 自定义时间段
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '4' +
'&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd
url: '/pages/center/records/index?refresh=refresh&activeTotal=4&validInvalid=0&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd
}); });
} }


} else if (i == 6) { } else if (i == 6) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '0' +
'&validInvalid=0'
url: '/pages/center/records/index?refresh=refresh&activeTotal=0&validInvalid=0'
}); });
} else if (i == 7) { } else if (i == 7) {
if (this.zhixingcenterindex == 2) { if (this.zhixingcenterindex == 2) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '2' +
'&validInvalid=0'
url: '/pages/center/records/index?refresh=refresh&activeTotal=2&validInvalid=0'
}); });
} else if (this.zhixingcenterindex == 6) { } else if (this.zhixingcenterindex == 6) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '3' +
'&validInvalid=0'
url: '/pages/center/records/index?refresh=refresh&activeTotal=3&validInvalid=0'
}); });
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' + '4' +
'&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd +
'&validInvalid=0'
url: '/pages/center/records/index?refresh=refresh&activeTotal=4&validInvalid=0&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd
}); });
} }
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=0' +
'&markAdvisor=0'
url: '/pages/center/records/index?refresh=refresh&activeTotal=0&markAdvisor=0'
}); });
} }
} }
@@ -879,7 +871,7 @@
}); });
} else if (item == '接待记录') { } else if (item == '接待记录') {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/records/index?refresh=' + 'refresh'
url: '/pages/center/records/index?refresh=refresh'
}); });
} else if (item == '值班顾问') { } else if (item == '值班顾问') {
uni.navigateTo({ uni.navigateTo({
@@ -895,15 +887,15 @@
}); });
} else if (item == '违禁记录') { } else if (item == '违禁记录') {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/prohibited/index?refresh=' + 'refresh'
url: '/pages/center/prohibited/index?refresh=refresh'
}); });
}else if (item == '日报') { }else if (item == '日报') {
uni.navigateTo({ uni.navigateTo({
url: '/pages/mine/daily/dailyList?refresh=' + 'refresh'
url: '/pages/mine/daily/dailyList?refresh=refresh'
}); });
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: '/pages/center/consumer/index?refresh=' + 'refresh'
url: '/pages/center/consumer/index?refresh=refresh'
}); });
} }


@@ -1098,7 +1090,7 @@
width: 100%; width: 100%;
color: #666666; color: #666666;
text-align: center; text-align: center;
margin-top: 24rpx;
margin-top: 8rpx;
height: 32rpx; height: 32rpx;
font-size: 24rpx; font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
@@ -1183,10 +1175,10 @@
} }
} }
.timeview{ .timeview{
height: 80rpx;
line-height: 80rpx;
height: 90rpx;
line-height: 90rpx;
width: 100%; width: 100%;
text-align: center; text-align: center;
border-bottom: 1px solid #F8F8F8;
border-bottom: 1rpx solid #f8f8f8;
} }
</style> </style>

+ 4
- 2
pages/index/personal.vue View File

@@ -178,8 +178,8 @@
height: 100vh; height: 100vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
// background: url('https://static.quhouse.com/f5e2422890044cd1a620abd078e63442.png') no-repeat;
// background-size: 750rpx 540rpx;
background: url('https://static.quhouse.com/f5e2422890044cd1a620abd078e63442.png') no-repeat;
background-size: 750rpx 540rpx;
} }


.header { .header {
@@ -190,6 +190,8 @@
background: url('https://static.quhouse.com/10fa8f6fe7fa4104a5c4149be4735311.png') no-repeat; background: url('https://static.quhouse.com/10fa8f6fe7fa4104a5c4149be4735311.png') no-repeat;
background-size: 670rpx 248rpx; background-size: 670rpx 248rpx;
margin: 0 40rpx 60rpx; margin: 0 40rpx 60rpx;
border-radius: 18rpx;
box-shadow: 0 10rpx 20rpx #999;
.header-zuo { .header-zuo {
width: 128rpx; width: 128rpx;
height: 128rpx; height: 128rpx;


+ 5
- 5
pages/login/index.vue View File

@@ -9,7 +9,7 @@
您好, 您好,
</view> </view>
<view class="text-2"> <view class="text-2">
欢迎登录AI销管
欢迎登录销讲助手
</view> </view>
</view> </view>
<view class="cwjs-cells item-flex" style="margin-top: 80rpx;"> <view class="cwjs-cells item-flex" style="margin-top: 80rpx;">
@@ -56,10 +56,10 @@
export default { export default {
data() { data() {
return { return {
username: '',//用户名-测试 13388881113 1234567
password: '',//密码
// username: '13033782199',//用户名-生产 13033782199 654321
// password: '654321',//密码
// username: '13388881113',//用户名-测试 13388881113 1234567
// password: '1234567',//密码
username: '13033782199',//用户名-生产 13033782199 654321
password: '654321',//密码
passwordType: true, passwordType: true,
agreeChecked: true agreeChecked: true
}; };


+ 6
- 11
pages/mine/details2.vue View File

@@ -1833,9 +1833,9 @@


.bottombox { .bottombox {
width: 100%; width: 100%;
height: 170rpx;
// min-height: 170rpx;
border-top: 1rpx solid #E0E0E0; border-top: 1rpx solid #E0E0E0;
padding-bottom: 10rpx;
padding-bottom: 60rpx;


.bottomhead { .bottomhead {
width: 100%; width: 100%;
@@ -2402,7 +2402,6 @@
margin: 30rpx; margin: 30rpx;
line-height: 80rpx; line-height: 80rpx;
display: flex; display: flex;
align-items: center;
} }


.scroll-Y .text[data-speaker="2"], .scroll-Y .text[data-speaker="2"],
@@ -2413,9 +2412,8 @@


.contentInfo { .contentInfo {
.info { .info {
color: #ccc;
font-size: 18rpx;
font-size: 30rpx;
color: #666;
font-size: 22rpx;
padding: 0 28rpx; padding: 0 28rpx;
} }


@@ -2477,11 +2475,9 @@
text-align: center; text-align: center;
background: #FFFFFF; background: #FFFFFF;
border-radius: 8rpx; border-radius: 8rpx;
// border: 2rpx solid #E6625B;
font-size: 30rpx; font-size: 30rpx;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
// color: #E6625B;
box-sizing: border-box; box-sizing: border-box;
} }
image{ image{
@@ -2490,9 +2486,8 @@
} }
} }
.scroll-Y .text .contentInfo .info { .scroll-Y .text .contentInfo .info {
color: #ccc;
font-size: 18rpx;
font-size: 30rpx;
color: #666;
font-size: 22rpx;
padding: 0 28rpx; padding: 0 28rpx;
} }




Loading…
Cancel
Save