shoppingCart.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <template>
  2. <view>
  3. <u-navbar :is-back="false" title="购物车" :border-bottom="false" title-color="#333333" back-icon-color="#ffffff">
  4. <view class="slot-wrap"><image src="/static/logo2.png" style="width: 178rpx;height: 31rpx;margin-left: 30rpx;"></image></view>
  5. </u-navbar>
  6. <view v-show="isLogin">
  7. <view v-if="!list.length"><u-empty text="购物车为空" margin-top="500" mode="car"></u-empty></view>
  8. <view v-else>
  9. <view class="shop_list">
  10. <uni-swipe-action>
  11. <u-checkbox-group @change="checkboxGroupChange" placement="column" >
  12. <view>
  13. <uni-swipe-action-item :autoClose="false" @change="swipeChange($event, item)" :show="item.show" v-for="(item, index) in list" :key="index">
  14. <view class="goods-item">
  15. <view class="item-wrap">
  16. <view class="goods-msg">
  17. <u-checkbox @change="checkboxChange" :disabled="item.goodsStatus == 0" style="width: 100%;" v-model="list[index].checked" shape="circle" :name="index">
  18. <view class="flex">
  19. <view class="goods-img">
  20. <image :src="$method.splitImgHost(item.coverUrl, true)"></image>
  21. </view>
  22. <view class="flex__auto">
  23. <view class="goods-title">{{ item.goodsName }}</view>
  24. <view class="priceTag">¥ {{ item.standPrice }}</view>
  25. <view class="priceTag" v-if="item.goodsStatus == 0">该商品已下架</view>
  26. </view>
  27. </view>
  28. </u-checkbox>
  29. </view>
  30. <view class="goods-select" v-if="item.templateType != null && item.goodsType == 1">
  31. <u-line color="#D6D6DB" />
  32. <view class="goods-select__type" v-if="item.templateType == 'class'"
  33. @click="openPopup(0, item, index)">
  34. <view style="color: #666666;font-size: 24rpx;">{{ !item.gradObj.className ? '选择班级' : item.gradObj.className }}</view>
  35. <view><u-icon name="arrow-right" color="#999999" size="28"></u-icon></view>
  36. </view>
  37. <view class="goods-select__type" v-if="item.templateType == 'apply'"
  38. @click="openPopup(1, item, index)"
  39. >
  40. <view style="color: #666666;font-size: 24rpx;">
  41. {{
  42. !item.applyAreas.areaName
  43. ? '报考地区'
  44. : item.examDate.examineName + '-' + item.applyAreas.areaName + '-' + item.applyAreas.cityName
  45. }}
  46. </view>
  47. <view><u-icon name="arrow-right" color="#999999" size="28"></u-icon></view>
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. <template v-slot:right>
  53. <view class="operate" @click="delItem(item)">
  54. <view><text>删除</text></view>
  55. </view>
  56. </template>
  57. </uni-swipe-action-item>
  58. </view>
  59. </u-checkbox-group>
  60. </uni-swipe-action>
  61. </view>
  62. <view class="bottomBox" v-if="!hideBuyState">
  63. <view class="bottons_all">
  64. <view class="check_alls">
  65. <u-checkbox label="all" name="all" shape="circle" @change="checkboxAllChange" v-model="allChecked"></u-checkbox>
  66. <text class="checkall">全选</text>
  67. <!-- <text class="rmb">¥</text> -->
  68. <view class="all_sum">结算:</view>
  69. <view class="priceTag">¥ {{ toFixed(totalPrice) }}</view>
  70. </view>
  71. <view style="display: flex;align-items: center;">
  72. <!-- <view style="color: #999999;margin-right: 8rpx;">合计</view> -->
  73. <view style="display: flex;color: #FFFFFF;align-items: center;" @click="goBuy()">
  74. <view class="btn2">结算</view>
  75. <!-- <u-icon name="arrow-right" color="#fff" size="30"></u-icon> -->
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. <u-popup v-model="show" mode="bottom" border-radius="40">
  82. <view class="popup_box">
  83. <view style="margin-bottom: 20rpx;">
  84. <view class="line1"></view>
  85. <view class="grade">选择班级</view>
  86. </view>
  87. <u-line color="#D6D6DB" />
  88. <view>
  89. <scroll-view scroll-y="true" style="height: 536rpx;">
  90. <view>
  91. <u-radio-group v-model="gradeValue">
  92. <view v-for="(item, index) in gradeList" :key="index">
  93. <view style="display: flex;align-items: center;padding: 20rpx;">
  94. <view>
  95. <u-radio shape="circle" :name="index">
  96. <view :class="index == gradeValue? 'white-box blue-box' : 'white-box'">
  97. <view>
  98. <view class="blackTxt">{{ item.className }}</view>
  99. <view class="redTxt" v-if="item.classEndTime">有效期至:{{ $method.timestampToTime(item.classEndTime) }}</view>
  100. <view class="redTxt" v-if="item.classEndTime">本班还剩{{ $method.GetRTime(item.classEndTime) }}天将结束学习</view>
  101. </view>
  102. </view>
  103. </u-radio>
  104. </view>
  105. </view>
  106. </view>
  107. </u-radio-group>
  108. </view>
  109. </scroll-view>
  110. </view>
  111. <view class="confrim-btn"><view class="okBtn" @click="okPopup(0)">确定</view></view>
  112. </view>
  113. </u-popup>
  114. <u-popup v-model="show1" mode="bottom" border-radius="40">
  115. <view class="popup_box">
  116. <view style="margin-bottom: 20rpx;">
  117. <view class="line1"></view>
  118. <view class="grade">选择考期/地区</view>
  119. </view>
  120. <u-line color="#D6D6DB" />
  121. <view style="display: flex;height: 536rpx;">
  122. <view style="width: 50%;">
  123. <view class="topTxt">考期</view>
  124. <view>
  125. <picker-view :indicator-style="indicatorStyle" :value="value" @change="bindChangeE" class="picker-view">
  126. <picker-view-column>
  127. <view class="picker-item" v-for="(item, index) in examine" :key="index">{{ item.examineName }}</view>
  128. </picker-view-column>
  129. </picker-view>
  130. </view>
  131. </view>
  132. <view style="width: 50%;">
  133. <view class="topTxt">地区</view>
  134. <view>
  135. <picker-view :indicator-style="indicatorStyle" :value="value" @change="bindChange" class="picker-view">
  136. <picker-view-column>
  137. <view class="picker-item" v-for="(item, index) in provinceList" :key="index">{{ item.areaName }}</view>
  138. </picker-view-column>
  139. <picker-view-column>
  140. <view class="picker-item" v-for="(item, index) in cityList" :key="index">{{ item.areaName }}</view>
  141. </picker-view-column>
  142. </picker-view>
  143. </view>
  144. </view>
  145. </view>
  146. <view class="confrim-btn"><view class="okBtn" @click="okPopup(1)">确定</view></view>
  147. </view>
  148. </u-popup>
  149. </view>
  150. <view v-show="!isLogin">
  151. <view style="display: flex;align-items:center;flex-direction: column;margin-top: 40%;font-size: 32rpx;">
  152. <view style="color: #999999;">您还没有登录哦~</view>
  153. <view style="margin-top: 30rpx;"><u-button type="primary" @click="login">去登录</u-button></view>
  154. </view>
  155. </view>
  156. <tab-bar></tab-bar>
  157. </view>
  158. </template>
  159. <script>
  160. import { mapGetters } from 'vuex';
  161. import TabBar from '../../components/tabbar/TabBar.vue'
  162. export default {
  163. components: { TabBar },
  164. data() {
  165. return {
  166. gradeValue: -1,
  167. isLogin: false,
  168. allChecked: false,
  169. checkboxValue1: [],
  170. list: [],
  171. value1: '',
  172. show: false,
  173. show1: false,
  174. totalPrice: 0.0,
  175. isOld: false,
  176. checkboxList: [],
  177. gradeList: [],
  178. examine: [],
  179. provinceList: [],
  180. cityList: [],
  181. detail: {},
  182. detailIndex: -1,
  183. applyObj: {
  184. applyAreasJson: null,
  185. examDateJson: null
  186. },
  187. pAreaIndex: 0,
  188. cAreaIndex: 0,
  189. examIndex: 0
  190. };
  191. },
  192. computed: { ...mapGetters(['userInfo','hideBuyState']) },
  193. onLoad(option) {
  194. console.log(option,987)
  195. },
  196. onShow() {
  197. this.isLogin = this.$method.isLogin();
  198. if (this.isLogin) {
  199. if (uni.getStorageSync('updateCart') || !this.isOld) {
  200. this.isOld = true;
  201. this.cartList();
  202. uni.removeStorageSync('updateCart'); //消费购物车刷新事件
  203. }
  204. }
  205. },
  206. methods: {
  207. toFixed(num) {
  208. console.log(num)
  209. return num.toFixed(2)
  210. },
  211. bindChangeE(e) {
  212. console.log(e.detail.value);
  213. this.examIndex = e.detail.value[0];
  214. },
  215. bindChange(e) {
  216. const val = e.detail.value;
  217. if (this.pAreaIndex != e.detail.value[0]) {
  218. this.pAreaIndex = e.detail.value[0];
  219. this.getCityList(this.provinceList[this.pAreaIndex].areaId);
  220. }
  221. if (this.cAreaIndex != e.detail.value[1]) {
  222. this.cAreaIndex = e.detail.value[1];
  223. }
  224. },
  225. checkAreaData() {
  226. if (this.examine.length == 0) {
  227. uni.showModal({
  228. title: '提示',
  229. content: '请选择考期',
  230. showCancel: false
  231. });
  232. return false;
  233. }
  234. return true;
  235. },
  236. checkData() {
  237. if (this.detail.templateType == 'class') {
  238. if (this.gradeValue < 0) {
  239. uni.showModal({
  240. title: '提示',
  241. content: '请选择班级',
  242. showCancel: false
  243. });
  244. return false;
  245. }
  246. } else if (this.detail.templateType == 'apply') {
  247. if (!this.applyObj.examDateJson) {
  248. uni.showModal({
  249. title: '提示',
  250. content: '请选择考期',
  251. showCancel: false
  252. });
  253. return false;
  254. }
  255. }
  256. return true;
  257. },
  258. //弹出框确定
  259. okPopup(index) {
  260. if (index == 0) {
  261. if (!this.checkData()) {
  262. return;
  263. }
  264. this.gradeIndex = this.gradeValue;
  265. this.list[this.detailIndex].gradObj = this.gradeList[this.gradeIndex]; //商品赋值选中班级
  266. this.show = false;
  267. } else {
  268. if (!this.checkAreaData()) {
  269. return;
  270. }
  271. this.examDate = this.examine[this.examIndex];
  272. let pData = this.provinceList[this.pAreaIndex];
  273. let cData = this.cityList[this.cAreaIndex];
  274. this.applyAreas = { areaName: pData.areaName, areaId: pData.areaId, cityId: cData.areaId, cityName: cData.areaName };
  275. // this.applyObj.applyAreasJson = JSON.stringify(this.applyAreas)
  276. // this.applyObj.examDateJson = JSON.stringify(this.examDate)
  277. this.list[this.detailIndex].examDate = this.examDate; //商品赋值选中考期地区
  278. this.list[this.detailIndex].applyAreas = this.applyAreas; //商品赋值选中考期地区
  279. this.show1 = false;
  280. }
  281. },
  282. getExamine(id) {
  283. let self = this;
  284. this.$api.getExamine({ projectId: id }).then(res => {
  285. if (res.data.code == 200) {
  286. self.examine = res.data.rows;
  287. }
  288. });
  289. },
  290. getCityList(id) {
  291. let self = this;
  292. this.$api.getCityList({ parentId: id }).then(res => {
  293. if (res.data.code == 200) {
  294. self.cityList = res.data.rows;
  295. }
  296. });
  297. },
  298. getProvinceList() {
  299. let self = this;
  300. if (self.provinceList.length > 0) {
  301. return;
  302. }
  303. this.$api.getProvinceList().then(res => {
  304. if (res.data.code == 200) {
  305. self.provinceList = res.data.rows;
  306. if (self.provinceList.length > 0) {
  307. self.getCityList(self.provinceList[0].areaId);
  308. }
  309. }
  310. });
  311. },
  312. goodsGradeList(goodsId) {
  313. let self = this;
  314. this.$api.goodsGradeList({ goodsId: goodsId }).then(res => {
  315. if (res.data.code == 200) {
  316. self.gradeList = res.data.rows;
  317. if (self.gradeList.length == 0) {
  318. let item = {
  319. className: '系统分班',
  320. gradeId: 0
  321. };
  322. self.gradeList.push(item);
  323. }
  324. }
  325. });
  326. },
  327. openPopup(index, item, itemIndex) {
  328. this.detail = item;
  329. this.detailIndex = itemIndex;
  330. if (index == 0) {
  331. this.gradeValue = -1;
  332. this.show = true;
  333. this.goodsGradeList(item.goodsId);
  334. } else {
  335. this.applyObj = {
  336. applyAreasJson: null,
  337. examDateJson: null
  338. };
  339. (this.pAreaIndex = 0), (this.cAreaIndex = 0), (this.examIndex = 0), (this.show1 = true);
  340. this.getProvinceList();
  341. this.getExamine(item.projectId);
  342. }
  343. },
  344. checkboxGroupChange(e) {
  345. this.checkboxList = e;
  346. if(this.checkboxList.length==this.list.length){
  347. this.allChecked = true;
  348. }else{
  349. this.allChecked = false;
  350. }
  351. console.log(this.checkboxList)
  352. },
  353. countPrice(list) {},
  354. login() {
  355. uni.navigateTo({ url: '/pages4/login/login' });
  356. },
  357. cartList() {
  358. let self = this;
  359. this.allChecked = false;
  360. this.totalPrice = 0.0;
  361. this.checkboxList = [];
  362. this.$api.cartList().then(res => {
  363. if (res.data.code == 200) {
  364. for (let i = 0; i < res.data.rows.length; i++) {
  365. let item = res.data.rows[i];
  366. item.checked = false;
  367. if (item.status != 1 || item.goodsStatus != 1) {
  368. item.disabled = true;
  369. } else {
  370. item.disabled = false;
  371. }
  372. item.show = false;
  373. item.gradObj = {}; //存储班级
  374. item.applyAreas = {};
  375. item.examDate = {};
  376. }
  377. self.list = res.data.rows;
  378. }
  379. });
  380. },
  381. delItem(item) {
  382. let self = this;
  383. this.$api.deleteCart(item.id).then(res => {
  384. if (res.data.code == 200) {
  385. self.cartList();
  386. }
  387. });
  388. },
  389. swipeChange(e, item) {
  390. item.show = e;
  391. },
  392. goBuy() {
  393. if (this.checkboxList.length == 0) {
  394. uni.showModal({
  395. title: '提示',
  396. content: '请选择商品',
  397. showCancel: false
  398. });
  399. return;
  400. }
  401. let checkGoodsList = [];
  402. for (let i = 0; i < this.checkboxList.length; i++) {
  403. let index = this.checkboxList[i];
  404. let item = this.list[index];
  405. checkGoodsList.push(item);
  406. if (item.templateType == 'class' && item.goodsType == 1) {
  407. if (!item.gradObj.className) {
  408. uni.showModal({
  409. title: '提示',
  410. content: '请选择班级',
  411. showCancel: false
  412. });
  413. return false;
  414. }
  415. }
  416. if (item.templateType == 'apply' && item.goodsType == 1) {
  417. // if (!item.applyAreas.areaName) {
  418. // uni.showModal({
  419. // title: '提示',
  420. // content: '请选择报考地区',
  421. // showCancel: false
  422. // });
  423. // return false;
  424. // }
  425. }
  426. }
  427. this.$store.commit('setShoppingCartList', { shoppingCartList: checkGoodsList });
  428. this.$navTo.togo('/pages2/order/confirm_pay?fromCart=true');
  429. },
  430. checkboxChange(n) {
  431. console.log('change', n);
  432. this.$nextTick(() => {
  433. this.totalPrice = 0.0;
  434. for (let i = 0; i < this.list.length; i++) {
  435. if(this.list[i].checked) {
  436. console.log(this.list[i],999)
  437. this.totalPrice += this.list[i].standPrice;
  438. }
  439. }
  440. })
  441. },
  442. checkboxAllChange(n) {
  443. this.$nextTick(() => {
  444. this.totalPrice = 0.0;
  445. this.checkboxList = [];
  446. if (n.value) {
  447. for (let i = 0; i < this.list.length; i++) {
  448. this.list[i].checked = true;
  449. this.totalPrice += this.list[i].standPrice;
  450. this.checkboxList.push(i);
  451. }
  452. } else {
  453. for (let i = 0; i < this.list.length; i++) {
  454. this.list[i].checked = false;
  455. }
  456. }
  457. })
  458. }
  459. }
  460. };
  461. </script>
  462. <style>
  463. page {
  464. background-color: #eaeef1;
  465. }
  466. </style>
  467. <style scoped lang="scss">
  468. .shop_list {
  469. padding: 16rpx 16rpx 180rpx 16rpx;
  470. // padding-bottom: 98rpx;
  471. }
  472. .operate {
  473. background-color: #ff3b30;
  474. color: #ffffff;
  475. border-top-right-radius: 16rpx;
  476. border-bottom-right-radius: 16rpx;
  477. margin-bottom: 20rpx;
  478. display: flex;
  479. align-items: center;
  480. justify-content: center;
  481. padding: 0 20rpx;
  482. }
  483. .picker-item {
  484. height: 50px;
  485. align-items: center;
  486. justify-content: center;
  487. text-align: center;
  488. }
  489. .picker-view {
  490. width: 100%;
  491. height: 420rpx;
  492. text-align: center;
  493. }
  494. .topTxt {
  495. font-size: 30rpx;
  496. color: #666666;
  497. text-align: center;
  498. padding: 20rpx 0;
  499. }
  500. .blackTxt {
  501. font-size: 30rpx;
  502. font-family: PingFang SC;
  503. font-weight: bold;
  504. color: #333333;
  505. }
  506. .redTxt {
  507. font-size: 30rpx;
  508. font-family: PingFang SC;
  509. color: #ff2d55;
  510. margin-top: 13rpx;
  511. }
  512. .blue-box {
  513. background: #ebf5ff;
  514. }
  515. .white-box {
  516. width: 646rpx;
  517. border-radius: 24rpx;
  518. align-items: center;
  519. display: flex;
  520. padding-left: 15rpx;
  521. }
  522. .okBtn {
  523. width: 200rpx;
  524. height: 64rpx;
  525. background: linear-gradient(0deg, #015eea, #00c0fa);
  526. border-radius: 32rpx;
  527. color: #ffffff;
  528. text-align: center;
  529. line-height: 64rpx;
  530. }
  531. .confrim-btn {
  532. border-top:1px solid #EEEEEE;
  533. height: 98rpx;
  534. width: 100%;
  535. display: flex;
  536. align-items: center;
  537. justify-content: center;
  538. }
  539. .grade {
  540. height: 23rpx;
  541. font-size: 24rpx;
  542. color: #999999;
  543. margin: 0 auto;
  544. margin-top: 15rpx;
  545. text-align: center;
  546. }
  547. .line1 {
  548. width: 80rpx;
  549. height: 8rpx;
  550. background: #999999;
  551. border-radius: 4rpx;
  552. margin: 0 auto;
  553. margin-top: 15rpx;
  554. }
  555. .popup_box {
  556. height: 700rpx;
  557. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  558. border-radius: 32rpx 32rpx 0rpx 0rpx;
  559. }
  560. .goods-item {
  561. width: 100%;
  562. background: #ffffff;
  563. border-radius: 24rpx;
  564. margin-bottom: 12rpx;
  565. padding: 15rpx 0;
  566. display: flex;
  567. .item-wrap {
  568. width:100%;
  569. .goods-msg {
  570. padding: 0rpx 0rpx 0rpx 22rpx;
  571. display: flex;
  572. align-items:center;
  573. .flex {
  574. display: flex;
  575. padding-bottom: 15rpx;
  576. width:630rpx;
  577. .goods-img {
  578. overflow: hidden;
  579. width: 204rpx;
  580. height: 120rpx;
  581. border-radius: 22rpx;
  582. margin-left: 22rpx;
  583. margin-right: 24rpx;
  584. image {
  585. display: block;
  586. // width: 278rpx;
  587. // height: 156rpx;
  588. width: 100%;
  589. height: 100%;
  590. }
  591. }
  592. &__auto {
  593. flex: 1;
  594. .goods-title {
  595. color: #333333;
  596. font-size: 28rpx;
  597. font-weight: bold;
  598. text-align: right;
  599. width: 378rpx;
  600. overflow:hidden;
  601. text-overflow:ellipsis;
  602. white-space:nowrap;
  603. }
  604. .priceTag {
  605. font-size: 32rpx;
  606. font-family: PingFang SC;
  607. font-weight: bold;
  608. color: #FC3F3F;
  609. display: flex;
  610. // flex-direction: row-reverse;
  611. margin-right: 8rpx;
  612. margin-top: 25rpx;
  613. }
  614. }
  615. }
  616. }
  617. .goods-select {
  618. &__type {
  619. display: flex;
  620. justify-content: space-between;
  621. align-items: center;
  622. height: 50rpx;
  623. padding: 0 15rpx;
  624. }
  625. }
  626. }
  627. }
  628. .btn2 {
  629. font-size: 32rpx;
  630. font-weight: 500;
  631. color: #FFFFFF;
  632. margin-right: 8rpx;
  633. width: 232rpx;
  634. height: 92rpx;
  635. line-height: 92rpx;
  636. text-align: center;
  637. background: #FC3F3F;
  638. border-radius: 120rpx;
  639. }
  640. .bottomBox {
  641. position: fixed;
  642. bottom: 0;
  643. width: 100%;
  644. left: 0;
  645. height: 132rpx;
  646. background-color: #ffffff;
  647. display: flex;
  648. justify-content: space-between;
  649. align-items: center;
  650. padding: 0 32rpx;
  651. box-shadow: 0px -2px 6px 0px rgba(0,0,0,0.1000);
  652. .bottons_all {
  653. // width: 674rpx;
  654. // height: 104rpx;
  655. // background: #007AFF;
  656. // border-radius: 52rpx;
  657. width: 100%;
  658. display: flex;
  659. align-items: center;
  660. justify-content: space-between;
  661. // padding: 0rpx 26rpx 0rpx 23rpx;
  662. }
  663. .priceTag {
  664. font-size: 32rpx;
  665. font-family: PingFang SC;
  666. font-weight: bold;
  667. color: #FC3F3F;
  668. display: flex;
  669. flex-direction: row-reverse;
  670. margin-right: 20rpx;
  671. }
  672. .check_alls {
  673. display: flex;
  674. align-items: center;
  675. color: #969696;
  676. // .rmb {
  677. // // margin-right: 9rpx;
  678. // // margin-left: 35rpx;
  679. // // font-size: 20rpx;
  680. // // position: relative;
  681. // // top: -14rpx;
  682. // // left: 0rpx;
  683. // }
  684. }
  685. .all_sum {
  686. font-size: 28rpx;
  687. font-weight: 800;
  688. color: #303030;
  689. margin-left: 35rpx;
  690. }
  691. .checkall {
  692. font-weight: 500;
  693. color: #969696;
  694. font-size: 28rpx;
  695. }
  696. }
  697. </style>