You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

848 lines
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. tabtimeclick(i){
  303. if(i==7){
  304. this.totalTimeShow = true;
  305. }else{
  306. this.zhixingcenterindex=i;
  307. this.initworkThisWeek()
  308. }
  309. },
  310. initworkThisWeek() {
  311. uni.request({
  312. url: config.service.workThisWeek,
  313. method: "POST",
  314. header: {
  315. 'content-type': 'application/json',
  316. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  317. },
  318. data: {
  319. houseId: this.buildingID,
  320. dateType:this.zhixingcenterindex==7?null:this.zhixingcenterindex,
  321. statDateStart:this.statDateStart,
  322. statDateEnd:this.statDateEnd
  323. },
  324. success: (data) => {
  325. if (data.data.data == null) {
  326. return
  327. } else {
  328. this.Thisweekobj = {
  329. sumCustomer: data.data.data.sumCustomer,
  330. receivingCustomer: data.data.data.receivingCustomer,
  331. activeCustomer: data.data.data.activeCustomer,
  332. prohibitedCustomer: data.data.data.prohibitedCustomer,
  333. avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
  334. tagCustomer: data.data.data.tagCustomer,
  335. fraction: data.data.data.fraction,
  336. receptionCount:data.data.data.receptionCount
  337. }
  338. }
  339. }
  340. })
  341. },
  342. //实时统计
  343. initrealTimeStatistics() {
  344. uni.request({
  345. url: config.service.realTimeStatistics,
  346. method: "POST",
  347. header: {
  348. 'content-type': 'application/json',
  349. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  350. },
  351. data: {
  352. houseId: this.buildingID
  353. },
  354. success: (data) => {
  355. if (data.data.data == null) {
  356. return
  357. } else {
  358. this.realtimeobj = {
  359. sumCustomer: data.data.data.sumCustomer,
  360. receivingCustomer: data.data.data.receivingCustomer,
  361. activeCustomer: data.data.data.activeCustomer,
  362. prohibitedCustomer: data.data.data.prohibitedCustomer,
  363. avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
  364. tagCustomer: data.data.data.tagCustomer,
  365. fraction: data.data.data.fraction,
  366. receptionCount:data.data.data.receptionCount
  367. }
  368. }
  369. }
  370. })
  371. },
  372. //设备
  373. initequipment() {
  374. uni.request({
  375. url: config.service.findEquipmentState,
  376. method: "POST",
  377. header: {
  378. 'content-type': 'application/json',
  379. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  380. },
  381. data: {
  382. propertyId: this.buildingID
  383. },
  384. success: (data) => {
  385. if (data.data.data == null) {
  386. return
  387. } else {
  388. this.equipmentobj = {
  389. totalNum: data.data.data.totalNum,
  390. onlineNum: data.data.data.onlineNum,
  391. activeNum: data.data.data.activeNum,
  392. lowPowerNum: data.data.data.lowPowerNum,
  393. }
  394. }
  395. }
  396. })
  397. },
  398. //我的工牌
  399. iniodianloang() {
  400. uni.request({
  401. url: config.service.findElectricity,
  402. method: "POST",
  403. header: {
  404. 'content-type': 'application/json',
  405. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  406. },
  407. data: {},
  408. success: (data) => {
  409. if (data.data.data == null) {
  410. return
  411. } else {
  412. if (data.data.data > 100) {
  413. this.percentage = 100;
  414. } else {
  415. if (data.data.data.onLine == 0) {
  416. this.Whetheroffline = false;
  417. } else {
  418. this.Whetheroffline = true;
  419. this.percentage = data.data.data.electricity;
  420. this.signalDevice = data.data.data.signalDevice / 1;
  421. console.log(this.signalDevice)
  422. this.audioStatus = data.data.data.audioStatus;
  423. if (this.signalDevice > 80) {
  424. this.signalDevicetext = '高';
  425. } else {
  426. if (this.signalDevice == 0) {
  427. this.signalDevicetext = '无';
  428. } else {
  429. this.signalDevicetext = '低';
  430. }
  431. }
  432. }
  433. }
  434. }
  435. }
  436. })
  437. },
  438. //选择楼盘弹框
  439. piskbuilding() {
  440. this.Showhiddenunits = true;
  441. },
  442. // 楼盘选择确认
  443. confirm(e) {
  444. this.buildingname = e[0].label;
  445. this.buildingID = e[0].value;
  446. let lopan = {
  447. id: e[0].value,
  448. name: e[0].label
  449. }
  450. uni.setStorageSync("buildingID", lopan); //楼盘id写入缓存
  451. this.initworkThisWeek()
  452. this.initrealTimeStatistics()
  453. this.initequipment()
  454. this.iniodianloang()
  455. },
  456. // 楼盘选择取消
  457. cancel() {
  458. this.Showhiddenunits = false;
  459. },
  460. tapjumpequipment(i){
  461. this.Menulist.forEach(item=>{
  462. if(item.name=='设备管理'){
  463. uni.navigateTo({
  464. url: '/pages/mine/equipment/index?active='+i
  465. });
  466. }
  467. })
  468. },
  469. prohibitedtap(i){
  470. if(i==1){
  471. uni.navigateTo({
  472. url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'0'
  473. });
  474. }else{
  475. if(this.zhixingcenterindex==2){
  476. uni.navigateTo({
  477. url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'2'
  478. });
  479. }else if(this.zhixingcenterindex==6){
  480. uni.navigateTo({
  481. url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'3'
  482. });
  483. }else{
  484. uni.navigateTo({
  485. url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd
  486. });
  487. }
  488. }
  489. },
  490. tapjumpreception(i){
  491. this.Menulist.forEach(item=>{
  492. if(item.name=='接待记录'){
  493. if(i==1){
  494. uni.navigateTo({
  495. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'
  496. });
  497. }else if(i==2){
  498. uni.switchTab({
  499. url: '/pages/index/customer'
  500. });
  501. }else if(i==3){
  502. if(this.zhixingcenterindex==2){
  503. uni.navigateTo({
  504. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'
  505. });
  506. }else if(this.zhixingcenterindex==6){
  507. uni.navigateTo({
  508. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'
  509. });
  510. }else{
  511. uni.navigateTo({
  512. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd
  513. });
  514. }
  515. }else if(i==6){
  516. uni.navigateTo({
  517. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'+'&validInvalid=0'
  518. });
  519. }else if(i==7){
  520. if(this.zhixingcenterindex==2){
  521. uni.navigateTo({
  522. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'+'&validInvalid=0'
  523. });
  524. }else if(this.zhixingcenterindex==6){
  525. uni.navigateTo({
  526. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'+'&validInvalid=0'
  527. });
  528. }else{
  529. uni.navigateTo({
  530. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd+'&validInvalid=0'
  531. });
  532. }
  533. }else{
  534. uni.navigateTo({
  535. url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0'
  536. });
  537. }
  538. }
  539. })
  540. },
  541. Piabodata(item) {
  542. if (item == '销讲数据') {
  543. uni.navigateTo({
  544. url: '/pages/center/Piabodata/index'
  545. });
  546. } else if (item == '接待记录') {
  547. uni.navigateTo({
  548. url: '/pages/center/records/index?refresh='+'refresh'
  549. });
  550. } else if (item == '值班顾问') {
  551. uni.navigateTo({
  552. url: '/pages/mine/consultanonduty/index'
  553. });
  554. } else if (item == '设备管理') {
  555. uni.navigateTo({
  556. url: '/pages/mine/equipment/index'
  557. });
  558. } else if(item == '顾问排名') {
  559. uni.navigateTo({
  560. url: '/pages/center/Piabodata/Employeesstatistics'
  561. });
  562. }else if(item == '违禁记录'){
  563. uni.navigateTo({
  564. url: '/pages/center/prohibited/index?refresh='+'refresh'
  565. });
  566. }else{
  567. uni.navigateTo({
  568. url: '/pages/center/consumer/index?refresh='+'refresh'
  569. });
  570. }
  571. },
  572. },
  573. };
  574. </script>
  575. <style lang="scss" scoped>
  576. .activecllasscet{
  577. font-size: 28rpx;
  578. font-weight: 400;
  579. color: #008ef2;
  580. }
  581. .cet{
  582. font-size: 28rpx;
  583. font-weight: 400;
  584. color: #333333;
  585. .cetview{
  586. margin-left: 20rpx;
  587. }
  588. }
  589. .cented-box {
  590. padding: 30rpx;
  591. background: #F8F8F8;
  592. width: 100%;
  593. height: 100%;
  594. }
  595. .Switchingbox {
  596. width: 100%;
  597. height: 44rpx;
  598. display: flex;
  599. align-items: center;
  600. .Switching1 {
  601. width: 44rpx;
  602. height: 44rpx;
  603. .Switching1-img {
  604. width: 44rpx;
  605. height: 44rpx;
  606. }
  607. }
  608. .Switching2 {
  609. margin-left: 12rpx;
  610. font-size: 32rpx;
  611. color: #303030;
  612. font-weight: 500;
  613. }
  614. .Switching3 {
  615. width: calc(100% - 280rpx);
  616. font-size: 32rpx;
  617. color: #303030;
  618. font-weight: 500;
  619. }
  620. .Switching4 {
  621. width: 112rpx;
  622. font-size: 28rpx;
  623. color: #303030;
  624. font-weight: 400;
  625. text-align: right;
  626. text-decoration: underline
  627. }
  628. }
  629. .Workcard {
  630. width: 100%;
  631. background: #FFFFFF;
  632. height: 154rpx;
  633. box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
  634. border-radius: 12rpx;
  635. display: flex;
  636. .Workcard-box {
  637. flex: 1;
  638. height: 100%;
  639. .Workcardimg {
  640. width: 100%;
  641. display: flex;
  642. justify-content: center;
  643. margin-top: 42rpx;
  644. .Workcardimg1 {
  645. width: 64rpx;
  646. height: 36rpx;
  647. background-image: url(../../static/images/battery.png);
  648. background-size: 100% 100%;
  649. padding: 8rpx;
  650. .bar {
  651. background-color: #43CD80;
  652. height: 100%;
  653. border-radius: 4rpx;
  654. }
  655. .bar1 {
  656. background-color: red;
  657. height: 100%;
  658. border-radius: 4rpx;
  659. }
  660. }
  661. .Workcardimg2 {
  662. width: 56rpx;
  663. height: 36rpx;
  664. }
  665. .Workcardimg3 {
  666. width: 34rpx;
  667. height: 36rpx;
  668. }
  669. .Workcardimg4 {
  670. width: 50rpx;
  671. height: 40rpx;
  672. }
  673. }
  674. .Workcardtext {
  675. width: 100%;
  676. text-align: center;
  677. font-size: 24rpx;
  678. font-weight: 400;
  679. color: #666666;
  680. margin-top: 20rpx;
  681. }
  682. }
  683. }
  684. .title {
  685. width: 100%;
  686. height: 30rpx;
  687. font-size: 30rpx;
  688. font-weight: 600;
  689. color: #333333;
  690. margin-top: 40rpx;
  691. margin-bottom: 24rpx;
  692. }
  693. .shebenbox {
  694. width: 100%;
  695. height: 156rpx;
  696. background: #FFFFFF;
  697. box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
  698. border-radius: 12rpx;
  699. display: flex;
  700. .shebenche {
  701. width: 25%;
  702. height: 100%;
  703. .shebenchenum {
  704. width: 100%;
  705. font-size: 36rpx;
  706. font-weight: 600;
  707. color: #333333;
  708. text-align: center;
  709. margin-top: 28rpx;
  710. }
  711. .shebenchetext {
  712. width: 100%;
  713. font-size: 24rpx;
  714. font-weight: 400;
  715. color: #666666;
  716. text-align: center;
  717. margin-top: 24rpx;
  718. }
  719. }
  720. }
  721. .real-timebox {
  722. width: 100%;
  723. background: #FFFFFF;
  724. box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
  725. border-radius: 12rpx;
  726. padding-bottom: 36rpx;
  727. .timebox {
  728. width: 100%;
  729. display: flex;
  730. .real {
  731. flex: 1;
  732. height: 100%;
  733. .realnum {
  734. width: 100%;
  735. font-size: 36rpx;
  736. font-weight: 600;
  737. color: #333333;
  738. text-align: center;
  739. margin-top: 36rpx;
  740. }
  741. .realtext {
  742. width: 100%;
  743. font-size: 24rpx;
  744. font-weight: 400;
  745. color: #666666;
  746. text-align: center;
  747. margin-top: 24rpx;
  748. }
  749. }
  750. }
  751. }
  752. .commonly-box {
  753. width: 100%;
  754. background: #FFFFFF;
  755. box-shadow: 0px 0px 12px 0px rgba(224, 224, 224, 0.3);
  756. border-radius: 12rpx;
  757. display: flex;
  758. flex-wrap: wrap;
  759. padding-bottom: 36rpx;
  760. .commonly {
  761. width: 25%;
  762. margin-top: 36rpx;
  763. .commonly-img {
  764. width: 100%;
  765. height: 68rpx;
  766. text-align: center;
  767. .commonly-img1 {
  768. width: 68rpx;
  769. height: 68rpx;
  770. border-radius: 50%;
  771. }
  772. }
  773. .commonly-text {
  774. width: 100%;
  775. text-align: center;
  776. font-size: 24rpx;
  777. font-weight: 400;
  778. color: #333333;
  779. margin-top: 16rpx;
  780. }
  781. }
  782. }
  783. </style>