index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963
  1. <template>
  2. <view class="pages" :style="{'min-height':h+'px','padding-top':(mt)+'px'}">
  3. <c-nav-bar title="商品管理"></c-nav-bar>
  4. <view class="tb">
  5. <view class="tabs">
  6. <view v-for="(item,index) in tabList" :key="index" @tap="changeTab1(index)">
  7. <text :class="index==current?'active':''">{{item.name}}</text>
  8. <text v-if="index==current">({{roomType.length}})</text>
  9. </view>
  10. </view>
  11. </view>
  12. <!-- 房型数量 -->
  13. <view class="">
  14. <view class="typeNum">
  15. <view class="left" style="font-size: 24rpx; color: #777;" @click="areaShowed()">
  16. <text :class="areaShow==true?'active':''" style="margin-right: 20rpx;">上架时间</text>
  17. <u-icon name="arrow-down-fill" bold='true' v-if="areaShow==false" size="20" labelPos="left"
  18. labelSize="26"></u-icon>
  19. <u-icon name="arrow-up-fill" bold='true' v-else color="#007a68" labelColor='#007a68' size="20"
  20. labelPos="left" labelSize="26"></u-icon>
  21. </view>
  22. <view class="right" @click="showList">
  23. <view class="image">
  24. <image src="https://i.ringzle.com/file/20240313/f3d301b3bc4544ffaf5a0d96a761dd00.png" mode="">
  25. </image>
  26. </view>
  27. <view class="text">
  28. 批量操作
  29. </view>
  30. </view>
  31. </view>
  32. <!-- 区域筛选 -->
  33. <view class="contented" :style="{'height':(h-mt)+'px'}" v-show="areaShow">
  34. <view class="custom_popup">
  35. <view class="types">
  36. <view class="pricequjian" style="height: 240rpx;">
  37. <view class="jiage" v-for="(item, index) in list1" :key="index"
  38. @click="clickareaShow(item, index)">
  39. <view class="contentpeice">
  40. <view class="title" :class="{'Doublactive': areaShowIndex == index}">
  41. {{item.name}}
  42. </view>
  43. <view class="image" v-if="areaShowIndex == index">
  44. <image
  45. src="https://i.ringzle.com/file/20240316/16dd69efb40242de83da8207539ec73e.png"
  46. mode=""></image>
  47. </view>
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. <!-- 房型选择 -->
  56. <view class="type" v-for="item,index in roomType" :key="index">
  57. <view class="left" v-if="Selected==true">
  58. <view class="image">
  59. <image @tap="selectPerson()"
  60. :src="isSelect?'https://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
  61. </image>
  62. </view>
  63. </view>
  64. <!-- <view @click="goEditTypeInfo(item.houseBaseId)" style="width: 100%;"> -->
  65. <view style="width: 100%;">
  66. <view class="right">
  67. <view class="right-left">
  68. <image :src="item.cover" mode=""></image>
  69. </view>
  70. <view class="right-right">
  71. <view class="top">
  72. <text style="font-size: 30rpx; color: #333;">{{item.comboName}}</text>
  73. </view>
  74. <view class="under">
  75. <view style="font-size: 24rpx; color: #777;">销量:{{item.saleNums}}</view>
  76. <view style="font-size: 36rpx; color: #FF4141; font-weight: Bold; margin-top: 16rpx;">
  77. ¥{{item.price}}</view>
  78. </view>
  79. </view>
  80. </view>
  81. <view class="type-btn">
  82. <view class="type-btn-left">
  83. </view>
  84. <view class="type-btn-right">
  85. <view class="" @click="del(item)">
  86. 删除
  87. </view>
  88. <view class="">
  89. 改价格
  90. </view>
  91. <view class="" @click="Undered(item)" v-if="item.status==1">
  92. 下架
  93. </view>
  94. <view class="" @click="Undered(item)" v-else>
  95. 上架
  96. </view>
  97. </view>
  98. </view>
  99. </view>
  100. </view>
  101. <!-- 批量按钮 -->
  102. <view class="btn-btn" v-if="Selected==true">
  103. <view class="bottom-btn">
  104. <view class="left">
  105. <view class="image">
  106. <image @tap="selectPerson()"
  107. :src="isSelect?'https://i.ringzle.com/file/20240228/c741a340e19642c59473e6f4a6d2f4be.png':'https://i.ringzle.com/file/20231027/db588133d67548fc82dfb0d128eac9a8.png'">
  108. </image>
  109. </view>
  110. <view class="text">
  111. 已选:1
  112. </view>
  113. </view>
  114. <view class="right">
  115. <view class="right-btn">
  116. 批量下架
  117. </view>
  118. <view class="right-btn" @click="Pricing()">
  119. 批量定价
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. <!-- 新增按钮 -->
  125. <view class="btn-btn" @click="addType()" v-else>
  126. <view class="btn">
  127. 添加商品
  128. </view>
  129. </view>
  130. <u-popup :show="showPricing" @close="close" :round="30">
  131. <view class="pop-pop">
  132. <view class="hander-one">
  133. <view class="image">
  134. <image src="https://i.ringzle.com/file/20240317/fdb4de4c4413429bb5a98b3f6c2bd856.png" mode="">
  135. </image>
  136. </view>
  137. <view class="text">
  138. <view class="text1">
  139. 删除选中的商品
  140. </view>
  141. <view class="text2">
  142. 删除后的商品不可在前台继续售卖,是否继续
  143. </view>
  144. </view>
  145. </view>
  146. <view class="hander-two">
  147. <view class="pop-btn-del" @click="showPricing=false">
  148. 取消
  149. </view>
  150. <view class="pop-btn-add" @click="GoOndel()">
  151. 继续提交
  152. </view>
  153. </view>
  154. </view>
  155. </u-popup>
  156. <u-popup :show="showPricingUnder" @close="close" :round="30">
  157. <view class="pop-pop">
  158. <view class="hander-one">
  159. <view class="image">
  160. <image src="https://i.ringzle.com/file/20240317/fdb4de4c4413429bb5a98b3f6c2bd856.png" mode="">
  161. </image>
  162. </view>
  163. <view class="text">
  164. <view class="text1" v-if="Shelves==false">
  165. 下架选中的商品
  166. </view>
  167. <view class="text1" v-else>
  168. 上架选中的商品
  169. </view>
  170. <view class="text2" v-if="Shelves==false">
  171. 下架后商品不可在前台继续售卖,是否继续?
  172. </view>
  173. <view class="text2" v-else>
  174. 确定上架售卖吗?是否继续?
  175. </view>
  176. </view>
  177. </view>
  178. <view class="hander-two">
  179. <view class="pop-btn-del" @click="showPricingUnder=false">
  180. 取消
  181. </view>
  182. <view class="pop-btn-add" @click="GoOnUnder()">
  183. 继续提交
  184. </view>
  185. </view>
  186. </view>
  187. </u-popup>
  188. <view class="mainContain">
  189. <!-- <view class="nodata" v-if='dataList.length==0'>
  190. <NoData></NoData>
  191. </view> -->
  192. </view>
  193. </view>
  194. </template>
  195. <script>
  196. import TopTabs from '@/components/TopTabs/topTabs.vue';
  197. // import NoData from '../../components/NoData/index.vue';
  198. export default {
  199. components: {
  200. TopTabs,
  201. // NoData
  202. },
  203. data() {
  204. return {
  205. h: uni.getSystemInfoSync().windowHeight,
  206. mt: uni.getSystemInfoSync().statusBarHeight + 44,
  207. current: 0,
  208. tabList: [{
  209. name: '出售中'
  210. },
  211. {
  212. name: '待上架'
  213. },
  214. ],
  215. homestayId: uni.getStorageSync('homestayId') || 0,
  216. roomType: [],
  217. isSelect: false,
  218. Selected: false,
  219. showPricing: false,
  220. showPricingUnder: false,
  221. Shelves: false,
  222. areaShow: false,
  223. list1: [{
  224. name: '创建时间'
  225. },
  226. {
  227. name: '上架时间'
  228. },
  229. {
  230. name: '价格从高到低'
  231. },
  232. {
  233. name: '价格从低到高'
  234. },
  235. // {
  236. // name: '销量从高到低'
  237. // },
  238. ],
  239. areaShowIndex: null,
  240. fromData: {
  241. homestayId: uni.getStorageSync('homestayId'),
  242. limit: 10,
  243. page: 1,
  244. order: '',
  245. orderField: "",
  246. status: 1
  247. },
  248. ids: [],
  249. obj: {}
  250. }
  251. },
  252. onLoad(option) {
  253. console.log(option);
  254. // if (uni.getStorageSync('merchantType') == 4) {
  255. this.getRepast()
  256. // } else {
  257. // }
  258. },
  259. methods: {
  260. // 添加商品
  261. addType() {
  262. uni.navigateTo({
  263. url: '/pages/HotelMerchandise/addCommodity'
  264. })
  265. },
  266. close() {
  267. this.showPricing = false
  268. this.showPricingUnder = false
  269. },
  270. // 删除商品
  271. del(item) {
  272. // let ids = []
  273. this.ids.push(item.id)
  274. this.showPricing = true
  275. },
  276. GoOndel() {
  277. this.$api.del('/merchant/hotel/repast', ids).then(res => {
  278. console.log(res);
  279. if (res.data.code == 0) {
  280. this.getRepast()
  281. this.showPricing = false
  282. this.ids = []
  283. } else this.$showToast(res.data.msg);
  284. })
  285. },
  286. // 上下架商品
  287. Undered(item) {
  288. this.ids.push(item.id)
  289. this.showPricingUnder = true
  290. if (item.status == 1) {
  291. this.obj = {
  292. ids: this.ids,
  293. status: 0
  294. }
  295. } else {
  296. this.Shelves = true
  297. this.obj = {
  298. ids: this.ids,
  299. status: 1
  300. }
  301. }
  302. },
  303. GoOnUnder() {
  304. this.$api.post('/merchant/hotel/repast/batchPutAway', this.obj).then(res => {
  305. console.log(res);
  306. if (res.data.code == 0) {
  307. this.getRepast()
  308. this.showPricingUnder = false
  309. this.ids = []
  310. } else this.$showToast(res.data.msg);
  311. })
  312. },
  313. getRepast() {
  314. this.Shelves = false
  315. this.$api.get('/merchant/hotel/repast/page', this.fromData).then(res => {
  316. console.log(res);
  317. this.roomType = res.data.data.list
  318. })
  319. },
  320. // 区域筛选
  321. clickareaShow(e, i) {
  322. console.log('111111111111111111', e, i)
  323. this.areaShowIndex = i
  324. },
  325. // 上架时间
  326. areaShowed() {
  327. console.log(123);
  328. this.areaShow = !this.areaShow
  329. },
  330. changeTab1(index) {
  331. console.log(index);
  332. this.current = index;
  333. if (index == 0) {
  334. this.fromData.status = 1
  335. this.getRepast()
  336. } else {
  337. this.fromData.status = 0
  338. this.getRepast()
  339. }
  340. },
  341. // 批量显示
  342. showList() {
  343. this.Selected = !this.Selected
  344. },
  345. }
  346. }
  347. </script>
  348. <style lang="scss" scoped>
  349. .Doublactive {
  350. // background-color: #F0F7F6 !important;
  351. color: #007A69 !important;
  352. // border: 1px solid #007A69 !important;
  353. }
  354. .contented {
  355. width: 100%;
  356. padding: 0 24rpx;
  357. box-sizing: border-box;
  358. position: relative;
  359. }
  360. .custom_popup {
  361. width: 100%;
  362. height: 100%;
  363. background: rgba(0, 0, 0, .4);
  364. top: 0;
  365. left: 0;
  366. position: absolute;
  367. z-index: 999;
  368. .types {
  369. width: 100%;
  370. padding: 30rpx 30rpx 56rpx;
  371. box-sizing: border-box;
  372. background: #FFFFFF;
  373. .pricequjian {
  374. width: 100%;
  375. .contentpeice {
  376. width: 100%;
  377. display: flex;
  378. justify-content: space-between;
  379. margin: 15rpx 0;
  380. .title {
  381. font-weight: Regular;
  382. font-size: 28rpx;
  383. color: #333333;
  384. }
  385. .image {
  386. width: 28rpx;
  387. height: 20rpx;
  388. image {
  389. width: 100%;
  390. height: 100%;
  391. }
  392. }
  393. }
  394. }
  395. }
  396. }
  397. .pages {
  398. background: #F5F8FA;
  399. box-sizing: border-box;
  400. .tb {
  401. width: 100%;
  402. top: 0;
  403. left: 0;
  404. z-index: 999;
  405. .searchBoxParent {
  406. width: 100%;
  407. background: #fff;
  408. padding: 20rpx 24rpx 6rpx;
  409. box-sizing: border-box;
  410. .searchBox {
  411. width: 100%;
  412. background-color: #fff;
  413. }
  414. }
  415. .tabs {
  416. background: #fff;
  417. padding: 26rpx 0;
  418. display: flex;
  419. align-items: center;
  420. width: 100%;
  421. &>view {
  422. width: 25%;
  423. font-size: 28rpx;
  424. font-family: PingFangSC-Regular, PingFang SC;
  425. font-weight: 400;
  426. color: black;
  427. line-height: 40rpx;
  428. position: relative;
  429. text-align: center;
  430. }
  431. .active {
  432. font-size: 32rpx;
  433. font-family: PingFang-SC-Bold, PingFang-SC;
  434. font-weight: bold;
  435. color: black;
  436. line-height: 45rpx;
  437. }
  438. .active::after {
  439. position: absolute;
  440. content: '';
  441. width: 50rpx;
  442. height: 8rpx;
  443. background: #007A69;
  444. bottom: -26rpx;
  445. left: 60%;
  446. margin-left: -42rpx;
  447. }
  448. }
  449. }
  450. .green {}
  451. .mainContain {
  452. display: flex;
  453. flex-direction: column;
  454. padding: 0 20rpx;
  455. .nodata {
  456. background: white;
  457. }
  458. .card {
  459. background: #fff;
  460. border-radius: 16rpx;
  461. margin: 20rpx 0;
  462. padding: 20rpx;
  463. .header {
  464. display: flex;
  465. justify-content: space-between;
  466. border-bottom: 1px #f3f3f3 solid;
  467. padding: 20rpx;
  468. .red {
  469. color: indianred;
  470. }
  471. .green {
  472. color: #999999;
  473. }
  474. .blue {
  475. color: #1372FF;
  476. }
  477. .grey {
  478. color: #4C5F76;
  479. }
  480. .orange {
  481. color: #FF9100;
  482. }
  483. }
  484. .mainContent {
  485. // border-bottom: 1px #f3f3f3 solid;
  486. display: flex;
  487. padding: 20rpx 0;
  488. // justify-content: space-evenly;
  489. .image {
  490. background-repeat: no-repeat;
  491. background-size: cover;
  492. width: 198rpx;
  493. height: 180rpx;
  494. border-radius: 16rpx;
  495. }
  496. .middle {
  497. padding-top: 16rpx;
  498. color: #777777;
  499. // display: flex;
  500. // flex-direction: column;
  501. // justify-content: space-between;
  502. margin-left: 25rpx;
  503. width: 100%;
  504. .title {
  505. font-weight: 700;
  506. font-size: 32rpx;
  507. color: black;
  508. }
  509. .info {
  510. padding-top: 30rpx;
  511. color: #777777;
  512. // display: flex;
  513. // flex-direction: column;
  514. &>span {
  515. margin-top: 10rpx;
  516. }
  517. }
  518. }
  519. .price {
  520. color: red;
  521. text-align: center;
  522. height: 100%;
  523. align-items: center;
  524. align-self: center;
  525. font-size: 29rpx;
  526. font-weight: 700;
  527. }
  528. }
  529. .bottom {
  530. // padding: 30rpx 20rpx;
  531. display: flex;
  532. justify-content: flex-end;
  533. .detail {
  534. // border: 1rpx solid darkgrey;
  535. border-radius: 16rpx;
  536. color: darkgrey;
  537. padding: 13rpx 34rpx;
  538. background-color: #F6F6F6;
  539. font-size: 26rpx;
  540. color: #333333;
  541. font-weight: Regular;
  542. }
  543. .del {
  544. border-radius: 16rpx;
  545. color: darkgrey;
  546. padding: 13rpx 34rpx;
  547. background-color: #007A69;
  548. font-size: 26rpx;
  549. color: #fff;
  550. font-weight: Regular;
  551. }
  552. }
  553. }
  554. }
  555. }
  556. .u-input__content {
  557. margin-top: 22rpx !important;
  558. }
  559. .uicon-arrow-right,
  560. .uicon-close-circle-fill {
  561. margin-top: 32rpx !important;
  562. margin-right: 20rpx !important;
  563. }
  564. .pop-pop {
  565. height: 30vh;
  566. padding: 46rpx 20rpx 0;
  567. border-radius: 16rpx 16rpx 0 0;
  568. .hander-one {
  569. // display: flex;
  570. // justify-content: space-between;
  571. text-align: center;
  572. .image {
  573. margin: 0 auto;
  574. width: 64rpx;
  575. height: 64rpx;
  576. image {
  577. width: 100%;
  578. height: 100%;
  579. }
  580. }
  581. .text {
  582. .text1 {
  583. margin-top: 24rpx;
  584. font-size: 32rpx;
  585. color: #111111;
  586. font-weight: bold;
  587. }
  588. .text2 {
  589. font-size: 28rpx;
  590. color: #999999;
  591. font-weight: Regular;
  592. margin: 23rpx 0 64rpx;
  593. }
  594. }
  595. }
  596. .hander-two {
  597. display: flex;
  598. justify-content: space-between;
  599. align-items: center;
  600. margin: 30rpx 0;
  601. .pop-btn-del {
  602. margin: 0 15rpx;
  603. padding: 22rpx 136rpx;
  604. font-size: 32rpx;
  605. color: #111111;
  606. font-weight: Regular;
  607. background-color: #F0F2F5;
  608. border-radius: 50rpx;
  609. }
  610. .pop-btn-add {
  611. border-radius: 50rpx;
  612. margin: 0 15rpx;
  613. background-color: #1372FF;
  614. padding: 22rpx 100rpx;
  615. font-size: 32rpx;
  616. color: #FFFFFF;
  617. font-weight: Regular;
  618. }
  619. }
  620. .hander-three {
  621. display: flex;
  622. border: 1rpx solid #CCCCCC;
  623. border-radius: 16rpx;
  624. justify-content: space-between;
  625. height: 102rpx;
  626. line-height: 102rpx;
  627. .hander-three-text {
  628. width: 200rpx;
  629. text-align: left;
  630. display: flex;
  631. justify-content: space-between;
  632. margin: 0 20rpx;
  633. }
  634. .hander-three-input {
  635. width: 55%;
  636. }
  637. .hander-three-icon {
  638. height: 102rpx;
  639. line-height: 102rpx;
  640. }
  641. }
  642. .hander-four {
  643. margin-top: 30rpx;
  644. display: flex;
  645. border-radius: 16rpx;
  646. justify-content: space-between;
  647. border: 1rpx solid #CCCCCC;
  648. height: 102rpx;
  649. line-height: 102rpx;
  650. .hander-three-text {
  651. width: 200rpx;
  652. text-align: center;
  653. display: flex;
  654. justify-content: space-between;
  655. margin: 0 20rpx;
  656. }
  657. .hander-three-input {
  658. width: 55%;
  659. }
  660. .hander-three-icon {
  661. height: 102rpx;
  662. line-height: 102rpx;
  663. }
  664. }
  665. }
  666. .page {
  667. background: #F3F4F4;
  668. padding-bottom: 260rpx;
  669. box-sizing: border-box;
  670. overflow-y: auto;
  671. overflow-x: auto;
  672. }
  673. .typeNum {
  674. // width: 100%;
  675. height: 73rpx;
  676. display: flex;
  677. justify-content: space-between;
  678. padding: 23rpx 24rpx;
  679. align-items: center;
  680. .left {
  681. display: flex;
  682. align-items: center;
  683. .active {
  684. color: #007A69;
  685. }
  686. }
  687. .right {
  688. display: flex;
  689. align-items: center;
  690. .image {
  691. margin: 0 10rpx;
  692. width: 30rpx;
  693. height: 30rpx;
  694. image {
  695. width: 100%;
  696. height: 100%;
  697. }
  698. }
  699. .text {
  700. font-size: 28rpx;
  701. font-weight: Regular;
  702. color: #333333;
  703. }
  704. }
  705. }
  706. .type {
  707. margin: 0 auto;
  708. border-radius: 10rpx 10rpx 10rpx 10rpx;
  709. width: 86%;
  710. // height: 114rpx;
  711. background-color: #fff;
  712. padding: 30rpx;
  713. margin-bottom: 20rpx;
  714. display: flex;
  715. .left {
  716. height: 114rpx;
  717. line-height: 200rpx;
  718. margin-right: 20rpx;
  719. .image {
  720. margin: 0 10rpx;
  721. width: 30rpx;
  722. height: 30rpx;
  723. image {
  724. width: 100%;
  725. height: 100%;
  726. }
  727. }
  728. }
  729. .right {
  730. width: 100%;
  731. display: flex;
  732. .right-left {
  733. width: 172rpx;
  734. height: 172rpx;
  735. border-radius: 16rpx;
  736. margin-right: 22rpx;
  737. image {
  738. width: 100%;
  739. height: 100%;
  740. border-radius: 16rpx;
  741. }
  742. }
  743. .right-right {}
  744. }
  745. .type-btn {
  746. width: 100%;
  747. display: flex;
  748. justify-content: space-between;
  749. .type-btn-left {
  750. width: 50rpx;
  751. }
  752. .type-btn-right {
  753. display: flex;
  754. view {
  755. padding: 15rpx 23rpx;
  756. background-color: #F6F6F6;
  757. font-size: 24rpx;
  758. color: #333;
  759. font-weight: Regular;
  760. margin-right: 20rpx;
  761. border-radius: 50rpx;
  762. }
  763. }
  764. }
  765. }
  766. .top {
  767. display: flex;
  768. justify-content: space-between;
  769. }
  770. .under {
  771. margin-top: 20rpx;
  772. // display: flex;
  773. // justify-content: space-between;
  774. }
  775. .btn-btn {
  776. width: 100%;
  777. height: 136rpx;
  778. background-color: #fff;
  779. position: fixed;
  780. bottom: 0;
  781. padding: 30rpx 0 0;
  782. // margin: 0 auto;
  783. z-index: 9;
  784. // margin-top: 30rpx;
  785. // margin-left: 30rpx;
  786. .bottom-btn {
  787. display: flex;
  788. justify-content: space-between;
  789. margin: 0 24rpx;
  790. .left {
  791. width: 25%;
  792. display: flex;
  793. align-items: center;
  794. .image {
  795. width: 38rpx;
  796. height: 38rpx;
  797. margin: 0 10rpx;
  798. image {
  799. width: 100%;
  800. height: 100%;
  801. }
  802. }
  803. }
  804. .right {
  805. width: 75%;
  806. display: flex;
  807. justify-content: space-evenly;
  808. .right-btn {
  809. width: 148rpx;
  810. height: 80rpx;
  811. line-height: 80rpx;
  812. background-color: #1372FF;
  813. border-radius: 16rpx;
  814. font-size: 26rpx;
  815. color: #fff;
  816. font-weight: Regular;
  817. text-align: center;
  818. }
  819. }
  820. }
  821. }
  822. .btn {
  823. margin: 0 auto;
  824. width: 690rpx;
  825. height: 96rpx;
  826. background-color: #1372FF;
  827. color: #fff;
  828. display: flex;
  829. justify-content: center;
  830. align-items: center;
  831. font-size: 34rpx;
  832. border-radius: 48rpx;
  833. }
  834. </style>