Browse Source

首页样式优化

message
corala 2 years ago
parent
commit
3626358e62
41 changed files with 339 additions and 330 deletions
  1. +10
    -10
      pages.json
  2. +2
    -2
      pages/index/consumer/index.vue
  3. +2
    -2
      pages/index/customer.vue
  4. +31
    -15
      pages/index/guide.vue
  5. +231
    -238
      pages/index/index.vue
  6. +2
    -2
      pages/index/learning.vue
  7. +50
    -47
      pages/index/personal.vue
  8. +2
    -4
      pages/login/index.vue
  9. BIN
      static/images/avatar.png
  10. BIN
      static/images/concat.png
  11. BIN
      static/images/fkyj.png
  12. BIN
      static/images/gwpm.png
  13. BIN
      static/images/header-bg.png
  14. BIN
      static/images/jdjl.png
  15. BIN
      static/images/jtdb.png
  16. BIN
      static/images/juxing.png
  17. BIN
      static/images/khhx.png
  18. BIN
      static/images/loupan.png
  19. BIN
      static/images/password.png
  20. BIN
      static/images/right-arrow.png
  21. BIN
      static/images/sbgl.png
  22. BIN
      static/images/setting.png
  23. BIN
      static/images/tabBar/jiedai.png
  24. BIN
      static/images/tabBar/jiedaiActive.png
  25. BIN
      static/images/tabBar/kehu.png
  26. BIN
      static/images/tabBar/kehuActive.png
  27. BIN
      static/images/tabBar/me.png
  28. BIN
      static/images/tabBar/meActive.png
  29. BIN
      static/images/tabBar/work.png
  30. BIN
      static/images/tabBar/workActive.png
  31. BIN
      static/images/tabBar/xuexi.png
  32. BIN
      static/images/tabBar/xuexiActive.png
  33. BIN
      static/images/tddb.png
  34. BIN
      static/images/user-head-bgimg.png
  35. BIN
      static/images/visitCode.png
  36. BIN
      static/images/xjfx.png
  37. BIN
      static/images/xjqs.png
  38. BIN
      static/images/ygfx.png
  39. BIN
      static/images/zbgw.png
  40. +0
    -1
      utils/domain.js
  41. +9
    -9
      utils/tabbar.js

+ 10
- 10
pages.json View File

@@ -547,32 +547,32 @@
"borderStyle": "white",
"list": [{
"pagePath": "pages/index/customer",
"iconPath": "/static/images/tabBar/customer.png",
"selectedIconPath": "/static/images/tabBar/customerActive.png",
"iconPath": "/static/images/tabBar/jiedai.png",
"selectedIconPath": "/static/images/tabBar/jiedaiActive.png",
"text": "接待"
},
{
"pagePath": "pages/index/consumer/index",
"iconPath": "/static/images/tabBar/kehu.png",
"selectedIconPath": "/static/images/tabBar/kehu_act.png",
"selectedIconPath": "/static/images/tabBar/kehuActive.png",
"text": "客户"
},
{
"pagePath": "pages/index/index",
"iconPath": "/static/images/tabBar/works.png",
"selectedIconPath": "/static/images/tabBar/worksActive.png",
"iconPath": "/static/images/tabBar/work.png",
"selectedIconPath": "/static/images/tabBar/workActive.png",
"text": "工作台"
},
{
"pagePath": "pages/index/learning",
"iconPath": "/static/images/tabBar/voice.png",
"selectedIconPath": "/static/images/tabBar/voiceActive.png",
"iconPath": "/static/images/tabBar/xuexi.png",
"selectedIconPath": "/static/images/tabBar/xuexiActive.png",
"text": "学习"
},
{
"pagePath": "pages/index/personal",
"iconPath": "/static/images/tabBar/user.png",
"selectedIconPath": "/static/images/tabBar/userActive.png",
"iconPath": "/static/images/tabBar/me.png",
"selectedIconPath": "/static/images/tabBar/meActive.png",
"text": "我的"
}
]
@@ -595,4 +595,4 @@
}
]
}
}
}

+ 2
- 2
pages/index/consumer/index.vue View File

@@ -250,8 +250,8 @@
<!-- <u-select v-model="soltishow" :list="orderBylist" @confirm="selectCallback2"></u-select> -->

<!-- 底部导航栏 -->
<u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList">
</u-tabbar>
<!-- <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList">
</u-tabbar> -->
</view>

</template>


+ 2
- 2
pages/index/customer.vue View File

