index.vue 18 KB

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