AI销管
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

1436 Zeilen
39 KiB

  1. <template>
  2. <view>
  3. <view class="timetabct">
  4. <view class="timetabctview">
  5. <view :class="{ activecllasscet: activeTotal == 0 }" @click="tabtimetap(0)">7天</view>
  6. </view>
  7. <view class="timetabctview">
  8. <view :class="{ activecllasscet: activeTotal == 1 }" @click="tabtimetap(1)">15天</view>
  9. </view>
  10. <view class="timetabctview">
  11. <view :class="{ activecllasscet: activeTotal == 2 }" @click="tabtimetap(2)">30天</view>
  12. </view>
  13. </view>
  14. <view class="timepick">
  15. <view class="timepicktime">
  16. <view @click="tabtimetap(3)">{{sheartime1}}
  17. <image class="Underimg" src="../../../static/images/down.png" mode=""></image>
  18. </view>
  19. </view>
  20. <view class="timepickpick" @click="checkboxChange()">
  21. <image v-if="timepickpickisshow" style="width: 30rpx;height: 30rpx;"
  22. src="../../../static/images/xuanzhong.png" mode=""></image>
  23. <view v-else style="width: 30rpx;height:30rpx;border: 1px solid #E0E0E0;box-sizing:border-box;"></view>
  24. <view style="font-size:26rpx;text-indent: 12rpx;">对比</view>
  25. </view>
  26. <view class="timepicktime" v-if="timepickpickisshow">
  27. <view @click="tabtimetap(4)">{{sheartime2}}
  28. <image class="Underimg" src="../../../static/images/down.png" mode=""></image>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="timeduibi">
  33. <view class="timeshow">数据起始时间:<text style="color: #333333;">{{kanbanlist.kaishitime}}</text></view>
  34. <view class="timeshow" v-if="kanbanlist.duibitime.length!=0">
  35. 数据对比时间:
  36. <text style="color: #333333;">{{kanbanlist.duibitime}}</text>
  37. </view>
  38. </view>
  39. <view class="boxzonglan" style="min-height: 100rpx;">
  40. <view class="zonglantit">简报</view>
  41. <view class="zonglanbox">
  42. <view class="grid" v-for="(item,index) in numlist" :key="index">
  43. <view class="audonum">
  44. <view class="circle"></view>
  45. {{item.name}}
  46. </view>
  47. <view class="num u-flex" v-if="item.name==='平均执行率'">
  48. {{item.num}}%
  49. <!-- <image style="margin-left: 2rpx;width: 28rpx;height: 14rpx" src="../../../static/images/excute.png" mode="" /> -->
  50. </view>
  51. <view class="num" v-else-if="item.name==='有效接待'">{{item.num||'--'}}</view>
  52. <view class="num" v-else-if="item.name==='平均接待时长'">{{item.num}}分</view>
  53. <view class="num" v-else>{{item.num||0}}</view>
  54. <view class="comparesize" v-if="compareFlag&&timepickpickisshow">
  55. <text style="margin-right: 50rpx;">对比:{{item.name==='平均执行率'?item.num1+'%':item.num1}}</text>
  56. <text :style="{color:item.num2*1>0?'red':'green'}">
  57. {{item.num2}}
  58. <template v-if="item.name==='平均执行率'">
  59. %
  60. </template>
  61. {{(item.num2*1) > 0 ? '↑' : '↓'}}</text>
  62. </view>
  63. </view>
  64. <!-- <view class="grid" v-for="(item,index) in numlist" :key="index"
  65. style="height: auto;padding-bottom: 20rpx;">
  66. <view class="audonum" v-if="item.name=='平均接待时长'">
  67. <view class="circle"></view>
  68. {{item.name}}/分</view>
  69. <view class="audonum" v-else>
  70. <view class="circle"></view>
  71. {{item.name}}</view>
  72. <view class="num">
  73. <view class="" style="width: 35%;">
  74. {{index==0?item.num+'%':item.num}}
  75. </view>
  76. <view class="comparesize" v-if="compareFlag&&timepickpickisshow">
  77. <text style="margin-right: 10rpx;">对比:{{index==1?item.num1+'%':item.num1}}</text>
  78. <text
  79. :style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}{{(item.num2*1) > 0 ? '↑' : '↓'}}</text>
  80. </view>
  81. </view>
  82. </view> -->
  83. </view>
  84. </view>
  85. <view class="boxtittab" style="border: none;height: 82rpx;">
  86. <view class="tabbox">
  87. <view :class="{ activecllasscet2: newactiveTotal == 0 }" @click="tabxuanxiangtap(0)">项目</view>
  88. </view>
  89. <view class="tabbox">
  90. <view :class="{ activecllasscet2: newactiveTotal == 1 }" @click="tabxuanxiangtap(1)">顾问</view>
  91. </view>
  92. <view class="tabbox">
  93. <view :class="{ activecllasscet2: newactiveTotal == 2 }" @click="tabxuanxiangtap(2)">团队</view>
  94. </view>
  95. <view class="tabbox">
  96. <view :class="{ activecllasscet2: newactiveTotal == 3 }" @click="tabxuanxiangtap(3)">销讲一级</view>
  97. </view>
  98. <view class="tabbox">
  99. <view :class="{ activecllasscet2: newactiveTotal == 4 }" @click="tabxuanxiangtap(4)">销讲二级</view>
  100. </view>
  101. </view>
  102. <view class="chart">
  103. <view
  104. style="display: flex;justify-content:center;padding-left: 30rpx;padding-right: 30rpx;margin-top: 16rpx;"
  105. v-if="guwenshow&&lopanobj.name" @click="oninputtap()">
  106. <view class="title2-che u-flex" style="width: 220rpx;">{{lopanobj.name}}
  107. <image class="righttochoose" src="../../../static/images/down.png" mode=""></image>
  108. </view>
  109. </view>
  110. <view style="padding: 30rpx;padding-bottom: 20rpx;align-items: center;" v-if="Selectlevel">
  111. <view style="display: flex;align-items: center;border-bottom: 1px solid #C9C9C9;height: 80rpx;">
  112. <view>选择一级:</view>
  113. <view style="width:75%;">
  114. <input @click="oninputtap2()" v-model="Selectlevelobj.name" type="text" disabled="true"
  115. :border="border" placeholder="请选择" />
  116. </view>
  117. <view>
  118. <image src="https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/jjycrm/qf/more.png"
  119. style="width:12rpx;height:23rpx;margin-left: 16rpx;">
  120. </view>
  121. <!-- <view style="display: flex;justify-content:center;padding-left: 30rpx;padding-right: 30rpx;margin-top: 16rpx;"
  122. v-if="Selectlevelobj.name" @click="oninputtap2()">
  123. <view class="title2-che" style="width: 220rpx;">{{Selectlevelobj.name}}
  124. <image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>
  125. </view>
  126. </view> -->
  127. </view>
  128. <view style="display: flex;align-items: center;border-bottom: 1px solid #C9C9C9;height: 80rpx;">
  129. <view>选择二级:</view>
  130. <view style="width:75%;">
  131. <input @click="oninputtap3()" v-model="erSelectlevelobj.name" type="text" disabled="true"
  132. :border="border" placeholder="请选择" />
  133. </view>
  134. <view>
  135. <image src="https://qufang.oss-cn-beijing.aliyuncs.com/upload/icon/xcx/jjycrm/qf/more.png"
  136. style="width:12rpx;height:23rpx;margin-left: 16rpx;">
  137. </view>
  138. <!-- <view style="display: flex;justify-content:center;padding-left: 30rpx;padding-right: 30rpx;margin-top: 16rpx;"
  139. v-if="erSelectlevelobj.name" @click="oninputtap3()">
  140. <view class="title2-che" style="width: 220rpx;">{{erSelectlevelobj.name}}
  141. <image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image>
  142. </view>
  143. </view> -->
  144. </view>
  145. </view>
  146. <view style="display: flex;align-items: center;height: 80rpx;justify-content: center;"
  147. v-if="Selecttuandui&&Selecttuanduiobj.name" @click="oninputtap4()">
  148. <view class="title2-che u-flex" style="width: 220rpx;">{{Selecttuanduiobj.name}}
  149. <image class="righttochoose" src="../../../static/images/down.png" mode=""></image>
  150. </view>
  151. </view>
  152. <view class="single">
  153. <view class="danwei" style="margin: 20rpx 0" v-if="newactiveTotal==0||newactiveTotal==4">单位(%)</view>
  154. <view class="uchaserbox" v-if="lineOptsect.series.length!=0">
  155. <qiun-data-charts :style="!showCanvas?'display:none':''" :type="linetype" :opts="opts"
  156. :chartData="lineOptsect" background="none" :ontouch="true"
  157. canvasId="wangxiaohuaerlingeryilingwuyibao" :canvas2d="true" />
  158. </view>
  159. <view v-else style="width: 100%;">
  160. <view style="width: 100%;text-align: center;">
  161. <image style="width: 200rpx;height: 200rpx;"
  162. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  163. </view>
  164. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  165. </view>
  166. </view>
  167. </view>
  168. <view class="single" v-if="timepickpickisshow">
  169. <view class="title">
  170. <view class="title1">对比报表</view>
  171. </view>
  172. <view class="table" v-if="!guwenFlag">
  173. <view v-for="(item,index) in tableDate" :key="index">
  174. <view class="tr">
  175. <view v-for="(item1,index1) in item" :key="index" style="width: 100%;">
  176. <view v-if="index1<item.length-1||index==0" class="td"
  177. style="border-right:1px solid #E0E0E0;">{{item1}}</view>
  178. <view v-if="index>0 && index1==item.length-1" class="td"
  179. style="border-right:1px solid #E0E0E0;" :style="{color:item1*1>0?'red':'green'}">
  180. {{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
  181. </view>
  182. </view>
  183. </view>
  184. </view>
  185. </view>
  186. <view class="table" v-if="guwenFlag" style="width: 100%;">
  187. <scroll-view scroll-x="true" style="white-space: nowrap;">
  188. <view v-for="(item,index) in tableDate" :key="index"
  189. :style="{display:index==0?'inline-block':'block'}">
  190. <view class="tr" style="display: inline-block;">
  191. <view v-for="(item1,index1) in item" :key="index1" class="trd"
  192. style="display: inline-block;">
  193. <view v-if="index==1&&index1>0" class="td" :style="{color:item1*1>0?'red':'green'}"
  194. style="border-right:1px solid #E0E0E0;">
  195. {{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
  196. </view>
  197. <view v-else-if="index>1&&index1>0" class="td" style="border-right:1px solid #E0E0E0;">
  198. {{item1+'%'}}
  199. </view>
  200. <view v-else class="td" style="border-right:1px solid #E0E0E0;">{{item1}}</view>
  201. </view>
  202. </view>
  203. </view>
  204. </scroll-view>
  205. </view>
  206. </view>
  207. <u-select v-model="Showhiddenunits" mode="single-column" :list="selectlist" @confirm="confirm"
  208. :default-value="selindexList">
  209. </u-select>
  210. <u-select v-model="Showhiddenunits2" mode="single-column" :list="selectlist2" @confirm="confirm2"
  211. :default-value="selindex">
  212. </u-select>
  213. <u-select v-model="Showhiddenunits3" mode="single-column" :list="selectlist3" @confirm="confirm3"
  214. :default-value="selindex">
  215. </u-select>
  216. <u-select v-model="Showhiddenunits4" mode="single-column" :list="selectlist4" @confirm="confirm4"
  217. :default-value="selindex">
  218. </u-select>
  219. <u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
  220. <newcalendar v-model="totalTimeShow2" :planNum='intervaltime' mode="date" @change="totalTimeChange2">
  221. </newcalendar>
  222. </view>
  223. </template>
  224. <script>
  225. import newcalendar from '@/components/newcalendar/newcalendar.vue';
  226. var config = require(".../../../config");
  227. export default {
  228. data() {
  229. return {
  230. selindexList: [0], // 默认选中第一项
  231. compareFlag: false,
  232. numlist: [{
  233. name: '平均执行率',
  234. num: '10',
  235. num1: '0',
  236. num2: '0'
  237. },
  238. {
  239. name: '平均接待时长',
  240. num: '10',
  241. num1: '0',
  242. num2: '0'
  243. },
  244. {
  245. name: '接待量',
  246. num: '10',
  247. num1: '0',
  248. num2: '0'
  249. },
  250. {
  251. name: '有效接待',
  252. num: '10',
  253. num1: '0',
  254. num2: '0'
  255. },
  256. ],
  257. activeTotal: 0, //时间下标
  258. newactiveTotal: 0, //tab下标
  259. totalTimeShow: false,
  260. totalTimeShow2: false,
  261. totalTimeShow3: false,
  262. cWidth: uni.upx2px(690),
  263. cHeight: uni.upx2px(453),
  264. AcHeight: uni.upx2px(500),
  265. kanbanlist: { //录音和测评的数据
  266. kaishitime: '',
  267. duibitime: '',
  268. audonum: '',
  269. audotime: "",
  270. avgDuration: '',
  271. fraction: ''
  272. },
  273. pamect: { //接口参数
  274. houseId: '',
  275. timeType: "4",
  276. firstStartDate: '', //第一次开始时间
  277. firstEndDate: '', //第一次结束时间
  278. lastStartDate: '',
  279. lastEndDate: '',
  280. accountId: '', //顾问ids
  281. marketingId: '', //二级销讲id
  282. deptId: "", //部门id
  283. showStatus: 0
  284. },
  285. linetype: "line",
  286. lineOptsect: {}, //图表数据
  287. Showhiddenunits: false,
  288. selectlist: [],
  289. guwenshow: false,
  290. lopanobj: {
  291. id: '',
  292. name: ''
  293. },
  294. //二级相关
  295. Selectlevel: false,
  296. Selectlevelobj: {
  297. id: '',
  298. name: ''
  299. },
  300. erSelectlevelobj: {
  301. id: '',
  302. name: ''
  303. },
  304. Showhiddenunits2: false,
  305. Showhiddenunits3: false,
  306. selectlist2: [],
  307. selectlist3: [],
  308. //团队相关
  309. Selecttuandui: false,
  310. selectlist4: [],
  311. Selecttuanduiobj: {
  312. id: '',
  313. name: ''
  314. },
  315. Showhiddenunits4: false,
  316. showCanvas: true,
  317. timepickpickisshow: false,
  318. sheartime1: "",
  319. sheartime2: "",
  320. intervaltime: 0,
  321. tableDate: [],
  322. guwenFlag: false,
  323. opts: {
  324. xAxis: {
  325. disableGrid: true,
  326. scrollShow: true,
  327. itemCount: 8
  328. },
  329. yAxis: {
  330. data: [{
  331. max: 100,
  332. min: 0,
  333. }]
  334. },
  335. fontSize: 10,
  336. extra: {
  337. radar: {
  338. max: 100
  339. }
  340. }
  341. }
  342. };
  343. },
  344. components: {
  345. newcalendar
  346. },
  347. onLoad: function(options) {
  348. this.pamect.houseId = uni.getStorageSync('buildingID').id;
  349. this.init()
  350. },
  351. onPullDownRefresh(){
  352. this.init()
  353. setTimeout(function () {
  354. uni.stopPullDownRefresh();
  355. }, 1000);
  356. },
  357. watch: {
  358. Showhiddenunits(newValue, oldValue) {
  359. this.showCanvas = !newValue
  360. },
  361. Showhiddenunits2(newValue, oldValue) {
  362. this.showCanvas = !newValue
  363. },
  364. Showhiddenunits3(newValue, oldValue) {
  365. this.showCanvas = !newValue
  366. },
  367. Showhiddenunits4(newValue, oldValue) {
  368. this.showCanvas = !newValue
  369. },
  370. totalTimeShow(newValue, oldValue) {
  371. this.showCanvas = !newValue
  372. },
  373. totalTimeShow2(newValue, oldValue) {
  374. this.showCanvas = !newValue
  375. },
  376. totalTimeShow3(newValue, oldValue) {
  377. this.showCanvas = !newValue
  378. },
  379. },
  380. methods: {
  381. //是否对比
  382. checkboxChange() {
  383. if (this.newactiveTotal == 3) {
  384. uni.showToast({
  385. title: '销讲一级无对比',
  386. duration: 2000
  387. });
  388. return
  389. }
  390. if (this.newactiveTotal == 2) {
  391. if (this.Selecttuanduiobj.id == '') {
  392. uni.showToast({
  393. title: '全部团队无对比',
  394. duration: 2000
  395. });
  396. return
  397. }
  398. }
  399. if (this.timepickpickisshow == true) {
  400. this.timepickpickisshow = false;
  401. this.pamect.showStatus = 0;
  402. this.init()
  403. } else {
  404. this.timepickpickisshow = true;
  405. this.pamect.showStatus = 1;
  406. }
  407. this.activeTotal = 8;
  408. },
  409. init() {
  410. this.$u.post("/cusLvStatistics/lyAndcp", this.pamect).then(data => {
  411. this.pamect.lastStartDate = data.lastStartDate;
  412. this.pamect.lastEndDate = data.lastEndDate;
  413. this.numlist[3].num = data.startSumCustomer
  414. this.numlist[0].num = data.startFraction;
  415. this.numlist[1].num = data.startSumDuration || 0;
  416. this.numlist[2].num = data.startReceptionCount || 0
  417. // startReceptionCount开始接待量
  418. // endReceptionCount结束接待量
  419. // contrastReceptionCount接待量对比
  420. if (data.endSumDuration != null) {
  421. this.compareFlag = true
  422. // return
  423. this.numlist[3].num1 = data.endSumCustomer
  424. this.numlist[0].num1 = data.endFraction;
  425. this.numlist[1].num1 = data.endSumDuration || 0;
  426. this.numlist[2].num1 = data.endReceptionCount || 0
  427. this.numlist[3].num2 = data.contrastSumCustomer
  428. this.numlist[0].num2 = data.contrastFraction;
  429. this.numlist[1].num2 = data.contrastSumDuration || 0;
  430. this.numlist[2].num = data.startReceptionCount || 0
  431. this.numlist[2].num2 = data.contrastReceptionCount || 0
  432. } else {
  433. this.compareFlag = false
  434. }
  435. this.sheartime1 = data.lastStartDate.substring(5, 10) + "--" + data.lastEndDate.substring(5,
  436. 10);
  437. this.sheartime2 = '请选择';
  438. this.kanbanlist.duibitime = '';
  439. var kaishi = this.DateDiff(data.lastStartDate, data.lastEndDate);
  440. this.kanbanlist.kaishitime = data.lastStartDate + "至" + data.lastEndDate + "(" + kaishi + "天)";
  441. if (this.pamect.showStatus == 1) {
  442. this.sheartime2 = data.firstStartDate.substring(5, 10) + "--" + data.firstEndDate
  443. .substring(5, 10);
  444. var jeishu = this.DateDiff(data.firstStartDate, data.firstEndDate);
  445. this.kanbanlist.duibitime = data.firstStartDate + "至" + data.firstEndDate + "(" + jeishu +
  446. "天)";
  447. }
  448. this.kanbanlist.audonum = data.sumCustomer;
  449. this.kanbanlist.audotime = data.avgDuration;
  450. this.kanbanlist.avgDuration = data.fraction;
  451. this.kanbanlist.fraction = data.fraction;
  452. if (this.newactiveTotal == 0) {
  453. this.ProjectDimension()
  454. } else if (this.newactiveTotal == 1) {
  455. if (this.pamect.accountId == "") {
  456. this.getguwenlist()
  457. } else {
  458. this.ConsultantDimension()
  459. }
  460. } else if (this.newactiveTotal == 2) {
  461. if (this.pamect.deptId == "") {
  462. this.getuanduilist()
  463. } else {
  464. this.TeamCompared()
  465. }
  466. } else if (this.newactiveTotal == 3) {
  467. this.speakingLevel()
  468. } else {
  469. if (this.pamect.marketingId == '') {
  470. this.getonsyiji()
  471. } else {
  472. this.aboutEecondary()
  473. }
  474. }
  475. });
  476. },
  477. //起始时间
  478. totalTimeChange(e) {
  479. this.pamect.lastStartDate = e.startDate;
  480. this.pamect.lastEndDate = e.endDate;
  481. var kaishi = this.DateDiff(this.pamect.lastStartDate, this.pamect.lastEndDate)
  482. this.kanbanlist.kaishitime = this.pamect.lastStartDate + "至" + this.pamect.lastEndDate + "(" + kaishi +
  483. "天)";
  484. if (this.pamect.showStatus == 0) {
  485. this.init()
  486. this.totalTimeShow = false;
  487. } else {
  488. if (this.pamect.firstStartDate.length == 0) {
  489. uni.showToast({
  490. title: '请选择对比时间',
  491. duration: 2000
  492. });
  493. } else {
  494. var jshu = this.DateDiff(this.pamect.firstStartDate, this.pamect.firstEndDate)
  495. if (kaishi == jshu) {
  496. this.init()
  497. } else {
  498. uni.showToast({
  499. title: '请选择相同天数',
  500. duration: 2000
  501. });
  502. }
  503. }
  504. this.totalTimeShow = false;
  505. }
  506. },
  507. //对比时间
  508. totalTimeChange2(e) {
  509. var d = new Date(e.result.replace(/\-/g, '/'));
  510. d.setDate(d.getDate() + this.intervaltime);
  511. var year = d.getFullYear();
  512. var month = d.getMonth() + 1;
  513. if (month < 10) month = '0' + month;
  514. var day = d.getDate();
  515. if (day < 10) day = '0' + day;
  516. this.pamect.firstStartDate = e.result;
  517. this.pamect.firstEndDate = year + '-' + month + '-' + day;
  518. console.log(this.pamect.firstStartDate)
  519. var kaishi = this.DateDiff(this.pamect.lastStartDate, this.pamect.lastEndDate)
  520. var jeishu = this.DateDiff(this.pamect.firstStartDate, this.pamect.firstEndDate)
  521. this.kanbanlist.duibitime = this.pamect.firstStartDate + "至" + this.pamect.firstEndDate + "(" + jeishu +
  522. "天)";
  523. console.log(this.pamect.lastStartDate, this.pamect.lastEndDate, kaishi, jeishu)
  524. if (kaishi == jeishu) {
  525. this.init()
  526. } else {
  527. uni.showToast({
  528. title: '请选择相同天数',
  529. duration: 2000
  530. });
  531. }
  532. this.totalTimeShow2 = false;
  533. },
  534. //自定义时间
  535. totalTimeChange3(e) {
  536. this.pamect.firstStartDate = "";
  537. this.pamect.firstEndDate = "";
  538. this.pamect.lastStartDate = e.startDate;
  539. this.pamect.lastEndDate = e.endDate;
  540. this.init()
  541. this.totalTimeShow3 = false;
  542. },
  543. //时间切换
  544. tabtimetap(index) {
  545. if (index == 0) {
  546. this.pamect.timeType = "4";
  547. this.pamect.firstStartDate = '';
  548. this.pamect.firstEndDate = '';
  549. this.pamect.lastStartDate = '';
  550. this.pamect.lastEndDate = '';
  551. this.init()
  552. } else if (index == 1) {
  553. this.pamect.timeType = "5";
  554. this.pamect.firstStartDate = '';
  555. this.pamect.firstEndDate = '';
  556. this.pamect.lastStartDate = '';
  557. this.pamect.lastEndDate = '';
  558. this.init()
  559. } else if (index == 2) {
  560. this.pamect.timeType = "6";
  561. this.pamect.firstStartDate = '';
  562. this.pamect.firstEndDate = '';
  563. this.pamect.lastStartDate = '';
  564. this.pamect.lastEndDate = '';
  565. this.init()
  566. } else if (index == 3) {
  567. this.pamect.timeType = "";
  568. this.totalTimeShow = true;
  569. } else if (index == 4) {
  570. this.pamect.timeType = "";
  571. var kaishi = this.DateDiff(this.pamect.lastStartDate, this.pamect.lastEndDate)
  572. console.log(kaishi)
  573. this.intervaltime = kaishi - 1;
  574. this.totalTimeShow2 = true;
  575. } else {
  576. this.pamect.timeType = "";
  577. this.totalTimeShow3 = true;
  578. }
  579. this.activeTotal = index;
  580. },
  581. //tab切换
  582. tabxuanxiangtap(index) {
  583. this.newactiveTotal = index;
  584. this.guwenshow = false;
  585. this.Selectlevel = false;
  586. this.Selecttuandui = false;
  587. this.tableDate = []
  588. // this.pamect.showStatus = 0;
  589. // this.pamect.timeType = "4";
  590. // this.pamect.firstStartDate = '';
  591. // this.pamect.firstEndDate = '';
  592. // this.pamect.lastStartDate = '';
  593. // this.pamect.lastEndDate = '';
  594. // this.pamect.accountId = '';
  595. // this.pamect.marketingId = '';
  596. // this.pamect.deptId = ""
  597. // this.activeTotal = 0;
  598. this.timepickpickisshow = false;
  599. this.init()
  600. if (index == 1) {
  601. this.guwenshow = true;
  602. }
  603. },
  604. //项目维度
  605. ProjectDimension() {
  606. const that = this;
  607. that.lineOptsect = {
  608. categories: [],
  609. series: []
  610. };
  611. this.linetype = "line";
  612. this.$u.post("/cusLvStatistics/teamOrOneValueShow", this.pamect).then(data => {
  613. if (this.pamect.showStatus == 0) {
  614. that.lineOptsect = {
  615. categories: [],
  616. series: [{
  617. name: '起始时间',
  618. data: [],
  619. color: '#7ED3F4'
  620. }]
  621. }
  622. data.startList.forEach((child, zxc) => {
  623. that.lineOptsect.categories.push(child.statDate.substring(5, 10))
  624. })
  625. that.lineOptsect.series[0].data = data.startList.map(item => item.fraction);
  626. console.log(that.lineOptsect.series, 'asdasdsadsadass00000000000000')
  627. } else {
  628. that.lineOptsect = {
  629. categories: [],
  630. series: [{
  631. name: '起始时间',
  632. data: [],
  633. color: '#7ED3F4'
  634. },
  635. {
  636. name: '对比时间',
  637. data: [],
  638. color: '#FF7070'
  639. },
  640. ]
  641. }
  642. data.startList.forEach((item, sdf) => {
  643. data.endList.forEach((child, zxc) => {
  644. if (sdf == zxc) {
  645. that.lineOptsect.categories.push(
  646. child.statDate.substring(5, 10) + 'vs' + item
  647. .statDate
  648. .substring(5, 10)
  649. )
  650. }
  651. })
  652. })
  653. that.lineOptsect.series[1].data = data.startList.map(item => item.fraction);
  654. that.lineOptsect.series[0].data = data.endList.map(item => item.fraction)
  655. that.guwenFlag = false
  656. // // 处理表格数据
  657. let arr = [
  658. ['时间', '时段一', '时段二', '变化']
  659. // {
  660. // time:'时间',
  661. // time1:'时段一',
  662. // time2:'时段二',
  663. // compare:'变化'
  664. // },
  665. ]
  666. that.lineOptsect.categories.map((item, index) => {
  667. let newarr = [item, data.endList[index].fraction, data.startList[index]
  668. .fraction, data.comparedList[index].fraction
  669. ]
  670. // obj.time=item
  671. // obj.time1=data.firstValue[index].fraction
  672. // obj.time2=data.lastValue[index].fraction
  673. // obj.compare=data.contrast[index].data
  674. // arr.push(obj)
  675. arr.push(newarr)
  676. })
  677. // console.log(arr)
  678. that.tableDate = arr
  679. console.log(that.lineOptsect.series, 'asdasdsadsadass00000000000000else')
  680. }
  681. });
  682. },
  683. //顾问维度
  684. ConsultantDimension() {
  685. const that = this;
  686. that.lineOptsect = {
  687. categories: [],
  688. series: []
  689. };
  690. this.linetype = "radar";
  691. this.$u.post("/cusLvStatistics/accFirstLevelContrast", this.pamect).then(data => {
  692. // return
  693. if (this.pamect.showStatus == 0) {
  694. that.lineOptsect = {
  695. categories: [],
  696. series: [{
  697. name: '时段一',
  698. data: [],
  699. color: '#7ED3F4'
  700. }]
  701. }
  702. data.firstList.forEach((item, sdf) => {
  703. that.lineOptsect.categories.push(item.name)
  704. that.lineOptsect.series[0].data.push(data.firstList[sdf].total)
  705. })
  706. // that.lineOptsect.series[0].data = data.lastValue.map(item => item.fraction);
  707. } else {
  708. // 当有对比的时候
  709. that.lineOptsect = {
  710. categories: [],
  711. series: [{
  712. name: '时段一',
  713. data: [],
  714. color: '#7ED3F4'
  715. },
  716. {
  717. name: '时段二',
  718. data: [],
  719. color: '#FF7070'
  720. },
  721. ]
  722. }
  723. data.headerList.forEach((item, sdf) => {
  724. that.lineOptsect.categories.push(item.name)
  725. that.lineOptsect.series[0].data.push(data.firstList[sdf].total)
  726. that.lineOptsect.series[1].data.push(data.secondList[sdf].total)
  727. })
  728. // return
  729. // // 处理表格数据
  730. that.guwenFlag = true
  731. let arr = []
  732. arr[0] = ['时间', ...that.lineOptsect.categories]
  733. arr[1] = ['变化']
  734. arr[2] = ['时段一']
  735. arr[3] = ['时段二']
  736. // console.log(arr)
  737. data.firstList.map((item, index) => {
  738. arr[2].push(item.total)
  739. arr[3].push(data.secondList[index].total)
  740. arr[1].push(data.thirdList[index].total)
  741. })
  742. that.tableDate = arr
  743. }
  744. });
  745. },
  746. // 顾问纬度选择顾问
  747. oninputtap() {
  748. this.Showhiddenunits = true;
  749. },
  750. // 顾问选择确认
  751. confirm(e) {
  752. this.lopanobj.id = e[0].value;
  753. this.lopanobj.name = e[0].label;
  754. this.pamect.accountId = this.lopanobj.id;
  755. this.ConsultantDimension()
  756. this.Showhiddenunits = false;
  757. for (let i = 0; i < this.selectlist.length; i++) {
  758. if (e[0].value == this.selectlist[i].value) {
  759. this.selindexList[0] = i
  760. }
  761. }
  762. },
  763. //获取顾问
  764. getguwenlist() {
  765. this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {
  766. houseId: this.pamect.houseId
  767. }).then(data => {
  768. this.selectlist = [];
  769. if (data.length == 0) {
  770. this.lineOptsect = {
  771. categories: [],
  772. series: []
  773. };
  774. this.guwenshow = false;
  775. return
  776. } else {
  777. this.guwenshow = true;
  778. data.forEach(item => {
  779. this.selectlist.push({
  780. value: item.accountId,
  781. label: item.name
  782. })
  783. })
  784. this.lopanobj.id = data[0].accountId;
  785. this.lopanobj.name = data[0].name;
  786. this.pamect.accountId = this.lopanobj.id;
  787. this.ConsultantDimension()
  788. }
  789. })
  790. },
  791. //销讲一级
  792. speakingLevel() {
  793. this.linetype = "radar";
  794. this.lineOptsect = {
  795. categories: [],
  796. series: []
  797. };
  798. this.$u.post("/cusLvStatistics/firstLevelContrast", this.pamect).then(data => {
  799. if (data.length == 0) {
  800. return
  801. } else {
  802. let list = data.map(item => {
  803. return item.name
  804. });
  805. let list1 = data.map(item => {
  806. if (item.avgExecutionRate == null) {
  807. item.avgExecutionRate = 0
  808. } else {
  809. item.avgExecutionRate = item.avgExecutionRate
  810. }
  811. return item.avgExecutionRate
  812. });
  813. this.lineOptsect = {
  814. "categories": list,
  815. "series": [{
  816. "name": "销讲一级",
  817. "data": list1
  818. }]
  819. }
  820. }
  821. })
  822. },
  823. //销讲二级
  824. aboutEecondary() {
  825. this.lineOptsect = {};
  826. this.linetype = "line";
  827. this.$u.post("/cusLvStatistics/level2Contrast", this.pamect).then(data => {
  828. if (this.pamect.showStatus == 0) {
  829. this.lineOptsect = {
  830. categories: [],
  831. series: [{
  832. name: '起始时间',
  833. data: [],
  834. color: '#7ED3F4'
  835. }]
  836. }
  837. data.lastList.forEach((item, sdf) => {
  838. this.lineOptsect.categories.push(item.statDate.substring(5, 10))
  839. })
  840. this.lineOptsect.series[0].data = data.lastList.map(item => item.avgExecutionRate);
  841. } else {
  842. this.lineOptsect = {
  843. categories: [],
  844. series: [{
  845. name: '起始时间',
  846. data: [],
  847. color: '#7ED3F4'
  848. },
  849. {
  850. name: '对比时间',
  851. data: [],
  852. color: '#FF7070'
  853. },
  854. ]
  855. }
  856. data.firstList.forEach((item, sdf) => {
  857. data.lastList.forEach((child, zxc) => {
  858. if (sdf == zxc) {
  859. this.lineOptsect.categories.push(
  860. child.statDate.substring(5, 10) + 'vs' + item.statDate
  861. .substring(5, 10)
  862. )
  863. }
  864. })
  865. })
  866. this.lineOptsect.series[1].data = data.firstList.map(item => item.avgExecutionRate);
  867. this.lineOptsect.series[0].data = data.lastList.map(item => item.avgExecutionRate)
  868. let that = this
  869. this.guwenFlag = false
  870. // // 处理表格数据
  871. let arr = [
  872. ['时间', '时段一', '时段二', '变化']
  873. ]
  874. that.lineOptsect.categories.map((item, index) => {
  875. let newarr = [item, data.lastList[
  876. index].avgExecutionRate, data.firstList[index].avgExecutionRate,
  877. data.contrast[index].data
  878. ]
  879. arr.push(newarr)
  880. })
  881. // console.log(arr)
  882. that.tableDate = arr
  883. }
  884. })
  885. },
  886. //销讲二级:获取一级
  887. getonsyiji() {
  888. this.$u.post("/cusLvStatistics/findAllFirstLevel", {
  889. houseId: this.pamect.houseId
  890. }).then(data => {
  891. this.selectlist2 = [];
  892. if (data.length == 0) {
  893. this.Selectlevel = false;
  894. this.lineOptsect = {
  895. categories: [],
  896. series: []
  897. };
  898. return
  899. } else {
  900. this.Selectlevel = true;
  901. data.forEach(item => {
  902. this.selectlist2.push({
  903. value: item.marketingId,
  904. label: item.name
  905. })
  906. })
  907. this.Selectlevelobj.id = data[0].marketingId;
  908. this.Selectlevelobj.name = data[0].name;
  909. this.getonserji(this.Selectlevelobj.id)
  910. }
  911. })
  912. },
  913. //销讲二级:通过一级获取二级
  914. getonserji(ccd) {
  915. this.$u.post("/cusLvStatistics/findLevel2ByFirstLevel", {
  916. houseId: this.pamect.houseId,
  917. marketingId: ccd
  918. }).then(data => {
  919. this.selectlist3 = [];
  920. data.forEach(item => {
  921. this.selectlist3.push({
  922. value: item.marketingId,
  923. label: item.name
  924. })
  925. })
  926. this.erSelectlevelobj.id = data[0].marketingId;
  927. this.erSelectlevelobj.name = data[0].name;
  928. this.pamect.marketingId = this.erSelectlevelobj.id;
  929. this.aboutEecondary()
  930. })
  931. },
  932. //销讲二级:一级选择
  933. oninputtap2() {
  934. this.Showhiddenunits2 = true;
  935. },
  936. //销讲二级:二级选择
  937. oninputtap3() {
  938. if (this.Selectlevelobj.id == "") {
  939. uni.showToast({
  940. title: '请先选择一级',
  941. duration: 2000
  942. });
  943. } else {
  944. this.Showhiddenunits3 = true;
  945. }
  946. },
  947. //销讲二级:一级选择确认
  948. confirm2(e) {
  949. this.Selectlevelobj.id = e[0].value;
  950. this.Selectlevelobj.name = e[0].label;
  951. this.getonserji(this.Selectlevelobj.id)
  952. },
  953. //销讲二级:二级选择确认
  954. confirm3(e) {
  955. this.erSelectlevelobj.id = e[0].value;
  956. this.erSelectlevelobj.name = e[0].label;
  957. this.pamect.marketingId = this.erSelectlevelobj.id;
  958. this.aboutEecondary()
  959. },
  960. //团队请选择
  961. oninputtap4() {
  962. this.Showhiddenunits4 = true;
  963. },
  964. //团队选择确认
  965. confirm4(e) {
  966. this.Selecttuanduiobj.id = e[0].value;
  967. this.Selecttuanduiobj.name = e[0].label;
  968. this.pamect.deptId = this.Selecttuanduiobj.id;
  969. this.pamect.showStatus = 0;
  970. this.pamect.timeType = "4";
  971. this.pamect.firstStartDate = '';
  972. this.pamect.firstEndDate = '';
  973. this.pamect.lastStartDate = '';
  974. this.pamect.lastEndDate = '';
  975. this.activeTotal = 0;
  976. this.timepickpickisshow = false;
  977. this.init()
  978. this.TeamCompared()
  979. },
  980. //获取团队列表
  981. getuanduilist() {
  982. uni.request({
  983. url: config.service.findListByUser + "?houseId=" + this.pamect.houseId,
  984. method: "GET",
  985. header: {
  986. 'content-type': 'application/json',
  987. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  988. },
  989. success: (data) => {
  990. if (data.data.data.length == 0) {
  991. this.Selecttuandui = false;
  992. this.lineOptsect = {
  993. categories: [],
  994. series: []
  995. };
  996. return
  997. } else {
  998. this.Selecttuandui = true;
  999. data.data.data.forEach(item => {
  1000. this.selectlist4.push({
  1001. value: item.deptId,
  1002. label: item.name
  1003. })
  1004. })
  1005. this.Selecttuanduiobj.id = this.selectlist4[0].value;
  1006. this.Selecttuanduiobj.name = this.selectlist4[0].label;
  1007. this.pamect.deptId = this.Selecttuanduiobj.id;
  1008. this.TeamCompared()
  1009. }
  1010. }
  1011. })
  1012. // this.$u.post("/cusLvStatistics/findAllDeptIdByHouseId ", {
  1013. // houseId: this.pamect.houseId
  1014. // }).then(data => {
  1015. // this.selectlist4 = [{
  1016. // value: "",
  1017. // label: "全部"
  1018. // }];
  1019. // if (data.length == 0) {
  1020. // this.Selecttuandui = false;
  1021. // this.lineOptsect = {
  1022. // categories: [],
  1023. // series: []
  1024. // };
  1025. // return
  1026. // } else {
  1027. // this.Selecttuandui = true;
  1028. // data.forEach(item => {
  1029. // this.selectlist4.push({
  1030. // value: item.deptId,
  1031. // label: item.deptName
  1032. // })
  1033. // })
  1034. // this.Selecttuanduiobj.id = "";
  1035. // this.Selecttuanduiobj.name = "全部";
  1036. // this.pamect.deptId = this.Selecttuanduiobj.id;
  1037. // this.TeamCompared()
  1038. // }
  1039. // })
  1040. },
  1041. //团队对比
  1042. TeamCompared() {
  1043. const that = this;
  1044. that.lineOptsect = {};
  1045. this.linetype = "line";
  1046. this.$u.post("/cusLvStatistics/teamOrOneValueShowByDept", this.pamect).then(data => {
  1047. if (this.Selecttuanduiobj.id == "") {
  1048. var newlist = [];
  1049. for (var i in data) {
  1050. var ect = data[i].receptionStatList.map(item => {
  1051. if (item.fraction == null) {
  1052. item.fraction = 0
  1053. } else {
  1054. item.fraction = item.fraction
  1055. }
  1056. return item.fraction
  1057. });
  1058. newlist.push({
  1059. name: data[i].deptName,
  1060. data: ect
  1061. })
  1062. }
  1063. var timelist = [];
  1064. for (var i in data) {
  1065. var ect = data[i].receptionStatList.map(item => {
  1066. return item.statDate
  1067. });
  1068. timelist.push({
  1069. name: data[i].deptName,
  1070. data: ect
  1071. })
  1072. }
  1073. var xAxisdata = [];
  1074. timelist[0].data.forEach((item, sdf) => {
  1075. xAxisdata.push(item.substring(5, 10))
  1076. })
  1077. that.lineOptsect = {
  1078. categories: xAxisdata,
  1079. series: newlist
  1080. }
  1081. } else {
  1082. if (this.pamect.showStatus == 0) {
  1083. that.lineOptsect = {
  1084. categories: [],
  1085. series: [{
  1086. name: '起始时间',
  1087. data: [],
  1088. color: '#7ED3F4'
  1089. }]
  1090. }
  1091. data.lastValue.receptionStatList.forEach((item, sdf) => {
  1092. that.lineOptsect.categories.push(item.statDate.substring(5, 10))
  1093. })
  1094. that.lineOptsect.series[0].data = data.lastValue.receptionStatList.map(item => item
  1095. .fraction);
  1096. } else {
  1097. that.lineOptsect = {
  1098. categories: [],
  1099. series: [{
  1100. name: '起始时间',
  1101. data: [],
  1102. color: '#7ED3F4'
  1103. },
  1104. {
  1105. name: '对比时间',
  1106. data: [],
  1107. color: '#FF7070'
  1108. },
  1109. ]
  1110. }
  1111. data.firstValue.receptionStatList.forEach((item, sdf) => {
  1112. data.lastValue.receptionStatList.forEach((child, zxc) => {
  1113. if (sdf == zxc) {
  1114. that.lineOptsect.categories.push(
  1115. child.statDate.substring(5, 10) + 'vs' + item
  1116. .statDate.substring(5, 10)
  1117. )
  1118. }
  1119. })
  1120. })
  1121. that.lineOptsect.series[1].data = data.firstValue.receptionStatList.map(item => item
  1122. .fraction);
  1123. that.lineOptsect.series[0].data = data.lastValue.receptionStatList.map(item => item
  1124. .fraction)
  1125. that.guwenFlag = false
  1126. // 团队处理数据
  1127. // // 处理表格数据
  1128. let arr = [
  1129. ['时间', '时段一', '时段二', '变化']
  1130. ]
  1131. that.lineOptsect.categories.map((item, index) => {
  1132. let newarr = [item, data
  1133. .lastValue.receptionStatList[index].fraction, data.firstValue
  1134. .receptionStatList[index].fraction, data.contrast
  1135. .receptionStatList[index].data
  1136. ]
  1137. arr.push(newarr)
  1138. })
  1139. that.tableDate = arr
  1140. }
  1141. }
  1142. });
  1143. },
  1144. //算相隔天数
  1145. DateDiff(sDate1, sDate2) {
  1146. var aDate, oDate1, oDate2, iDays;
  1147. aDate = sDate1.split("-");
  1148. oDate1 = new Date(aDate[1] + '/' + aDate[2] + '/' + aDate[0]); //转换为yyyy-MM-dd格式
  1149. aDate = sDate2.split("-");
  1150. oDate2 = new Date(aDate[1] + '/' + aDate[2] + '/' + aDate[0]);
  1151. iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 / 24); //把相差的毫秒数转换为天数
  1152. return iDays + 1; //返回相差天数
  1153. },
  1154. },
  1155. }
  1156. </script>
  1157. <style lang="scss" scoped>
  1158. .boxtittab .tabbox{
  1159. flex: none;
  1160. padding: 0 35rpx;
  1161. }
  1162. .uchaserbox {
  1163. height: 500rpx;
  1164. }
  1165. .title2-che {
  1166. width: 178rpx;
  1167. height: 80rpx;
  1168. background: #FFFFFF;
  1169. border-radius: 6rpx;
  1170. line-height: 80rpx;
  1171. font-size: 28rpx;
  1172. font-weight: 400;
  1173. color: #666666;
  1174. text-indent: 12rpx;
  1175. margin-left: 35rpx;
  1176. margin-top: 20rpx;
  1177. .righttochoose {
  1178. width: 28rpx;
  1179. height: 14rpx;
  1180. margin-left: 12rpx;
  1181. }
  1182. }
  1183. .table {
  1184. border: 0px solid darkgray;
  1185. .tr {
  1186. display: flex;
  1187. // width: 100%;
  1188. justify-content: center;
  1189. height: 64rpx;
  1190. align-items: center;
  1191. border-bottom: 1px solid #E0E0E0;
  1192. flex-wrap: nowrap;
  1193. .td {
  1194. text-align: center;
  1195. font-size: 24rpx;
  1196. font-weight: 400;
  1197. color: #333333;
  1198. height: 64rpx;
  1199. line-height: 64rpx;
  1200. // flex-shrink: 0;
  1201. }
  1202. .trd {
  1203. flex-shrink: 0;
  1204. min-width: 300rpx;
  1205. // border-bottom: 1px solid #ccc;
  1206. }
  1207. .th {
  1208. height: 64rpx;
  1209. text-align: center;
  1210. font-size: 28rpx;
  1211. font-weight: 400;
  1212. color: #666666;
  1213. line-height: 64rpx;
  1214. }
  1215. }
  1216. }
  1217. .activecllasscet2 {
  1218. color: #2671E2;
  1219. font-weight: 600;
  1220. border-bottom: 4rpx solid #2671E2;
  1221. }
  1222. .timeduibi {
  1223. width: 100%;
  1224. background: #FFFFFF;
  1225. padding-bottom: 10rpx;
  1226. .timeshow {
  1227. color: #666666;
  1228. width: 100%;
  1229. height: 50rpx;
  1230. font-size: 28rpx;
  1231. line-height: 50rpx;
  1232. text-indent: 30rpx;
  1233. }
  1234. }
  1235. // 顶部时间切换
  1236. .timetabct {
  1237. position: sticky;
  1238. top: var(--window-top);
  1239. z-index: 999;
  1240. background: #fff;
  1241. width: 100%;
  1242. height: 98rpx;
  1243. display: flex;
  1244. align-items: center;
  1245. border-bottom: 1rpx solid #E0E0E0;
  1246. color: #666;
  1247. }
  1248. .timetabctview {
  1249. flex: 1;
  1250. text-align: center;
  1251. line-height: 98rpx;
  1252. font-size: 28rpx;
  1253. font-family: PingFangSC-Regular, PingFang SC;
  1254. font-weight: 400;
  1255. height: 100%;
  1256. display: flex;
  1257. justify-content: center;
  1258. }
  1259. .timetabctview view{
  1260. width: 100rpx;
  1261. }
  1262. .activecllasscet {
  1263. color: #2671E2;
  1264. font-weight: 600;
  1265. border-bottom: 4rpx solid #2671E2;
  1266. }
  1267. // 对比时间切换
  1268. .timepick {
  1269. width: 100%;
  1270. height: 90rpx;
  1271. display: flex;
  1272. align-items: center;
  1273. background: #FFFFFF;
  1274. }
  1275. .timepicktime {
  1276. width: 260rpx;
  1277. height: 50rpx;
  1278. line-height: 50rpx;
  1279. margin-left: 30rpx;
  1280. display: flex;
  1281. background: #FFFFFF;
  1282. }
  1283. .timepickpick {
  1284. width: 110rpx;
  1285. height: 50rpx;
  1286. margin-left: 30rpx;
  1287. display: flex;
  1288. align-items: center;
  1289. }
  1290. .Underimg {
  1291. width: 28rpx;
  1292. height: 14rpx;
  1293. margin-left: 12rpx;
  1294. }
  1295. .timeButton {
  1296. width: 100%;
  1297. height: 60rpx;
  1298. display: flex;
  1299. color: #b1b1b1;
  1300. font-size: 28rpx;
  1301. .item {
  1302. text-align: center;
  1303. line-height: 60rpx;
  1304. padding-left: 12rpx;
  1305. padding-right: 12rpx;
  1306. border-radius: 8rpx;
  1307. border: 1px solid #E0E0E0;
  1308. margin-right: 20rpx;
  1309. &.active {
  1310. color: #FFFFFF;
  1311. background-color: #2671E2;
  1312. }
  1313. }
  1314. }
  1315. .boardbox {
  1316. width: 100%;
  1317. height: 172rpx;
  1318. display: flex;
  1319. align-items: center;
  1320. background: #F4F8FD;
  1321. border-radius: 8rpx;
  1322. margin-top: 28rpx;
  1323. .boardbox-zuo {
  1324. width: 50%;
  1325. height: 120rpx;
  1326. border-right: 1px solid #E0E0E0;
  1327. }
  1328. .boardbox-you {
  1329. width: 50%;
  1330. height: 120rpx;
  1331. }
  1332. .boardbox-text1 {
  1333. width: 100%;
  1334. text-align: center;
  1335. font-size: 28rpx;
  1336. color: #333333;
  1337. }
  1338. .boardbox-text2 {
  1339. width: 100%;
  1340. text-align: center;
  1341. font-size: 26rpx;
  1342. color: #333333;
  1343. margin-top: 10rpx;
  1344. }
  1345. }
  1346. .comparesize {
  1347. font-size: 26rpx;
  1348. color: #333;
  1349. margin: 30rpx 30rpx 0 30rpx;
  1350. display: flex;
  1351. align-items: center;
  1352. }
  1353. .grid:nth-child(1) {
  1354. border-right: 1rpx solid #E0E0E0;
  1355. border-bottom: 1rpx solid #E0E0E0;
  1356. }
  1357. .grid:nth-child(2) {
  1358. border-bottom: 1rpx solid #E0E0E0;
  1359. }
  1360. .grid:nth-child(3) {
  1361. border-right: 1rpx solid #E0E0E0;
  1362. }
  1363. </style>