shoppingCart.vue 19 KB

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