@@ -152,8 +152,8 @@
</image>

<!-- 底部导航栏 -->
<u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList">
</u-tabbar>
<!-- <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList">
</u-tabbar> -->
</view>
</template>



+ 31
- 15
pages/index/guide.vue View File

@@ -9,25 +9,25 @@
</view>
<view class="center-dingwei">
<view style="height: 44rpx;display: flex;margin-left: 213rpx;">
<image style="width: 44rpx;height: 44rpx;" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<view style="line-height: 44rpx;margin-left: 10rpx;font-size: 32rpx;color: #333333;">智能语音转写</view>
<view class="dingwei-title" style="margin-top: 0">
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<view class="desc">智能语音转写</view>
</view>
<view style="height: 44rpx;display: flex;margin-left: 213rpx;margin-top: 20rpx;">
<image style="width: 44rpx;height: 44rpx;" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<view style="line-height: 44rpx;margin-left: 10rpx;font-size: 32rpx;color: #333333;">高效的判客机制</view>
<view class="dingwei-title">
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<view class="desc">高效的判客机制</view>
</view>
<view style="height: 44rpx;display: flex;margin-left: 213rpx;margin-top: 20rpx;">
<image style="width: 44rpx;height: 44rpx;" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<view style="line-height: 44rpx;margin-left: 10rpx;font-size: 32rpx;color: #333333;">全方位的客户跟进</view>
<view class="dingwei-title">
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<view class="desc">全方位的客户跟进</view>
</view>
<view style="height: 44rpx;display: flex;margin-left: 213rpx;margin-top: 20rpx;">
<image style="width: 44rpx;height: 44rpx;" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<view style="line-height: 44rpx;margin-left: 10rpx;font-size: 32rpx;color: #333333;">专业的经济管家</view>
<view class="dingwei-title">
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<view class="desc">专业的经济管家</view>
</view>
<view style="height: 44rpx;display: flex;margin-left: 213rpx;margin-top: 20rpx;">
<image style="width: 44rpx;height: 44rpx;" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<view style="line-height: 44rpx;margin-left: 10rpx;font-size: 32rpx;color: #333333;">在线实时沟通</view>
<view class="dingwei-title">
<image class="dingwei-img" src="https://qufang.oss-cn-beijing.aliyuncs.com/zkgj/xcx/images2.png" mode=""></image>
<view class="desc">在线实时沟通</view>
</view>
</view>
@@ -105,6 +105,22 @@
position: absolute;
left: 0rpx;
bottom:230rpx;
.dingwei-title{
height: 44rpx;
display: flex;
margin-left: 213rpx;
margin-top: 20rpx;
}
.dingwei-img{
width: 44rpx;
height: 44rpx;
}
.desc{
line-height: 44rpx;
margin-left: 10rpx;
font-size: 32rpx;
color: #333333;
}
}
.button {
width: 100%;


+ 231
- 238
pages/index/index.vue View File

@@ -2,15 +2,13 @@
<view class="cented-box">
<view class="Switchingbox">
<view class="Switching1">
<image class="Switching1-img" src="../../static/images/building.png" mode=""></image>
<image class="Switching1-img" src="../../static/images/loupan.png" mode=""></image>
</view>
<view class="Switching2">项目:</view>
<view class="Switching3">{{buildingname}}</view>
<view class="Switching2 u-line-1">项目:{{buildingname}}</view>
<view class="Switching4" v-if="buildingishow" @click="piskbuilding()">切换项目</view>
</view>

<view class="title" style="margin-top: 30rpx; display: flex; justify-content: space-between;" v-if="permissions.myisshebei">
<view class="">
<view class="gongpai">
我的工牌:{{imeiCode||'未绑定'}}
</view>
<view class="" style="color: #2671E2; font-weight: normal;">
@@ -18,8 +16,8 @@
{{openFlag=='start'?'接待中':''}}
</view>
</view>
<view v-if="permissions.myisshebei">
<view class="Workcard" v-if="Whetheroffline==true">
<view v-if="permissions.myisshebei" style="margin-bottom: 20rpx">
<view class="Workcard" v-if="Whetheroffline">
<view class="Workcard-box">
<view class="Workcardimg">
<view class="Workcardimg1">
@@ -84,243 +82,217 @@
</view>
</view> -->

<view class="title" v-if="permissions.shebeinum">设备总览</view>
<view class="shebenbox" v-if="permissions.shebeinum" >

<view class="shebenche" @click="tapjumpequipment(0)">
<view class="shebenchenum">{{equipmentobj.totalNum || 0}}</view>
<view class="shebenchetext">设备总数</view>
</view>
<view class="shebenche" @click="tapjumpequipment(1)">
<view class="shebenchenum">{{equipmentobj.onlineNum || 0}}</view>
<view class="shebenchetext">在线</view>
</view>
<view class="shebenche" @click="tapjumpequipment(3)">
<view class="shebenchenum">{{equipmentobj.activeNum || 0}}</view>
<view class="shebenchetext">活跃</view>
</view>
<view class="shebenche" @click="tapjumpequipment(2)">
<view class="shebenchenum" style="color: red;">{{operation.lowPowerNum || 0}}</view>
<view class="shebenchetext">低电工牌</view>
</view>
<!-- <view class="shebenche" @click="tapjumpequipment(2)">
<view class="shebenchenum" style="color: red;">{{equipmentobj.lowPowerNum || 0}}</view>
<view class="shebenchetext">急需充电</view>
</view> -->
</view>


<view class="title" v-if="permissions.shishinum">今日工作</view>
<view class="real-timebox" v-if="permissions.shishinum">
<view class="timebox">
<view class="real" @click="tapjumpreception('1')">
<view class="realnum">{{realtimeobj.fraction || 0}}%</view>
<view class="realtext">平均执行率</view>
<!-- 设备总览 -->
<view class="contbox" v-if="permissions.shebeinum">
<view class="title">
<image class="title-icon" src="/static/images/juxing.png" mode="" />
设备总览</view>
<view class="shebenbox">
<view class="shebenche" @click="tapjumpequipment(0)">
<view class="shebenchenum">{{equipmentobj.totalNum || 0}}</view>
<view class="shebenchetext">设备总数</view>
</view>
<view class="real" @click="tapjumpreception('1')">
<view class="realnum">{{realtimeobj.receptionCount || 0}}</view>
<view class="realtext">接待量</view>
<view class="shebenche" @click="tapjumpequipment(1)">
<view class="shebenchenum">{{equipmentobj.onlineNum || 0}}</view>
<view class="shebenchetext">在线</view>
</view>
<view class="real" @click="tapjumpreception('2')">
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view>
<view class="realtext">正在接待</view>
<view class="shebenche" @click="tapjumpequipment(3)">
<view class="shebenchenum">{{equipmentobj.activeNum || 0}}</view>
<view class="shebenchetext">活跃</view>
</view>
<view class="real" @click="tapjumpreception('6')">
<view class="realnum">{{realtimeobj.activeCustomer|| 0}}</view>
<view class="realtext">有效接待</view>
<view class="shebenche" @click="tapjumpequipment(2)">
<view class="shebenchenum" style="color: red;">{{operation.lowPowerNum || 0}}</view>
<view class="shebenchetext">低电工牌</view>
</view>
</view>
<view class="timebox">
<view class="real" @click="tapjumpreception('1')">
<view class="realnum">{{realtimeobj.avgDuration|| 0}}</view>
<view class="realtext">平均接待时长</view>
</view>
<view class="real" @click="tapjumpreception('4')">
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view>
<view class="realtext">未标顾问</view>
</view>
<view class="real">
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realnum" style="color: red;">
{{realtimeobj.prohibitedCustomer || 0}}</view>
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realtext">违禁预警</view>
</view>
<view class="real">
<view class="realnum"></view>
<view class="realtext"></view>
</view>

</view>
</view>



<view class="title" v-if="permissions.jileinum" style="display: flex;">
<view style="width: 70%;" @click="taptimeisshow">
<!-- 概览 -->
{{choiceIndex}}累计<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</view>
<!-- <view class="cet" style="display: flex;">
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="tabtimeclick(2)">近7天
<!-- 今日工作 -->
<view class="contbox" v-if="permissions.shishinum">
<view class="title" ><image class="title-icon" src="/static/images/juxing.png" mode="" />今日工作</view>
<view class="real-timebox">
<view class="timebox">
<view class="real" @click="tapjumpreception('1')">
<view class="realnum">{{realtimeobj.fraction || 0}}%</view>
<view class="realtext">平均执行率</view>
</view>
<view class="real" @click="tapjumpreception('1')">
<view class="realnum">{{realtimeobj.receptionCount || 0}}</view>
<view class="realtext">接待量</view>
</view>
<view class="real" @click="tapjumpreception('2')">
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view>
<view class="realtext">正在接待</view>
</view>
<view class="real" @click="tapjumpreception('6')">
<view class="realnum">{{realtimeobj.activeCustomer|| 0}}</view>
<view class="realtext">有效接待</view>
</view>
</view>
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 6 }" @click="tabtimeclick(6)">
近30天</view>
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 7 }" @click="tabtimeclick(7)">自定义
<view class="timebox" style="margin-bottom:0;">
<view class="real" @click="tapjumpreception('1')">
<view class="realnum">{{realtimeobj.avgDuration|| 0}}min</view>
<view class="realtext">平均接待时长</view>
</view>
<view class="real" @click="tapjumpreception('4')">
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view>
<view class="realtext">未标顾问</view>
</view>
<view class="real">
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realnum" style="color: red;">
{{realtimeobj.prohibitedCustomer || 0}}</view>
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realtext">违禁预警</view>
</view>
<view class="real">
<view class="realnum"></view>
<view class="realtext"></view>
</view>

