index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  1. <template>
  2. <view class="container">
  3. <view class="carousel-section">
  4. <!-- 背景色区域 -->
  5. <view class="bg"><image src="../../static/index/index13.png" mode=""></image></view>
  6. <!-- 标题栏和状态栏占位符 -->
  7. <view class="titleNview-placing"></view>
  8. <!-- 搜素栏 -->
  9. <view class="search flex">
  10. <image src="../../static/index/index09.png" class="address"></image>
  11. <!-- <view class="shop-name clamp" @click.stop="canChange == 0?nav('/pages/shoping/list'):''">{{ storeInfo.name }}</view> -->
  12. <view class="shop-name clamp">椒江区</view>
  13. <image class="shop-jt" src="../../static/index/index07.png" mode=""></image>
  14. <view class="input-box flex" @click.stop="clickSearch">
  15. <view class=" input-content flex">
  16. <view class="iconfont iconsearch"></view>
  17. <view class="input"><input type="text" disabled value="输入关键字搜索" /></view>
  18. </view>
  19. </view>
  20. </view>
  21. <swiper class="carousel" autoplay="true" duration="400" interval="5000" @change="swiperChange" :indicator-dots="true" indicator-active-color="#FFFFFF">
  22. <!-- <swiper class="carousel" autoplay="true" duration="400" interval="5000"> -->
  23. <swiper-item v-for="(item, index) in carouselList" :key="index" class="carousel-item">
  24. <image :src="item.pic" mode="aspectFill" @click="bannerNavToUrl(item)"></image>
  25. </swiper-item>
  26. </swiper>
  27. </view>
  28. <view class="navbar">
  29. <view class="navbar-box flex">
  30. <view class="navbar-item" @click="navTo('/pages/index/sign')">
  31. <image class="nitem-image" src="../../static/index/index05.png" mode=""></image>
  32. <view class="nitem-font">天天领红包</view>
  33. </view>
  34. <view class="navbar-item" @click="navTo('')">
  35. <image class="nitem-image" src="../../static/index/index04.png" mode=""></image>
  36. <view class="nitem-font">积分商城</view>
  37. </view>
  38. <view class="navbar-item" @click="navTo('')">
  39. <image class="nitem-image" src="../../static/index/index03.png" mode=""></image>
  40. <view class="nitem-font">公益</view>
  41. </view>
  42. <view class="navbar-item" @click="navTo('/pages/user/shareQrCode')">
  43. <image class="nitem-image" src="../../static/index/index02.png" mode=""></image>
  44. <view class="nitem-font">邀请有礼</view>
  45. </view>
  46. <view class="navbar-item" @click="navTo('')">
  47. <image class="nitem-image" src="../../static/index/index01.png" mode=""></image>
  48. <view class="nitem-font">话费充值</view>
  49. </view>
  50. </view>
  51. </view>
  52. <view class="product-box" v-if="bastList.length != 0">
  53. <view class="product-title">
  54. <image class="pt-image" src="../../static/index/index15.png" mode=""></image>
  55. <view class="pt-title">会员礼包</view>
  56. <view class="pt-tip">每日必买</view>
  57. </view>
  58. <view class="hotgoods">
  59. <view class="hotgoods-item" v-for="item in bastList" :key="item.id" @click="navToDetailPage(item)">
  60. <view class="image-wrapper"><image :src="item.image" mode="scaleToFill"></image></view>
  61. <view class="title clamp2">{{ item.store_name }}</view>
  62. <view class="hot-price">
  63. <view class="hotPrice-box">会员价</view>
  64. <view class="price">
  65. <text class="font-size-sm">¥</text>
  66. {{ item.price * 1 }}
  67. </view>
  68. <view class="yuanPrice">{{ item.ot_price }}</view>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="shop" v-if="shoplist.length != 0">
  74. <view class="shop-title">
  75. <view class="shop-item">
  76. <view class="sitem-font">智能排序</view>
  77. <image class="jt-down" src="../../static/index/index06.png" mode=""></image>
  78. </view>
  79. <view class="shop-item">
  80. <view class="sitem-font">位置距离</view>
  81. <image class="jt-down" src="../../static/index/index06.png" mode=""></image>
  82. </view>
  83. <view class="shop-item">
  84. <view class="sitem-font">折扣优惠</view>
  85. <image class="jt-down" src="../../static/index/index06.png" mode=""></image>
  86. </view>
  87. <view class="shop-item">
  88. <view class="sitem-font">筛选</view>
  89. <image class="jt-down" src="../../static/index/index06.png" mode=""></image>
  90. </view>
  91. </view>
  92. <view class="shop-main flex" v-for="(item, index) in shoplist" :key="index">
  93. <image class="main-left" src="../../static/index/index13.png" mode=""></image>
  94. <view class="main-right flex">
  95. <view class="shopm-info">
  96. <view class="shopm-title">
  97. <view class="shopmt-font clamp">李家烤肉11111111111111111111111111111111111111111111</view>
  98. <view class="shopmt-good">荐</view>
  99. </view>
  100. <view class="address">椒江区市府大道200号</view>
  101. <view class="shopmt-tip">消费最高可得10%积分</view>
  102. </view>
  103. <view class="right">
  104. <view class="mright-top">
  105. <image class="mrt-image" src="../../static/index/index10.png" mode=""></image>
  106. <view class="mrt-font">距离0.3KM</view>
  107. </view>
  108. <view class="mright-bottom">
  109. <image class="mrb-item" src="../../static/index/index14.png" mode=""></image>
  110. <image class="mrb-item" src="../../static/index/index11.png" mode=""></image>
  111. </view>
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. <u-tabbar activeColor="#EE0979" v-model="current" :list="tabbar" :mid-button="true"></u-tabbar>
  117. </view>
  118. </template>
  119. <script>
  120. import { lookSubpoints, lookOneself } from '../../api/user.js';
  121. import seckill from '../../components/seckill/seckill.vue';
  122. import { loadIndexs } from '@/api/index.js';
  123. import { getUserInfo } from '@/api/user.js';
  124. import { setCoupons } from '@/api/functionalUnit.js';
  125. import { getBargainList } from '@/api/product.js';
  126. import { interceptor } from '@/utils/loginUtils';
  127. import { mapState, mapMutations } from 'vuex';
  128. import { tabbar } from '@/utils/tabbar.js';
  129. // #ifdef H5
  130. import { weixindata } from '@/utils/wxAuthorized';
  131. // #endif
  132. export default {
  133. components: {
  134. seckill
  135. },
  136. data() {
  137. return {
  138. tabbar: tabbar,
  139. current: 0,
  140. shareShow: false, //分享海报
  141. pageProportion: 0, //保存页面基于750宽度的比例
  142. swiperHeight: 0,
  143. checkid: 0,
  144. titleNViewBackground: '',
  145. longitude: 0, //经度
  146. latitude: 0, //纬度
  147. swiperCurrent: 0,
  148. swiperLength: 0,
  149. carouselList: [], //轮播列表
  150. bastList: [], //会员礼包
  151. shoplist: [], //商店列表
  152. page: 1,
  153. limit: 5,
  154. actTime: new Date()
  155. };
  156. },
  157. computed: {
  158. ...mapState(['loginInterceptor']),
  159. ...mapState('user', ['hasLogin', 'userInfo'])
  160. },
  161. onLoad: function(option) {
  162. this.getaddress();
  163. // #ifndef MP
  164. if (option.spread) {
  165. // 存储其他邀请人
  166. uni.setStorageSync('spread', option.spread);
  167. }
  168. // #endif
  169. // #ifdef MP
  170. if (option.scene) {
  171. // 存储小程序邀请人
  172. uni.setStorage({
  173. key: 'spread_code',
  174. data: option.scene
  175. });
  176. }
  177. // #endif
  178. },
  179. onShow: function() {
  180. // 判断是否强制登录
  181. if (this.loginInterceptor && !this.hasLogin) {
  182. // 登录拦截
  183. interceptor();
  184. }
  185. this.loadData();
  186. this.getBargainList();
  187. },
  188. //下拉刷新
  189. onPullDownRefresh() {
  190. this.loadData();
  191. },
  192. // #ifndef MP
  193. // 监听导航栏输入框点击事件
  194. onNavigationBarSearchInputClicked(e) {
  195. //跳转到搜索页面
  196. this.clickSearch();
  197. },
  198. //点击导航栏 buttons 时触发
  199. onNavigationBarButtonTap(e) {
  200. const index = e.index;
  201. if (index === 0) {
  202. this.$api.msg('点击了扫描');
  203. } else if (index === 1) {
  204. // #ifdef APP-PLUS
  205. const pages = getCurrentPages();
  206. const page = pages[pages.length - 1];
  207. const currentWebview = page.$getAppWebview();
  208. currentWebview.hideTitleNViewButtonRedDot({
  209. index
  210. });
  211. // #endif
  212. uni.navigateTo({
  213. url: '/pages/user/notice'
  214. });
  215. }
  216. },
  217. // #endif
  218. methods: {
  219. ...mapMutations(['setLat', 'setLon']),
  220. getaddress() {
  221. console.log('dizhi+++++++++++');
  222. let obj = this;
  223. // uni.getLocation({
  224. // type: 'gcj02',
  225. // success: res => {
  226. // console.log(res, 123456);
  227. // obj.setLat(res.latitude);
  228. // obj.setLon(res.longitude);
  229. // },
  230. // fail: err => {
  231. // console.log(err, 'shi+++++++++++++++');
  232. // openMap().then(e => {
  233. // this.getaddress();
  234. // });
  235. // }
  236. // });
  237. weixindata().then(wxOjb => {
  238. console.log(wxOjb,'获取微信');
  239. wxOjb.getLocation({
  240. type: 'gcj02',
  241. success: res => {
  242. console.log(res, 123456);
  243. obj.setLat(res.latitude);
  244. obj.setLon(res.longitude);
  245. },
  246. fail: err => {
  247. console.log(err, 'shi+++++++++++++++');
  248. openMap().then(e => {
  249. this.getaddress();
  250. });
  251. }
  252. });
  253. });
  254. },
  255. //砍价商品推荐详情页
  256. navToDetailPages(item) {
  257. let id = item.product_id;
  258. //let type = 2;
  259. uni.navigateTo({
  260. url: '/pages/product/product?id=' + id
  261. });
  262. },
  263. navTo(url) {
  264. if (url == '') {
  265. this.$api.msg('暂未开通,敬请期待');
  266. } else {
  267. uni.navigateTo({
  268. url
  269. });
  270. }
  271. },
  272. openSubscribe: function(e) {
  273. let page = e;
  274. // #ifndef MP
  275. uni.navigateTo({
  276. url: page
  277. });
  278. // #endif
  279. // #ifdef MP
  280. uni.showLoading({
  281. title: '正在加载'
  282. });
  283. openBargainSubscribe()
  284. .then(res => {
  285. uni.hideLoading();
  286. uni.navigateTo({
  287. url: page
  288. });
  289. })
  290. .catch(err => {
  291. uni.hideLoading();
  292. });
  293. // #endif
  294. },
  295. getBargainList() {
  296. let that = this;
  297. getBargainList({
  298. page: that.page,
  299. limit: that.limit
  300. })
  301. .then(function(res) {
  302. that.$set(that, 'bargainlist', res.data.slice(0, 2));
  303. })
  304. .catch(res => {
  305. console.log(res, 'getBargainList');
  306. });
  307. },
  308. Mask() {
  309. this.MaskShow = false;
  310. this.shareShow = true;
  311. uni.setStorage({
  312. key: 'FirstEntry',
  313. data: true,
  314. success: function() {
  315. console.log(uni.getStorageSync('FirstEntry'), 'Mask');
  316. }
  317. });
  318. },
  319. Toshare() {
  320. if (this.userInfo == '') {
  321. getUserInfo({})
  322. .then(({ data }) => {
  323. this.setUserInfo(data);
  324. this.userInfo = data;
  325. })
  326. .catch(e => {});
  327. } else {
  328. this.shareShow = false;
  329. uni.navigateTo({
  330. url: '/pages/user/shareQrCode?spread=' + this.userInfo.uid
  331. });
  332. }
  333. },
  334. Tocancel() {
  335. this.shareShow = false;
  336. },
  337. // 监听切换事件
  338. listChange(e) {
  339. this.checkid = e.detail.current;
  340. },
  341. // 點擊搜索框
  342. clickSearch() {
  343. uni.navigateTo({
  344. url: '/pages/product/search'
  345. });
  346. },
  347. // 点击触发领取优惠券
  348. setCoupons(item) {
  349. // 判断是否已经领取了优惠券
  350. let obj = this;
  351. uni.showModal({
  352. title: '领取提示',
  353. content: '是否领取优惠券',
  354. success(e) {
  355. if (e.confirm) {
  356. setCoupons({
  357. couponId: item.id
  358. }).then(e => {
  359. item.is_use = true;
  360. uni.showToast({
  361. title: '领取成功',
  362. type: 'top',
  363. duration: 2000
  364. });
  365. });
  366. }
  367. }
  368. });
  369. },
  370. //商品种类切换
  371. change(item) {
  372. let id = item;
  373. this.checkid = id;
  374. if (this.checkid == 1) {
  375. // console.log(1);
  376. this.detail = this.selected_detail;
  377. } else if (this.checkid == 2) {
  378. // console.log(2);
  379. this.detail = this.new_product;
  380. } else {
  381. this.detail = this.cheap_good;
  382. }
  383. },
  384. // 监听图片加载完成
  385. onImageError(key, index) {
  386. this[key][index].image = '/static/error/errorImage.jpg';
  387. },
  388. // 请求载入数据
  389. async loadData() {
  390. loadIndexs({})
  391. .then(({ data }) => {
  392. let goods = data.info;
  393. this.carouselList = data.banner;
  394. this.swiperLength = this.carouselList.length;
  395. this.bastList = data.giftInfo; //会员礼包
  396. uni.stopPullDownRefresh();
  397. })
  398. .catch(e => {
  399. uni.stopPullDownRefresh();
  400. });
  401. },
  402. //轮播图切换修改背景色
  403. swiperChange(e) {
  404. const index = e.detail.current;
  405. this.swiperCurrent = index;
  406. this.titleNViewBackground = this.carouselList[index].background;
  407. },
  408. //详情页
  409. navToDetailPage(item) {
  410. let id = item.id;
  411. uni.navigateTo({
  412. url: '/pages/product/product?id=' + id
  413. });
  414. },
  415. // 轮播图跳转
  416. bannerNavToUrl(item) {
  417. // #ifdef H5
  418. if (item.wap_url.indexOf('http') > 0) {
  419. window.location.href = item.wap_url;
  420. }
  421. // #endif
  422. //测试数据没有写id,用title代替
  423. uni.navigateTo({
  424. url: item.wap_url
  425. });
  426. }
  427. }
  428. };
  429. </script>
  430. <style lang="scss">
  431. .carousel-section {
  432. position: relative;
  433. padding-top: 10px;
  434. .bg {
  435. position: absolute;
  436. top: 0;
  437. left: 0;
  438. width: 750rpx;
  439. height: 378rpx;
  440. image {
  441. width: 100%;
  442. height: 100%;
  443. }
  444. }
  445. .titleNview-placing {
  446. height: var(--status-bar-height);
  447. box-sizing: content-box;
  448. }
  449. .search {
  450. justify-content: flex-start;
  451. padding: 10rpx 32rpx 20rpx;
  452. align-items: center;
  453. .address {
  454. width: 32rpx;
  455. height: 38rpx;
  456. }
  457. .shop-name {
  458. height: 38rpx;
  459. position: relative;
  460. top: -4rpx;
  461. z-index: 100;
  462. font-size: 30rpx;
  463. font-family: PingFang SC;
  464. font-weight: 500;
  465. color: #ffffff;
  466. padding-left: 10rpx;
  467. }
  468. .shop-jt {
  469. margin-left: 8rpx;
  470. width: 16rpx;
  471. height: 10rpx;
  472. }
  473. .input-box {
  474. margin-left: 10rpx;
  475. position: relative;
  476. z-index: 99;
  477. width: 520rpx;
  478. height: 60rpx;
  479. background: rgba(255, 255, 255, 0.4);
  480. border-radius: 30rpx;
  481. .input-content {
  482. position: relative;
  483. z-index: 11;
  484. border-radius: 99rpx;
  485. flex-grow: 1;
  486. padding: 5rpx 30rpx;
  487. background: rgba(255, 255, 255, 0.4);
  488. .iconsearch {
  489. font-size: 50rpx;
  490. color: #ffffff;
  491. }
  492. .input {
  493. margin-left: 19rpx;
  494. flex-grow: 1;
  495. color: #ffffff;
  496. input {
  497. font-size: 28rpx;
  498. color: #ffffff;
  499. }
  500. }
  501. }
  502. .input-button {
  503. padding-left: 20rpx;
  504. font-size: $font-base;
  505. height: 100%;
  506. }
  507. }
  508. }
  509. }
  510. .carousel {
  511. position: relative;
  512. z-index: 3;
  513. width: 100%;
  514. height: 360rpx;
  515. .carousel-item {
  516. width: 100%;
  517. height: 100%;
  518. padding: 0 28rpx;
  519. overflow: hidden;
  520. }
  521. image {
  522. width: 100%;
  523. height: 100%;
  524. border-radius: $border-radius-sm;
  525. }
  526. }
  527. .navbar {
  528. position: relative;
  529. z-index: 2;
  530. margin-top: -200rpx;
  531. width: 750rpx;
  532. height: 462rpx;
  533. background: #ffffff;
  534. border-radius: 40rpx;
  535. .navbar-box {
  536. padding-top: 250rpx;
  537. .navbar-item {
  538. display: flex;
  539. flex-direction: column;
  540. align-items: center;
  541. width: 20%;
  542. .nitem-image {
  543. width: 98rpx;
  544. height: 98rpx;
  545. }
  546. .nitem-font {
  547. margin-top: 22rpx;
  548. font-size: 26rpx;
  549. font-family: PingFang SC;
  550. font-weight: 500;
  551. color: #000000;
  552. }
  553. }
  554. }
  555. }
  556. .product-box {
  557. margin-top: 20rpx;
  558. background: #ffffff;
  559. padding: 26rpx 30rpx 20rpx;
  560. .product-title {
  561. display: flex;
  562. align-items: center;
  563. .pt-image {
  564. width: 36rpx;
  565. height: 36rpx;
  566. }
  567. .pt-title {
  568. margin-left: 8rpx;
  569. font-size: 32rpx;
  570. font-family: PingFang SC;
  571. font-weight: bold;
  572. color: #333333;
  573. }
  574. .pt-tip {
  575. margin-left: 16rpx;
  576. font-size: 20rpx;
  577. font-family: PingFang SC;
  578. font-weight: bold;
  579. color: #95a0b1;
  580. }
  581. }
  582. .hotgoods {
  583. margin-top: 38rpx;
  584. width: 100%;
  585. display: flex;
  586. flex-wrap: wrap;
  587. padding: 0 0 30rpx;
  588. .hotgoods-item {
  589. width: 48%;
  590. background-color: #ffffff;
  591. border-radius: 12rpx;
  592. &:nth-child(2n + 1) {
  593. margin-right: 24rpx;
  594. }
  595. .image-wrapper {
  596. width: 100%;
  597. height: 330rpx;
  598. border-radius: 3px;
  599. overflow: hidden;
  600. image {
  601. width: 100%;
  602. height: 100%;
  603. opacity: 1;
  604. border-radius: 12rpx 12rpx 0 0;
  605. }
  606. }
  607. .title {
  608. margin-top: 24rpx;
  609. font-size: 28rpx;
  610. font-family: PingFang SC;
  611. font-weight: 500;
  612. color: #333333;
  613. }
  614. .hot-price {
  615. display: flex;
  616. justify-content: flex-start;
  617. align-items: center;
  618. padding: 14rpx 0 30rpx;
  619. .hotPrice-box {
  620. width: 70rpx;
  621. height: 28rpx;
  622. background: linear-gradient(90deg, #c79a4c, #f9df7f);
  623. border-radius: 5rpx;
  624. text-align: center;
  625. line-height: 28rpx;
  626. font-size: 20rpx;
  627. font-family: Source Han Sans CN;
  628. font-weight: 400;
  629. color: #ffffff;
  630. }
  631. .price {
  632. margin-left: 10rpx;
  633. font-size: 40rpx;
  634. color: #ff0000;
  635. font-weight: 500;
  636. }
  637. .yuanPrice {
  638. margin-left: 10rpx;
  639. font-size: 20rpx;
  640. font-family: PingFang SC;
  641. font-weight: 500;
  642. text-decoration: line-through;
  643. color: #999999;
  644. }
  645. .cart-icon {
  646. image {
  647. width: 44rpx;
  648. height: 44rpx;
  649. }
  650. }
  651. }
  652. }
  653. }
  654. }
  655. .shop {
  656. margin-top: 20rpx;
  657. background: #ffffff;
  658. padding: 0 12rpx;
  659. .shop-title {
  660. padding: 30rpx 0 20rpx;
  661. display: flex;
  662. align-items: center;
  663. border-bottom: 1px solid #e3e6e7;
  664. .shop-item {
  665. width: 25%;
  666. display: flex;
  667. align-items: center;
  668. justify-content: center;
  669. .sitem-font {
  670. font-size: 26rpx;
  671. font-family: PingFang SC;
  672. font-weight: bold;
  673. color: #333333;
  674. }
  675. .jt-down {
  676. width: 10rpx;
  677. height: 8rpx;
  678. margin-left: 12rpx;
  679. }
  680. }
  681. }
  682. .shop-main {
  683. padding: 32rpx 18rpx 0 12rpx;
  684. align-items: flex-start;
  685. justify-content: flex-start;
  686. .main-left {
  687. width: 180rpx;
  688. height: 180rpx;
  689. border-radius: 10rpx;
  690. }
  691. .main-right {
  692. width: 500rpx;
  693. justify-content: space-between;
  694. align-items: flex-start;
  695. margin-left: 20rpx;
  696. padding: 13rpx 0 35rpx;
  697. border-bottom: 1px solid #eaeced;
  698. .shopm-info {
  699. max-width: 60%;
  700. line-height: 1;
  701. .shopm-title {
  702. display: flex;
  703. justify-content: flex-start;
  704. .shopmt-font {
  705. font-size: 34rpx;
  706. font-family: PingFang SC;
  707. font-weight: bold;
  708. color: #333333;
  709. }
  710. .shopmt-good {
  711. margin-left: 6rpx;
  712. width: 30rpx;
  713. height: 30rpx;
  714. border: 1px solid #ff4c4c;
  715. border-radius: 5rpx;
  716. font-size: 20rpx;
  717. font-family: PingFang SC;
  718. font-weight: 500;
  719. color: #ff4c4c;
  720. text-align: center;
  721. line-height: 30rpx;
  722. }
  723. }
  724. .address {
  725. margin-top: 16rpx;
  726. font-size: 24rpx;
  727. font-family: PingFang SC;
  728. font-weight: 500;
  729. color: #666666;
  730. }
  731. .shopmt-tip {
  732. position: relative;
  733. margin-top: 52rpx;
  734. padding: 8rpx;
  735. background: #fcf3f0;
  736. border-radius: 16rpx 16rpx 16rpx 0px;
  737. font-size: 20rpx;
  738. font-family: PingFang SC;
  739. font-weight: 500;
  740. color: #ff440d;
  741. }
  742. }
  743. .right {
  744. height: 100%;
  745. margin-top: 5rpx;
  746. display: flex;
  747. flex-direction: column;
  748. .mright-top {
  749. display: flex;
  750. justify-content: flex-end;
  751. align-items: center;
  752. .mrt-image {
  753. width: 20rpx;
  754. height: 28rpx;
  755. }
  756. .mrt-font {
  757. margin-left: 8rpx;
  758. font-size: 22rpx;
  759. font-family: PingFang SC;
  760. font-weight: 500;
  761. color: #666666;
  762. }
  763. }
  764. .mright-bottom {
  765. margin-top: 80rpx;
  766. display: flex;
  767. justify-content: flex-end;
  768. .mrb-item {
  769. width: 46rpx;
  770. height: 46rpx;
  771. margin-left: 14rpx;
  772. }
  773. }
  774. }
  775. }
  776. }
  777. }
  778. </style>