shoppingCart.vue 18 KB

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