shoppingCart.vue 18 KB

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