shoppingCart.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735
  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">
  5. <image v-if="tenantId == '567735392758918520'" src="/static/zhongshan_logo.png" style="width: 178rpx;height: 31rpx;margin-left: 30rpx;"></image>
  6. <image v-else src="/static/logo2.png" style="width: 178rpx;height: 31rpx;margin-left: 30rpx;"></image>
  7. </view>
  8. </u-navbar>
  9. <view v-show="isLogin">
  10. <view v-if="!list.length"><u-empty text="购物车为空" margin-top="500" mode="car"></u-empty></view>
  11. <view v-else>
  12. <view class="shop_list">
  13. <uni-swipe-action>
  14. <u-checkbox-group @change="checkboxGroupChange" placement="column" >
  15. <view>
  16. <uni-swipe-action-item :autoClose="false" @change="swipeChange($event, item)" :show="item.show" v-for="(item, index) in list" :key="index">
  17. <view class="goods-item">
  18. <view class="item-wrap">
  19. <view class="goods-msg">
  20. <u-checkbox @change="checkboxChange" :disabled="item.goodsStatus == 0" style="width: 100%;" v-model="list[index].checked" shape="circle" :name="index">
  21. <view class="flex">
  22. <view class="goods-img">
  23. <image :src="$method.splitImgHost(item.coverUrl, true)"></image>
  24. </view>
  25. <view class="flex__auto">
  26. <view class="goods-title">{{ item.goodsName }}</view>
  27. <view class="priceTag">¥ {{ item.standPrice }}</view>
  28. <view class="priceTag" v-if="item.goodsStatus == 0">该商品已下架</view>
  29. </view>
  30. </view>
  31. </u-checkbox>
  32. </view>
  33. <view class="goods-select" v-if="item.templateType != null && item.goodsType == 1">
  34. <u-line color="#D6D6DB" />
  35. <view class="goods-select__type" v-if="item.templateType == 'class'"
  36. @click="openPopup(0, item, index)">
  37. <view style="color: #666666;font-size: 24rpx;">{{ !item.gradObj.className ? '选择班级' : item.gradObj.className }}</view>
  38. <view><u-icon name="arrow-right" color="#999999" size="28"></u-icon></view>
  39. </view>
  40. <view class="goods-select__type" v-if="item.templateType == 'apply'"
  41. @click="openPopup(1, item, index)"
  42. >
  43. <view style="color: #666666;font-size: 24rpx;">
  44. {{
  45. !item.applyAreas.areaName
  46. ? '报考地区'
  47. : item.examDate.examineName + '-' + item.applyAreas.areaName + '-' + item.applyAreas.cityName
  48. }}
  49. </view>
  50. <view><u-icon name="arrow-right" color="#999999" size="28"></u-icon></view>
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. <template v-slot:right>
  56. <view class="operate" @click="delItem(item)">
  57. <view><text>删除</text></view>
  58. </view>
  59. </template>
  60. </uni-swipe-action-item>
  61. </view>
  62. </u-checkbox-group>
  63. </uni-swipe-action>
  64. </view>
  65. </view>
  66. <u-popup v-model="show" mode="bottom" border-radius="40">
  67. <view class="popup_box">
  68. <view style="margin-bottom: 20rpx;">
  69. <view class="line1"></view>
  70. <view class="grade">选择班级</view>
  71. </view>
  72. <u-line color="#D6D6DB" />
  73. <view>
  74. <scroll-view scroll-y="true" style="height: 536rpx;">
  75. <view>
  76. <u-radio-group v-model="gradeValue">
  77. <view v-for="(item, index) in gradeList" :key="index">
  78. <view style="display: flex;align-items: center;padding: 20rpx;">
  79. <view>
  80. <u-radio shape="circle" :name="index">
  81. <view :class="index == gradeValue? 'white-box blue-box' : 'white-box'">
  82. <view>
  83. <view class="blackTxt">{{ item.className }}</view>
  84. <view class="redTxt" v-if="item.classEndTime">有效期至:{{ $method.timestampToTime(item.classEndTime) }}</view>
  85. <view class="redTxt" v-if="item.classEndTime">本班还剩{{ $method.GetRTime(item.classEndTime) }}天将结束学习</view>
  86. </view>
  87. </view>
  88. </u-radio>
  89. </view>
  90. </view>
  91. </view>
  92. </u-radio-group>
  93. </view>
  94. </scroll-view>
  95. </view>
  96. <view class="confrim-btn"><view class="okBtn" @click="okPopup(0)">确定</view></view>
  97. </view>
  98. </u-popup>
  99. <u-popup v-model="show1" mode="bottom" border-radius="40">
  100. <view class="popup_box">
  101. <view style="margin-bottom: 20rpx;">
  102. <view class="line1"></view>
  103. <view class="grade">选择考期/地区</view>
  104. </view>
  105. <u-line color="#D6D6DB" />
  106. <view style="display: flex;height: 536rpx;">
  107. <view style="width: 50%;">
  108. <view class="topTxt">考期</view>
  109. <view>
  110. <picker-view :indicator-style="indicatorStyle" :value="value" @change="bindChangeE" class="picker-view">
  111. <picker-view-column>
  112. <view class="picker-item" v-for="(item, index) in examine" :key="index">{{ item.examineName }}</view>
  113. </picker-view-column>
  114. </picker-view>
  115. </view>
  116. </view>
  117. <view style="width: 50%;">
  118. <view class="topTxt">地区</view>
  119. <view>
  120. <picker-view :indicator-style="indicatorStyle" :value="value" @change="bindChange" class="picker-view">
  121. <picker-view-column>
  122. <view class="picker-item" v-for="(item, index) in provinceList" :key="index">{{ item.areaName }}</view>
  123. </picker-view-column>
  124. <picker-view-column>
  125. <view class="picker-item" v-for="(item, index) in cityList" :key="index">{{ item.areaName }}</view>
  126. </picker-view-column>
  127. </picker-view>
  128. </view>
  129. </view>
  130. </view>
  131. <view class="confrim-btn"><view class="okBtn" @click="okPopup(1)">确定</view></view>
  132. </view>
  133. </u-popup>
  134. </view>
  135. <view v-show="!isLogin">
  136. <view style="display: flex;align-items:center;flex-direction: column;margin-top: 40%;font-size: 32rpx;">
  137. <view style="color: #999999;">您还没有登录哦~</view>
  138. <view style="margin-top: 30rpx;"><u-button type="primary" @click="login">去登录</u-button></view>
  139. </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. </view>
  160. </template>
  161. <script>
  162. import { mapGetters } from 'vuex';
  163. import { tenantId } from '@/common/request.js';
  164. export default {
  165. data() {
  166. return {
  167. tenantId: tenantId,
  168. gradeValue: -1,
  169. isLogin: false,
  170. allChecked: false,
  171. checkboxValue1: [],
  172. list: [],
  173. value1: '',
  174. show: false,
  175. show1: false,
  176. totalPrice: 0.0,
  177. isOld: false,
  178. checkboxList: [],
  179. gradeList: [],
  180. examine: [],
  181. provinceList: [],
  182. cityList: [],
  183. detail: {},
  184. detailIndex: -1,
  185. applyObj: {
  186. applyAreasJson: null,
  187. examDateJson: null
  188. },
  189. pAreaIndex: 0,
  190. cAreaIndex: 0,
  191. examIndex: 0,
  192. current: 3,
  193. };
  194. },
  195. computed: { ...mapGetters(['userInfo','hideBuyState']) },
  196. onLoad(option) {
  197. // console.log(option,987)
  198. },
  199. onShow() {
  200. this.isLogin = this.$method.isLogin();
  201. if (this.isLogin) {
  202. if (uni.getStorageSync('updateCart') || !this.isOld) {
  203. this.isOld = true;
  204. this.cartList();
  205. uni.removeStorageSync('updateCart'); //消费购物车刷新事件
  206. }
  207. }
  208. },
  209. methods: {
  210. toFixed(num) {
  211. return num.toFixed(2)
  212. },
  213. bindChangeE(e) {
  214. this.examIndex = e.detail.value[0];
  215. },
  216. bindChange(e) {
  217. const val = e.detail.value;
  218. if (this.pAreaIndex != e.detail.value[0]) {
  219. this.pAreaIndex = e.detail.value[0];
  220. this.getCityList(this.provinceList[this.pAreaIndex].areaId);
  221. }
  222. if (this.cAreaIndex != e.detail.value[1]) {
  223. this.cAreaIndex = e.detail.value[1];
  224. }
  225. },
  226. checkAreaData() {
  227. if (this.examine.length == 0) {
  228. uni.showModal({
  229. title: '提示',
  230. content: '请选择考期',
  231. showCancel: false
  232. });
  233. return false;
  234. }
  235. return true;
  236. },
  237. checkData() {
  238. if (this.detail.templateType == 'class') {
  239. if (this.gradeValue < 0) {
  240. uni.showModal({
  241. title: '提示',
  242. content: '请选择班级',
  243. showCancel: false
  244. });
  245. return false;
  246. }
  247. } else if (this.detail.templateType == 'apply') {
  248. if (!this.applyObj.examDateJson) {
  249. uni.showModal({
  250. title: '提示',
  251. content: '请选择考期',
  252. showCancel: false
  253. });
  254. return false;
  255. }
  256. }
  257. return true;
  258. },
  259. //弹出框确定
  260. okPopup(index) {
  261. if (index == 0) {
  262. if (!this.checkData()) {
  263. return;
  264. }
  265. this.gradeIndex = this.gradeValue;
  266. this.list[this.detailIndex].gradObj = this.gradeList[this.gradeIndex]; //商品赋值选中班级
  267. this.show = false;
  268. } else {
  269. if (!this.checkAreaData()) {
  270. return;
  271. }
  272. this.examDate = this.examine[this.examIndex];
  273. let pData = this.provinceList[this.pAreaIndex];
  274. let cData = this.cityList[this.cAreaIndex];
  275. this.applyAreas = { areaName: pData.areaName, areaId: pData.areaId, cityId: cData.areaId, cityName: cData.areaName };
  276. // this.applyObj.applyAreasJson = JSON.stringify(this.applyAreas)
  277. // this.applyObj.examDateJson = JSON.stringify(this.examDate)
  278. this.list[this.detailIndex].examDate = this.examDate; //商品赋值选中考期地区
  279. this.list[this.detailIndex].applyAreas = this.applyAreas; //商品赋值选中考期地区
  280. this.show1 = false;
  281. }
  282. },
  283. getExamine(id) {
  284. let self = this;
  285. this.$api.getExamine({ projectId: id }).then(res => {
  286. if (res.data.code == 200) {
  287. self.examine = res.data.rows;
  288. }
  289. });
  290. },
  291. getCityList(id) {
  292. let self = this;
  293. this.$api.getCityList({ parentId: id }).then(res => {
  294. if (res.data.code == 200) {
  295. self.cityList = res.data.rows;
  296. }
  297. });
  298. },
  299. getProvinceList() {
  300. let self = this;
  301. if (self.provinceList.length > 0) {
  302. return;
  303. }
  304. this.$api.getProvinceList().then(res => {
  305. if (res.data.code == 200) {
  306. self.provinceList = res.data.rows;
  307. if (self.provinceList.length > 0) {
  308. self.getCityList(self.provinceList[0].areaId);
  309. }
  310. }
  311. });
  312. },
  313. goodsGradeList(goodsId) {
  314. let self = this;
  315. this.$api.goodsGradeList({ goodsId: goodsId }).then(res => {
  316. if (res.data.code == 200) {
  317. self.gradeList = res.data.rows;
  318. if (self.gradeList.length == 0) {
  319. let item = {
  320. className: '系统分班',
  321. gradeId: 0
  322. };
  323. self.gradeList.push(item);
  324. }
  325. }
  326. });
  327. },
  328. openPopup(index, item, itemIndex) {
  329. this.detail = item;
  330. this.detailIndex = itemIndex;
  331. if (index == 0) {
  332. this.gradeValue = -1;
  333. this.show = true;
  334. this.goodsGradeList(item.goodsId);
  335. } else {
  336. this.applyObj = {
  337. applyAreasJson: null,
  338. examDateJson: null
  339. };
  340. (this.pAreaIndex = 0), (this.cAreaIndex = 0), (this.examIndex = 0), (this.show1 = true);
  341. this.getProvinceList();
  342. this.getExamine(item.projectId);
  343. }
  344. },
  345. checkboxGroupChange(e) {
  346. this.checkboxList = e;
  347. if(this.checkboxList.length==this.list.length){
  348. this.allChecked = true;
  349. }else{
  350. this.allChecked = false;
  351. }
  352. },
  353. login() {
  354. uni.navigateTo({ url: '/pages4/login/login' });
  355. },
  356. cartList() {
  357. let self = this;
  358. this.allChecked = false;
  359. this.totalPrice = 0.0;
  360. this.checkboxList = [];
  361. this.$api.cartList().then(res => {
  362. if (res.data.code == 200) {
  363. for (let i = 0; i < res.data.rows.length; i++) {
  364. let item = res.data.rows[i];
  365. item.checked = false;
  366. if (item.status != 1 || item.goodsStatus != 1) {
  367. item.disabled = true;
  368. } else {
  369. item.disabled = false;
  370. }
  371. item.show = false;
  372. item.gradObj = {}; //存储班级
  373. item.applyAreas = {};
  374. item.examDate = {};
  375. }
  376. self.list = res.data.rows;
  377. }
  378. });
  379. },
  380. delItem(item) {
  381. let self = this;
  382. this.$api.deleteCart(item.id).then(res => {
  383. if (res.data.code == 200) {
  384. self.cartList();
  385. }
  386. });
  387. },
  388. swipeChange(e, item) {
  389. item.show = e;
  390. },
  391. goBuy() {
  392. if (this.checkboxList.length == 0) {
  393. uni.showModal({
  394. title: '提示',
  395. content: '请选择商品',
  396. showCancel: false
  397. });
  398. return;
  399. }
  400. let checkGoodsList = [];
  401. for (let i = 0; i < this.checkboxList.length; i++) {
  402. let index = this.checkboxList[i];
  403. let item = this.list[index];
  404. checkGoodsList.push(item);
  405. if (item.templateType == 'class' && item.goodsType == 1) {
  406. if (!item.gradObj.className) {
  407. uni.showModal({
  408. title: '提示',
  409. content: '请选择班级',
  410. showCancel: false
  411. });
  412. return false;
  413. }
  414. }
  415. if (item.templateType == 'apply' && item.goodsType == 1) {
  416. // if (!item.applyAreas.areaName) {
  417. // uni.showModal({
  418. // title: '提示',
  419. // content: '请选择报考地区',
  420. // showCancel: false
  421. // });
  422. // return false;
  423. // }
  424. }
  425. }
  426. this.$store.commit('setShoppingCartList', { shoppingCartList: checkGoodsList });
  427. this.$navTo.togo('/pages2/order/confirm_pay?fromCart=true');
  428. },
  429. checkboxChange(n) {
  430. this.$nextTick(() => {
  431. this.totalPrice = 0.0;
  432. for (let i = 0; i < this.list.length; i++) {
  433. if(this.list[i].checked) {
  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: 0rpx;
  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. z-index: 9999;
  650. .bottons_all {
  651. // width: 674rpx;
  652. // height: 104rpx;
  653. // background: #007AFF;
  654. // border-radius: 52rpx;
  655. width: 100%;
  656. display: flex;
  657. align-items: center;
  658. justify-content: space-between;
  659. // padding: 0rpx 26rpx 0rpx 23rpx;
  660. }
  661. .priceTag {
  662. font-size: 32rpx;
  663. font-family: PingFang SC;
  664. font-weight: bold;
  665. color: #FC3F3F;
  666. display: flex;
  667. flex-direction: row-reverse;
  668. margin-right: 20rpx;
  669. }
  670. .check_alls {
  671. display: flex;
  672. align-items: center;
  673. color: #969696;
  674. // .rmb {
  675. // // margin-right: 9rpx;
  676. // // margin-left: 35rpx;
  677. // // font-size: 20rpx;
  678. // // position: relative;
  679. // // top: -14rpx;
  680. // // left: 0rpx;
  681. // }
  682. }
  683. .all_sum {
  684. font-size: 28rpx;
  685. font-weight: 800;
  686. color: #303030;
  687. margin-left: 35rpx;
  688. }
  689. .checkall {
  690. font-weight: 500;
  691. color: #969696;
  692. font-size: 28rpx;
  693. }
  694. }
  695. .half_circle {
  696. position: fixed;
  697. bottom: 0rpx;
  698. width: 100%;
  699. left: 0;
  700. height: 20rpx;
  701. border: 1rpx solid;
  702. display: flex;
  703. justify-content: center;
  704. .bulge {
  705. width: 110rpx;
  706. height: 55rpx;
  707. border-radius: 55px 55px 0px 0px;
  708. background-color: #fff;
  709. }
  710. }
  711. </style>