</view>
</view> -->
</view>
</view>
<view class="real-timebox" v-if="permissions.jileinum">
<view class="timebox">
<view class="real" @click="tapjumpreception('3')">
<view class="realnum">{{Thisweekobj.fraction || 0}}%</view>
<view class="realtext">平均执行率</view>
</view>
<view class="real" @click="tapjumpreception('3')">
<view class="realnum">{{Thisweekobj.receptionCount || 0}}</view>
<view class="realtext">接待量</view>
</view>
<view class="real" @click="tapjumpreception('7')">
<view class="realnum">{{Thisweekobj.activeCustomer|| 0}}</view>
<view class="realtext">有效接待</view>
<!-- 近30天 -->
<view class="contbox" v-if="permissions.jileinum">
<view class="title">
<image class="title-icon" src="/static/images/juxing.png" mode="" />
<view style="width: 70%;" @click="taptimeisshow">
<!-- 概览 -->
{{choiceIndex}}累计<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</view>
</view>
<view class="timebox">
<view class="real" @click="tapjumpreception('3')">
<view class="realnum">{{Thisweekobj.avgDuration|| 0}}</view>
<view class="realtext">平均接待时长</view>
</view>
<view class="real" @click="prohibitedtap(2)" v-if="methodsisshow==true">
<view class="realnum" style="color: red;">{{Thisweekobj.prohibitedCustomer || 0}}</view>
<view class="realtext">违禁预警</view>
</view>
<view class="real" v-else>
<view class="realnum"></view>
<view class="realtext"></view>
<!-- <view class="timeshow">统计时间:2022.05.20-2022.05.27</view> -->
<view class="real-timebox" >
<view class="timebox">
<view class="real" @click="tapjumpreception('3')">
<view class="realnum">{{Thisweekobj.fraction || 0}}%</view>
<view class="realtext">平均执行率</view>
</view>
<view class="real" @click="tapjumpreception('3')">
<view class="realnum">{{Thisweekobj.receptionCount || 0}}</view>
<view class="realtext">接待量</view>
</view>
<view class="real" @click="tapjumpreception('7')">
<view class="realnum">{{Thisweekobj.activeCustomer|| 0}}</view>
<view class="realtext">有效接待</view>
</view>
</view>
<view class="real">
<view class="realnum"></view>
<view class="realtext"></view>
<view class="timebox" style="margin-bottom:0;">
<view class="real" @click="tapjumpreception('3')">
<view class="realnum">{{Thisweekobj.avgDuration || 0}}min</view>
<view class="realtext">平均接待时长</view>
</view>
<view class="real" @click="prohibitedtap(2)" v-if="methodsisshow">
<view class="realnum" style="color: red;">{{Thisweekobj.prohibitedCustomer || 0}}</view>
<view class="realtext">违禁预警</view>
</view>
<view class="real" v-else>
<view class="realnum"></view>
<view class="realtext"></view>
</view>
<view class="real">
<view class="realnum"></view>
<view class="realtext"></view>
</view>
</view>
</view>
</view>


