25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

852 satır
23 KiB

  1. <template>
  2. <view class="cented-box">
  3. <view class="Switchingbox">
  4. <view class="Switching1">
  5. <image class="Switching1-img" src="../../static/images/building.png" mode=""></image>
  6. </view>
  7. <view class="Switching2">项目:</view>
  8. <view class="Switching3">{{buildingname}}</view>
  9. <view class="Switching4" v-if="buildingishow" @click="piskbuilding()">切换项目</view>
  10. </view>
  11. <view class="title" style="margin-top: 30rpx;" v-if="Myworkcard">我的工牌</view>
  12. <view v-if="Myworkcard">
  13. <view class="Workcard" v-if="Whetheroffline==true">
  14. <view class="Workcard-box">
  15. <view class="Workcardimg">
  16. <view class="Workcardimg1">
  17. <view v-if="percentage>20" class="bar" :style="{width : percentage + '%' }"></view>
  18. <view v-if="percentage<20" class="bar1" :style="{width : percentage + '%' }"></view>
  19. </view>
  20. </view>
  21. <view class="Workcardtext">电量:{{percentage}}%</view>
  22. </view>
  23. <view class="Workcard-box">
  24. <view class="Workcardimg">
  25. <image v-if="signalDevice==''" class="Workcardimg2" src="../../static/images/signal0.png"
  26. mode=""></image>
  27. <image v-else-if="signalDevice<20 && signalDevice>0" class="Workcardimg2"
  28. src="../../static/images/signal1.png" mode=""></image>
  29. <image v-else-if="signalDevice<50 && signalDevice>20" class="Workcardimg2"
  30. src="../../static/images/signal2.png" mode=""></image>
  31. <image v-else-if="signalDevice<70 && signalDevice>50" class="Workcardimg2"
  32. src="../../static/images/signal3.png" mode=""></image>
  33. <image v-else-if="signalDevice<90 && signalDevice>70" class="Workcardimg2"
  34. src="../../static/images/signal4.png" mode=""></image>
  35. <image v-else-if="signalDevice<=100 && signalDevice>90" class="Workcardimg2"
  36. src="../../static/images/signal5.png" mode=""></image>
  37. </view>
  38. <view class="Workcardtext">信号:{{signalDevicetext}}</view>
  39. </view>
  40. <view class="Workcard-box">
  41. <view class="Workcardimg">
  42. <image v-if="audioStatus=='true'" class="Workcardimg3"
  43. src="../../static/images/Thtapedrive1.png" mode=""></image>
  44. <image v-if="audioStatus=='false'" class="Workcardimg3"
  45. src="../../static/images/Thtapedrive2.png" mode=""></image>
  46. </view>
  47. <view v-if="audioStatus=='true'" class="Workcardtext">录音:已开启</view>
  48. <view v-if="audioStatus=='false'" class="Workcardtext">录音:未开启</view>
  49. </view>
  50. </view>
  51. <view class="Workcard" v-if="Whetheroffline==false">
  52. <view class="Workcard-box">
  53. <view class="Workcardimg">
  54. <image class="Workcardimg4" src="../../static/images/offline.png" mode=""></image>
  55. </view>
  56. <view class="Workcardtext">设备离线</view>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="title" v-if="equipmentisshow">设备</view>
  61. <view class="shebenbox" v-if="equipmentisshow" >
  62. <view class="shebenche" @click="tapjumpequipment(0)">
  63. <view class="shebenchenum">{{equipmentobj.totalNum || 0}}</view>
  64. <view class="shebenchetext">设备总数</view>
  65. </view>
  66. <view class="shebenche" @click="tapjumpequipment(1)">
  67. <view class="shebenchenum">{{equipmentobj.onlineNum || 0}}</view>
  68. <view class="shebenchetext">在线</view>
  69. </view>
  70. <view class="shebenche" @click="tapjumpequipment(3)">
  71. <view class="shebenchenum">{{equipmentobj.activeNum || 0}}</view>
  72. <view class="shebenchetext">活跃</view>
  73. </view>
  74. <view class="shebenche" @click="tapjumpequipment(2)">
  75. <view class="shebenchenum" style="color: red;">{{equipmentobj.lowPowerNum || 0}}</view>
  76. <view class="shebenchetext">急需充电</view>
  77. </view>
  78. </view>
  79. <view class="title">实时统计</view>
  80. <!-- <view class="real-timebox">
  81. <view class="timebox">
  82. </view>
  83. <view class="timebox">
  84. </view>
  85. </view> -->
  86. <view class="real-timebox">
  87. <view class="timebox">
  88. <view class="real" @click="tapjumpreception('1')">
  89. <view class="realnum">{{realtimeobj.receptionCount || 0}}</view>
  90. <view class="realtext">接待量</view>
  91. </view>
  92. <view class="real" @click="tapjumpreception('6')">
  93. <view class="realnum">{{realtimeobj.activeCustomer|| 0}}</view>
  94. <view class="realtext">有效接待</view>
  95. </view>
  96. <view class="real" @click="tapjumpreception('2')">
  97. <view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view>
  98. <view class="realtext">正在接待</view>
  99. </view>
  100. <view class="real" @click="tapjumpreception('4')">
  101. <view class="realnum">{{realtimeobj.tagCustomer || 0}}</view>
  102. <view class="realtext">未标顾问</view>
  103. </view>
  104. </view>
  105. <view class="timebox">
  106. <view class="real" @click="tapjumpreception('1')">
  107. <view class="realnum">{{realtimeobj.avgDuration|| 0}}</view>
  108. <view class="realtext">平均接待时长</view>
  109. </view>
  110. <view class="real" @click="tapjumpreception('1')">
  111. <view class="realnum">{{realtimeobj.fraction || 0}}%</view>
  112. <view class="realtext">平均执行率</view>
  113. </view>
  114. <view class="real" >
  115. <view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realnum" style="color: red;" >{{realtimeobj.prohibitedCustomer || 0}}</view>
  116. <view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realtext">违禁预警</view>
  117. </view>
  118. <view class="real">
  119. <view class="realnum"></view>
  120. <view class="realtext"></view>
  121. </view>
  122. </view>
  123. </view>
  124. <view class="title" style="display: flex;">
  125. <view style="width: 55%;">概览</view>
  126. <view class="cet" style="display: flex;">
  127. <view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="tabtimeclick(2)">近7天</view>
  128. <view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 6 }" @click="tabtimeclick(6)">近30天</view>
  129. <view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 7 }" @click="tabtimeclick(7)">自定义</view>
  130. </view>
  131. </view>
  132. <view class="real-timebox">
  133. <view class="timebox">
  134. <view class="real" @click="tapjumpreception('3')">
  135. <view class="realnum">{{Thisweekobj.receptionCount || 0}}</view>
  136. <view class="realtext">接待量</view>
  137. </view>
  138. <view class="real" @click="tapjumpreception('7')">
  139. <view class="realnum">{{Thisweekobj.activeCustomer|| 0}}</view>
  140. <view class="realtext">有效接待</view>
  141. </view>
  142. <view class="real" @click="tapjumpreception('3')">
  143. <view class="realnum">{{Thisweekobj.fraction || 0}}%</view>
  144. <view class="realtext">平均执行率</view>
  145. </view>
  146. </view>
  147. <view class="timebox">
  148. <view class="real" @click="tapjumpreception('3')">
  149. <view class="realnum">{{Thisweekobj.avgDuration|| 0}}</view>
  150. <view class="realtext">平均接待时长</view>
  151. </view>
  152. <view class="real" @click="prohibitedtap(2)" v-if="methodsisshow==true">
  153. <view class="realnum" style="color: red;" >{{Thisweekobj.prohibitedCustomer || 0}}</view>
  154. <view class="realtext">违禁预警</view>
  155. </view>
  156. <view class="real" v-else>
  157. <view class="realnum"></view>
  158. <view class="realtext"></view>
  159. </view>
  160. <view class="real">
  161. <view class="realnum"></view>
  162. <view class="realtext"></view>
  163. </view>
  164. </view>
  165. </view>
  166. <!-- <view class="real-timebox">
  167. <view class="timebox">
  168. </view>
  169. </view> -->
  170. <view class="title">常用功能</view>
  171. <view class="commonly-box">
  172. <view class="commonly" @click="Piabodata(item.name)" v-for="(item,index) in Menulist" :key='index'>
  173. <view class="commonly-img">
  174. <image v-if="item.name=='客户管理'" class="commonly-img1" src="../../static/images/function1.png"
  175. mode=""></image>
  176. <image v-if="item.name=='接待记录'" class="commonly-img1" src="../../static/images/function2.png"
  177. mode=""></image>
  178. <image v-if="item.name=='销讲数据'" class="commonly-img1" src="../../static/images/function4.png"
  179. mode=""></image>
  180. <image v-if="item.name=='设备管理'" class="commonly-img1" src="../../static/images/function5.png"
  181. mode=""></image>
  182. <image v-if="item.name=='值班顾问'" class="commonly-img1" src="../../static/images/function6.png"
  183. mode=""></image>
  184. <image v-if="item.name=='顾问排名'" class="commonly-img1" src="../../static/images/rankingguwen.png"
  185. mode=""></image>
  186. <image v-if="item.name=='违禁记录'" class="commonly-img1" src="../../static/images/prohibited.png"
  187. mode=""></image>
  188. </view>
  189. <view v-if="item.name=='标记有效无效接待'" class="commonly-text"></view>
  190. <view v-else class="commonly-text">{{item.name}}</view>
  191. </view>
  192. </view>
  193. <!-- 项目切换 -->
  194. <view v-if="Showhiddenunits">
  195. <u-select :mask-close-able="false" v-model="Showhiddenunits" mode="single-column" :list="lpanlist"
  196. @cancel="cancel" @confirm="confirm"></u-select>
  197. </view>
  198. <u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
  199. </view>
  200. </template>
  201. <script>
  202. var config = require("../../config");
  203. export default {
  204. data() {
  205. return {
  206. userInfo: {},
  207. Showhiddenunits: false,
  208. lpanlist: [], //项目列表
  209. buildingname: '', //项目名
  210. buildingID: '', //项目id
  211. buildingishow: false, //是否选择项目
  212. Myworkcard: false,
  213. percentage: '', //设备电量
  214. Whetheroffline: false, //是否离线
  215. signalDevice: 0, //信号
  216. signalDevicetext: "",
  217. audioStatus: false,
  218. equipmentisshow: false,
  219. equipmentobj: {
  220. totalNum: '',
  221. onlineNum: '',
  222. activeNum: '',
  223. lowPowerNum: '',
  224. },
  225. Menulist: [],
  226. realtimeobj: {
  227. sumCustomer: '',
  228. receivingCustomer: '',
  229. activeCustomer: '',
  230. prohibitedCustomer: '',
  231. tagCustomer: '',
  232. fraction: '',
  233. receptionCount:''
  234. },
  235. Thisweekobj: {
  236. sumCustomer: '',
  237. receivingCustomer: '',
  238. activeCustomer: '',
  239. prohibitedCustomer: '',
  240. tagCustomer: '',
  241. fraction: '',
  242. receptionCount:''
  243. },
  244. methodsisshow:false,
  245. zhixingcenterindex:2,
  246. totalTimeShow: false,
  247. statDateStart:'',
  248. statDateEnd:'',
  249. };
  250. },
  251. components: {},
  252. onShow() {
  253. this.getMenu()
  254. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  255. if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){
  256. this.methodsisshow=false;
  257. }else{
  258. this.methodsisshow=true;
  259. }
  260. if (this.userInfo.zkProperties.length == 1) {
  261. this.buildingID = uni.getStorageSync('buildingID').id;
  262. this.buildingname = uni.getStorageSync('buildingID').name;
  263. this.buildingishow = false;
  264. } else {
  265. this.buildingishow = true;
  266. this.buildingname = uni.getStorageSync('buildingID').name;
  267. this.buildingID = uni.getStorageSync('buildingID').id;
  268. this.userInfo.zkProperties.forEach(item => {
  269. item.label = item.propertyName;
  270. item.value = item.id
  271. })
  272. this.lpanlist = this.userInfo.zkProperties
  273. }
  274. if (this.userInfo.dataCode == 6) {
  275. this.Myworkcard = true;
  276. this.equipmentisshow = false;
  277. this.iniodianloang()
  278. } else {
  279. this.equipmentisshow = true;
  280. this.Myworkcard = false;
  281. this.initequipment()
  282. }
  283. this.initworkThisWeek()
  284. this.initrealTimeStatistics()
  285. },
  286. methods: {
  287. //获取权限
  288. getMenu(){
  289. console.log("11111")
  290. this.$u.get("/user/getMenu").then(data => {
  291. uni.setStorageSync("weapp_session_Menu_data", data)
  292. this.Menulist = uni.getStorageSync('weapp_session_Menu_data');
  293. })
  294. },
  295. //自定义时间
  296. totalTimeChange(e) {
  297. this.statDateStart=e.startDate;
  298. this.statDateEnd=e.endDate;
  299. this.zhixingcenterindex=7;
  300. this.initworkThisWeek()
  301. },
  302. //时间选择
  303. tabtimeclick(i){
  304. if(i==7){
  305. this.totalTimeShow = true;
  306. }else{
  307. this.zhixingcenterindex=i;
  308. this.initworkThisWeek()
  309. }
  310. },
  311. //获取概览数据
  312. initworkThisWeek() {
  313. uni.request({
  314. url: config.service.workThisWeek,
  315. method: "POST",
  316. header: {
  317. 'content-type': 'application/json',
  318. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  319. },
  320. data: {
  321. houseId: this.buildingID,
  322. dateType:this.zhixingcenterindex==7?null:this.zhixingcenterindex,
  323. statDateStart:this.statDateStart,
  324. statDateEnd:this.statDateEnd
  325. },
  326. success: (data) => {
  327. if (data.data.data == null) {
  328. return
  329. } else {
  330. this.Thisweekobj = {
  331. sumCustomer: data.data.data.sumCustomer,
  332. receivingCustomer: data.data.data.receivingCustomer,
  333. activeCustomer: data.data.data.activeCustomer,
  334. prohibitedCustomer: data.data.data.prohibitedCustomer,
  335. avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
  336. tagCustomer: data.data.data.tagCustomer,
  337. fraction: data.data.data.fraction,
  338. receptionCount:data.data.data.receptionCount
  339. }
  340. }
  341. }
  342. })
  343. },
  344. //实时统计
  345. initrealTimeStatistics() {
  346. uni.request({
  347. url: config.service.realTimeStatistics,
  348. method: "POST",
  349. header: {
  350. 'content-type': 'application/json',
  351. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  352. },
  353. data: {
  354. houseId: this.buildingID
  355. },
  356. success: (data) => {
  357. if (data.data.data == null) {
  358. return
  359. } else {
  360. this.realtimeobj = {
  361. sumCustomer: data.data.data.sumCustomer,
  362. receivingCustomer: data.data.data.receivingCustomer,
  363. activeCustomer: data.data.data.activeCustomer,
  364. prohibitedCustomer: data.data.data.prohibitedCustomer,
  365. avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
  366. tagCustomer: data.data.data.tagCustomer,
  367. fraction: data.data.data.fraction,
  368. receptionCount:data.data.data.receptionCount
  369. }
  370. }
  371. }
  372. })
  373. },
  374. //设备
  375. initequipment() {
  376. uni.request({
  377. url: config.service.findEquipmentState,
  378. method: "POST",
  379. header: {
  380. 'content-type': 'application/json',
  381. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  382. },
  383. data: {
  384. propertyId: this.buildingID
  385. },
  386. success: (data) => {
  387. if (data.data.data == null) {
  388. return
  389. } else {
  390. this.equipmentobj = {
  391. totalNum: data.data.data.totalNum,
  392. onlineNum: data.data.data.onlineNum,
  393. activeNum: data.data.data.activeNum,
  394. lowPowerNum: data.data.data.lowPowerNum,
  395. }
  396. }
  397. }
  398. })
  399. },
  400. //我的工牌
  401. iniodianloang() {
  402. uni.request({
  403. url: config.service.findElectricity,
  404. method: "POST",
  405. header: {
  406. 'content-type': 'application/json',
  407. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  408. },
  409. data: {},
  410. success: (data) => {
  411. if (data.data.data == null) {
  412. return
  413. } else {
  414. if (data.data.data > 100) {
  415. this.percentage = 100;
  416. } else {
  417. if (data.data.data.onLine == 0) {
  418. this.Whetheroffline = false;
  419. } else {
  420. this.Whetheroffline = true;
  421. this.percentage = data.data.data.electricity;
  422. this.signalDevice = data.data.data.signalDevice / 1;
  423. console.log(this.signalDevice)
  424. this.audioStatus = data.data.data.audioStatus;
  425. if (this.signalDevice > 80) {
  426. this.signalDevicetext = '高';
  427. } else {
  428. if (this.signalDevice == 0) {
  429. this.signalDevicetext = '无';
  430. } else {
  431. this.signalDevicetext = '低';
  432. }
  433. }
  434. }
  435. }
  436. }
  437. }
  438. })
  439. },
  440. //选择项目弹框
  441. piskbuilding() {
  442. // this.Showhiddenunits = true;
  443. uni.navigateTo({
  444. url:"../mine/selectBuilding"
  445. })
  446. },
  447. // 项目选择确认
  448. confirm(e) {
  449. this.buildingname = e[0].label;
  450. this.buildingID = e[0].value;
  451. let lopan = {
  452. id: e[0].value,
  453. name: e[0].label
  454. }
  455. uni.setStorageSync("buildingID", lopan); //项目id写入缓存
  456. this.initworkThisWeek()
  457. this.initrealTimeStatistics()
  458. this.initequipment()
  459. this.iniodianloang()
  460. },
  461. // 项目选择取消
  462. cancel() {
  463. this.Showhiddenunits = false;
  464. },
  465. tapjumpequipment(i){
  466. this.Menulist.forEach(item=>{
  467. if(item.name=='设备管理'){
  468. uni.navigateTo({
  469. url: '/pages/mine/equipment/index?active='+i
  470. });
  471. }
  472. })
  473. },
  474. prohibitedtap(i){
  475. if(i==1){
  476. uni.navigateTo({
  477. url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'0'
  478. });
  479. }else{
  480. if(this.zhixingcenterindex==2){
  481. uni.navigateTo({
  482. url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'2'
  483. });
  484. }else if(this.zhixingcenterindex==6){
  485. uni.navigateTo({
  486. url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'3'
  487. });
  488. }else{
  489. uni.navigateTo({
  490. url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd
  491. });
  492. }
  493. }
  494. },
  495. tapjumpreception(i){
  496. this.Menulist.forEach(item=>{
  497. if(item.name=='接待记录'){
  498. if(i==1){
  499. uni.navigateTo({
  500. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'
  501. });
  502. }else if(i==2){
  503. uni.switchTab({
  504. url: '/pages/index/customer'
  505. });
  506. }else if(i==3){
  507. if(this.zhixingcenterindex==2){
  508. uni.navigateTo({
  509. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'
  510. });
  511. }else if(this.zhixingcenterindex==6){
  512. uni.navigateTo({
  513. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'
  514. });
  515. }else{
  516. uni.navigateTo({
  517. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd
  518. });
  519. }
  520. }else if(i==6){
  521. uni.navigateTo({
  522. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'+'&validInvalid=0'
  523. });
  524. }else if(i==7){
  525. if(this.zhixingcenterindex==2){
  526. uni.navigateTo({
  527. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'+'&validInvalid=0'
  528. });
  529. }else if(this.zhixingcenterindex==6){
  530. uni.navigateTo({
  531. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'+'&validInvalid=0'
  532. });
  533. }else{
  534. uni.navigateTo({
  535. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd+'&validInvalid=0'
  536. });
  537. }
  538. }else{
  539. uni.navigateTo({
  540. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0'
  541. });
  542. }
  543. }
  544. })
  545. },
  546. Piabodata(item) {
  547. if (item == '销讲数据') {
  548. uni.navigateTo({
  549. url: '/pages/center/Piabodata/index'
  550. });
  551. } else if (item == '接待记录') {
  552. uni.navigateTo({
  553. url: '/pages/center/records/index?refresh='+'refresh'
  554. });
  555. } else if (item == '值班顾问') {
  556. uni.navigateTo({
  557. url: '/pages/mine/consultanonduty/index'
  558. });
  559. } else if (item == '设备管理') {
  560. uni.navigateTo({
  561. url: '/pages/mine/equipment/index'
  562. });
  563. } else if(item == '顾问排名') {
  564. uni.navigateTo({
  565. url: '/pages/center/Piabodata/Employeesstatistics'
  566. });
  567. }else if(item == '违禁记录'){
  568. uni.navigateTo({
  569. url: '/pages/center/prohibited/index?refresh='+'refresh'
  570. });
  571. }else{
  572. uni.navigateTo({
  573. url: '/pages/center/consumer/index?refresh='+'refresh'
  574. });
  575. }
  576. },
  577. },
  578. };
  579. </script>
  580. <style lang="scss" scoped>
  581. .activecllasscet{
  582. font-size: 28rpx;
  583. font-weight: 400;
  584. color: #008ef2;
  585. }
  586. .cet{
  587. font-size: 28rpx;
  588. font-weight: 400;
  589. color: #333333;
  590. .cetview{
  591. margin-left: 20rpx;
  592. }
  593. }
  594. .cented-box {
  595. padding: 30rpx;
  596. background: #F8F8F8;
  597. width: 100%;
  598. height: 100%;
  599. }
  600. .Switchingbox {
  601. width: 100%;
  602. height: 44rpx;
  603. display: flex;
  604. align-items: center;
  605. .Switching1 {
  606. width: 44rpx;
  607. height: 44rpx;
  608. .Switching1-img {
  609. width: 44rpx;
  610. height: 44rpx;
  611. }
  612. }
  613. .Switching2 {
  614. margin-left: 12rpx;
  615. font-size: 32rpx;
  616. color: #303030;
  617. font-weight: 500;
  618. }
  619. .Switching3 {
  620. width: calc(100% - 280rpx);
  621. font-size: 32rpx;
  622. color: #303030;
  623. font-weight: 500;
  624. }
  625. .Switching4 {
  626. width: 112rpx;
  627. font-size: 28rpx;
  628. color: #303030;
  629. font-weight: 400;
  630. text-align: right;
  631. text-decoration: underline
  632. }
  633. }
  634. .Workcard {
  635. width: 100%;
  636. background: #FFFFFF;
  637. height: 154rpx;
  638. box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
  639. border-radius: 12rpx;
  640. display: flex;
  641. .Workcard-box {
  642. flex: 1;
  643. height: 100%;
  644. .Workcardimg {
  645. width: 100%;
  646. display: flex;
  647. justify-content: center;
  648. margin-top: 42rpx;
  649. .Workcardimg1 {
  650. width: 64rpx;
  651. height: 36rpx;
  652. background-image: url(../../static/images/battery.png);
  653. background-size: 100% 100%;
  654. padding: 8rpx;
  655. .bar {
  656. background-color: #43CD80;
  657. height: 100%;
  658. border-radius: 4rpx;
  659. }
  660. .bar1 {
  661. background-color: red;
  662. height: 100%;
  663. border-radius: 4rpx;
  664. }
  665. }
  666. .Workcardimg2 {
  667. width: 56rpx;
  668. height: 36rpx;
  669. }
  670. .Workcardimg3 {
  671. width: 34rpx;
  672. height: 36rpx;
  673. }
  674. .Workcardimg4 {
  675. width: 50rpx;
  676. height: 40rpx;
  677. }
  678. }
  679. .Workcardtext {
  680. width: 100%;
  681. text-align: center;
  682. font-size: 24rpx;
  683. font-weight: 400;
  684. color: #666666;
  685. margin-top: 20rpx;
  686. }
  687. }
  688. }
  689. .title {
  690. width: 100%;
  691. height: 30rpx;
  692. font-size: 30rpx;
  693. font-weight: 600;
  694. color: #333333;
  695. margin-top: 40rpx;
  696. margin-bottom: 24rpx;
  697. }
  698. .shebenbox {
  699. width: 100%;
  700. height: 156rpx;
  701. background: #FFFFFF;
  702. box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
  703. border-radius: 12rpx;
  704. display: flex;
  705. .shebenche {
  706. width: 25%;
  707. height: 100%;
  708. .shebenchenum {
  709. width: 100%;
  710. font-size: 36rpx;
  711. font-weight: 600;
  712. color: #333333;
  713. text-align: center;
  714. margin-top: 28rpx;
  715. }
  716. .shebenchetext {
  717. width: 100%;
  718. font-size: 24rpx;
  719. font-weight: 400;
  720. color: #666666;
  721. text-align: center;
  722. margin-top: 24rpx;
  723. }
  724. }
  725. }
  726. .real-timebox {
  727. width: 100%;
  728. background: #FFFFFF;
  729. box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
  730. border-radius: 12rpx;
  731. padding-bottom: 36rpx;
  732. .timebox {
  733. width: 100%;
  734. display: flex;
  735. .real {
  736. flex: 1;
  737. height: 100%;
  738. .realnum {
  739. width: 100%;
  740. font-size: 36rpx;
  741. font-weight: 600;
  742. color: #333333;
  743. text-align: center;
  744. margin-top: 36rpx;
  745. }
  746. .realtext {
  747. width: 100%;
  748. font-size: 24rpx;
  749. font-weight: 400;
  750. color: #666666;
  751. text-align: center;
  752. margin-top: 24rpx;
  753. }
  754. }
  755. }
  756. }
  757. .commonly-box {
  758. width: 100%;
  759. background: #FFFFFF;
  760. box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
  761. border-radius: 12rpx;
  762. display: flex;
  763. flex-wrap: wrap;
  764. padding-bottom: 36rpx;
  765. .commonly {
  766. width: 25%;
  767. margin-top: 36rpx;
  768. .commonly-img {
  769. width: 100%;
  770. height: 68rpx;
  771. text-align: center;
  772. .commonly-img1 {
  773. width: 68rpx;
  774. height: 68rpx;
  775. border-radius: 50%;
  776. }
  777. }
  778. .commonly-text {
  779. width: 100%;
  780. text-align: center;
  781. font-size: 24rpx;
  782. font-weight: 400;
  783. color: #333333;
  784. margin-top: 16rpx;
  785. }
  786. }
  787. }
  788. </style>