shoppingCart.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  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 :src="logo" style="width: 178rpx;height: 31rpx;margin-left: 30rpx;"></image>
  6. </view>
  7. </u-navbar>
  8. <view v-show="isLogin">
  9. <view v-if="!list.length"><u-empty text="购物车为空" margin-top="500" mode="car"></u-empty></view>
  10. <view v-else>
  11. <view class="shop_list">
  12. <uni-swipe-action>
  13. <u-checkbox-group @change="checkboxGroupChange" placement="column" >
  14. <view>
  15. <uni-swipe-action-item :autoClose="false" @change="swipeChange($event, item)" :show="item.show" v-for="(item, index) in list" :key="index">
  16. <view class="goods-item">
  17. <view class="item-wrap">
  18. <view class="goods-msg">
  19. <u-checkbox @change="checkboxChange" :disabled="item.goodsStatus == 0" style="width: 100%;" v-model="list[index].checked" shape="circle" :name="index">
  20. <view class="flex">
  21. <view class="goods-img">
  22. <image :src="$method.splitImgHost(item.coverUrl, true)"></image>
  23. </view>
  24. <view class="flex__auto">
  25. <view class="goods-title">{{ item.goodsName }}</view>
  26. <view class="priceTag">¥ {{ item.standPrice }}</view>
  27. <view class="priceTag" v-if="item.goodsStatus == 0">该商品已下架</view>
  28. </view>
  29. </view>
  30. </u-checkbox>
  31. </view>
  32. <view class="goods-select" v-if="item.templateType != null && item.goodsType == 1">
  33. <u-line color="#D6D6DB" />
  34. <view class="goods-select__type" v-if="item.templateType == 'class'"
  35. @click="openPopup(0, item, index)">
  36. <view style="color: #666666;font-size: 24rpx;">{{ !item.gradObj.className ? '选择班级' : item.gradObj.className }}</view>
  37. <view><u-icon name="arrow-right" color="#999999" size="28"></u-icon></view>
  38. </view>
  39. <view class="goods-select__type" v-if="item.templateType == 'apply'"
  40. @click="openPopup(1, item, index)"
  41. >
  42. <view style="color: #666666;font-size: 24rpx;">
  43. {{
  44. !item.applyAreas.areaName
  45. ? '报考地区'
  46. : item.examDate.examineName + '-' + item.applyAreas.areaName + '-' + item.applyAreas.cityName
  47. }}
  48. </view>
  49. <view><u-icon name="arrow-right" color="#999999" size="28"></u-icon></view>
  50. </view>
  51. </view>
  52. </view>
  53. </view>
  54. <template v-slot:right>
  55. <view class="operate" @click="delItem(item)">
  56. <view><text>删除</text></view>
  57. </view>
  58. </template>
  59. </uni-swipe-action-item>
  60. </view>
  61. </u-checkbox-group>
  62. </uni-swipe-action>
  63. </view>
  64. </view>
  65. <u-popup v-model="show" mode="bottom" border-radius="40">
  66. <view class="popup_box">
  67. <view style="margin-bottom: 20rpx;">
  68. <view class="line1"></view>
  69. <view class="grade">选择班级</view>
  70. </view>
  71. <u-line color="#D6D6DB" />
  72. <view>
  73. <scroll-view scroll-y="true" style="height: 536rpx;">
  74. <view>
  75. <u-radio-group v-model="gradeValue">
  76. <view v-for="(item, index) in gradeList" :key="index">
  77. <view style="display: flex;align-items: center;padding: 20rpx;">
  78. <view>
  79. <u-radio shape="circle" :name="index">
  80. <view :class="index == gradeValue? 'white-box blue-box' : 'white-box'">
  81. <view>
  82. <view class="blackTxt">{{ item.className }}</view>
  83. <view class="redTxt" v-if="item.classEndTime">有效期至:{{ $method.timestampToTime(item.classEndTime) }}</view>
  84. <view class="redTxt" v-if="item.classEndTime">本班还剩{{ $method.GetRTime(item.classEndTime) }}天将结束学习</view>
  85. </view>
  86. </view>
  87. </u-radio>
  88. </view>
  89. </view>
  90. </view>
  91. </u-radio-group>
  92. </view>
  93. </scroll-view>
  94. </view>
  95. <view class="confrim-btn"><view class="okBtn" @click="okPopup(0)">确定</view></view>
  96. </view>
  97. </u-popup>
  98. <u-popup v-model="show1" mode="bottom" border-radius="40">
  99. <view class="popup_box">
  100. <view style="margin-bottom: 20rpx;">
  101. <view class="line1"></view>
  102. <view class="grade">选择考期/地区</view>
  103. </view>
  104. <u-line color="#D6D6DB" />
  105. <view style="display: flex;height: 536rpx;">
  106. <view style="width: 50%;">
  107. <view class="topTxt">考期</view>
  108. <view>
  109. <picker-view :indicator-style="indicatorStyle" :value="value" @change="bindChangeE" class="picker-view">
  110. <picker-view-column>
  111. <view class="picker-item" v-for="(item, index) in examine" :key="index">{{ item.examineName }}</view>
  112. </picker-view-column>
  113. </picker-view>
  114. </view>
  115. </view>
  116. <view style="width: 50%;">
  117. <view class="topTxt">地区</view>
  118. <view>
  119. <picker-view :indicator-style="indicatorStyle" :value="value" @change="bindChange" class="picker-view">
  120. <picker-view-column>
  121. <view class="picker-item" v-for="(item, index) in provinceList" :key="index">{{ item.areaName }}</view>
  122. </picker-view-column>
  123. <picker-view-column>
  124. <view class="picker-item" v-for="(item, index) in cityList" :key="index">{{ item.areaName }}</view>
  125. </picker-view-column>
  126. </picker-view>
  127. </view>
  128. </view>
  129. </view>
  130. <view class="confrim-btn"><view class="okBtn" @click="okPopup(1)">确定</view></view>
  131. </view>
  132. </u-popup>
  133. </view>
  134. <view v-show="!isLogin">
  135. <view style="display: flex;align-items:center;flex-direction: column;margin-top: 40%;font-size: 32rpx;">
  136. <view style="color: #999999;">您还没有登录哦~</view>
  137. <view style="margin-top: 30rpx;"><u-button type="primary" @click="login">去登录</u-button></view>
  138. </view>
  139. </view>
  140. <view class="bottomBox" v-if="!hideBuyState">
  141. <view class="bottons_all">
  142. <view class="check_alls">
  143. <u-checkbox label="all" name="all" shape="circle" @change="checkboxAllChange" v-model="allChecked"></u-checkbox>
  144. <text class="checkall">全选</text>
  145. <!-- <text class="rmb">¥</text> -->
  146. <view class="all_sum">结算:</view>
  147. <view class="priceTag">¥ {{ toFixed(totalPrice) }}</view>
  148. </view>
  149. <view style="display: flex;align-items: center;">
  150. <!-- <view style="color: #999999;margin-right: 8rpx;">合计</view> -->
  151. <view style="display: flex;color: #FFFFFF;align-items: center;" @click="goBuy()">
  152. <view class="btn2">结算</view>
  153. <!-- <u-icon name="arrow-right" color="#fff" size="30"></u-icon> -->
  154. </view>
  155. </view>
  156. </view>
  157. </view>
  158. </view>
  159. </template>
  160. <script>
  161. import { mapGetters } from 'vuex';
  162. import config from '@/common/config'
  163. export default {
  164. data() {
  165. return {
  166. logo: config.TOP_LOGO,
  167. gradeValue: -1,
  168. isLogin: false,
  169. allChecked: false,
  170. checkboxValue1: [],
  171. list: [],
  172. value1: '',
  173. show: false,
  174. show1: false,
  175. totalPrice: 0.0,
  176. isOld: false,
  177. checkboxList: [],
  178. gradeList: [],
  179. examine: [],
  180. provinceList: [],
  181. cityList: [],
  182. detail: {},
  183. detailIndex: -1,
  184. applyObj: {
  185. applyAreasJson: null,
  186. examDateJson: null
  187. },
  188. pAreaIndex: 0,
  189. cAreaIndex: 0,
  190. examIndex: 0,
  191. current: 3,
  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. return num.toFixed(2)
  211. },
  212. bindChangeE(e) {
  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. },
  352. login() {
  353. uni.navigateTo({ url: '/pages4/login/login' });
  354. },
  355. cartList() {
  356. let self = this;
  357. this.allChecked = false;
  358. this.totalPrice = 0.0;
  359. this.checkboxList = [];
  360. this.$api.cartList().then(res => {
  361. if (res.data.code == 200) {
  362. for (let i = 0; i < res.data.rows.length; i++) {
  363. let item = res.data.rows[i];
  364. item.checked = false;
  365. if (item.status != 1 || item.goodsStatus != 1) {
  366. item.disabled = true;
  367. } else {
  368. item.disabled = false;
  369. }
  370. item.show = false;
  371. item.gradObj = {}; //存储班级
  372. item.applyAreas = {};
  373. item.examDate = {};
  374. }
  375. self.list = res.data.rows;
  376. }
  377. });
  378. },
  379. delItem(item) {
  380. let self = this;
  381. this.$api.deleteCart(item.id).then(res => {
  382. if (res.data.code == 200) {
  383. self.cartList();
  384. }
  385. });
  386. },
  387. swipeChange(e, item) {
  388. item.show = e;
  389. },
  390. goBuy() {
  391. if (this.checkboxList.length == 0) {
  392. uni.showModal({
  393. title: '提示',
  394. content: '请选择商品',
  395. showCancel: false
  396. });
  397. return;
  398. }
  399. let checkGoodsList = [];
  400. for (let i = 0; i < this.checkboxList.length; i++) {
  401. let index = this.checkboxList[i];
  402. let item = this.list[index];
  403. checkGoodsList.push(item);
  404. if (item.templateType == 'class' && item.goodsType == 1) {
  405. if (!item.gradObj.className) {
  406. uni.showModal({
  407. title: '提示',
  408. content: '请选择班级',
  409. showCancel: false
  410. });
  411. return false;
  412. }
  413. }
  414. if (item.templateType == 'apply' && item.goodsType == 1) {
  415. // if (!item.applyAreas.areaName) {
  416. // uni.showModal({
  417. // title: '提示',
  418. // content: '请选择报考地区',
  419. // showCancel: false
  420. // });
  421. // return false;
  422. // }
  423. }
  424. }
  425. this.$store.commit('setShoppingCartList', { shoppingCartList: checkGoodsList });
  426. this.$navTo.togo('/pages2/order/confirm_pay?fromCart=true');
  427. },
  428. checkboxChange(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. this.totalPrice += this.list[i].standPrice;
  434. }
  435. }
  436. })
  437. },
  438. checkboxAllChange(n) {
  439. this.$nextTick(() => {
  440. this.totalPrice = 0.0;
  441. this.checkboxList = [];
  442. if (n.value) {
  443. for (let i = 0; i < this.list.length; i++) {
  444. this.list[i].checked = true;
  445. this.totalPrice += this.list[i].standPrice;
  446. this.checkboxList.push(i);
  447. }
  448. } else {
  449. for (let i = 0; i < this.list.length; i++) {
  450. this.list[i].checked = false;
  451. }
  452. }
  453. })
  454. }
  455. }
  456. };
  457. </script>
  458. <style>
  459. page {
  460. background-color: #eaeef1;
  461. }
  462. </style>
  463. <style scoped lang="scss">
  464. .shop_list {
  465. padding: 16rpx 16rpx 180rpx 16rpx;
  466. // padding-bottom: 98rpx;
  467. }
  468. .operate {
  469. background-color: #ff3b30;
  470. color: #ffffff;
  471. border-top-right-radius: 16rpx;
  472. border-bottom-right-radius: 16rpx;
  473. margin-bottom: 20rpx;
  474. display: flex;
  475. align-items: center;
  476. justify-content: center;
  477. padding: 0 20rpx;
  478. }
  479. .picker-item {
  480. height: 50px;
  481. align-items: center;
  482. justify-content: center;
  483. text-align: center;
  484. }
  485. .picker-view {
  486. width: 100%;
  487. height: 420rpx;
  488. text-align: center;
  489. }
  490. .topTxt {
  491. font-size: 30rpx;
  492. color: #666666;
  493. text-align: center;
  494. padding: 20rpx 0;
  495. }
  496. .blackTxt {
  497. font-size: 30rpx;
  498. font-family: PingFang SC;
  499. font-weight: bold;
  500. color: #333333;
  501. }
  502. .redTxt {
  503. font-size: 30rpx;
  504. font-family: PingFang SC;
  505. color: #ff2d55;
  506. margin-top: 13rpx;
  507. }
  508. .blue-box {
  509. background: #ebf5ff;
  510. }
  511. .white-box {
  512. width: 646rpx;
  513. border-radius: 24rpx;
  514. align-items: center;
  515. display: flex;
  516. padding-left: 15rpx;
  517. }
  518. .okBtn {
  519. width: 200rpx;
  520. height: 64rpx;
  521. background: linear-gradient(0deg, #015eea, #00c0fa);
  522. border-radius: 32rpx;
  523. color: #ffffff;
  524. text-align: center;
  525. line-height: 64rpx;
  526. }
  527. .confrim-btn {
  528. border-top: 1px solid #eeeeee;
  529. height: 98rpx;
  530. width: 100%;
  531. display: flex;
  532. align-items: center;
  533. justify-content: center;
  534. }
  535. .grade {
  536. height: 23rpx;
  537. font-size: 24rpx;
  538. color: #999999;
  539. margin: 0 auto;
  540. margin-top: 15rpx;
  541. text-align: center;
  542. }
  543. .line1 {
  544. width: 80rpx;
  545. height: 8rpx;
  546. background: #999999;
  547. border-radius: 4rpx;
  548. margin: 0 auto;
  549. margin-top: 15rpx;
  550. }
  551. .popup_box {
  552. height: 700rpx;
  553. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  554. border-radius: 32rpx 32rpx 0rpx 0rpx;
  555. }
  556. .goods-item {
  557. width: 100%;
  558. background: #ffffff;
  559. border-radius: 24rpx;
  560. margin-bottom: 12rpx;
  561. padding: 15rpx 0;
  562. display: flex;
  563. .item-wrap {
  564. width:100%;
  565. .goods-msg {
  566. padding: 0rpx 0rpx 0rpx 22rpx;
  567. display: flex;
  568. align-items:center;
  569. .flex {
  570. display: flex;
  571. padding-bottom: 15rpx;
  572. width:630rpx;
  573. .goods-img {
  574. overflow: hidden;
  575. width: 204rpx;
  576. height: 120rpx;
  577. border-radius: 22rpx;
  578. margin-left: 22rpx;
  579. margin-right: 24rpx;
  580. image {
  581. display: block;
  582. // width: 278rpx;
  583. // height: 156rpx;
  584. width: 100%;
  585. height: 100%;
  586. }
  587. }
  588. &__auto {
  589. flex: 1;
  590. .goods-title {
  591. color: #333333;
  592. font-size: 28rpx;
  593. font-weight: bold;
  594. text-align: right;
  595. width: 378rpx;
  596. overflow:hidden;
  597. text-overflow:ellipsis;
  598. white-space:nowrap;
  599. }
  600. .priceTag {
  601. font-size: 32rpx;
  602. font-family: PingFang SC;
  603. font-weight: bold;
  604. color: #FC3F3F;
  605. display: flex;
  606. // flex-direction: row-reverse;
  607. margin-right: 8rpx;
  608. margin-top: 25rpx;
  609. }
  610. }
  611. }
  612. }
  613. .goods-select {
  614. &__type {
  615. display: flex;
  616. justify-content: space-between;
  617. align-items: center;
  618. height: 50rpx;
  619. padding: 0 15rpx;
  620. }
  621. }
  622. }
  623. }
  624. .btn2 {
  625. font-size: 32rpx;
  626. font-weight: 500;
  627. color: #FFFFFF;
  628. margin-right: 8rpx;
  629. width: 232rpx;
  630. height: 92rpx;
  631. line-height: 92rpx;
  632. text-align: center;
  633. background: #FC3F3F;
  634. border-radius: 120rpx;
  635. }
  636. .bottomBox {
  637. position: fixed;
  638. bottom: 0rpx;
  639. width: 100%;
  640. left: 0;
  641. height: 132rpx;
  642. background-color: #ffffff;
  643. display: flex;
  644. justify-content: space-between;
  645. align-items: center;
  646. padding: 0 32rpx;
  647. box-shadow: 0px -2px 6px 0px rgba(0,0,0,0.1000);
  648. z-index: 9999;
  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. .half_circle {
  695. position: fixed;
  696. bottom: 0rpx;
  697. width: 100%;
  698. left: 0;
  699. height: 20rpx;
  700. border: 1rpx solid;
  701. display: flex;
  702. justify-content: center;
  703. .bulge {
  704. width: 110rpx;
  705. height: 55rpx;
  706. border-radius: 55px 55px 0px 0px;
  707. background-color: #fff;
  708. }
  709. }
  710. </style>