<view class="title">常用功能</view>
<!-- 常用功能 -->
<view class="contbox">
<view class="title"><image class="title-icon" src="/static/images/juxing.png" mode="" />接待管理</view>
<view class="commonly-box">
<!-- <view class="commonly" @click="Piabodata('客户管理')" v-if="permissions.commonly1">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/function1.png" mode=""></image>
</view>
<view class="commonly-text">客户管理</view>
</view> -->

<view class="commonly" @click="Piabodata('接待记录')" v-if="permissions.commonly2">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/function2.png" mode=""></image>
<image class="commonly-img1" src="../../static/images/jdjl.png" mode=""></image>
</view>
<view class="commonly-text">接待记录</view>
</view>

<view class="commonly" @click="Piabodata('违禁记录')" v-if="permissions.commonly3">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/prohibited.png" mode=""></image>
<image class="commonly-img1" src="../../static/images/fkyj.png" mode=""></image>
</view>
<view class="commonly-text">违禁记录</view>
</view>

<view class="commonly" @click="Piabodata('销讲分析')" v-if="permissions.commonly4">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/function4.png" mode=""></image>
</view>
<view class="commonly-text">销讲分析</view>
</view>

<view class="commonly" @click="Piabodata('设备管理')" v-if="permissions.commonly5">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/function5.png" mode=""></image>
</view>
<view class="commonly-text">设备管理</view>
</view>

