goodDetails.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  1. <template>
  2. <view class="container">
  3. <swiper class="swiper" :indicator-dots="true" indicator-color="#9A9A9A" indicator-active-color="#52A63A" :autoplay="true"
  4. :interval="3000" :duration="500">
  5. <swiper-item v-for="(item,index) in goodData.imgs" :key="index">
  6. <image :src="item.imgPath" mode="aspectFill" style="width: 100%;height: 100%;"></image>
  7. </swiper-item>
  8. </swiper>
  9. <view class="good-info">
  10. <view class="auction-date" v-if="goodData.productType == 2">
  11. <text class="iconfont iconshijian"></text>
  12. {{goodData.auctionEndTime}}结束
  13. </view>
  14. <view class="good-price">
  15. <view class="auction-unit" v-if="goodData.productType == 2 || goodData.productType == 4">
  16. <view class="unit-type">RMB</view>
  17. <view class="unit-text">当前价</view>
  18. </view>
  19. <text class="sale-icon">¥</text>
  20. <text class="sale-price">{{ goodData.productType == 2 ? currentPrice : goodData.bizPrice }}</text>
  21. <text class="price" v-if="goodData.productType != 2">原价:{{goodData.originalPrice}}</text>
  22. <text class="seller-count" v-if="goodData.productType != 2 && goodData.productType != 4">{{goodData.sellCount}}人付款</text>
  23. <text class="good-stock" v-if="goodData.productType == 2">仅限{{goodData.stock}}份</text>
  24. </view>
  25. <view class="good-name">{{goodData.productName}}</view>
  26. <view class="good-plant" v-if="goodData.productType == 4">时长:{{goodData.term}}天&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;面积:{{goodData.areaSize}}平米</view>
  27. <view class="good-detail">{{goodData.productDescribe ? goodData.productDescribe : '暂无描述'}}</view>
  28. </view>
  29. <view class="good-data" v-if="goodData.productType != 2 && goodData.productType != 4">
  30. <text class="good-select">商品规格</text>
  31. <text class="good-unit">{{number}}&nbsp;{{goodData.unit ? goodData.unit : ''}}</text>
  32. <!-- <text class="iconfont iconfangxiang"></text>
  33. --> </view>
  34. <view class="tab-box">
  35. <view class="tab-col" :class="tabIndex == 1 ? 'tab-col-active' :''" @click="tabIndex = 1">产品介绍</view>
  36. <view class="tab-col" :class="tabIndex == 2 ? 'tab-col-active' :''" v-if="goodData.productType != 2 && goodData.productType != 4 "
  37. @click="tabIndex = 2">用户评价</view>
  38. </view>
  39. <rich-text :nodes="goodData.sellDesc" v-if="tabIndex == 1"></rich-text>
  40. <view class="good-assess" v-else>
  41. <view class="assess-row" v-for="(item,index) in assessList" :key="index">
  42. <image class="assess-head" :src="item.headimg"></image>
  43. <view class="assess-info">
  44. <view class="assess-name">{{item.nickname}}</view>
  45. <view class="assess-date">{{item.evaluateTime}}</view>
  46. <view class="assess-sore-box">
  47. <u-rate v-model="item.score" active-color="#FFAE21" disabled></u-rate>
  48. </view>
  49. <view class="assess-text">{{item.evaluateContent}}</view>
  50. <view class="assess-img-box">
  51. <image class="img-col" v-for="site in item.evaluateImgs" :key="site" :src="site.imgUrl"></image>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="assess-more" @click="goToEvaluate()">显示全部</view>
  56. </view>
  57. <view class="good-recommend">
  58. <view class="recommend-title">为您推荐</view>
  59. <scroll-view class="recommend-box" scroll-x="true">
  60. <view class="good-col" v-for="(item, index) in goodsList" :key="index" @click="goToGoodDetails(item)">
  61. <image class="good-img" :src="item.imgPath"></image>
  62. <view class="good-name">{{item.productName}}</view>
  63. <view class="good-price">¥{{item.bizPrice}}</view>
  64. </view>
  65. </scroll-view>
  66. </view>
  67. <uni-goods-nav :fill="true" :options="goodData.productType == 4 ? [] : options" @click="goToShop" @buttonClick="showPopup"
  68. style="width: 100%; position: fixed; bottom: 0px;" :buttonGroup="goodData.productType == 2 ? buttonGroup2 : (goodData.productType == 4 ? (minePlant ? buttonGroup4 : buttonGroup3) : buttonGroup1)" />
  69. <uni-popup ref="popup" type="bottom">
  70. <view class="popup-box">
  71. <view class="popup-good-info-box">
  72. <image class="popup-good-img" v-if="goodData.imgs.length" :src="goodData.imgs[0].imgPath"></image>
  73. <view class="popup-good-data">
  74. <view class="popup-good-price"><text style="font-size: 14px;">¥</text>{{goodData.bizPrice}}</view>
  75. <view class="popup-good-number">库存{{goodData.stock}}件</view>
  76. <view class="popup-good-type">单位:{{goodData.unit}}</view>
  77. </view>
  78. <view class="popup-good-close"></view>
  79. </view>
  80. <view class="popup-good-info">数量</view>
  81. <view class="popup-good-number-box">
  82. <uni-icons type="minus-filled" size="20" color="#A67A54" @click="number>1?number--:''"></uni-icons>
  83. <text class="good-select">{{number}}</text>
  84. <uni-icons type="plus-filled" size="20" color="#A67A54" @click="number++"></uni-icons>
  85. </view>
  86. <uni-goods-nav :fill="true" :options="[]" :buttonGroup="buttonGroup1" @buttonClick="submitData" style="width: 100%; position: absolute; bottom: 0px;left:0px" />
  87. </view>
  88. </uni-popup>
  89. <u-top-tips ref="uTips"></u-top-tips>
  90. </view>
  91. </template>
  92. <script>
  93. const NET = require('@/utils/request')
  94. const API = require('@/config/api')
  95. export default {
  96. data() {
  97. return {
  98. // 从我的种植进入minePlant为true
  99. minePlant: false,
  100. goodId: '',
  101. goodData: {
  102. bizPrice: '',
  103. auctionStartPrice: '',
  104. originalPrice: '',
  105. productType: '',
  106. sellCount: '',
  107. productName: '',
  108. productDescribe: '',
  109. unit: '',
  110. sellDesc: '',
  111. stock: '',
  112. auctionEndTime: '',
  113. term: '',
  114. areaSize: '',
  115. imgs: [],
  116. },
  117. currentPrice: '',
  118. assessList: [],
  119. goodsList: [],
  120. number: 1,
  121. tabIndex: 1,
  122. options: [{
  123. icon: 'shop',
  124. text: '店铺',
  125. }],
  126. buttonGroup1: [{
  127. text: '加入购物车',
  128. backgroundColor: '#75BD60',
  129. color: '#fff'
  130. },
  131. {
  132. text: '立即购买',
  133. backgroundColor: '#52A63A',
  134. color: '#fff'
  135. }
  136. ],
  137. buttonGroup2: [{
  138. text: '立即参拍',
  139. backgroundColor: '#52A63A',
  140. color: '#fff'
  141. }],
  142. buttonGroup3: [{
  143. text: '立即购买',
  144. backgroundColor: '#52A63A',
  145. color: '#fff'
  146. }],
  147. buttonGroup4: [{
  148. text: '视察',
  149. backgroundColor: '#75BD60',
  150. color: '#fff'
  151. }, {
  152. text: '委托',
  153. backgroundColor: '#52A63A',
  154. color: '#fff'
  155. }],
  156. }
  157. },
  158. onLoad(options) {
  159. this.goodId = options.goodId ? options.goodId : ''
  160. this.minePlant = options.minePlant ? options.minePlant : false
  161. },
  162. onReady() {
  163. this.getGoodsList()
  164. if (this.goodId) {
  165. NET.request(API.getCommonGoodDetail + '/' + this.goodId, {}, 'GET').then(res => {
  166. this.goodData = res.data
  167. if (this.goodData.productType == 2) {
  168. this.getAuctionData()
  169. }
  170. }).catch(res => {
  171. this.$refs.uTips.show({
  172. title: '获取商品详情失败',
  173. type: 'warning',
  174. })
  175. })
  176. NET.request(API.getAssessList + this.goodId + '/1/3', {}, 'GET').then(res => {
  177. this.assessList = res.data.list
  178. }).catch(res => {
  179. this.$refs.uTips.show({
  180. title: '获取商品评价失败',
  181. type: 'warning',
  182. })
  183. })
  184. }
  185. },
  186. methods: {
  187. // 获取拍卖详情
  188. getAuctionData() {
  189. NET.request(API.getAuctionDetail + this.goodId, {}, 'GET').then(res => {
  190. this.currentPrice = res.data.currentPrice
  191. }).catch(error => {
  192. this.$refs.uTips.show({
  193. title: error.data.msg,
  194. type: 'warning',
  195. })
  196. })
  197. },
  198. // 跳转商铺页
  199. goToShop() {
  200. uni.navigateTo({
  201. url: '/pagesGood/shopDetails?goodId=' + this.goodId
  202. });
  203. },
  204. // 跳转评价页
  205. goToEvaluate() {
  206. uni.navigateTo({
  207. url: '/pagesGood/evaluateList?goodId=' + this.goodId
  208. });
  209. },
  210. // 获取为你推荐
  211. getGoodsList() {
  212. NET.request(API.getPreferGoods, {}, 'GET').then(res => {
  213. this.goodsList = res.data
  214. }).catch(error => {
  215. this.$refs.uTips.show({
  216. title: '获取为您推荐列表失败',
  217. type: 'warning',
  218. })
  219. })
  220. },
  221. // 跳转为你推荐商品详情
  222. goToGoodDetails(item) {
  223. uni.navigateTo({
  224. url: '/pagesGood/goodDetails?goodId=' + item.productId + '&goodType=' + item.productType
  225. });
  226. },
  227. // 弹出购物弹窗
  228. showPopup(e) {
  229. uni.removeStorageSync('defaultAddress');
  230. this.setGoodStorage()
  231. if (this.goodData.productType == 2) {
  232. uni.navigateTo({
  233. url: '/pagesGood/auctionDetail?goodId=' + this.goodId
  234. });
  235. } else if (this.goodData.productType == 4) {
  236. if (this.minePlant) {
  237. if (e.index == 0) {
  238. uni.navigateTo({
  239. url: '/pagesGood/plantVideo?productId=' + this.goodId
  240. });
  241. } else {
  242. uni.navigateTo({
  243. url: '/pagesMain/entrustList?productId=' + this.goodData.productId + '&tenantCode=' + this.goodData.tenantCode +
  244. '&productName=' + this.goodData.productName + '&areaSize=' + this.goodData.areaSize
  245. });
  246. }
  247. } else {
  248. uni.navigateTo({
  249. url: '/pagesGood/orderPay?flag=2&orderType=3&paySum=' + this.goodData.bizPrice
  250. });
  251. }
  252. } else {
  253. this.$refs.popup.open()
  254. }
  255. },
  256. // 存入商品信息缓存
  257. setGoodStorage() {
  258. uni.setStorage({
  259. key: 'orderData',
  260. data: {
  261. tenantCode: this.goodData.tenantCode,
  262. supplierName: this.goodData.supplierName,
  263. areaSize: this.goodData.productType == 4 ? this.goodData.areaSize : '',
  264. term: this.goodData.productType == 4 ? this.goodData.term : '',
  265. goodsList: [{
  266. bizPrice: this.goodData.bizPrice,
  267. buyNum: this.number,
  268. imgUrl: this.goodData.imgs.length ? this.goodData.imgs[0].imgPath : '',
  269. originalPrice: this.goodData.productType == 2 ? this.goodData.auctionStartPrice : this.goodData.originalPrice,
  270. productId: this.goodId,
  271. productName: this.goodData.productName,
  272. productType: this.goodData.productType,
  273. shoppingcartId: '',
  274. }]
  275. }
  276. });
  277. },
  278. // 提交操作
  279. submitData(e) {
  280. if (e.index) {
  281. // 立即购买
  282. this.setGoodStorage()
  283. uni.navigateTo({
  284. url: '/pagesGood/orderPay?flag=2&orderType=1'
  285. });
  286. } else {
  287. // 加入购物车
  288. NET.request(API.addCart, {
  289. productId: this.goodId,
  290. productName: this.goodData.productName,
  291. imgUrl: this.goodData.imgs.length ? this.goodData.imgs[0].imgPath : '',
  292. bizPrice: this.goodData.bizPrice,
  293. originalPrice: this.goodData.originalPrice,
  294. productType: this.goodData.productType,
  295. tenantCode: this.goodData.tenantCode,
  296. buyNum: this.number
  297. }, 'POST').then(res => {
  298. this.$refs.uTips.show({
  299. title: '加入购物车成功',
  300. type: 'success',
  301. })
  302. this.$refs.popup.close()
  303. }).catch(error => {
  304. this.$refs.uTips.show({
  305. title: '加入购物车失败',
  306. type: 'warning',
  307. })
  308. })
  309. }
  310. },
  311. },
  312. }
  313. </script>
  314. <style lang="less" scoped>
  315. .container {
  316. background-color: #f7f7f7;
  317. padding-bottom: 50px;
  318. .swiper {
  319. height: 375px;
  320. /deep/.uni-swiper-dot-active {
  321. width: 16px !important;
  322. border-radius: 8px;
  323. }
  324. }
  325. .good-info {
  326. box-sizing: border-box;
  327. padding: 0px 16px 22px 16px;
  328. background-color: #FFFFFF;
  329. .auction-date {
  330. width: calc(100% + 32px);
  331. height: 32px;
  332. box-sizing: border-box;
  333. padding: 0 16px;
  334. margin-left: -16px;
  335. background: #999999;
  336. line-height: 32px;
  337. font-size: 12px;
  338. font-family: PingFang SC;
  339. color: #FFFFFF;
  340. .iconshijian {
  341. font-size: 16px;
  342. margin-right: 8px;
  343. }
  344. }
  345. .good-price {
  346. height: 26px;
  347. padding-top: 22px;
  348. box-sizing: content-box;
  349. line-height: 26px;
  350. font-family: PingFang SC;
  351. white-space: nowrap;
  352. .auction-unit {
  353. width: 40px;
  354. height: 26px;
  355. float: left;
  356. .unit-type {
  357. height: 12px;
  358. font-size: 9px;
  359. font-family: PingFang SC;
  360. color: #666666;
  361. line-height: 9px;
  362. }
  363. .unit-text {
  364. height: 12px;
  365. font-size: 9px;
  366. font-family: PingFang SC;
  367. color: #52A63A;
  368. line-height: 12px;
  369. }
  370. }
  371. .sale-icon {
  372. font-size: 16px;
  373. color: #52A63A;
  374. margin-left: -2px;
  375. }
  376. .sale-price {
  377. font-size: 24px;
  378. color: #52A63A;
  379. }
  380. .price {
  381. font-size: 12px;
  382. text-decoration: line-through;
  383. color: #A67A54;
  384. margin-left: 6px;
  385. }
  386. .seller-count {
  387. float: right;
  388. font-size: 12px;
  389. color: #666666;
  390. }
  391. .good-stock {
  392. float: right;
  393. font-size: 12px;
  394. color: #A67954;
  395. }
  396. }
  397. .good-name {
  398. line-height: 20px;
  399. font-size: 16px;
  400. color: #343434;
  401. font-family: PingFang SC;
  402. margin: 12px 0 8px 0;
  403. }
  404. .good-plant {
  405. line-height: 14px;
  406. font-size: 12px;
  407. color: #000000;
  408. font-family: PingFang SC;
  409. margin-bottom: 4px;
  410. }
  411. .good-detail {
  412. line-height: 16px;
  413. font-size: 12px;
  414. color: #666666;
  415. font-family: PingFang SC;
  416. }
  417. }
  418. .good-data {
  419. height: 46px;
  420. margin-top: 10px;
  421. box-sizing: border-box;
  422. background-color: #FFFFFF;
  423. padding: 14px 16px;
  424. font-family: PingFang SC;
  425. font-size: 12px;
  426. line-height: 14px;
  427. .good-select {
  428. color: #666666;
  429. margin-right: 12px;
  430. }
  431. .good-unit {
  432. color: #343434;
  433. }
  434. .iconfont {
  435. float: right;
  436. font-size: 16px;
  437. color: #999999;
  438. }
  439. }
  440. .tab-box {
  441. height: 50px;
  442. background-color: #FFFFFF;
  443. box-sizing: border-box;
  444. padding: 0 16px;
  445. display: flex;
  446. justify-content: space-around;
  447. margin-top: 10px;
  448. .tab-col {
  449. height: 49px;
  450. font-size: 13px;
  451. font-family: PingFang SC;
  452. color: #666666;
  453. line-height: 50px;
  454. }
  455. .tab-col-active {
  456. font-size: 15px;
  457. color: #343434;
  458. border-bottom: 1px solid #52A63A;
  459. }
  460. }
  461. .good-assess {
  462. width: 100%;
  463. box-sizing: border-box;
  464. background-color: #FFFFFF;
  465. padding: 12px 16px 18px 16px;
  466. .assess-row {
  467. border-top: 1px solid #F6F6F6;
  468. padding: 12px 0;
  469. display: flex;
  470. .assess-head {
  471. width: 50px;
  472. height: 50px;
  473. object-fit: cover;
  474. border-radius: 50%;
  475. }
  476. .assess-info {
  477. width: calc(100% - 62px);
  478. margin-left: 12px;
  479. .assess-name {
  480. height: 18px;
  481. float: left;
  482. line-height: 18px;
  483. font-size: 15px;
  484. font-family: PingFang SC;
  485. font-weight: bold;
  486. color: #343434;
  487. }
  488. .assess-date {
  489. height: 18px;
  490. float: right;
  491. line-height: 18px;
  492. font-size: 12px;
  493. font-family: PingFang SC;
  494. font-weight: bold;
  495. color: #666666;
  496. }
  497. .assess-sore-box {
  498. width: 100%;
  499. height: 16px;
  500. float: left;
  501. margin: 6px 0;
  502. }
  503. .assess-text {
  504. width: 100%;
  505. float: left;
  506. font-size: 12px;
  507. font-family: PingFang SC;
  508. font-weight: bold;
  509. color: #666666;
  510. line-height: 16px;
  511. margin: 8px 0 10px 0;
  512. overflow: hidden;
  513. text-overflow: ellipsis;
  514. display: -webkit-box;
  515. -webkit-line-clamp: 2;
  516. -webkit-box-orient: vertical;
  517. word-wrap: break-word;
  518. }
  519. .assess-img-box {
  520. width: 100%;
  521. float: left;
  522. display: flex;
  523. .img-col {
  524. height: 60px;
  525. width: 60px;
  526. object-fit: cover;
  527. margin: 0 10px 10px 0;
  528. }
  529. }
  530. }
  531. }
  532. .assess-row:first-child {
  533. border-top: none;
  534. padding-top: 0;
  535. }
  536. .assess-more {
  537. width: 220px;
  538. height: 32px;
  539. position: relative;
  540. left: 50%;
  541. transform: translateX(-50%);
  542. border: 1px solid #52A63A;
  543. border-radius: 16px;
  544. text-align: center;
  545. font-size: 12px;
  546. font-family: PingFang SC;
  547. color: #53A63A;
  548. line-height: 32px;
  549. }
  550. }
  551. .good-recommend {
  552. height: 192px;
  553. background-color: #FFFFFF;
  554. margin: 10px 0;
  555. .recommend-title {
  556. height: 24px;
  557. padding-left: 16px;
  558. font-size: 14px;
  559. font-family: PingFang SC;
  560. color: #343434;
  561. line-height: 32px;
  562. }
  563. .recommend-box {
  564. width: 100%;
  565. height: 168px;
  566. white-space: nowrap;
  567. .good-col {
  568. width: 108px;
  569. height: 158px;
  570. margin: 10px 12px 10px 0px;
  571. border-radius: 5px;
  572. overflow: hidden;
  573. background: #FFFFFF;
  574. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
  575. display: inline-block;
  576. .good-img {
  577. width: 108px;
  578. height: 108px;
  579. object-fit: cover;
  580. }
  581. .good-name {
  582. width: 100%;
  583. height: 14px;
  584. float: left;
  585. box-sizing: border-box;
  586. padding: 0 5px;
  587. font-size: 10px;
  588. font-family: PingFang SC;
  589. color: #343434;
  590. line-height: 14px;
  591. margin: 4px 0;
  592. white-space: nowrap;
  593. overflow: hidden;
  594. text-overflow: ellipsis;
  595. }
  596. .good-price {
  597. width: 100%;
  598. height: 16px;
  599. float: left;
  600. box-sizing: border-box;
  601. padding: 0 3px;
  602. font-size: 14px;
  603. font-family: PingFang SC;
  604. color: #6CA63A;
  605. line-height: 16px;
  606. margin-bottom: 10px
  607. }
  608. }
  609. .good-col:first-child {
  610. margin-left: 16px;
  611. }
  612. .good-col:last-child {
  613. margin-right: 16px;
  614. }
  615. }
  616. }
  617. .popup-box {
  618. width: 100vw;
  619. height: 362px;
  620. background-color: #FFFFFF;
  621. border-radius: 15px 15px 0px 0px;
  622. box-sizing: border-box;
  623. padding: 16px 16px 0 16px;
  624. .popup-good-info-box {
  625. height: 90px;
  626. margin-bottom: 4px;
  627. display: flex;
  628. .popup-good-img {
  629. width: 90px;
  630. height: 90px;
  631. object-fit: cover;
  632. border-radius: 5px;
  633. overflow: hidden;
  634. }
  635. .popup-good-data {
  636. width: calc(100% - 136px);
  637. height: 90px;
  638. margin-left: 22px;
  639. .popup-good-price {
  640. margin-top: 10px;
  641. height: 20px;
  642. line-height: 20px;
  643. font-size: 20px;
  644. font-family: PingFang SC;
  645. color: #52A63A;
  646. }
  647. .popup-good-number {
  648. height: 16px;
  649. font-size: 13px;
  650. font-family: PingFang SC;
  651. color: #9A9A9A;
  652. line-height: 16px;
  653. margin: 12px 0 10px 0;
  654. }
  655. .popup-good-type {
  656. height: 16px;
  657. font-size: 13px;
  658. font-family: PingFang SC;
  659. color: #343434;
  660. line-height: 16px;
  661. }
  662. }
  663. .popup-good-close {
  664. width: 24px;
  665. height: 24px;
  666. }
  667. }
  668. .popup-good-info {
  669. height: 33px;
  670. box-sizing: border-box;
  671. padding-top: 16px;
  672. margin-top: 16px;
  673. border-top: 1px solid #ECECEC;
  674. font-size: 14px;
  675. font-family: PingFang SC;
  676. color: #9A9A9A;
  677. line-height: 16px;
  678. }
  679. .popup-good-unit {
  680. height: 28px;
  681. display: inline-block;
  682. padding: 0 22px;
  683. margin-top: 14px;
  684. background: #52A63A;
  685. border-radius: 14px;
  686. font-size: 14px;
  687. font-family: PingFang SC;
  688. color: #FFFFFF;
  689. line-height: 28px;
  690. }
  691. .popup-good-number-box {
  692. height: 20px;
  693. float: right;
  694. margin-top: -20px;
  695. .good-select {
  696. font-size: 16px;
  697. font-family: PingFang SC;
  698. color: #343434;
  699. margin: 0 12px;
  700. line-height: 20px;
  701. }
  702. }
  703. }
  704. }
  705. </style>