|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902 |
- <template>
- <view class="cented-box">
- <view class="Switchingbox">
- <view class="Switching1">
- <image class="Switching1-img" src="../../static/images/building.png" mode=""></image>
- </view>
- <view class="Switching2">客户:</view>
- <view class="Switching3">{{buildingname}}</view>
- <view class="Switching4" v-if="buildingishow" @click="piskbuilding()">切换项目</view>
- </view>
-
- <view class="title" style="margin-top: 30rpx;" v-if="Myworkcard">我的工牌</view>
- <view v-if="Myworkcard">
- <view class="Workcard" v-if="Whetheroffline==true">
- <view class="Workcard-box">
- <view class="Workcardimg">
- <view class="Workcardimg1">
- <view v-if="percentage>20" class="bar" :style="{width : percentage + '%' }"></view>
- <view v-if="percentage<20" class="bar1" :style="{width : percentage + '%' }"></view>
- </view>
- </view>
- <view class="Workcardtext">电量:{{percentage}}%</view>
- </view>
- <view class="Workcard-box">
- <view class="Workcardimg">
- <image v-if="signalDevice==''" class="Workcardimg2" src="../../static/images/signal0.png"
- mode=""></image>
- <image v-else-if="signalDevice<20 && signalDevice>0" class="Workcardimg2"
- src="../../static/images/signal1.png" mode=""></image>
- <image v-else-if="signalDevice<50 && signalDevice>20" class="Workcardimg2"
- src="../../static/images/signal2.png" mode=""></image>
- <image v-else-if="signalDevice<70 && signalDevice>50" class="Workcardimg2"
- src="../../static/images/signal3.png" mode=""></image>
- <image v-else-if="signalDevice<90 && signalDevice>70" class="Workcardimg2"
- src="../../static/images/signal4.png" mode=""></image>
- <image v-else-if="signalDevice<=100 && signalDevice>90" class="Workcardimg2"
- src="../../static/images/signal5.png" mode=""></image>
- </view>
- <view class="Workcardtext">信号:{{signalDevicetext}}</view>
- </view>
- <view class="Workcard-box">
- <view class="Workcardimg">
- <image v-if="audioStatus=='true'" class="Workcardimg3"
- src="../../static/images/Thtapedrive1.png" mode=""></image>
- <image v-if="audioStatus=='false'" class="Workcardimg3"
- src="../../static/images/Thtapedrive2.png" mode=""></image>
- </view>
- <view v-if="audioStatus=='true'" class="Workcardtext">录音:已开启</view>
- <view v-if="audioStatus=='false'" class="Workcardtext">录音:未开启</view>
- </view>
- </view>
- <view class="Workcard" v-if="Whetheroffline==false">
- <view class="Workcard-box">
- <view class="Workcardimg">
- <image class="Workcardimg4" src="../../static/images/offline.png" mode=""></image>
- </view>
- <view class="Workcardtext">设备离线</view>
- </view>
- </view>
- </view>
-
- <view class="title" v-if="equipmentisshow">设备</view>
- <view class="shebenbox" v-if="equipmentisshow" >
- <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;">{{equipmentobj.lowPowerNum || 0}}</view>
- <view class="shebenchetext">急需充电</view>
- </view>
- </view>
-
-
-
- <view class="title">实时统计</view>
- <!-- <view class="real-timebox">
- <view class="timebox">
-
- </view>
- <view class="timebox">
-
- </view>
- </view> -->
-
- <view class="real-timebox">
- <view class="timebox">
- <view class="real" @click="tapjumpreception('1')">
- <view class="realnum">{{realtimeobj.receptionCount || 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 class="real" @click="tapjumpreception('2')">
- <view class="realnum">{{realtimeobj.receivingCustomer || 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>
- <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('1')">
- <view class="realnum">{{realtimeobj.fraction || 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" style="display: flex;">
- <view style="width: 55%;">概览</view>
- <view class="cet" style="display: flex;">
- <view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="tabtimeclick(2)">近7天</view>
- <view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 6 }" @click="tabtimeclick(6)">近30天</view>
- <view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 7 }" @click="tabtimeclick(7)">自定义</view>
- </view>
- </view>
- <view class="real-timebox">
- <view class="timebox">
- <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 class="real" @click="tapjumpreception('3')">
- <view class="realnum">{{Thisweekobj.fraction || 0}}%</view>
- <view class="realtext">平均执行率</view>
- </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>
- <view class="real">
- <view class="realnum"></view>
- <view class="realtext"></view>
- </view>
- </view>
- </view>
-
-
- <!-- <view class="real-timebox">
- <view class="timebox">
-
-
- </view>
- </view> -->
-
-
- <view class="title">常用功能</view>
- <view class="commonly-box">
- <view class="commonly" @click="Piabodata(item.name)" v-for="(item,index) in Menulist" :key='index' v-if="showMenu(item.name)">
- <view class="commonly-img">
- <image v-if="item.name=='客户管理'" class="commonly-img1" src="../../static/images/function1.png"
- mode=""></image>
- <image v-if="item.name=='接待记录'" class="commonly-img1" src="../../static/images/function2.png"
- mode=""></image>
- <image v-if="item.name=='销讲数据'" class="commonly-img1" src="../../static/images/function4.png"
- mode=""></image>
- <image v-if="item.name=='设备管理'" class="commonly-img1" src="../../static/images/function5.png"
- mode=""></image>
- <image v-if="item.name=='值班顾问'" class="commonly-img1" src="../../static/images/function6.png"
- mode=""></image>
- <image v-if="item.name=='顾问排名'" class="commonly-img1" src="../../static/images/rankingguwen.png"
- mode=""></image>
- <image v-if="item.name=='违禁记录'" class="commonly-img1" src="../../static/images/prohibited.png"
- mode=""></image>
- </view>
- <view class="commonly-text">{{item.name}}</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>
- </view>
- </template>
-
- <script>
- var config = require("../../config");
- export default {
- data() {
- return {
- userInfo: {},
- Showhiddenunits: false,
- lpanlist: [], //客户列表
- buildingname: '', //客户名
- buildingID: '', //客户id
- buildingishow: false, //是否选择客户
- Myworkcard: false,
- percentage: '', //设备电量
- Whetheroffline: false, //是否离线
- signalDevice: 0, //信号
- signalDevicetext: "",
- audioStatus: false,
- equipmentisshow: false,
- equipmentobj: {
- totalNum: '',
- onlineNum: '',
- activeNum: '',
- lowPowerNum: '',
- },
- Menulist: [],
- realtimeobj: {
- sumCustomer: '',
- receivingCustomer: '',
- activeCustomer: '',
- prohibitedCustomer: '',
- tagCustomer: '',
- fraction: '',
- receptionCount:''
- },
- Thisweekobj: {
- sumCustomer: '',
- receivingCustomer: '',
- activeCustomer: '',
- prohibitedCustomer: '',
- tagCustomer: '',
- fraction: '',
- receptionCount:''
- },
- methodsisshow:false,
- zhixingcenterindex:2,
- totalTimeShow: false,
- statDateStart:'',
- statDateEnd:'',
- };
- },
-
- computed: {
- showMenu() {
- return name => {
- if (name == '标记有效无效接待' || name == '结束接待' || name == '客户编辑') {
- return false
- } else {
- return true
- }
- }
- }
- },
-
- components: {},
- onShow() {
- this.getMenu()
-
- this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
-
- if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){
- this.methodsisshow=false;
- }else{
- this.methodsisshow=true;
- }
- if (this.userInfo.zkProperties.length == 1) {
- this.buildingID = uni.getStorageSync('buildingID').id;
- this.buildingname = uni.getStorageSync('buildingID').name;
- this.buildingishow = false;
- } else {
- 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
- })
- this.lpanlist = this.userInfo.zkProperties
- }
- if (this.userInfo.dataCode == 6) {
- this.Myworkcard = true;
- this.equipmentisshow = false;
- this.iniodianloang()
- } else {
- this.equipmentisshow = true;
- this.Myworkcard = false;
- this.initequipment()
- }
- this.initworkThisWeek()
- this.initrealTimeStatistics()
- },
- onPullDownRefresh() {
- this.getMenu()
-
- this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
- if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) {
- this.methodsisshow = false;
- } else {
- this.methodsisshow = true;
- }
- if (this.userInfo.zkProperties.length == 1) {
- this.buildingID = uni.getStorageSync('buildingID').id;
- this.buildingname = uni.getStorageSync('buildingID').name;
- this.buildingishow = false;
- } else {
- 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
- })
- this.lpanlist = this.userInfo.zkProperties
- }
- if (this.userInfo.dataCode == 6) {
- // this.Myworkcard = true;
- this.equipmentisshow = false;
- this.iniodianloang()
- } else {
- this.equipmentisshow = true;
- // this.Myworkcard = false;
- this.initequipment()
- // this.waitForOperation()
- }
- this.initworkThisWeek()
- this.initrealTimeStatistics()
- setTimeout(() => {
- uni.stopPullDownRefresh()
- }, 3000)
- },
- methods: {
- //获取权限
- getMenu(){
- console.log("11111")
- this.$u.get("/user/getMenu").then(data => {
- uni.setStorageSync("weapp_session_Menu_data", data)
- this.Menulist = uni.getStorageSync('weapp_session_Menu_data');
- })
- },
- //自定义时间
- totalTimeChange(e) {
- this.statDateStart=e.startDate;
- this.statDateEnd=e.endDate;
- this.zhixingcenterindex=7;
- this.initworkThisWeek()
- },
- //时间选择
- tabtimeclick(i){
- if(i==7){
- this.totalTimeShow = true;
- }else{
- this.zhixingcenterindex=i;
- this.initworkThisWeek()
- }
- },
- //获取概览数据
- initworkThisWeek() {
- uni.request({
- url: config.service.workThisWeek,
- method: "POST",
- header: {
- 'content-type': 'application/json',
- 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
- },
- data: {
- houseId: this.buildingID,
- dateType:this.zhixingcenterindex==7?null:this.zhixingcenterindex,
- statDateStart:this.statDateStart,
- statDateEnd:this.statDateEnd
- },
- success: (data) => {
- if (data.data.data == null) {
- return
- } else {
- this.Thisweekobj = {
- sumCustomer: data.data.data.sumCustomer,
- receivingCustomer: data.data.data.receivingCustomer,
- activeCustomer: data.data.data.activeCustomer,
- prohibitedCustomer: data.data.data.prohibitedCustomer,
- avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
- tagCustomer: data.data.data.tagCustomer,
- fraction: data.data.data.fraction,
- receptionCount:data.data.data.receptionCount
- }
- }
- }
- })
- },
- //实时统计
- initrealTimeStatistics() {
- uni.request({
- url: config.service.realTimeStatistics,
- method: "POST",
- header: {
- 'content-type': 'application/json',
- 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
- },
- data: {
- houseId: this.buildingID
- },
- success: (data) => {
- if (data.data.data == null) {
- return
- } else {
- this.realtimeobj = {
- sumCustomer: data.data.data.sumCustomer,
- receivingCustomer: data.data.data.receivingCustomer,
- activeCustomer: data.data.data.activeCustomer,
- prohibitedCustomer: data.data.data.prohibitedCustomer,
- avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
- tagCustomer: data.data.data.tagCustomer,
- fraction: data.data.data.fraction,
- receptionCount:data.data.data.receptionCount
- }
- }
- }
- })
- },
-
- //设备
- initequipment() {
- uni.request({
- url: config.service.findEquipmentState,
- method: "POST",
- header: {
- 'content-type': 'application/json',
- 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
- },
- data: {
- propertyId: this.buildingID
- },
- success: (data) => {
- if (data.data.data == null) {
- return
- } else {
- this.equipmentobj = {
- totalNum: data.data.data.totalNum,
- onlineNum: data.data.data.onlineNum,
- activeNum: data.data.data.activeNum,
- lowPowerNum: data.data.data.lowPowerNum,
- }
- }
- }
- })
- },
- //我的工牌
- iniodianloang() {
- uni.request({
- url: config.service.findElectricity,
- method: "POST",
- header: {
- 'content-type': 'application/json',
- 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
- },
- data: {},
- success: (data) => {
- if (data.data.data == null) {
- return
- } else {
- if (data.data.data > 100) {
- this.percentage = 100;
- } else {
- if (data.data.data.onLine == 0) {
- this.Whetheroffline = false;
- } else {
- this.Whetheroffline = true;
- this.percentage = data.data.data.electricity;
- this.signalDevice = data.data.data.signalDevice / 1;
- console.log(this.signalDevice)
- this.audioStatus = data.data.data.audioStatus;
- if (this.signalDevice > 80) {
- this.signalDevicetext = '高';
- } else {
- if (this.signalDevice == 0) {
- this.signalDevicetext = '无';
- } else {
- this.signalDevicetext = '低';
- }
- }
- }
-
- }
- }
- }
- })
- },
- //选择客户弹框
- piskbuilding() {
- // this.Showhiddenunits = true;
- uni.navigateTo({
- url:"../mine/selectBuilding"
- })
- },
- // 客户选择确认
- confirm(e) {
- this.buildingname = e[0].label;
- this.buildingID = e[0].value;
- let lopan = {
- id: e[0].value,
- name: e[0].label
- }
- uni.setStorageSync("buildingID", lopan); //客户id写入缓存
- this.initworkThisWeek()
- this.initrealTimeStatistics()
- this.initequipment()
- this.iniodianloang()
-
- },
- // 客户选择取消
- cancel() {
- this.Showhiddenunits = false;
- },
- tapjumpequipment(i){
- this.Menulist.forEach(item=>{
- if(item.name=='设备管理'){
- uni.navigateTo({
- url: '/pages/mine/equipment/index?active='+i
- });
- }
- })
- },
- prohibitedtap(i){
- if(i==1){
- uni.navigateTo({
- url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'0'
- });
- }else{
- if(this.zhixingcenterindex==2){
- uni.navigateTo({
- url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'2'
- });
- }else if(this.zhixingcenterindex==6){
- uni.navigateTo({
- url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'3'
- });
- }else{
- uni.navigateTo({
- url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd
- });
- }
- }
- },
- tapjumpreception(i){
- this.Menulist.forEach(item=>{
- if(item.name=='接待记录'){
- if(i==1){
- uni.navigateTo({
- url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'
- });
- }else if(i==2){
- uni.switchTab({
- url: '/pages/index/customer'
- });
- }else if(i==3){
- if(this.zhixingcenterindex==2){
- uni.navigateTo({
- url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'
- });
- }else if(this.zhixingcenterindex==6){
- uni.navigateTo({
- url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'
- });
- }else{
- uni.navigateTo({
- url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd
- });
- }
-
- }else if(i==6){
- uni.navigateTo({
- url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'+'&validInvalid=0'
- });
- }else if(i==7){
- if(this.zhixingcenterindex==2){
- uni.navigateTo({
- url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'+'&validInvalid=0'
- });
- }else if(this.zhixingcenterindex==6){
- uni.navigateTo({
- url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'+'&validInvalid=0'
- });
- }else{
- uni.navigateTo({
- url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd+'&validInvalid=0'
- });
- }
- }else{
- uni.navigateTo({
- url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0'
- });
- }
- }
- })
- },
- Piabodata(item) {
- if (item == '销讲数据') {
- uni.navigateTo({
- url: '/pages/center/Piabodata/index'
- });
- } else if (item == '接待记录') {
- uni.navigateTo({
- url: '/pages/center/records/index?refresh='+'refresh'
- });
- } else if (item == '值班顾问') {
- uni.navigateTo({
- url: '/pages/mine/consultanonduty/index'
- });
- } else if (item == '设备管理') {
- uni.navigateTo({
- url: '/pages/mine/equipment/index'
- });
- } else if(item == '顾问排名') {
- uni.navigateTo({
- url: '/pages/center/Piabodata/Employeesstatistics'
- });
- }else if(item == '违禁记录'){
- uni.navigateTo({
- url: '/pages/center/prohibited/index?refresh='+'refresh'
- });
- }else{
- uni.navigateTo({
- url: '/pages/center/consumer/index?refresh='+'refresh'
- });
- }
-
-
- },
- },
-
- };
- </script>
-
- <style lang="scss" scoped>
- .activecllasscet{
- font-size: 28rpx;
- font-weight: 400;
- color: #008ef2;
- }
- .cet{
- font-size: 28rpx;
- font-weight: 400;
- color: #333333;
- .cetview{
- margin-left: 20rpx;
- }
- }
- .cented-box {
- padding: 30rpx;
- background: #F8F8F8;
- width: 100%;
- height: 100%;
- }
-
- .Switchingbox {
- width: 100%;
- height: 44rpx;
- display: flex;
- align-items: center;
-
- .Switching1 {
- width: 44rpx;
- height: 44rpx;
-
- .Switching1-img {
- width: 44rpx;
- height: 44rpx;
- }
- }
-
- .Switching2 {
- margin-left: 12rpx;
- font-size: 32rpx;
- color: #303030;
- font-weight: 500;
- }
-
- .Switching3 {
- width: calc(100% - 280rpx);
- font-size: 32rpx;
- color: #303030;
- font-weight: 500;
- }
-
- .Switching4 {
- width: 112rpx;
- font-size: 28rpx;
- color: #303030;
- font-weight: 400;
- text-align: right;
- text-decoration: underline
- }
- }
-
- .Workcard {
- width: 100%;
- background: #FFFFFF;
- height: 154rpx;
- box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
- border-radius: 12rpx;
- display: flex;
-
- .Workcard-box {
- flex: 1;
- height: 100%;
-
- .Workcardimg {
- width: 100%;
- display: flex;
- justify-content: center;
- margin-top: 42rpx;
-
- .Workcardimg1 {
- width: 64rpx;
- height: 36rpx;
- background-image: url(../../static/images/battery.png);
- background-size: 100% 100%;
- padding: 8rpx;
-
- .bar {
- background-color: #43CD80;
- height: 100%;
- border-radius: 4rpx;
- }
-
- .bar1 {
- background-color: red;
- height: 100%;
- border-radius: 4rpx;
- }
- }
-
- .Workcardimg2 {
- width: 56rpx;
- height: 36rpx;
- }
-
- .Workcardimg3 {
- width: 34rpx;
- height: 36rpx;
- }
-
- .Workcardimg4 {
- width: 50rpx;
- height: 40rpx;
- }
- }
-
- .Workcardtext {
- width: 100%;
- text-align: center;
- font-size: 24rpx;
- font-weight: 400;
- color: #666666;
- margin-top: 20rpx;
- }
- }
- }
-
- .title {
- width: 100%;
- height: 30rpx;
- font-size: 30rpx;
- font-weight: 600;
- color: #333333;
- margin-top: 40rpx;
- margin-bottom: 24rpx;
- }
-
- .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;
- }
-
- .shebenchetext {
- width: 100%;
- font-size: 24rpx;
- font-weight: 400;
- color: #666666;
- text-align: center;
- margin-top: 24rpx;
- }
- }
- }
-
- .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;
-
- .real {
- flex: 1;
- height: 100%;
-
- .realnum {
- width: 100%;
- font-size: 36rpx;
- font-weight: 600;
- color: #333333;
- text-align: center;
- margin-top: 36rpx;
- }
-
- .realtext {
- width: 100%;
- font-size: 24rpx;
- font-weight: 400;
- color: #666666;
- text-align: center;
- margin-top: 24rpx;
- }
- }
- }
-
- }
-
- .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;
-
- .commonly-img {
- width: 100%;
- height: 68rpx;
- text-align: center;
-
- .commonly-img1 {
- width: 68rpx;
- height: 68rpx;
- border-radius: 50%;
- }
- }
-
- .commonly-text {
- width: 100%;
- text-align: center;
- font-size: 24rpx;
- font-weight: 400;
- color: #333333;
- margin-top: 16rpx;
- }
- }
- }
- </style>
|