financedetail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912
  1. <template>
  2. <view :class="[AppTheme]" class="subrecord">
  3. <!-- 头部切换 -->
  4. <!-- #ifdef APP-PLUS || MP-WEIXIN -->
  5. <u-sticky offsetTop="0" style="z-index: 10;">
  6. <!-- #endif -->
  7. <!-- #ifdef H5 -->
  8. <u-sticky offsetTop="-44" style="z-index: 10;">
  9. <!-- #endif -->
  10. <view class="head_fixation">
  11. <u-tabs :scrollable="false" ref="uTabs" :list="navList" lineWidth="60" :lineColor="primary"
  12. :activeStyle="{
  13. color: primary,
  14. transform: 'scale(1.05)'
  15. }" :inactiveStyle="{
  16. color: '#606266',
  17. transform: 'scale(1)'
  18. }" :current="current" @click="tabsChange">
  19. </u-tabs>
  20. </view>
  21. </u-sticky>
  22. <view v-if="index!=3">
  23. <view class="notes-con">
  24. <view class="total-share">
  25. <view class="ts-left">
  26. <view class="ts-h">
  27. <view class="detail">
  28. <view class="ts-bg bg-primary">
  29. <text class="all-p text-primary">农场认养</text>
  30. </view>
  31. <view class="detail_ani">
  32. <view class="num">{{ detailInfo.lefttime || 0 }}</view>
  33. <view class="sam zi">期限(天)</view>
  34. </view>
  35. <view class="detail_ani">
  36. <view>
  37. {{goods.bonusway || '' }}
  38. </view>
  39. <view class="sam zi">认养收获</view>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="ts-f">
  44. <view>
  45. <view class="num">
  46. {{ goods.copies_price || 0 }}
  47. </view>
  48. <view class="sam zi">
  49. 元/{{ goods.unit}}
  50. </view>
  51. </view>
  52. <view>
  53. <view class="num">{{ detailInfo.totalnum || 0 }}</view>
  54. <view class="sam zi">数量</view>
  55. </view>
  56. <view>
  57. <view class="num">
  58. {{ detailInfo.payprice || 0 }}
  59. </view>
  60. <view class="sam zi">
  61. 金额(元)</view>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="ts-right">
  66. <view></view>
  67. <view class="abso border-primary">
  68. <image :src="settingFile.root_img+'/static/app/imgs/mine/17.png'" mode="" />
  69. <view class="now text-explain" v-if="detailInfo.status == 0">已取消</view>
  70. <view class="now text-neutral" v-if="detailInfo.status == 1"
  71. @click="goPay(detailInfo.id)">
  72. 去付款</view>
  73. <view class="now text-primary" v-if="detailInfo.status ==2 ">认养中</view>
  74. <view class="now text-explain" v-if="detailInfo.status ==3 ">已完成</view>
  75. <view class="now text-primary" v-if="detailInfo.status ==4 ">已发货</view>
  76. <view class="now text-primary" v-if="detailInfo.status ==8 ">退款中</view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. <!-- 基本信息 -->
  83. <view class="detail-c" v-if="index==0">
  84. <view class="mb20" style="display: flex;">
  85. <text class="mr10">认养产品 :</text>
  86. <text v-if="detailInfo.goods&&detailInfo.goods.name"
  87. style="flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;">
  88. {{ detailInfo.goods.name }}
  89. </text>
  90. </view>
  91. <view class="mb20">
  92. <text class="mr10">订单号 :</text>
  93. <text>{{ detailInfo.oid }}</text>
  94. </view>
  95. <view class="mb20">
  96. <text class="mr10">开始时间 :</text>
  97. <text>{{ detailInfo.paytime || 0 }}</text>
  98. </view>
  99. <view class="mb20">
  100. <text class="mr10">现在时间 :</text>
  101. <text>{{ detailInfo.now || 0 }}</text>
  102. </view>
  103. <view class="mb20">
  104. <text class="mr10">认养周期 :</text>
  105. <text>{{ detailInfo.lefttime }}天</text>
  106. <text class="ml10">已过天数 :</text>
  107. <text>{{ detailInfo.past }}天</text>
  108. <text class="ml10">剩余天数 :</text>
  109. <text>{{ detailInfo.lefttime - detailInfo.past }}天</text>
  110. </view>
  111. <view class="peisong">
  112. <view class="mb20 flex">
  113. <text>预期配送:{{ detailInfo.qinum||0}}次</text>
  114. </view>
  115. <view class="mb20 flex">
  116. <text>
  117. 已配送:
  118. <text style="color: #f26214;">{{ detailInfo.ypsnum||0 }}</text>
  119. </text>
  120. </view>
  121. <view class="mb20" v-for="(item,index) in log" :key="index"><text class="mr10">订单进度:
  122. {{ $u.timeFormat(item.ctime,fmt = 'yyyy/mm/dd hh:MM:ss') || 0 }} {{ item.msg }}</text>
  123. </view>
  124. </view>
  125. </view>
  126. <!-- 认养日志-->
  127. <view class="detail-s" v-if="index==1">
  128. <view class="guan_1">
  129. <image :src="settingFile.root_img+'/static/app/imgs/mine/dis/41.png'"></image>
  130. </view>
  131. <view class="guan_2 bg-primary">
  132. <view>我是农场管理员:{{operatorlist.name}}</view>
  133. <view>以下认养操作,是在我的监督下进行的</view>
  134. </view>
  135. </view>
  136. <view class="detail-c" v-if="index==1">
  137. <view class="u-page">
  138. <view class="u-demo-block" v-for="(item, index) in operator" :key="index">
  139. <!-- <text class="u-demo-block__title">多图模式</text> -->
  140. <view class="u-demo-block__content" style="padding: 20rpx;">
  141. <view class="operator_1">{{item.operator_name}}/{{item.type_name}}</view>
  142. <view class="album">
  143. <view class="album__avatar">
  144. <image :src=" operatorlist.farm_logo" mode="" style="width: 35px;height: 35px;">
  145. </image>
  146. </view>
  147. <view class="album__content">
  148. <u--text :text="operatorlist.farm_name" type="primary" bold size="15"></u--text>
  149. <u--text margin="8px 0 8px 0" :text="item.remark"></u--text>
  150. <u-album :urls="item.imgs"></u-album>
  151. </view>
  152. </view>
  153. <view class="operator_2">
  154. <view>{{item.create_time}}</view>
  155. <view>操作员:{{item.name}}</view>
  156. </view>
  157. </view>
  158. <view class="bor_solp"></view>
  159. </view>
  160. </view>
  161. </view>
  162. <!-- 配送信息-->
  163. <view class="order_list" v-if="index==2">
  164. <view class="detail-c" v-for="(item, index) in delivery" :key="index">
  165. <view class="model_one">
  166. <view class="model_two">
  167. <view class="model_two_1"></view>
  168. <view class="model_two_2">{{item.titles}}</view>
  169. </view>
  170. <view class="model_three">
  171. <view class="model_three_2">
  172. <view class="model_three_3" v-if="item.fahuokdnum"> 快递订单号 </view>
  173. <view class="model_three_3" v-if="item.fahuokd">快递公司 </view>
  174. <view class="model_three_3">配送模式 </view>
  175. <view class="model_three_3">配送状态 </view>
  176. <view class="model_three_3">预计配送时间</view>
  177. <view class="model_three_3">创建时间</view>
  178. </view>
  179. <view class="model_three_2">
  180. <view class="model_three_4" v-if="item.fahuokdnum">{{item.fahuokdnum}}</view>
  181. <view class="model_three_4" v-if="item.fahuokd">{{item.fahuokd}}</view>
  182. <view class="model_three_4">{{item.msg}}</view>
  183. <view class="model_three_4">{{item.status}}</view>
  184. <view class="model_three_4">{{item.getdate}}</view>
  185. <view class="model_three_4">{{item.ctime}}</view>
  186. </view>
  187. </view>
  188. </view>
  189. </view>
  190. </view>
  191. <!-- 认养榜单 -->
  192. <view class="order_list" v-if="index==3">
  193. <view class="detail-c" v-for="(item, index) in ranking" :key="index" @click="orderBy(item.id)">
  194. <view style="padding: 20rpx 20rpx 0 20rpx;">
  195. <view class="ranking_one">
  196. <view class="ranking_three">
  197. <image :src="item.farm_logo"></image>
  198. <view>{{item.farm_name}}</view>
  199. </view>
  200. <view class="ranking_two">
  201. {{item.titles}}
  202. </view>
  203. </view>
  204. <view class="bor_solp"></view>
  205. <view class="detail_title_1">
  206. <view class="detail_title_p1">
  207. <image class="image" :src="item.pic" mode=""></image>
  208. </view>
  209. <view class="detail_title_p2">
  210. <view class="detail_title_p3">{{item.name}}</view>
  211. <view class="detail_title_p4">
  212. {{item.renyantime}}
  213. </view>
  214. <view>
  215. <u-line-progress :percentage="item.munber" activeColor="#ff0000"></u-line-progress>
  216. </view>
  217. <view class="fram_oper_1">
  218. <view class="fram_oper_2">
  219. <view class="views1">品种</view>
  220. <view class="views1">周期</view>
  221. <view class="views1">价格</view>
  222. </view>
  223. <view class="fram_oper_2">
  224. <view class="views2">{{item.vname}}</view>
  225. <view class="views2">{{item.cycle}}天</view>
  226. <view class="views2">{{item.copies_price}}</view>
  227. </view>
  228. </view>
  229. </view>
  230. </view>
  231. </view>
  232. <view class="shop ">{{item.shoptitle}}</view>
  233. </view>
  234. </view>
  235. <!-- 完 -->
  236. <view style="height: 40rpx;"></view>
  237. </view>
  238. </template>
  239. <script>
  240. import mineApi from '@/api/mine/index.js';
  241. export default {
  242. data() {
  243. return {
  244. primary: this.$theme.primary,
  245. settingFile: getApp().globalData.siteinfo,
  246. // 当前排序方式视图
  247. nowsetyindex: 1,
  248. // 订单列表
  249. orderlist: [],
  250. //顶部距离
  251. scrollTop: 0,
  252. modalshow: false,
  253. customstyle: {
  254. background: '#F4F6F8'
  255. },
  256. navList: [{
  257. name: '基本信息'
  258. },
  259. {
  260. name: '认养日志'
  261. },
  262. {
  263. name: '配送信息'
  264. },
  265. {
  266. name: '认养榜单'
  267. }
  268. ],
  269. current: 0,
  270. swiperCurrent: 0,
  271. nomorelist: false,
  272. id: '',
  273. log: [],
  274. detailInfo: {},
  275. index: '',
  276. goods: {},
  277. operatorlist: {},
  278. operator: '',
  279. delivery: '',
  280. ranking: ''
  281. };
  282. },
  283. onLoad(options) {
  284. this.id = options.id;
  285. this.getJiLu()
  286. },
  287. methods: {
  288. // tabs通知swiper切换
  289. tabsChange(e) {
  290. console.log(e.index)
  291. this.index = e.index
  292. if (e.index == 0) {
  293. this.getJiLu()
  294. } else if (e.index == 1) {
  295. this.operatorlog()
  296. } else if (e.index == 2) {
  297. this.financedelivery()
  298. } else if (e.index == 3) {
  299. this.financeranking()
  300. }
  301. },
  302. getJiLu() {
  303. mineApi
  304. .orderDetail({
  305. orderid: this.id
  306. })
  307. .then(res => {
  308. this.detailInfo = res.data.cache;
  309. this.goods = res.data.cache.goods;
  310. console.log(this.goods, "this.detailInfo")
  311. this.log = res.data.log;
  312. });
  313. },
  314. operatorlog() {
  315. mineApi
  316. .operatorlog({
  317. orderid: this.id
  318. })
  319. .then(res => {
  320. this.operatorlist = res.data.data;
  321. this.operator = res.data.data1;
  322. console.log(this.operator.remark, "this.detailInfo")
  323. });
  324. },
  325. financedelivery() {
  326. mineApi
  327. .financedelivery({
  328. orderid: this.id
  329. })
  330. .then(res => {
  331. this.delivery = res.data;
  332. });
  333. },
  334. financeranking() {
  335. mineApi
  336. .financeranking()
  337. .then(res => {
  338. this.ranking = res.data;
  339. });
  340. },
  341. orderBy(id) {
  342. uni.navigateTo({
  343. url: `/pagesA/pages/adopt/adopt?id=` + id
  344. });
  345. },
  346. }
  347. };
  348. </script>
  349. <style lang="scss">
  350. page {
  351. width: 100%;
  352. height: 100%;
  353. }
  354. .head_fixation {
  355. width: 100%;
  356. z-index: 11;
  357. background-color: #ffffff;
  358. }
  359. .subrecord {
  360. width: 100%;
  361. min-height: 100vh;
  362. padding-top: 0.1rpx;
  363. background: #f1f1f1;
  364. position: relative;
  365. .notes-con {
  366. height: 240rpx;
  367. width: calc(100% - 40rpx);
  368. margin: 0 auto;
  369. border-radius: 20rpx;
  370. background-color: #ffffff;
  371. .total-share {
  372. height: 240rpx;
  373. width: 100%;
  374. display: flex;
  375. justify-content: flex-start;
  376. margin: 20rpx auto;
  377. }
  378. .ts-left {
  379. margin-top: 16rpx;
  380. margin-left: 20rpx;
  381. /*float: left;*/
  382. }
  383. .total-share .ts-h,
  384. .ts-f {
  385. width: 472rpx;
  386. }
  387. .ts-f {
  388. margin-top: -14rpx;
  389. }
  390. .total-share .ts-h {
  391. height: 70rpx;
  392. display: flex;
  393. justify-content: flex-start;
  394. align-items: center;
  395. margin-bottom: 50rpx;
  396. margin-top: 10rpx;
  397. align-items: center;
  398. }
  399. .total-share .ts-h .ts-bg {
  400. width: 74rpx;
  401. height: 70rpx;
  402. display: flex;
  403. align-items: center;
  404. justify-content: center;
  405. font-size: 16rpx;
  406. background-size: 100%;
  407. margin-right: 16rpx;
  408. text-align: center;
  409. }
  410. .total-share .ts-h .all-p {
  411. font-size: 20rpx;
  412. font-family: PingFang SC;
  413. font-weight: 800;
  414. color: rgba(255, 255, 255, 1);
  415. letter-spacing: 6rpx;
  416. margin-left: 5rpx;
  417. margin-top: -8rpx;
  418. margin-left: 5rpx;
  419. }
  420. .total-share .ts-h .expect {
  421. display: inline-block;
  422. width: 360rpx;
  423. overflow: hidden;
  424. text-overflow: ellipsis;
  425. -o-text-overflow: ellipsis;
  426. white-space: nowrap;
  427. font-size: 31rpx;
  428. font-family: PingFang SC;
  429. font-weight: bold;
  430. color: rgba(0, 0, 0, 1);
  431. }
  432. .detail {
  433. display: flex;
  434. flex: 1;
  435. justify-content: space-between;
  436. .detail_ani {
  437. text-align: center;
  438. .sam {
  439. text-align: center;
  440. font-size: 22rpx;
  441. color: #bababa;
  442. }
  443. .zi {
  444. margin-top: 15rpx;
  445. }
  446. }
  447. .detail_ani.overflowl {
  448. width: 65%;
  449. overflow: hidden;
  450. text-overflow: ellipsis;
  451. .ellipsis {
  452. white-space: nowrap;
  453. /*强制在一行显示*/
  454. text-overflow: ellipsis;
  455. /*设置超出内容显示...*/
  456. overflow: hidden;
  457. }
  458. }
  459. }
  460. .ts-f {
  461. display: flex;
  462. justify-content: space-between;
  463. align-items: center;
  464. }
  465. .ts-f .red-pre {
  466. text-align: center;
  467. top: 14rpx;
  468. font-weight: 800;
  469. font-size: 30rpx;
  470. }
  471. .ts-f .num {
  472. position: relative;
  473. top: 14rpx;
  474. font-size: 30rpx;
  475. font-weight: 800;
  476. text-align: center;
  477. }
  478. .ts-f .sam {
  479. text-align: center;
  480. font-size: 22rpx;
  481. color: #bababa;
  482. }
  483. .ts-f .sam.zi {
  484. margin-top: 24rpx;
  485. }
  486. .ts-right {
  487. margin-left: 10rpx;
  488. position: relative;
  489. margin-top: 40rpx;
  490. }
  491. .ts-right .abso {
  492. width: 140rpx;
  493. height: 140rpx;
  494. position: absolute;
  495. font-size: 24rpx;
  496. left: 46rpx;
  497. border-width: 4rpx;
  498. border-style: solid;
  499. border-radius: 50%;
  500. text-align: center;
  501. padding-top: 26rpx;
  502. box-sizing: border-box;
  503. image {
  504. width: 45rpx;
  505. height: 51rpx;
  506. }
  507. }
  508. .abso .yet {
  509. margin-left: 16rpx;
  510. width: 46rpx;
  511. height: 52rpx;
  512. }
  513. .abso .now {
  514. font-size: 26rpx;
  515. font-family: PingFang SC;
  516. font-weight: 800;
  517. }
  518. }
  519. .peisong {
  520. border-top: 1px solid #eeeeee;
  521. }
  522. .detail-c {
  523. width: calc(100% - 40rpx);
  524. margin: 20rpx auto;
  525. background-color: #ffffff;
  526. border-radius: 20rpx;
  527. font-size: 28rpx;
  528. color: #999;
  529. .mb20 {
  530. padding: 27rpx;
  531. // margin-bottom: 50rpx;
  532. // border-bottom: 1px solid #E4E7ED;
  533. .ml10 {
  534. margin-left: 20rpx;
  535. }
  536. }
  537. .flex {
  538. display: flex;
  539. justify-content: space-between;
  540. }
  541. }
  542. .detail-d {
  543. width: calc(100% - 40rpx);
  544. margin: 20rpx auto;
  545. background-color: #ffffff;
  546. border-radius: 20rpx;
  547. font-size: 28rpx;
  548. color: #999;
  549. // padding: 20rpx;
  550. .mb20 {
  551. padding: 27rpx;
  552. // margin-bottom: 50rpx;
  553. // border-bottom: 1px solid #E4E7ED;
  554. .ml10 {
  555. margin-left: 20rpx;
  556. }
  557. }
  558. .flex {
  559. display: flex;
  560. justify-content: space-between;
  561. }
  562. }
  563. }
  564. .album {
  565. @include flex;
  566. align-items: flex-start;
  567. &__avatar {
  568. background-color: $u-bg-color;
  569. padding: 5px;
  570. border-radius: 3px;
  571. }
  572. &__content {
  573. margin-left: 10px;
  574. flex: 1;
  575. }
  576. }
  577. .bor_solp {
  578. background-color: #999;
  579. height: 1rpx;
  580. width: 100%;
  581. transform: scaleY(0.3);
  582. margin: 10rpx 0;
  583. }
  584. .operator_1 {
  585. padding: 10rpx 0 20rpx 0;
  586. font-size: 32rpx;
  587. color: black;
  588. }
  589. .operator_2 {
  590. display: flex;
  591. justify-content: space-between;
  592. padding: 30rpx 10rpx 0 10rpx;
  593. font-size: 28rpx;
  594. }
  595. .detail-s {
  596. display: flex;
  597. padding: 30rpx 20rpx 0 20rpx;
  598. align-items: center;
  599. .guan_1 {
  600. image {
  601. width: 100rpx;
  602. height: 100rpx;
  603. }
  604. }
  605. .guan_2 {
  606. width: 80%;
  607. line-height: 40rpx;
  608. position: relative;
  609. border-radius: 10px;
  610. margin-left: 3.5vh;
  611. color: #fff;
  612. padding: 20rpx;
  613. }
  614. .guan_2:before {
  615. content: "";
  616. position: absolute;
  617. right: 100%;
  618. top: 20px;
  619. border-top: 13px solid transparent;
  620. border-right: 26px solid red;
  621. border-bottom: 0px solid transparent;
  622. }
  623. }
  624. .u-page {}
  625. .model_one {
  626. display: flex;
  627. flex-direction: column;
  628. padding: 20rpx;
  629. .model_two {
  630. display: flex;
  631. justify-content: flex-start;
  632. float: right;
  633. padding: 0 20rpx;
  634. .model_two_1 {
  635. background-color: green;
  636. width: 10rpx;
  637. border-radius: 40rpx;
  638. }
  639. .model_two_2 {
  640. margin-left: 1vh;
  641. font-size: 30rpx;
  642. }
  643. }
  644. .model_three {
  645. display: flex;
  646. justify-content: space-between;
  647. align-items: center;
  648. padding: 0 20rpx;
  649. .model_three_2 {
  650. padding: 20rpx;
  651. .model_three_3 {
  652. color: #999;
  653. padding: 20rpx 0;
  654. font-size: 28rpx;
  655. }
  656. .model_three_4 {
  657. display: flex;
  658. justify-content: flex-end;
  659. padding: 20rpx 0;
  660. font-size: 30rpx;
  661. }
  662. }
  663. }
  664. .model_four {
  665. display: flex;
  666. flex-direction: column;
  667. .model_four_1 {
  668. display: flex;
  669. justify-content: space-between;
  670. padding: 20rpx 50rpx;
  671. .model_four_2 {
  672. color: #999;
  673. font-size: 28rpx;
  674. }
  675. }
  676. .model_four_3 {
  677. display: flex;
  678. justify-content: space-between;
  679. padding: 20rpx 50rpx;
  680. .model_four_4 {
  681. font-size: 28rpx;
  682. text-align: center;
  683. height: 45rpx;
  684. line-height: 45rpx;
  685. min-width: 15%;
  686. }
  687. }
  688. }
  689. }
  690. .ranking_one {
  691. display: flex;
  692. justify-content: space-between;
  693. align-items: center;
  694. .ranking_three {
  695. display: flex;
  696. align-items: center;
  697. image {
  698. width: 80rpx;
  699. height: 80rpx;
  700. }
  701. view {
  702. margin-left: 1vh;
  703. }
  704. }
  705. .ranking_two {
  706. color: red;
  707. }
  708. }
  709. .detail_title_1 {
  710. display: flex;
  711. justify-content: flex-start;
  712. align-items: center;
  713. .detail_title_p1 {
  714. width: 35%;
  715. .image {
  716. border-radius: 10rpx;
  717. width: 200rpx;
  718. height: 200rpx;
  719. }
  720. }
  721. .detail_title_p2 {
  722. padding-left: 15rpx;
  723. width: 100%;
  724. .detail_title_p3 {
  725. line-height: 45rpx;
  726. font-size: 30rpx;
  727. -webkit-line-clamp: 1;
  728. display: -webkit-box;
  729. -webkit-box-orient: vertical;
  730. overflow: hidden;
  731. color: #000;
  732. text-overflow: ellipsis;
  733. }
  734. .detail_title_p4 {
  735. padding: 15rpx 0rpx;
  736. font-size: 26rpx;
  737. }
  738. .detail_title_p4 {
  739. -webkit-line-clamp: 2;
  740. display: -webkit-box;
  741. -webkit-box-orient: vertical;
  742. overflow: hidden;
  743. text-overflow: ellipsis;
  744. }
  745. .fram_oper_1 {
  746. display: flex;
  747. flex-direction: column;
  748. .fram_oper_2 {
  749. display: flex;
  750. justify-content: space-between;
  751. align-items: center;
  752. padding: 15rpx 0;
  753. .views1 {
  754. font-size: 24rpx;
  755. width: 30%;
  756. text-align: center;
  757. -webkit-line-clamp: 1;
  758. display: -webkit-box;
  759. -webkit-box-orient: vertical;
  760. overflow: hidden;
  761. text-overflow: ellipsis;
  762. }
  763. .views2 {
  764. font-size: 28rpx;
  765. width: 30%;
  766. color: #313131;
  767. text-align: center;
  768. -webkit-line-clamp: 1;
  769. display: -webkit-box;
  770. -webkit-box-orient: vertical;
  771. overflow: hidden;
  772. text-overflow: ellipsis;
  773. }
  774. }
  775. }
  776. }
  777. }
  778. .shop {
  779. // display: flex;
  780. // justify-content: flex-end;
  781. text-align: center;
  782. background-color: red;
  783. color: #fff;
  784. width: 60rpx;
  785. line-height: 35rpx;
  786. font-size: 24rpx;
  787. border-bottom-left-radius: 12rpx;
  788. border-top-right-radius: 12rpx;
  789. }
  790. </style>