index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  1. <template>
  2. <view class="container">
  3. <view class="top-search flex">
  4. <view class="search-box flex" @click="clickSearch()">
  5. <image class="search" src="../../static/icon/search-h.png" mode=""></image>
  6. <view class="search-font">输入关键词搜索</view>
  7. </view>
  8. </view>
  9. <!-- 顶部logo and 搜索 end-->
  10. <view class="jg"></view>
  11. <!-- 轮播图 start -->
  12. <swiper class="top-swiper" autoplay="true" duration="400" interval="5000" @change="swiperChange">
  13. <swiper-item v-for="(item, index) in carouselList" :key="index" class="carousel-item" @click="bannerNavToUrl(item)"><image :src="item.pic" /></swiper-item>
  14. </swiper>
  15. <!-- 轮播图 end -->
  16. <view class="swiper-btm flex">
  17. <view class="btm-item flex">
  18. <image src="../../static/icon/index-gou.png" mode=""></image>
  19. <view class="">自用购物返利</view>
  20. </view>
  21. <view class="btm-item flex">
  22. <image src="../../static/icon/index-gou.png" mode=""></image>
  23. <view class="">分享好友赚钱</view>
  24. </view>
  25. <view class="btm-item flex">
  26. <image src="../../static/icon/index-gou.png" mode=""></image>
  27. <view class="">超值正品优惠</view>
  28. </view>
  29. </view>
  30. <view class="navbar">
  31. <view class="navbar-box flex">
  32. <view class="navbar-item" @click="navTo('/pages/category/category')">
  33. <image class="nitem-image" src="../../static/sy/sy12.png" mode=""></image>
  34. <view class="nitem-font">全部分类</view>
  35. </view>
  36. <view class="navbar-item" @click="navTo('/pages/product/classify')">
  37. <image class="nitem-image" src="../../static/sy/sy14.png" mode=""></image>
  38. <view class="nitem-font">热销推荐</view>
  39. </view>
  40. <view class="navbar-item" @click="navTo('/pages/index/message')">
  41. <image class="nitem-image" src="../../static/sy/sy15.png" mode=""></image>
  42. <view class="nitem-font">公司介绍</view>
  43. </view>
  44. <view class="navbar-item" @click="navTo('/pages/user/shareQrCode')">
  45. <image class="nitem-image" src="../../static/sy/sy13.png" mode=""></image>
  46. <view class="nitem-font">邀请有礼</view>
  47. </view>
  48. </view>
  49. </view>
  50. <view class="jx-box">
  51. <view class="jx-box-title"><image src="../../static/sy/sy03.png" mode=""></image></view>
  52. <view class="jx-box-img"><image src="../../static/sy/sy09.png" mode=""></image></view>
  53. </view>
  54. <!-- <view class="jx-box-content" v-for="(item, index) in bastList">
  55. <view class="content-left"><image :src="item.image" mode=""></image></view>
  56. <view class="content-right">
  57. <view class="shop-name">{{ item.store_name }}</view>
  58. <view class="shop-content">
  59. <view class="shop-content-left">
  60. <view class="price-box">
  61. <view class="yuan-price">¥{{ item.ot_price * 1 }}</view>
  62. <image src="../../static/sy/sy06.png" mode=""></image>
  63. <view class="j-price">直降{{ (item.ot_price - item.price).toFixed(2) * 1 }}元</view>
  64. </view>
  65. <view class="price-x">¥{{ item.price * 1 }}</view>
  66. </view>
  67. <view class="shop-content-right" @click="navToDetailPagevip(item)">购买升级</view>
  68. </view>
  69. </view>
  70. </view> -->
  71. <!-- <view class="more" @click="navTo('/pages/product/vip')">
  72. <view class="more-font">查看更多</view>
  73. <image class="more-icon" src="../../static/img/img39.png" mode=""></image>
  74. </view> -->
  75. <view class="xian"></view>
  76. <view class="product-box" v-if="shoplist.length != 0">
  77. <view class="product-title">
  78. <view class="bb"></view>
  79. <view class="pt-title">猜你喜欢</view>
  80. <view class="bb"></view>
  81. </view>
  82. <view class="hotgoods">
  83. <view class="hotgoods-item" v-for="item in shoplist" :key="item.id" @click="navToDetailPage(item)">
  84. <view class="image-wrapper"><image class="image" :src="item.image" mode="scaleToFill"></image></view>
  85. <view class="title clamp">{{ item.store_name }}</view>
  86. <view class="redRange">
  87. 分红额度:{{item.give_award_range}}
  88. </view>
  89. <view class="hot-price">
  90. <!-- <view class="hotPrice-box">会员价</view> -->
  91. <view class="price">
  92. <text class="font-size-sm">¥</text>
  93. {{ item.price * 1 }}
  94. </view>
  95. <view class="yuanPrice">{{ item.ot_price }}</view>
  96. </view>
  97. </view>
  98. </view>
  99. </view>
  100. <!-- <u-tabbar activeColor="#434A54" v-model="current" :list="tabbar" :mid-button="true"></u-tabbar> -->
  101. </view>
  102. </template>
  103. <script>
  104. import { lookSubpoints, lookOneself } from '../../api/user.js';
  105. import seckill from '../../components/seckill/seckill.vue';
  106. import { loadIndexs } from '@/api/index.js';
  107. import { getUserInfo, spread } from '@/api/user.js';
  108. import { setCoupons } from '@/api/functionalUnit.js';
  109. import { getProducts } from '@/api/product.js';
  110. import { interceptor } from '@/utils/loginUtils';
  111. import { mapState, mapMutations } from 'vuex';
  112. import { tabbar } from '@/utils/tabbar.js';
  113. // #ifdef H5
  114. import { weixindata, shareLoad } from '@/utils/wxAuthorized';
  115. // #endif
  116. export default {
  117. components: {
  118. seckill
  119. },
  120. data() {
  121. return {
  122. tabbar: tabbar,
  123. current: 0,
  124. shareShow: false, //分享海报
  125. pageProportion: 0, //保存页面基于750宽度的比例
  126. swiperHeight: 0,
  127. checkid: 0,
  128. titleNViewBackground: '',
  129. longitude: 0, //经度
  130. latitude: 0, //纬度
  131. swiperCurrent: 0,
  132. swiperLength: 0,
  133. carouselList: [], //轮播列表
  134. bastList: [], //会员礼包
  135. shoplist: [], //猜你喜欢
  136. page: 1,
  137. limit: 5
  138. };
  139. },
  140. computed: {
  141. ...mapState(['loginInterceptor', 'baseURL']),
  142. ...mapState('user', ['hasLogin', 'userInfo'])
  143. },
  144. onLoad: function(option) {
  145. this.getaddress();
  146. // #ifdef MP
  147. if (option.scene) {
  148. // 存储小程序邀请人
  149. uni.setStorage({
  150. key: 'spread_code',
  151. data: option.scene
  152. });
  153. }
  154. // #endif
  155. // #ifdef H5
  156. this.IndexShare();
  157. //#endif
  158. },
  159. onShow: function() {
  160. // 判断是否强制登录
  161. if (!this.hasLogin) {
  162. // 登录拦截
  163. interceptor();
  164. }
  165. this.loadData();
  166. this.getvip();
  167. },
  168. //下拉刷新
  169. onPullDownRefresh() {
  170. this.loadData();
  171. },
  172. // #ifndef MP
  173. // 监听导航栏输入框点击事件
  174. onNavigationBarSearchInputClicked(e) {
  175. //跳转到搜索页面
  176. this.clickSearch();
  177. },
  178. // #endif
  179. methods: {
  180. ...mapMutations(['setLat', 'setLon']),
  181. // #ifdef H5
  182. IndexShare() {
  183. let obj = this;
  184. let pages = getCurrentPages();
  185. // 获取当前页面
  186. let page = pages[pages.length - 1];
  187. let path = '#/' + page.route + '?';
  188. // 保存传值
  189. for (let i in page.options) {
  190. path += i + '=' + page.options[i] + '&';
  191. }
  192. console.log(obj.Path);
  193. // 保存邀请人
  194. path += 'spread=' + this.userInfo.uid;
  195. let data = {
  196. link: this.baseURL + '/index/' + path,
  197. title: this.userInfo.nickname + '邀请您进入黄金稻子',
  198. desc: '欢迎加入黄金稻子',
  199. imgUrl: 'http://hjdz.liuniu946.com/index/static/img/logo.jpg'
  200. };
  201. console.log(data, '分享数据');
  202. shareLoad(data);
  203. },
  204. // #endif
  205. getaddress() {
  206. console.log('dizhi+++++++++++');
  207. let obj = this;
  208. // uni.getLocation({
  209. // type: 'gcj02',
  210. // success: res => {
  211. // console.log(res, 123456);
  212. // obj.setLat(res.latitude);
  213. // obj.setLon(res.longitude);
  214. // },
  215. // fail: err => {
  216. // console.log(err, 'shi+++++++++++++++');
  217. // openMap().then(e => {
  218. // this.getaddress();
  219. // });
  220. // }
  221. // });
  222. weixindata().then(wxOjb => {
  223. console.log(wxOjb, '获取微信');
  224. wxOjb.getLocation({
  225. type: 'gcj02',
  226. success: res => {
  227. console.log(res, 123456);
  228. obj.setLat(res.latitude);
  229. obj.setLon(res.longitude);
  230. },
  231. fail: err => {
  232. console.log(err, 'shi+++++++++++++++');
  233. openMap().then(e => {
  234. this.getaddress();
  235. });
  236. }
  237. });
  238. });
  239. },
  240. navTo(url) {
  241. if (url == '') {
  242. this.$api.msg('暂未开通,敬请期待');
  243. } else {
  244. uni.navigateTo({
  245. url,
  246. fail() {
  247. uni.switchTab({
  248. url
  249. });
  250. }
  251. });
  252. }
  253. },
  254. // 监听切换事件
  255. listChange(e) {
  256. this.checkid = e.detail.current;
  257. },
  258. // 點擊搜索框
  259. clickSearch() {
  260. uni.navigateTo({
  261. url: '/pages/product/search'
  262. });
  263. },
  264. // 监听图片加载完成
  265. onImageError(key, index) {
  266. this[key][index].image = '/static/error/errorImage.jpg';
  267. },
  268. // 请求载入数据
  269. async loadData() {
  270. loadIndexs({})
  271. .then(({ data }) => {
  272. let goods = data.info;
  273. this.carouselList = data.banner;
  274. this.swiperLength = this.carouselList.length;
  275. this.shoplist = data.likeInfo; //会员礼包
  276. uni.stopPullDownRefresh();
  277. })
  278. .catch(e => {
  279. uni.stopPullDownRefresh();
  280. });
  281. },
  282. // getvip() {
  283. // getProducts({ cid: 52, page: 1, limit: 10 }).then(({ data }) => {
  284. // this.bastList = data; //会员礼包
  285. // console.log(this.bastList, '123456');
  286. // });
  287. // },
  288. //轮播图切换修改背景色
  289. swiperChange(e) {
  290. const index = e.detail.current;
  291. this.swiperCurrent = index;
  292. this.titleNViewBackground = this.carouselList[index].background;
  293. },
  294. //详情页
  295. navToDetailPagevip(item) {
  296. let id = item.id;
  297. uni.navigateTo({
  298. url: '/pages/product/product?id=' + id + '&isVip=1'
  299. });
  300. },
  301. navToDetailPage(item) {
  302. let id = item.id;
  303. uni.navigateTo({
  304. url: '/pages/product/product?id=' + id
  305. });
  306. }
  307. }
  308. };
  309. </script>
  310. <style lang="scss">
  311. page,
  312. .container {
  313. background: #ffffff;
  314. height: auto;
  315. min-height: 100%;
  316. }
  317. .top-search {
  318. height: 80rpx;
  319. padding: 0 20rpx;
  320. background-color: #fff;
  321. .search-box {
  322. justify-content: center;
  323. width: 698rpx;
  324. height: 60rpx;
  325. background: #eeeeee;
  326. // box-shadow: 0px 10rpx 20rpx 0px rgba(4, 114, 69, 0.22);
  327. border-radius: 30rpx;
  328. .search {
  329. width: 34rpx;
  330. height: 34rpx;
  331. }
  332. .search-font {
  333. margin-left: 14rpx;
  334. font-size: 28rpx;
  335. font-family: PingFang SC;
  336. font-weight: 500;
  337. color: #cbcbcb;
  338. }
  339. }
  340. }
  341. .jg {
  342. height: 20rpx;
  343. background-color: #fff;
  344. }
  345. .top-swiper {
  346. width: 750rpx;
  347. height: 360rpx;
  348. // margin: 20rpx 0 0;
  349. image {
  350. width: 750rpx;
  351. height: 360rpx;
  352. }
  353. }
  354. .swiper-btm {
  355. height: 60rpx;
  356. width: 750rpx;
  357. background-color: #fff;
  358. margin-bottom: 20rpx;
  359. font-size: 21rpx;
  360. font-weight: 500;
  361. color: #333333;
  362. .btm-item {
  363. flex-grow: 1;
  364. justify-content: center;
  365. image {
  366. width: 25rpx;
  367. height: 25rpx;
  368. margin-right: 14rpx;
  369. }
  370. }
  371. }
  372. .navbar {
  373. position: relative;
  374. z-index: 2;
  375. padding: 0 50rpx;
  376. width: 750rpx;
  377. background: #ffffff;
  378. .navbar-box {
  379. padding-top: 38rpx;
  380. .navbar-item {
  381. display: flex;
  382. flex-direction: column;
  383. align-items: center;
  384. width: 20%;
  385. .nitem-image {
  386. width: 90rpx;
  387. height: 90rpx;
  388. }
  389. .nitem-font {
  390. margin-top: 22rpx;
  391. font-size: 26rpx;
  392. font-family: PingFang SC;
  393. font-weight: 500;
  394. color: #000000;
  395. }
  396. }
  397. }
  398. }
  399. .jx-box {
  400. background: #fff;
  401. display: flex;
  402. flex-direction: column;
  403. align-items: center;
  404. width: 750rpx;
  405. .jx-box-title {
  406. margin: 50rpx 0;
  407. width: 610rpx;
  408. height: 30rpx;
  409. image {
  410. width: 100%;
  411. height: 100%;
  412. }
  413. }
  414. .jx-box-img {
  415. width: 750rpx;
  416. height: 220rpx;
  417. image {
  418. width: 100%;
  419. height: 100%;
  420. }
  421. }
  422. }
  423. .jx-box-content {
  424. margin: 20rpx auto 0;
  425. display: flex;
  426. width: 710rpx;
  427. background: #ffffff;
  428. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  429. border-radius: 10rpx;
  430. padding: 20rpx 30rpx 20rpx 14rpx;
  431. .content-left {
  432. flex-shrink: 0;
  433. width: 236rpx;
  434. height: 236rpx;
  435. background: #e2e2e2;
  436. border-radius: 10rpx;
  437. image {
  438. width: 100%;
  439. height: 100%;
  440. }
  441. }
  442. .content-right {
  443. width: 100%;
  444. margin-left: 20rpx;
  445. display: flex;
  446. flex-direction: column;
  447. justify-content: space-around;
  448. .shop-name {
  449. width: 382rpx;
  450. font-size: 32rpx;
  451. font-weight: bold;
  452. color: #333333;
  453. overflow: hidden;
  454. text-overflow: ellipsis;
  455. display: -webkit-box;
  456. -webkit-box-orient: vertical;
  457. -webkit-line-clamp: 2;
  458. }
  459. .shop-content {
  460. display: flex;
  461. justify-content: space-between;
  462. .shop-content-left {
  463. display: flex;
  464. flex-direction: column;
  465. .price-box {
  466. display: flex;
  467. align-items: center;
  468. .yuan-price {
  469. font-size: 26rpx;
  470. font-weight: 500;
  471. text-decoration: line-through;
  472. color: #999999;
  473. }
  474. image {
  475. margin-left: 8rpx;
  476. width: 16rpx;
  477. height: 18rpx;
  478. }
  479. .j-price {
  480. margin-left: 8rpx;
  481. font-size: 24rpx;
  482. font-weight: bold;
  483. color: #b59467;
  484. }
  485. }
  486. .price-x {
  487. font-size: 36rpx;
  488. font-weight: bold;
  489. color: #ff4c4c;
  490. }
  491. }
  492. .shop-content-right {
  493. margin-top: 20rpx;
  494. align-items: center;
  495. text-align: center;
  496. width: 137rpx;
  497. height: 52rpx;
  498. font-size: 26rpx;
  499. font-weight: 500;
  500. color: #ffffff;
  501. background: linear-gradient(90deg, #bb9159, #e6c79d);
  502. border-radius: 26rpx;
  503. line-height: 52rpx;
  504. }
  505. }
  506. }
  507. }
  508. .more {
  509. display: flex;
  510. justify-content: center;
  511. align-items: center;
  512. height: 104rpx;
  513. .more-font {
  514. margin-left: 10rpx;
  515. font-size: 28rpx;
  516. font-family: PingFang SC;
  517. font-weight: 500;
  518. color: #999999;
  519. }
  520. .more-icon {
  521. width: 16rpx;
  522. height: 28rpx;
  523. }
  524. }
  525. .xian {
  526. height: 20rpx;
  527. background: #eeeeee;
  528. }
  529. .product-box {
  530. margin-top: 20rpx;
  531. background: #ffffff;
  532. padding: 26rpx 30rpx 20rpx;
  533. .product-title {
  534. display: flex;
  535. align-items: center;
  536. justify-content: center;
  537. .pt-image {
  538. width: 36rpx;
  539. height: 36rpx;
  540. }
  541. .bb {
  542. width: 120rpx;
  543. height: 1rpx;
  544. background: #989898;
  545. }
  546. .pt-title {
  547. margin: 0 28rpx;
  548. font-size: 30rpx;
  549. font-weight: 500;
  550. color: #363636;
  551. }
  552. .pt-tip {
  553. margin-left: 16rpx;
  554. font-size: 20rpx;
  555. font-family: PingFang SC;
  556. font-weight: bold;
  557. color: #95a0b1;
  558. }
  559. }
  560. .hotgoods {
  561. margin-top: 38rpx;
  562. width: 100%;
  563. display: flex;
  564. flex-wrap: wrap;
  565. padding: 0 0 30rpx;
  566. .hotgoods-item {
  567. width: 44%;
  568. background: #ffffff;
  569. margin: 20rpx;
  570. box-shadow: 0px 0px 20px 0px rgba(50, 50, 52, 0.06);
  571. border-radius: 10px;
  572. .image-wrapper {
  573. width: 100%;
  574. height: 330rpx;
  575. border-radius: 3px;
  576. overflow: hidden;
  577. position: relative;
  578. .image-bg {
  579. position: absolute;
  580. top: 0;
  581. left: 0;
  582. right: 0;
  583. bottom: 0;
  584. width: 100%;
  585. height: 100%;
  586. opacity: 1;
  587. border-radius: 12rpx 12rpx 0 0;
  588. z-index: 2;
  589. }
  590. .image {
  591. width: 100%;
  592. height: 100%;
  593. opacity: 1;
  594. border-radius: 12rpx 12rpx 0 0;
  595. }
  596. }
  597. .title {
  598. margin-left: 15rpx;
  599. margin-top: 20rpx;
  600. font-size: 28rpx;
  601. font-family: PingFang SC;
  602. font-weight: 500;
  603. color: #333333;
  604. }
  605. .redRange{
  606. font-size: $font-sm;
  607. margin-left: 15rpx;
  608. color: #999999;
  609. }
  610. .titlee {
  611. margin-left: 15rpx;
  612. font-size: 26rpx;
  613. font-weight: 500;
  614. color: #666666;
  615. white-space: nowrap;
  616. overflow: hidden;
  617. text-overflow: ellipsis;
  618. }
  619. .hot-price {
  620. display: flex;
  621. justify-content: flex-start;
  622. align-items: center;
  623. padding: 14rpx 0 30rpx;
  624. .hotPrice-box {
  625. width: 70rpx;
  626. height: 28rpx;
  627. background: linear-gradient(90deg, #c79a4c, #f9df7f);
  628. border-radius: 5rpx;
  629. text-align: center;
  630. line-height: 28rpx;
  631. font-size: 20rpx;
  632. font-weight: 400;
  633. color: #ffffff;
  634. }
  635. .price {
  636. margin-left: 10rpx;
  637. font-size: 36rpx;
  638. color: #ff0000;
  639. font-weight: 500;
  640. }
  641. .yuanPrice {
  642. margin-left: 10rpx;
  643. font-size: 20rpx;
  644. font-family: PingFang SC;
  645. font-weight: 500;
  646. text-decoration: line-through;
  647. color: #999999;
  648. }
  649. .cart-icon {
  650. image {
  651. width: 44rpx;
  652. height: 44rpx;
  653. }
  654. }
  655. }
  656. }
  657. }
  658. }
  659. .shop {
  660. margin-top: 20rpx;
  661. background: #ffffff;
  662. padding: 0 12rpx;
  663. .shop-title {
  664. padding: 30rpx 0 20rpx;
  665. display: flex;
  666. align-items: center;
  667. border-bottom: 1px solid #e3e6e7;
  668. .shop-item {
  669. width: 25%;
  670. display: flex;
  671. align-items: center;
  672. justify-content: center;
  673. .sitem-font {
  674. font-size: 26rpx;
  675. font-family: PingFang SC;
  676. font-weight: bold;
  677. color: #333333;
  678. }
  679. .jt-down {
  680. width: 10rpx;
  681. height: 8rpx;
  682. margin-left: 12rpx;
  683. }
  684. }
  685. }
  686. }
  687. .shop-main {
  688. padding: 32rpx 18rpx 0 12rpx;
  689. align-items: flex-start;
  690. justify-content: flex-start;
  691. .main-left {
  692. width: 180rpx;
  693. height: 180rpx;
  694. border-radius: 10rpx;
  695. }
  696. .main-right {
  697. width: 500rpx;
  698. justify-content: space-between;
  699. align-items: flex-start;
  700. margin-left: 20rpx;
  701. padding: 13rpx 0 35rpx;
  702. border-bottom: 1px solid #eaeced;
  703. .shopm-info {
  704. max-width: 60%;
  705. line-height: 1;
  706. .shopm-title {
  707. display: flex;
  708. justify-content: flex-start;
  709. .shopmt-font {
  710. font-size: 34rpx;
  711. font-family: PingFang SC;
  712. font-weight: bold;
  713. color: #333333;
  714. }
  715. .shopmt-good {
  716. margin-left: 6rpx;
  717. width: 30rpx;
  718. height: 30rpx;
  719. border: 1px solid #ff4c4c;
  720. border-radius: 5rpx;
  721. font-size: 20rpx;
  722. font-family: PingFang SC;
  723. font-weight: 500;
  724. color: #ff4c4c;
  725. text-align: center;
  726. line-height: 30rpx;
  727. }
  728. }
  729. .address {
  730. margin-top: 16rpx;
  731. font-size: 24rpx;
  732. font-family: PingFang SC;
  733. font-weight: 500;
  734. color: #666666;
  735. }
  736. .shopmt-tip {
  737. position: relative;
  738. display: inline-block;
  739. flex-grow: 0;
  740. margin-top: 52rpx;
  741. padding: 8rpx;
  742. background: #fcf3f0;
  743. border-radius: 16rpx 16rpx 16rpx 0px;
  744. font-size: 20rpx;
  745. font-family: PingFang SC;
  746. font-weight: 500;
  747. color: #ff440d;
  748. }
  749. }
  750. .right {
  751. height: 100%;
  752. margin-top: 5rpx;
  753. display: flex;
  754. flex-direction: column;
  755. .mright-top {
  756. display: flex;
  757. justify-content: flex-end;
  758. align-items: center;
  759. .mrt-image {
  760. width: 20rpx;
  761. height: 28rpx;
  762. }
  763. .mrt-font {
  764. margin-left: 8rpx;
  765. font-size: 22rpx;
  766. font-family: PingFang SC;
  767. font-weight: 500;
  768. color: #666666;
  769. }
  770. }
  771. .mright-bottom {
  772. margin-top: 80rpx;
  773. display: flex;
  774. justify-content: flex-end;
  775. .mrb-item {
  776. width: 46rpx;
  777. height: 46rpx;
  778. margin-left: 14rpx;
  779. }
  780. }
  781. }
  782. }
  783. }
  784. </style>