shop.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <u-navbar title=" " @leftClick="leftClick" height="44px" bgColor="rgb(255,255,255,0)" :placeholder="true">
  5. <view class="u-nav-slot" slot="center">
  6. <u-search placeholder="店铺热搜" v-model="keyword" :showAction="false" @search="search"></u-search>
  7. </view>
  8. </u-navbar>
  9. </view>
  10. <view class="box vflex">
  11. <view class="box_top hflex acenter" @click="toDetail">
  12. <image :src="shop.head_img" mode="aspectFill" class="avatar"></image>
  13. <view class="top_name">{{shop.company}}</view>
  14. </view>
  15. <view class="addr hflex acenter jbetween">
  16. <view class="addr_text text_hide">{{shop.address}}</view>
  17. <image src="/static/images/shop/map_icon.png" class="addr_icon"></image>
  18. </view>
  19. <view class="tabs hflex acenter">
  20. <block v-for="(item,index) in tabs" :key="index">
  21. <view class="hflex acenter" style="padding-right: 68rpx;">
  22. <view class="tab_item" :class="tab_active == index ? 'tab_active': ''" @click="changeTab(index)">{{item.name}}</view>
  23. <view class="vflex acenter jcenter" v-if="index == 2">
  24. <u-icon name="arrow-up-fill" :color="color" size="10"></u-icon>
  25. <u-icon name="arrow-down-fill" :color="color2" size="10"></u-icon>
  26. </view>
  27. </view>
  28. </block>
  29. </view>
  30. <view class="menuList hflex jbetween">
  31. <scroll-view scroll-y="true" class="menu_left">
  32. <view class="vflex">
  33. <block v-for="(item,index) in cateList" :key="index">
  34. <view class="left_item text_hide hflex acenter" :class="index == left_active? 'left_active':''" @click="clickTab1(index)">
  35. <text class="text_hide" style="width:100%; text-align: center;">{{item.name}}</text>
  36. </view>
  37. </block>
  38. </view>
  39. </scroll-view>
  40. <scroll-view scroll-y="true" class="menu_right">
  41. <view class="vflex">
  42. <block v-for="(item,index) in pageList" :key="index">
  43. <view class="right_item hflex acenter" @click="toDetail2(item.id)">
  44. <image :src="item.cover[0]" class="item_cover" mode="aspectFill"></image>
  45. <view class="goodsDesc">
  46. <text class="item_title">{{item.name}}</text>
  47. <view class="hflex acenter jbetween">
  48. <view class="item_price">¥{{item.price_selling}}</view>
  49. <image src="/static/images/shop/add-cart.png" style="width: 44rpx;height: 44rpx;" @tap.stop="addCart(index)"></image>
  50. </view>
  51. </view>
  52. </view>
  53. </block>
  54. </view>
  55. </scroll-view>
  56. </view>
  57. <view class="bottom hflex acenter jbetween">
  58. <view class="vflex acenter" @click="tellPhone">
  59. <u-icon name="phone-fill" color="#506dff" size="20"></u-icon>
  60. <view class="text_style1">打电话</view>
  61. </view>
  62. <view class="hflex acenter jcenter btn" @click="contact">
  63. <image class="btn_icon" src="/static/images/shop/consulting.png"></image>
  64. <view class="btn_text">咨询客服</view>
  65. </view>
  66. </view>
  67. </view>
  68. <u-popup :show="norm_show" @close="close" mode="bottom" :round="20" :closeable="true">
  69. <view class="popu">
  70. <view class="hflex acenter">
  71. <image :src="pageList[good_index].items[norm_active].show_image?pageList[good_index].items[norm_active].show_image:pageList[good_index].cover" class="popu_img" mode="aspectFill"></image>
  72. <view class="vflex jbetween popu_right">
  73. <view class="popu_price">¥{{pageList[good_index].items[norm_active].price_selling?pageList[good_index].items[norm_active].price_selling:pageList[good_index].price_selling}}</view>
  74. <view class="popu_norm text_hide">{{normStr?normStr:'选择规格'}}</view>
  75. </view>
  76. </view>
  77. <view class="" v-for="(item,index) in pageList[good_index].specs" :key="index">
  78. <view class="popu_title text_hide">{{item.name}}</view>
  79. <view class="hflex acenter fwrap">
  80. <block v-for="(item2,index2) in item.list" :key="index2">
  81. <view class="popu_box" @click="selectNorm(index,index2)" :class="item2.select?'sele_active':''" v-if="item2.show && item2.check">{{item2.name}}</view>
  82. <view class="popu_box popu_box2" v-else @click="selectNorm2">{{item2.name}}</view>
  83. </block>
  84. </view>
  85. </view>
  86. <view class="hflex acenter jbetween">
  87. <view class="popu_title text_hide">数量</view>
  88. <u-number-box v-model="pageList[good_index].num" @change="changeNum"></u-number-box>
  89. </view>
  90. <view class="sure_btn" @click="sure">确定</view>
  91. </view>
  92. </u-popup>
  93. </view>
  94. </template>
  95. <script>
  96. import $api from '@/static/js/api.js'
  97. var that = ''
  98. export default {
  99. data() {
  100. return {
  101. keyword: '',
  102. shop: {
  103. },
  104. tabs: [
  105. {
  106. index: 0,
  107. name: '全部',
  108. },
  109. {
  110. index: 1,
  111. name: '销量',
  112. },
  113. {
  114. index: 2,
  115. name: '价格',
  116. }
  117. ],
  118. tab_active: 0,
  119. color: '#7D7D7D',
  120. color2: '#7D7D7D',
  121. cateids: '',
  122. normStr: '',
  123. norm: '',
  124. norm_active: -1,
  125. id: '',
  126. left_active: -1,
  127. admin_id: '',
  128. pageList: [],
  129. type1: true,
  130. type2: true,
  131. left_active: -1,
  132. cateList: [],
  133. good_index: 0,
  134. norm_show: false,
  135. num: 1,
  136. }
  137. },
  138. onLoad(options) {
  139. that = this
  140. that.admin_id = options.id
  141. that.getCate()
  142. that.getData()
  143. that.getList()
  144. },
  145. methods: {
  146. // 返回
  147. leftClick() {
  148. console.log('返回');
  149. $api.jump(-1)
  150. },
  151. getData() {
  152. $api.req({
  153. url: '/data/api.Goods/user_info',
  154. method: 'POST',
  155. data: {
  156. admin_id: that.admin_id
  157. }
  158. }, function(res) {
  159. if(res.code == 1) {
  160. that.shop = res.data
  161. }
  162. })
  163. },
  164. getCate() {
  165. $api.req({
  166. url: '/data/api.Goods/getCate',
  167. }, function(res) {
  168. if(res.code == 1) {
  169. that.cateList = res.data
  170. }
  171. })
  172. },
  173. getList() {
  174. $api.req({
  175. url: '/data/api.Goods/getGoods',
  176. data: {
  177. cateids: that.left_active == -1 ? '' : that.cateList[that.left_active].id,
  178. admin_id: that.admin_id,
  179. name: that.keyword,
  180. sales_order: that.tab_active == 1 ? !that.type1 ? 'asc' : 'desc' : '',
  181. price_order: that.tab_active != 2 ? '' : !that.type2 ? 'asc' : 'desc',
  182. }
  183. }, function(res) {
  184. if(res.code == 1) {
  185. that.pageList = res.data.list
  186. for(var i=0;i<that.pageList.length;i++) {
  187. that.pageList[i].cover = that.pageList[i].cover.split('|')
  188. }
  189. }
  190. })
  191. },
  192. search() {
  193. that.getList()
  194. },
  195. toDetail2(id) {
  196. $api.jump('/page_shop/pages/good/detail?id=' + id)
  197. },
  198. // 店铺详情
  199. toDetail() {
  200. $api.jump('/page_shop/pages/good/shopDetail?admin_id=' + that.admin_id)
  201. },
  202. addCart(index) {
  203. that.norm_show = true
  204. that.good_index = index
  205. },
  206. close() {
  207. that.norm_show = false
  208. that.num = 1
  209. },
  210. // 切换tabs
  211. changeTab(e) {
  212. console.log(e);
  213. that.tab_active = e
  214. if(that.tab_active == 0) {
  215. that.left_active = -1
  216. }
  217. if(that.tab_active == 1) {
  218. that.type1 = !that.type1
  219. }
  220. if(that.tab_active == 2) {
  221. that.type2 = !that.type2
  222. if(that.type2) {
  223. that.color = '#506dff'
  224. that.color2 = '#7D7D7D'
  225. } else {
  226. that.color = '#7D7D7D'
  227. that.color2 = '#506dff'
  228. }
  229. }
  230. that.getList()
  231. },
  232. clickTab1(e) {
  233. that.left_active = e
  234. that.getList()
  235. },
  236. // 打电话
  237. tellPhone() {
  238. var value = that.shop.contact_phone
  239. uni.makePhoneCall({
  240. phoneNumber: value //仅为示例
  241. });
  242. },
  243. contact() {
  244. var my = uni.getStorageSync("myUsername");
  245. var nameList = {
  246. myName: my,
  247. your: that.shop.huanxinID,
  248. };
  249. uni.navigateTo({
  250. url: "/pages/chatroom/chatroom?username=" + JSON.stringify(nameList),
  251. });
  252. },
  253. // 选择规格
  254. selectNorm(index,index2) {
  255. for(var i=0;i<that.pageList[that.good_index].specs[index].list.length;i++) {
  256. if(i == index2) {
  257. that.$set(that.pageList[that.good_index].specs[index].list[i],'select',true)
  258. } else {
  259. that.$set(that.pageList[that.good_index].specs[index].list[i],'select',false)
  260. }
  261. }
  262. that.normStr = ''
  263. that.item_id = ''
  264. for(var i=0;i<that.pageList[that.good_index].specs.length;i++) {
  265. for(var j=0;j<that.pageList[that.good_index].specs[i].list.length;j++) {
  266. if(that.pageList[that.good_index].specs[i].list[j].select) {
  267. that.normStr += that.pageList[that.good_index].specs[i].name+'::'+that.pageList[that.good_index].specs[i].list[j].name+';;'
  268. // that.item_id +=
  269. }
  270. }
  271. }
  272. that.normStr = that.normStr.substring(0, that.normStr.length-2)
  273. for(var i=0;i<that.pageList[that.good_index].items.length;i++) {
  274. if(that.pageList[that.good_index].items[i].goods_spec == that.normStr) {
  275. that.norm_active = i
  276. }
  277. }
  278. that.normStr = $api.resetspec(that.normStr)
  279. // that.norm_active = index2
  280. // that.normStr = that.pageData.items[index].goods_spec
  281. // that.normStr = that.norm + ' ' + that.color + ' ' + 'X' + that.pageData.norm.num
  282. },
  283. selectNorm2() {
  284. $api.info('该规格已下架,请重新选择')
  285. },
  286. // 选择数量
  287. changeNum(e) {
  288. that.num = e.value
  289. // that.normStr = that.norm + ' ' + that.color + ' ' + 'X' + that.num
  290. },
  291. sure() {
  292. $api.req({
  293. url: '/data/api.Goods/cart_add',
  294. method: 'POST',
  295. data: {
  296. admin_id: that.pageList[that.good_index].admin_id,
  297. goods_id: that.pageList[that.good_index].id,
  298. item_id: that.pageList[that.good_index].items[that.norm_active].id,
  299. num: that.num
  300. }
  301. }, function(res) {
  302. if(res.code == 1) {
  303. console.log(res);
  304. $api.info(res.info)
  305. that.num = 1
  306. that.close()
  307. }
  308. })
  309. }
  310. },
  311. }
  312. </script>
  313. <style lang="scss" scoped>
  314. .content {
  315. position: relative;
  316. .top {
  317. background: url('https://ship.shipcc.cn/common/nav_bg.png') no-repeat;
  318. background-size: 100%;
  319. box-sizing: border-box;
  320. padding: 30rpx;
  321. height: 540rpx;
  322. .u-nav-slot {
  323. position: absolute;
  324. top: 8rpx;
  325. left: 134rpx;
  326. }
  327. }
  328. .box {
  329. position: absolute;
  330. left: 0;
  331. top: 240rpx;
  332. width: 100%;
  333. min-height: calc(100vh - 240rpx);
  334. background: #FFFFFF;
  335. border-radius: 40rpx 40rpx 0 0;
  336. .box_top {
  337. position: relative;
  338. .avatar {
  339. position: absolute;
  340. left: 30rpx;
  341. top: -52rpx;
  342. width: 148rpx;
  343. height: 148rpx;
  344. border-radius: 50%;
  345. border: 4rpx solid #FFFFFF;
  346. }
  347. .top_name {
  348. font-size: 40rpx;
  349. font-weight: 500;
  350. color: #222222;
  351. line-height: 56rpx;
  352. padding: 20rpx 0 0 218rpx;
  353. }
  354. }
  355. .addr {
  356. padding: 44rpx 30rpx 28rpx;
  357. box-sizing: border-box;
  358. border-bottom: 1rpx solid #F4F4F4;
  359. width: 100%;
  360. .addr_text {
  361. max-width: 550rpx;
  362. font-size: 26rpx;
  363. font-weight: 400;
  364. color: #222222;
  365. line-height: 36rpx ;
  366. }
  367. .addr_icon {
  368. width: 36rpx;
  369. height: 36rpx;
  370. }
  371. }
  372. .tabs {
  373. width: 100%;
  374. box-sizing: border-box;
  375. padding: 34rpx 30rpx 40rpx;
  376. .tab_item {
  377. font-size: 32rpx;
  378. font-weight: 500;
  379. color: #7D7D7D;
  380. line-height: 44rpx;
  381. padding-right: 10rpx;
  382. }
  383. .tab_active {
  384. font-size: 36rpx;
  385. font-weight: 500;
  386. color: #222222;
  387. line-height: 50rpx;
  388. position: relative;
  389. }
  390. .tab_active::after {
  391. content: "";
  392. position: absolute;
  393. left: 18rpx;
  394. bottom: -5rpx;
  395. width: 40rpx;
  396. height: 8rpx;
  397. background: #506DFF;
  398. border-radius: 4rpx;
  399. }
  400. }
  401. .menuList {
  402. width: 100%;
  403. min-height: 700rpx;
  404. margin-bottom: 180rpx;
  405. overflow: auto;
  406. .menu_left {
  407. width: 200rpx;
  408. height: 100%;
  409. background: #F5F5F5;
  410. border-radius: 0px 28rpx 0px 0px;
  411. .left_item {
  412. width: 180rpx;
  413. font-size: 28rpx;
  414. font-weight: 400;
  415. color: #222222;
  416. line-height: 40rpx;
  417. padding: 30rpx 20rpx;
  418. }
  419. .left_active {
  420. color: #506DFF;
  421. background: #fff;
  422. }
  423. }
  424. .menu_right {
  425. width: 550rpx;
  426. height: 100%;
  427. background: #FFFFFF;
  428. position: relative;
  429. .right_tab {
  430. background: #F3F3F7;
  431. border-radius: 24rpx;
  432. font-size: 22rpx;
  433. font-weight: 400;
  434. color: #393939;
  435. line-height: 48rpx;
  436. padding: 0 24rpx;
  437. height: 48rpx;
  438. margin-right: 20rpx;
  439. }
  440. .right_tab:nth-last-child(1) {
  441. margin-right: 80rpx;
  442. }
  443. .right_tab_active {
  444. background: #E7EBFF;
  445. border: 1rpx solid #5471FF;
  446. color: #5B77FF;
  447. }
  448. .cate_bg {
  449. position: absolute;
  450. top: 0;
  451. left: 0;
  452. width: 100%;
  453. height: 100%;
  454. background: rgba(0,0,0,0.4);
  455. z-index: 9;
  456. .cate_top {
  457. width: 100%;
  458. box-sizing: border-box;
  459. padding: 24rpx 20rpx;
  460. background: #FFFFFF;
  461. .top_left {
  462. font-size: 26rpx;
  463. font-weight: 500;
  464. color: #393939;
  465. line-height: 32rpx;
  466. }
  467. .top_text {
  468. font-size: 16rpx;
  469. font-weight: 400;
  470. color: #393939;
  471. line-height: 22rpx;
  472. }
  473. .cate {
  474. height: 48rpx;
  475. background: #F3F3F7;
  476. border-radius: 24rpx;
  477. padding: 0 24rpx;
  478. font-size: 22rpx;
  479. font-weight: 400;
  480. color: #393939;
  481. line-height: 32rpx;
  482. margin: 24rpx 20rpx 0 0;
  483. }
  484. .cate_active {
  485. background: #E7EBFF;
  486. border: 1px solid #5471FF;
  487. color: #5B77FF;
  488. }
  489. }
  490. }
  491. .tabs_text {
  492. position: absolute;
  493. z-index: 99;
  494. right: 0;
  495. top: 0;
  496. width: 80rpx;
  497. height: 56rpx;
  498. background: #FFFFFF;
  499. font-size: 20rpx;
  500. font-weight: 400;
  501. color: #393939;
  502. line-height: 48rpx;
  503. }
  504. .right_item {
  505. width: 100%;
  506. box-sizing: border-box;
  507. padding: 10rpx 20rpx;
  508. .item_cover {
  509. width: 144rpx;
  510. height: 144rpx;
  511. border-radius: 16rpx;
  512. }
  513. .goodsDesc {
  514. width: calc(100% - 164rpx);
  515. margin-left: 20rpx;
  516. }
  517. .item_left {
  518. position: relative;
  519. .item_cover {
  520. width: 144rpx;
  521. height: 144rpx;
  522. border-radius: 16rpx;
  523. margin-right: 20rpx;
  524. }
  525. .bq1 {
  526. position: absolute;
  527. top: 0;
  528. right: 20rpx;
  529. width: 60rpx;
  530. height: 60rpx;
  531. }
  532. }
  533. .item_title {
  534. font-size: 28rpx;
  535. font-weight: 500;
  536. color: #222222;
  537. line-height: 40rpx;
  538. text-overflow: ellipsis;
  539. overflow: hidden;
  540. display: -webkit-box;
  541. -webkit-box-orient: vertical;
  542. box-orient: vertical;
  543. line-clamp: 2;
  544. -webkit-line-clamp: 2;
  545. }
  546. .item_price {
  547. margin-top: 22rpx;
  548. font-size: 28rpx;
  549. font-weight: bold;
  550. color: #FF2626;
  551. line-height: 32rpx;
  552. }
  553. .item_bottom {
  554. width: 100%;
  555. padding: 20rpx;
  556. .btn1 {
  557. width: 120rpx;
  558. height: 48rpx;
  559. border-radius: 4rpx;
  560. border: 1rpx solid #708AFF;
  561. margin-left: 32rpx;
  562. font-size: 28rpx;
  563. font-weight: 400;
  564. color: #5B77FF;
  565. line-height: 40rpx;
  566. }
  567. .btn2 {
  568. border: 1px solid #979797;
  569. color: #222222;
  570. }
  571. }
  572. }
  573. }
  574. }
  575. .bottom {
  576. width: 100%;
  577. z-index: 9;
  578. position: fixed;
  579. bottom: 0;
  580. height: 166rpx;
  581. background: #FFFFFF;
  582. box-sizing: border-box;
  583. padding: 8rpx 50rpx 74rpx;
  584. .text_style1 {
  585. font-size: 20rpx;
  586. font-weight: 400;
  587. color: #506DFF;
  588. line-height: 28rpx;
  589. padding-top: 6rpx;
  590. }
  591. .btn {
  592. width: 550rpx;
  593. height: 84rpx;
  594. background: #506DFF;
  595. border-radius: 42rpx;
  596. }
  597. .btn_icon {
  598. width: 40rpx;
  599. height: 40rpx;
  600. }
  601. .btn_text {
  602. padding-left: 4rpx;
  603. font-size: 32rpx;
  604. font-weight: 500;
  605. color: #FFFFFF;
  606. line-height: 44rpx;
  607. }
  608. }
  609. }
  610. .popu {
  611. background: #FFFFFF;
  612. box-sizing: border-box;
  613. padding: 48rpx 30rpx;
  614. .popu_img {
  615. width: 160rpx;
  616. height: 160rpx;
  617. border-radius: 12rpx;
  618. margin-right: 20rpx;
  619. }
  620. .popu_right {
  621. height: 124rpx;
  622. margin: 20rpx 0 16rpx;
  623. .popu_price {
  624. font-size: 28rpx;
  625. font-weight: 400;
  626. color: #FF4747;
  627. line-height: 34rpx;
  628. }
  629. .popu_norm {
  630. max-width: 450rpx;
  631. font-size: 24rpx;
  632. font-weight: 400;
  633. color: #A7A7A7;
  634. line-height: 34rpx;
  635. }
  636. }
  637. .popu_title {
  638. font-size: 28rpx;
  639. font-weight: 600;
  640. color: #222222;
  641. line-height: 40rpx;
  642. margin: 15rpx 0;
  643. /* text-overflow: ellipsis;
  644. overflow: hidden;
  645. display: -webkit-box;
  646. -webkit-box-orient: vertical;
  647. box-orient: vertical;
  648. line-clamp: 2;
  649. -webkit-line-clamp: 2; */
  650. }
  651. .address {
  652. .address_img {
  653. width: 200rpx;
  654. height: 200rpx;
  655. border-radius: 50%;
  656. margin-bottom: 20rpx;
  657. }
  658. .address_text {
  659. text-align: center;
  660. font-size: 28rpx;
  661. color: #222222;
  662. line-height: 40rpx;
  663. }
  664. }
  665. .box_bg {
  666. background: #F5F5F5;
  667. border-radius: 16rpx;
  668. box-sizing: border-box;
  669. padding: 24rpx 20rpx;
  670. margin: 10rpx 0;
  671. .check_img {
  672. width: 24rpx;
  673. height: 24rpx;
  674. }
  675. .popu_right2 {
  676. padding-left: 30rpx;
  677. .popu_name {
  678. font-size: 28rpx;
  679. font-weight: 500;
  680. color: #222222;
  681. line-height: 40rpx;
  682. }
  683. .popu_phone {
  684. padding-left: 16rpx;
  685. font-size: 22rpx;
  686. font-weight: 400;
  687. color: #999999;
  688. line-height: 16px;
  689. }
  690. .popu_addr {
  691. padding: 16rpx 0 0;
  692. font-size: 24rpx;
  693. font-weight: 400;
  694. color: #444444;
  695. line-height: 34rpx;
  696. }
  697. }
  698. }
  699. .popu_box {
  700. background: #F4F4F4;
  701. border-radius: 8rpx;
  702. font-size: 26rpx;
  703. font-weight: 400;
  704. color: #222222;
  705. line-height: 36rpx;
  706. padding: 7rpx 36rpx;
  707. margin: 0 22rpx 28rpx 0;
  708. text-overflow: ellipsis;
  709. overflow: hidden;
  710. display: -webkit-box;
  711. -webkit-box-orient: vertical;
  712. box-orient: vertical;
  713. line-clamp: 2;
  714. -webkit-line-clamp: 2;
  715. }
  716. .popu_box2 {
  717. background-color: #5b5b5b;
  718. }
  719. // .popu_box:nth-child(4n+4) {
  720. // margin: 0 0 28rpx 0;
  721. // }
  722. .sele_active {
  723. background: #F1F4FF;
  724. border: 1px solid #5471FF;
  725. color: #506DFF;
  726. }
  727. .sure_btn {
  728. width: 100%;
  729. height: 84rpx;
  730. background: #506DFF;
  731. border-radius: 42rpx;
  732. font-size: 36rpx;
  733. font-weight: 500;
  734. color: #FFFFFF;
  735. line-height: 84rpx;
  736. text-align: center;
  737. margin-top: 94rpx;
  738. }
  739. }
  740. }
  741. </style>