shoppingCart.vue 19 KB

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