<view class="commonly" @click="Piabodata('值班顾问')" v-if="permissions.commonly6">
<view class="commonly" @click="toUserinsightinto()" v-if="permissions.commonly10">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/function6.png" mode=""></image>
<image class="commonly-img1" src="../../static/images/khhx.png" mode=""></image>
</view>
<view class="commonly-text">值班顾问</view>
<view class="commonly-text">用户画像</view>
</view>
<!-- <view class="commonly" @click="Piabodata('日报')" v-if="permissions.commonly6">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/function6.png" mode=""></image>
</view>
<view class="commonly-text">日报</view>
</view> -->

<view class="commonly" @click="Piabodata('顾问排名')" v-if="permissions.commonly7">
</view>
<view class="title"><image class="title-icon" src="/static/images/juxing.png" mode="" />数据分析</view>
<view class="commonly-box">
<view class="commonly" @click="Piabodata('销讲分析')" v-if="permissions.commonly4">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/rankingguwen.png" mode=""></image>
<image class="commonly-img1" src="../../static/images/xjfx.png" mode=""></image>
</view>
<view class="commonly-text">顾问排名</view>
<view class="commonly-text">销讲分析</view>
</view>
<view class="commonly" @click="toTrendAnalysis()" v-if="permissions.commonly8">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/qushi.png" mode=""></image>
<image class="commonly-img1" src="../../static/images/xjqs.png" mode=""></image>
</view>
<view class="commonly-text">销讲趋势</view>
</view>
<view class="commonly" @click="toStaffAnalysis()" v-if="permissions.commonly9">
<view class="commonly" @click="Piabodata('顾问排名')" v-if="permissions.commonly7">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/yuangong.png" mode=""></image>
<image class="commonly-img1" src="../../static/images/gwpm.png" mode=""></image>
</view>
<view class="commonly-text">员工分析</view>
</view>
<view class="commonly" @click="toUserinsightinto()" v-if="permissions.commonly10">
<view class="commonly-text">顾问排名</view>
</view>
<view class="commonly" @click="toStaffAnalysis()" v-if="permissions.commonly9">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/yinghu.png" mode=""></image>
<image class="commonly-img1" src="../../static/images/ygfx.png" mode=""></image>
</view>
<view class="commonly-text">用户画像</view>
</view>
<view class="commonly" @click="Theteamcompared()" v-if="permissions.commonly11">
<view class="commonly-text">员工分析</view>
</view>
</view>
<view class="title"><image class="title-icon" src="/static/images/juxing.png" mode="" />团队管理</view>
<view class="commonly-box">
<view class="commonly" @click="Theteamcompared()" v-if="permissions.commonly11">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/tddb.png" mode=""></image>
</view>
<view class="commonly-text">团队对比</view>
</view>
<view class="commonly" @click="Groupcontrast()" v-if="permissions.commonly12">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/jtdb.png" mode=""></image>
</view>
<view class="commonly-text">集团对比</view>
</view>
<view class="commonly" @click="Piabodata('设备管理')" v-if="permissions.commonly5">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/tuandui.png" mode=""></image>
<image class="commonly-img1" src="../../static/images/sbgl.png" mode=""></image>
</view>
<view class="commonly-text">团队对比</view>
<view class="commonly-text">设备管理</view>
</view>
<view class="commonly" @click="Groupcontrast()" v-if="permissions.commonly12">
<view class="commonly" @click="Piabodata('值班顾问')" v-if="permissions.commonly6">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/jituan.png" mode=""></image>
<image class="commonly-img1" src="../../static/images/zbgw.png" mode=""></image>
</view>
<view class="commonly-text">集团对比</view>
<view class="commonly-text">值班顾问</view>
</view>

