index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  1. <template>
  2. <view class="center">
  3. <!-- 小程序头部兼容 -->
  4. <!-- #ifdef MP -->
  5. <navigator url="/pages/product/search">
  6. <view class="input-box flex">
  7. <view class=" input-content flex">
  8. <view class="iconfont iconsearch"></view>
  9. <view class="input"><input disabled placeholder="请输入搜索内容" /></view>
  10. </view>
  11. </view>
  12. </navigator>
  13. <!-- #endif -->
  14. <view class="top"></view>
  15. <view class="carousel">
  16. <swiper autoplay="true" duration="400" interval="5000" @change="swiperChange" class="bor">
  17. <swiper-item v-for="(item, index) in carouselList" :key="index" class="carousel-item">
  18. <image :src="item.pic" />
  19. </swiper-item>
  20. </swiper>
  21. </view>
  22. <view class="swiper-dot">
  23. <template v-for="item in swiperLength">
  24. <view class="swiper-dots-item" :key="item" :class="{ action: swiperCurrent + 1 === item }"></view>
  25. </template>
  26. </view>
  27. <view class="cate-section">
  28. <view class="cate-item" @click="nav('/pages/index/artList?cid=1&tit=' + encodeURI('众赢集团'))">
  29. <image src="/static/icon/in1.png"></image>
  30. <view class="cate-font">众赢集团</view>
  31. </view>
  32. <view class="cate-item" @click="nav('/pages/category/articleList')">
  33. <image src="/static/icon/in2.png"></image>
  34. <view class="cate-font">康养旅居</view>
  35. </view>
  36. <view class="cate-item">
  37. <image src="/static/icon/in3.png" @click="nav('/pages/index/vip')"></image>
  38. <view class="cate-font">调理养护</view>
  39. </view>
  40. <view class="cate-item">
  41. <image src="/static/icon/in4.png" @click="nav('/pages/index/vip')"></image>
  42. <view class="cate-font">专家专项</view>
  43. </view>
  44. <view class="cate-item">
  45. <image src="/static/icon/in5.png" @click="nav('/pages/index/vip')"></image>
  46. <view class="cate-font">商品分类</view>
  47. </view>
  48. <view class="cate-item">
  49. <image src="/static/icon/in6.png" @click="nav('/pages/index/vip')"></image>
  50. <view class="cate-font">热销推荐</view>
  51. </view>
  52. <view class="cate-item">
  53. <image src="/static/icon/in7.png" @click="nav('/pages/index/vip')"></image>
  54. <view class="cate-font">会员中心</view>
  55. </view>
  56. <view class="cate-item" @click="showPopup()">
  57. <image src="/static/icon/in8.png"></image>
  58. <view class="cate-font">分享有礼</view>
  59. </view>
  60. </view>
  61. <view class="jj-tit">
  62. <view class="left">
  63. <image src="../../static/icon/gsjj.png" mode="" class="jj-log"></image>
  64. <view class="jj-title">
  65. 公司简介
  66. </view>
  67. </view>
  68. <view class="right" @click="nav('/pages/index/artList?cid=1')">
  69. <view class="jj-more-tit">
  70. 更多
  71. </view>
  72. <image src="../../static/img/img39.png" mode="" class="jj-more"></image>
  73. </view>
  74. </view>
  75. <view class="jj-wrap" >
  76. <view class="jj" v-for="gs in 2" @click="nav('/pages/index/artDetail?id=' + gs.id)">
  77. <image src="" mode="" class="jj-img"></image>
  78. <view class="jj-info">
  79. <view class="jj-tit-tit clamp">
  80. 标题
  81. </view>
  82. <view class="jj-val clamp2">
  83. 更新时间:11111111
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. <view class="xian"></view>
  89. <view class="main">
  90. <!-- <view class="main-top flex">
  91. <view class="main-left">
  92. <view class="shu"></view>
  93. <view class="main-title">热销推荐</view>
  94. <view class="main-tip">在售精品</view>
  95. </view>
  96. </view> -->
  97. <view class="main-t-t">
  98. <image src="../../static/img/jxhh.png" mode="" class="main-t-t-i"></image>
  99. </view>
  100. <view class="list-box-h">
  101. <view v-for="(item, index) in dataList" :key="index" class="guess-item" @click="navToDetailPage(item)">
  102. <image :src="item.image"></image>
  103. <view class="guess-box">
  104. <view class="title clamp2">{{ item.store_name }}</view>
  105. <view class="price-box flex">
  106. <view class="yuanprice">{{ item.ot_price }}</view>
  107. <image src="../../static/img/jiantou.png" mode=""></image>
  108. <view class="jiang">直降{{ (item.ot_price - item.price).toFixed(2) }}元</view>
  109. </view>
  110. <view class="price">¥{{ item.price }}</view>
  111. <view class="btn">立即购买</view>
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. <uni-popup ref="popup" type="center">
  117. <view class="popup">
  118. <view class="popup-dox">
  119. <image class="popup-logo" src="../../static/img/img009.png"></image>
  120. <view class="pop-title">已为您定制专属客服</view>
  121. <view>{{ weixin }}</view>
  122. <image class="popup-text" @longtap="bc_code" :src="erweima"></image>
  123. <view class="btn" @click="copy(weixin)">复制微信号</view>
  124. <view class="pop-tip flex">
  125. <view class="weixin">
  126. <image src="../../static/img/weixin.png" mode=""></image>
  127. </view>
  128. <view>长按保存二维码</view>
  129. </view>
  130. </view>
  131. </view>
  132. <view class="close_icon" @click="close">
  133. <image src="../../static/img/Close.png"></image>
  134. </view>
  135. </uni-popup>
  136. </view>
  137. </template>
  138. <script>
  139. import {
  140. loadIndexs
  141. } from '@/api/index.js';
  142. import {
  143. mapState
  144. } from 'vuex';
  145. import {
  146. saveUrl,
  147. interceptor
  148. } from '@/utils/loginUtils.js';
  149. import {
  150. service
  151. } from '@/api/user.js';
  152. // #ifdef H5
  153. import {
  154. weixindata,
  155. weixinlocation,
  156. shareLoad
  157. } from '@/utils/wxAuthorized';
  158. import weixinObj from '@/plugin/jweixin-module/index.js';
  159. // #endif
  160. export default {
  161. data() {
  162. return {
  163. carouselList: [], //轮播图
  164. swiperCurrent: 0,
  165. dataList: [],
  166. erweima: '',
  167. weixin: '', //客服微信
  168. swiperLength: 1 //图片数量
  169. };
  170. },
  171. onLoad: function(option) {
  172. // #ifndef MP
  173. if (option.spread) {
  174. // 存储其他邀请人
  175. uni.setStorageSync('spread', option.spread);
  176. }
  177. // #endif
  178. // #ifdef MP
  179. if (option.scene) {
  180. // 存储小程序邀请人
  181. uni.setStorage({
  182. key: 'spread_code',
  183. data: option.scene
  184. });
  185. }
  186. // #endif
  187. // #ifdef H5
  188. if (this.hasLogin) {
  189. console.log('显示');
  190. weixinObj.hideAllNonBaseMenuItem();
  191. this.IndexShare();
  192. } else {
  193. console.log('隐藏');
  194. weixinObj.hideAllNonBaseMenuItem();
  195. }
  196. //#endif
  197. },
  198. computed: {
  199. ...mapState('user', ['userInfo', 'orderInfo', 'hasLogin']),
  200. ...mapState(['baseURL'])
  201. },
  202. onShow: function() {
  203. // 判断是否强制登录
  204. if (!this.hasLogin) {
  205. // 登录拦截
  206. uni.showModal({
  207. title: '登录',
  208. content: '您未登录,是否马上登陆?',
  209. success: e => {
  210. if (e.confirm) {
  211. interceptor();
  212. }
  213. },
  214. fail: e => {
  215. console.log(e);
  216. }
  217. });
  218. }
  219. this.loadData();
  220. },
  221. //下拉刷新
  222. onPullDownRefresh() {
  223. this.loadData();
  224. },
  225. // #ifndef MP
  226. // 监听导航栏输入框点击事件
  227. onNavigationBarSearchInputClicked(e) {
  228. //跳转到搜索页面
  229. this.clickSearch();
  230. },
  231. //点击导航栏 buttons 时触发
  232. onNavigationBarButtonTap(e) {
  233. uni.navigateTo({
  234. url: '/pages/user/notice'
  235. });
  236. },
  237. // #endif
  238. methods: {
  239. // #ifdef H5
  240. IndexShare() {
  241. let obj = this;
  242. let pages = getCurrentPages();
  243. // 获取当前页面
  244. let page = pages[pages.length - 1];
  245. let path = '/#/' + page.route + '?';
  246. // 保存传值
  247. for (let i in page.options) {
  248. path += i + '=' + page.options[i] + '&';
  249. }
  250. console.log(obj.Path);
  251. // 保存邀请人
  252. path += 'spread=' + this.userInfo.uid;
  253. let data = {
  254. link: this.baseURL + '/index/' + path,
  255. title: this.userInfo.nickname + '邀请您进入鼎立足行',
  256. desc: '欢迎加入鼎立足行',
  257. imgUrl: 'https://dlzx.liuniu946.com/index/static/img/logo.png'
  258. };
  259. shareLoad(data);
  260. },
  261. // #endif
  262. // 监听切换事件
  263. listChange(e) {
  264. this.checkid = e.detail.current;
  265. },
  266. // 點擊搜索框
  267. clickSearch() {
  268. uni.navigateTo({
  269. url: '/pages/product/search'
  270. });
  271. },
  272. nav(url) {
  273. uni.navigateTo({
  274. url,
  275. fail: () => {
  276. console.log(1);
  277. uni.switchTab({
  278. url
  279. });
  280. }
  281. });
  282. },
  283. showPopup() {
  284. this.$refs.popup.open();
  285. },
  286. close() {
  287. this.$refs.popup.close();
  288. },
  289. //轮播图切换修改背景色
  290. swiperChange(e) {
  291. const index = e.detail.current;
  292. this.swiperCurrent = index;
  293. },
  294. copy(content) {
  295. /**
  296. * 小程序端 和 app端的复制逻辑
  297. */
  298. //#ifndef H5
  299. uni.setClipboardData({
  300. data: content,
  301. success: function() {
  302. console.log('success');
  303. return true;
  304. }
  305. });
  306. //#endif
  307. /**
  308. * H5端的复制逻辑
  309. */
  310. // #ifdef H5
  311. if (!document.queryCommandSupported('copy')) {
  312. //为了兼容有些浏览器 queryCommandSupported 的判断
  313. // 不支持
  314. return false;
  315. }
  316. let textarea = document.createElement('textarea');
  317. textarea.value = content;
  318. textarea.readOnly = 'readOnly';
  319. document.body.appendChild(textarea);
  320. textarea.select(); // 选择对象
  321. textarea.setSelectionRange(0, content.length); //核心
  322. let result = document.execCommand('copy'); // 执行浏览器复制命令
  323. textarea.remove();
  324. return result;
  325. // #endif
  326. },
  327. comfirm(text) {
  328. console.log(text);
  329. const result = this.uniCopy(text);
  330. if (result === false) {
  331. uni.showToast({
  332. title: '不支持'
  333. });
  334. } else {
  335. uni.showToast({
  336. title: '复制成功',
  337. icon: 'none'
  338. });
  339. }
  340. this.$refs.popup.close();
  341. },
  342. bc_code() {
  343. let that = this;
  344. console.log('保存二维码', this.erweima);
  345. uni.downloadFile({
  346. //获得二维码的临时地址
  347. url: this.erweima,
  348. success: res => {
  349. //console.log('获取url',res)
  350. if (res.statusCode == 200) {
  351. uni.saveImageToPhotosAlbum({
  352. filePath: res.tempFilePath, //传入临时地址
  353. success() {
  354. that.$api.msg('保存成功'); //封装的提示
  355. },
  356. fail() {
  357. that.$api.msg('保存失败');
  358. }
  359. });
  360. }
  361. }
  362. });
  363. },
  364. // 请求载入数据
  365. async loadData() {
  366. loadIndexs({})
  367. .then(({
  368. data
  369. }) => {
  370. console.log(data);
  371. this.carouselList = data.banner;
  372. this.swiperLength = this.carouselList.length;
  373. this.dataList = data.likeInfo; //最新商品
  374. uni.stopPullDownRefresh();
  375. })
  376. .catch(e => {
  377. uni.stopPullDownRefresh();
  378. });
  379. service({}).then(({
  380. data
  381. }) => {
  382. this.erweima = data.service_qr;
  383. this.weixin = data.service_wechat;
  384. });
  385. },
  386. //详情页
  387. navToDetailPage(item) {
  388. let id = item.id;
  389. uni.navigateTo({
  390. url: '/pages/product/product?id=' + id
  391. });
  392. }
  393. }
  394. };
  395. </script>
  396. <style lang="scss">
  397. page,
  398. .center {
  399. height: auto;
  400. min-height: 100%;
  401. background-color: #ffffff;
  402. }
  403. /* #ifdef MP || APP-PLUS*/
  404. .input-box {
  405. padding: 25rpx;
  406. /* #ifdef APP-PLUS */
  407. margin-top: var(--status-bar-height);
  408. /* #endif */
  409. background-color: #0fc8e4;
  410. height: 44px;
  411. .iconsearch {
  412. font-size: 50rpx;
  413. }
  414. .input-content {
  415. border-radius: 99rpx;
  416. flex-grow: 1;
  417. padding: 5rpx 30rpx;
  418. // background-color: rgba(231, 231, 231, 0.7);
  419. background: #ffffff;
  420. .input {
  421. flex-grow: 1;
  422. input {
  423. font-size: $font-base;
  424. }
  425. }
  426. }
  427. .input-button {
  428. padding-left: 20rpx;
  429. font-size: $font-base;
  430. height: 100%;
  431. }
  432. }
  433. /* #endif */
  434. .top {
  435. width: 1000rpx;
  436. height: 240rpx;
  437. background: linear-gradient(180deg, #52c696, #52c696);
  438. overflow: hidden;
  439. text-align: center;
  440. border-bottom-left-radius: 50%;
  441. border-bottom-right-radius: 50%;
  442. margin-left: -125rpx;
  443. }
  444. .carousel {
  445. width: 700rpx;
  446. height: 300rpx;
  447. border-radius: 14rpx;
  448. margin: 0 auto;
  449. margin-top: calc(-240rpx + var(--status-bar-height));
  450. .bor {
  451. border-radius: 14rpx;
  452. .carousel-item {
  453. image {
  454. width: 100%;
  455. height: 100%;
  456. border-radius: 14rpx;
  457. }
  458. }
  459. }
  460. }
  461. .swiper-dot {
  462. position: relative;
  463. z-index: 10;
  464. margin-top: -40rpx;
  465. display: flex;
  466. justify-content: center;
  467. .swiper-dots-item {
  468. width: 14rpx;
  469. height: 14rpx;
  470. background: #aaaaaa;
  471. border-radius: 50%;
  472. margin: 0 16rpx;
  473. // z-index: 999;
  474. }
  475. .action {
  476. background-color: #ffffff;
  477. }
  478. }
  479. .cate-section {
  480. display: flex;
  481. // justify-content: space-around;
  482. justify-content: flex-start;
  483. align-items: center;
  484. flex-wrap: wrap;
  485. padding: 60rpx 0 20rpx;
  486. .cate-item {
  487. width: 25%;
  488. display: flex;
  489. flex-direction: column;
  490. align-items: center;
  491. font-size: $font-sm + 4rpx;
  492. color: $font-color-dark;
  493. image {
  494. width: 118rpx;
  495. height: 103rpx;
  496. }
  497. }
  498. .cate-font {
  499. // margin-top: -26rpx;
  500. margin-bottom: 20rpx;
  501. }
  502. /* 原图标颜色太深,不想改图了,所以加了透明度 */
  503. image {
  504. width: 150rpx;
  505. height: 150rpx;
  506. // margin-bottom: 14rpx;
  507. border-radius: 50%;
  508. }
  509. }
  510. .xian {
  511. width: 750rpx;
  512. height: 20rpx;
  513. background: #f5f5f5;
  514. }
  515. .main {
  516. margin-top: 40rpx;
  517. padding: 0 40rpx;
  518. .main-t-t {
  519. // width: 100;
  520. display: flex;
  521. justify-content: center;
  522. .main-t-t-i {
  523. width: 376rpx;
  524. height: 34rpx;
  525. margin: auto;
  526. }
  527. }
  528. .main-top {
  529. align-items: center;
  530. .main-left {
  531. display: flex;
  532. justify-content: flex-start;
  533. align-items: center;
  534. .shu {
  535. width: 8rpx;
  536. height: 38rpx;
  537. background: #05ab81;
  538. border-radius: 4rpx;
  539. }
  540. .main-title {
  541. margin-left: 10rpx;
  542. font-size: 36rpx;
  543. font-family: PingFang SC;
  544. font-weight: bold;
  545. color: #202739;
  546. }
  547. .main-tip {
  548. font-size: 22rpx;
  549. font-family: PingFang SC;
  550. font-weight: bold;
  551. color: #95a0b1;
  552. margin-left: 14rpx;
  553. }
  554. }
  555. }
  556. }
  557. .guess-item {
  558. display: flex;
  559. width: 710rpx;
  560. height: 290rpx;
  561. background: #ffffff;
  562. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  563. border-radius: 10rpx;
  564. padding: 15rpx;
  565. padding-bottom: 150rpx;
  566. margin: 20rpx auto 0;
  567. position: relative;
  568. image {
  569. width: 260rpx;
  570. height: 260rpx;
  571. border-radius: 10rpx;
  572. }
  573. .guess-box {
  574. padding: 12rpx 0 0 24rpx;
  575. width: 436rpx;
  576. .title {
  577. font-size: 30rpx;
  578. padding-left: 4rpx;
  579. font-family: PingFang SC;
  580. font-weight: 500;
  581. color: #333333;
  582. width: 368rpx;
  583. line-height: 36rpx;
  584. .tuanF {
  585. display: inline-block;
  586. margin-right: 4rpx;
  587. position: relative;
  588. top: -6rpx;
  589. .tuan {
  590. display: flex;
  591. align-items: center;
  592. padding: 10rpx;
  593. height: 36rpx;
  594. background: #ffebe9;
  595. border-radius: 18rpx;
  596. .tuan-image {
  597. width: 18rpx;
  598. height: 18rpx;
  599. }
  600. .tuan-font {
  601. display: inline;
  602. font-size: 20rpx;
  603. font-family: PingFang SC;
  604. font-weight: 500;
  605. color: #ff1135;
  606. margin-left: 2rpx;
  607. }
  608. }
  609. }
  610. }
  611. .ping-box {
  612. margin-top: 15rpx;
  613. justify-content: flex-start;
  614. .ping {
  615. margin-left: 10rpx;
  616. height: 39rpx;
  617. background: #fdf7eb;
  618. border-radius: 5rpx;
  619. font-size: 22rpx;
  620. font-family: PingFang SC;
  621. font-weight: 500;
  622. color: #ff911f;
  623. display: flex;
  624. align-items: center;
  625. padding: 0 10rpx;
  626. }
  627. }
  628. .price-box {
  629. margin-top: 80rpx;
  630. justify-content: flex-start;
  631. .yuanprice {
  632. font-size: 26rpx;
  633. font-family: PingFang SC;
  634. font-weight: 500;
  635. text-decoration: line-through;
  636. color: #999999;
  637. padding-right: 6rpx;
  638. }
  639. image {
  640. width: 14rpx;
  641. height: 16rpx;
  642. }
  643. .jiang {
  644. padding-left: 2rpx;
  645. font-size: 24rpx;
  646. font-family: PingFang SC;
  647. font-weight: bold;
  648. color: #b59467;
  649. }
  650. }
  651. .price {
  652. font-size: 36rpx;
  653. font-family: PingFang SC;
  654. font-weight: bold;
  655. color: #FF6F0F;
  656. }
  657. .btn {
  658. width: 137rpx;
  659. height: 56rpx;
  660. background: #16cc9f;
  661. border-radius: 28rpx;
  662. font-size: 28rpx;
  663. font-family: PingFang SC;
  664. font-weight: 500;
  665. color: #ffffff;
  666. line-height: 56rpx;
  667. text-align: center;
  668. position: absolute;
  669. bottom: 25rpx;
  670. right: 25rpx;
  671. }
  672. }
  673. }
  674. .popup {
  675. width: 640rpx;
  676. background-color: #ffffff;
  677. border-radius: 15rpx;
  678. text-align: center;
  679. .popup-dox {
  680. position: relative;
  681. top: -60rpx;
  682. .popup-logo {
  683. width: 460rpx;
  684. height: 132rpx;
  685. }
  686. .pop-title {
  687. font-size: 40rpx;
  688. font-weight: bold;
  689. color: #333333;
  690. padding: 25rpx 0rpx;
  691. margin-bottom: 50rpx;
  692. }
  693. .popup-text {
  694. width: 400rpx;
  695. height: 400rpx;
  696. margin-bottom: 50rpx;
  697. }
  698. .btn {
  699. width: 300rpx;
  700. height: 50rpx;
  701. line-height: 50rpx;
  702. background: #96e4f2;
  703. margin: 0 auto;
  704. color: #ffffff;
  705. border-radius: 25rpx;
  706. }
  707. .pop-tip {
  708. font-size: 30rpx;
  709. font-weight: 500;
  710. color: #333333;
  711. justify-content: center;
  712. margin-top: 20rpx;
  713. .weixin {
  714. width: 48rpx;
  715. height: 40rpx;
  716. margin-right: 14rpx;
  717. image {
  718. width: 48rpx;
  719. height: 40rpx;
  720. }
  721. }
  722. }
  723. }
  724. }
  725. .close_icon {
  726. width: 60rpx;
  727. height: 60rpx;
  728. margin: 88rpx auto 0;
  729. image {
  730. width: 100%;
  731. height: 100%;
  732. }
  733. }
  734. .jj-tit {
  735. display: flex;
  736. // height: 50rpx;
  737. justify-content: space-between;
  738. background-color: #fff;
  739. padding-top: 20rpx;
  740. .left {
  741. padding-left: 30rpx;
  742. display: flex;
  743. .jj-log {
  744. width: 45rpx;
  745. height: 45rpx;
  746. }
  747. .jj-title {
  748. font-weight: bold;
  749. font-size: 32rpx;
  750. padding-left: 15rpx;
  751. }
  752. }
  753. .right {
  754. display: flex;
  755. width: 200rpx;
  756. font-size: 22rpx;
  757. // justify-content: sp;
  758. justify-content: flex-end;
  759. align-items: center;
  760. padding-right: 30rpx;
  761. color: #999;
  762. .jj-more {
  763. margin-left: 10rpx;
  764. width: 15rpx;
  765. height: 22rpx;
  766. }
  767. }
  768. }
  769. .jj-wrap {
  770. background-color: #fff;
  771. // margin: 20rpx 0;
  772. .jj {
  773. margin: auto;
  774. width: 689rpx;
  775. height: 202rpx;
  776. border-bottom: 1px solid #e5e5e5;
  777. padding: 20rpx;
  778. padding-left: 0;
  779. display: flex;
  780. &:last-of-type {
  781. border-bottom: none;
  782. }
  783. .jj-img {
  784. flex-shrink: 0;
  785. width: 222rpx;
  786. height: 158rpx;
  787. background-color: #eee;
  788. border-radius: 10rpx;
  789. }
  790. .jj-info {
  791. width: 450rpx;
  792. // flex-shrink: 0;
  793. padding: 10rpx;
  794. padding-left: 15rpx;
  795. font-size: 32rpx;
  796. font-weight: bold;
  797. display: flex;
  798. flex-direction: column;
  799. justify-content: space-between;
  800. .jj-tit-tit {
  801. }
  802. .jj-val {
  803. padding-top: 20rpx;
  804. font-size: 28rpx;
  805. font-weight: 500;
  806. }
  807. }
  808. }
  809. }
  810. </style>