</view>


</view>
</view>
<!-- 项目切换 -->
<view v-if="Showhiddenunits">
<u-select :mask-close-able="false" v-model="Showhiddenunits" mode="single-column" :list="lpanlist"
@cancel="cancel" @confirm="confirm"></u-select>
</view>
<u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>

<u-popup v-model="timeshow" mode="bottom">
<view class="timeview" :style="{ color: zhixingcenterindex == 2 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(2,'近7天')">近7天</view>
<view class="timeview" :style="{ color: zhixingcenterindex == 6 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(6,'近30天')">近30天</view>
<view class="timeview" :style="{ color: zhixingcenterindex == 7 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(7,'自定义')">自定义</view>
</u-popup>

<!-- 底部导航栏 -->
<u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar>

<!-- <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar> -->
</view>
</template>

@@ -463,8 +435,7 @@
} else {
this.methodsisshow = true;
}
if (this.userInfo.zkProperties.length == 1) {
console.log('asdklajkl')
if (this.userInfo.zkProperties&&this.userInfo.zkProperties.length == 1) {
this.buildingID = uni.getStorageSync('buildingID').id;
this.buildingname = uni.getStorageSync('buildingID').name;
this.buildingishow = false;
@@ -473,10 +444,12 @@
this.buildingishow = true;
this.buildingname = uni.getStorageSync('buildingID').name;
this.buildingID = uni.getStorageSync('buildingID').id;
this.userInfo.zkProperties.forEach(item => {
item.label = item.propertyName;
item.value = item.id
})
if(this.userInfo.zkProperties&&this.userInfo.zkProperties.length){
this.userInfo.zkProperties.forEach(item => {
item.label = item.propertyName;
item.value = item.id
})
}
this.lpanlist = this.userInfo.zkProperties
}
if (this.userInfo.dataCode == 6) {
@@ -970,13 +943,13 @@
.Switchingbox {
width: 100%;
height: 44rpx;
margin-bottom: 30rpx;
display: flex;
align-items: center;

.Switching1 {
width: 44rpx;
height: 44rpx;

.Switching1-img {
width: 44rpx;
height: 44rpx;
@@ -984,17 +957,14 @@
}

.Switching2 {
margin-left: 12rpx;
margin: 0 12rpx;
flex:1;
height: 44rpx;
font-size: 32rpx;
color: #303030;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}

.Switching3 {
width: calc(100% - 280rpx);
font-size: 32rpx;
color: #303030;
font-weight: 500;
line-height: 44rpx;
}

.Switching4 {
@@ -1003,10 +973,14 @@
color: #303030;
font-weight: 400;
text-align: right;
text-decoration: underline
text-decoration: underline;
font-family: PingFangSC-Regular, PingFang SC;
}
}

.gongpai{
margin-bottom: 20rpx;
}
.Workcard {
width: 100%;
background: #FFFFFF;
@@ -1072,79 +1046,101 @@
}
}

.title {
width: 100%;
height: 30rpx;
font-size: 30rpx;
font-weight: 600;
color: #333333;
margin-top: 40rpx;
margin-bottom: 24rpx;
.contbox{
width: 690rpx;
background: #FFFFFF;
border-radius: 12rpx;
padding: 24rpx 0 30rpx;
margin-bottom: 20rpx;
.title {
height: 42rpx;
font-size: 30rpx;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333333;
line-height: 42rpx;
margin-bottom: 24rpx;
display: flex;
align-items: center;
.title-icon{
width: 12rpx;
height: 20rpx;
margin-right: 18rpx;
}
}
.timeshow{
height: 40rpx;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
line-height: 40rpx;
margin: -18rpx 0 24rpx 35rpx ;
}
}

.shebenbox {
width: 100%;
height: 156rpx;
background: #FFFFFF;
box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
border-radius: 12rpx;
display: flex;

.shebenche {
width: 25%;
height: 100%;

.shebenchenum {
width: 100%;
font-size: 36rpx;
font-weight: 600;
color: #333333;
text-align: center;
margin-top: 28rpx;
height: 50rpx;
font-size: 44rpx;
font-family: DINAlternate-Bold, DINAlternate;
font-weight: bold;
color: #333333;
line-height: 50rpx;
}

.shebenchetext {
width: 100%;
font-size: 24rpx;
font-weight: 400;
color: #666666;
text-align: center;
margin-top: 24rpx;
height: 32rpx;
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
line-height: 32rpx;
}
}
}

//今日工作
.real-timebox {
width: 100%;
background: #FFFFFF;
box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
border-radius: 12rpx;
padding-bottom: 36rpx;

.timebox {
width: 100%;
display: flex;
margin-bottom: 20rpx;
.real {
flex: 1;
height: 100%;

.realnum {
width: 100%;
font-size: 36rpx;
font-weight: 600;
color: #333333;
text-align: center;
margin-top: 36rpx;
height: 50rpx;
font-size: 44rpx;
font-family: DINAlternate-Bold, DINAlternate;
font-weight: bold;
color: #333333;
line-height: 50rpx;
}

.realtext {
width: 100%;
text-align: center;
margin-top: 8rpx;
height: 32rpx;
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
text-align: center;
margin-top: 24rpx;
line-height: 32rpx;
}
}
}
@@ -1153,36 +1149,33 @@

.commonly-box {
width: 100%;
background: #FFFFFF;
box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
border-radius: 12rpx;
display: flex;
flex-wrap: wrap;
padding-bottom: 36rpx;

.commonly {
width: 25%;
margin-top: 36rpx;
margin-bottom: 28rpx;

.commonly-img {
width: 100%;
height: 68rpx;
height: 80rpx;
text-align: center;

.commonly-img1 {
width: 68rpx;
height: 68rpx;
border-radius: 50%;
width: 80rpx;
height: 80rpx;
}
}

.commonly-text {
width: 100%;
text-align: center;
margin-top: 12rpx;
height: 32rpx;
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333333;
margin-top: 16rpx;
line-height: 32rpx;
}
}
}


+ 2
- 2
pages/index/learning.vue View File

@@ -120,8 +120,8 @@
</view>

<!-- 底部导航栏 -->
<u-tabbar :isBtnTop="false" class="tabbar" :mid-button="true" activeColor="#1296db" inactiveColor="#999999"
v-model="current" :list="tabbarList"></u-tabbar>
<!-- <u-tabbar :isBtnTop="false" class="tabbar" :mid-button="true" activeColor="#1296db" inactiveColor="#999999"
v-model="current" :list="tabbarList"></u-tabbar> -->
</view>
</template>



+ 50
- 47
pages/index/personal.vue
File diff suppressed because it is too large
View File


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

@@ -56,10 +56,8 @@
export default {
data() {
return {
username: '',
//获取到的用户名的值
password: '',
//获取到的密码栏中的值
username: '13388881113',//用户名
password: '1234567',//密码
passwordType: true,
agreeChecked: true
};


BIN
static/images/avatar.png View File

Before After
Width: 128  |  Height: 128  |  Size: 4.2 KiB

BIN
static/images/concat.png View File

Before After
Width: 36  |  Height: 36  |  Size: 1.7 KiB

BIN
static/images/fkyj.png View File

Before After
Width: 80  |  Height: 80  |  Size: 3.2 KiB

BIN
static/images/gwpm.png View File

Before After
Width: 80  |  Height: 80  |  Size: 2.8 KiB

BIN
static/images/header-bg.png View File

Before After
Width: 670  |  Height: 248  |  Size: 4.7 KiB

BIN
static/images/jdjl.png View File

Before After
Width: 80  |  Height: 80  |  Size: 3.2 KiB

BIN
static/images/jtdb.png View File

Before After
Width: 80  |  Height: 80  |  Size: 3.3 KiB

BIN
static/images/juxing.png View File

Before After
Width: 12  |  Height: 20  |  Size: 208 B

BIN
static/images/khhx.png View File

Before After
Width: 80  |  Height: 80  |  Size: 2.7 KiB

BIN
static/images/loupan.png View File

Before After
Width: 44  |  Height: 44  |  Size: 792 B

BIN
static/images/password.png View File

Before After
Width: 72  |  Height: 72  |  Size: 1.7 KiB Width: 36  |  Height: 36  |  Size: 664 B

BIN
static/images/right-arrow.png View File

Before After
Width: 12  |  Height: 28  |  Size: 366 B

BIN
static/images/sbgl.png View File

Before After
Width: 80  |  Height: 80  |  Size: 2.4 KiB

BIN
static/images/setting.png View File

Before After
Width: 72  |  Height: 72  |  Size: 1.3 KiB Width: 36  |  Height: 36  |  Size: 1.3 KiB

BIN
static/images/tabBar/jiedai.png View File

Before After
Width: 34  |  Height: 38  |  Size: 958 B

BIN
static/images/tabBar/jiedaiActive.png View File

Before After
Width: 34  |  Height: 38  |  Size: 1021 B

BIN
static/images/tabBar/kehu.png View File

Before After
Width: 88  |  Height: 88  |  Size: 2.5 KiB Width: 40  |  Height: 40  |  Size: 1.2 KiB

BIN
static/images/tabBar/kehuActive.png View File

Before After
Width: 40  |  Height: 40  |  Size: 1.3 KiB

BIN
static/images/tabBar/me.png View File

Before After
Width: 40  |  Height: 40  |  Size: 533 B

BIN
static/images/tabBar/meActive.png View File

Before After
Width: 40  |  Height: 40  |  Size: 556 B

BIN
static/images/tabBar/work.png View File

Before After
Width: 40  |  Height: 40  |  Size: 279 B

BIN
static/images/tabBar/workActive.png View File

Before After
Width: 40  |  Height: 40  |  Size: 421 B

BIN
static/images/tabBar/xuexi.png View File

Before After
Width: 40  |  Height: 40  |  Size: 625 B

BIN
static/images/tabBar/xuexiActive.png View File

Before After
Width: 40  |  Height: 40  |  Size: 661 B

BIN
static/images/tddb.png View File

Before After
Width: 80  |  Height: 80  |  Size: 3.3 KiB

BIN
static/images/user-head-bgimg.png View File

Before After
Width: 1456  |  Height: 652  |  Size: 68 KiB

BIN
static/images/visitCode.png View File

Before After
Width: 36  |  Height: 36  |  Size: 399 B

BIN
static/images/xjfx.png View File

Before After
Width: 80  |  Height: 80  |  Size: 3.6 KiB

BIN
static/images/xjqs.png View File

Before After
Width: 80  |  Height: 80  |  Size: 2.7 KiB

BIN
static/images/ygfx.png View File

Before After
Width: 80  |  Height: 80  |  Size: 3.1 KiB

BIN
static/images/zbgw.png View File

Before After
Width: 80  |  Height: 80  |  Size: 3.0 KiB

+ 0
- 1
utils/domain.js View File

@@ -1,6 +1,5 @@
const base = 'http://81.70.55.170:9999' ;// 测试站
// const base = 'http://8kdmng.natappfree.cc' ;// 佳豪
// const base = 'http://192.168.31.134:9999' ;// 佳豪
// const base = 'http://192.168.31.86:9999' ;// 胜浩
// const base = 'http://192.168.31.167:9999' // 长龙
// const base = 'https://zanyong.hfju.com';// 正式 AI销管


+ 9
- 9
utils/tabbar.js View File

@@ -1,32 +1,32 @@
export default [{
"pagePath": "/pages/index/customer",
"iconPath": "/static/images/tabBar/customer.png",
"selectedIconPath": "/static/images/tabBar/customerActive.png",
"iconPath": "/static/images/tabBar/jiedai.png",
"selectedIconPath": "/static/images/tabBar/jiedaiActive.png",
"text": "接待"
},
{
"pagePath": "/pages/index/consumer/index",
"iconPath": "/static/images/tabBar/kehu.png",
"selectedIconPath": "/static/images/tabBar/kehu_act.png",
"selectedIconPath": "/static/images/tabBar/kehuActive.png",
"text": "客户"
},
{
"pagePath": "/pages/index/index",
"iconPath": "/static/images/tabBar/works.png",
"selectedIconPath": "/static/images/tabBar/worksActive.png",
"iconPath": "/static/images/tabBar/work.png",
"selectedIconPath": "/static/images/tabBar/workActive.png",
"midButton": true,
"text": "工作台"
},
{
"pagePath": "/pages/index/learning",
"iconPath": "/static/images/tabBar/voice.png",
"selectedIconPath": "/static/images/tabBar/voiceActive.png",
"iconPath": "/static/images/tabBar/xuexi.png",
"selectedIconPath": "/static/images/tabBar/xuexiActive.png",
"text": "学习"
},
{
"pagePath": "/pages/index/personal",
"iconPath": "/static/images/tabBar/user.png",
"selectedIconPath": "/static/images/tabBar/userActive.png",
"iconPath": "/static/images/tabBar/me.png",
"selectedIconPath": "/static/images/tabBar/meActive.png",
"text": "我的"
}
];

Loading…
Cancel
Save