orderDetail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. <template>
  2. <view class="orderDetail-digitalShel flex flex_column">
  3. <view class="contHead" :style="{background:state!= 'error'&&state!= 'AUDIT_REJECT'&&state!='CANCEL'&&state!='WAIT_PAY' ? '#066cff':(state=='WAIT_PAY'?'#f45c03':'#e61100'),color:'#fff'}">
  4. <view class="statusH">
  5. <view class="flex flex_column align_center">
  6. <view class="status-row">
  7. <u-icon :name="statusIcon" size="42" color="#fff">
  8. </u-icon>
  9. <text>{{statusText}}</text>
  10. </view>
  11. <view v-if="info.billStatus=='WAIT_PAY'" class="messageText">
  12. 请尽快支付,
  13. <u-count-down separator="zh" :separator-size="24" bg-color="none" color="#ffff7f" separator-color="#ffff7f" :timestamp="info.timestamp" :show-days="false" :show-hours="false" @end="countDownEnd()"></u-count-down>
  14. 后订单将自动取消。
  15. </view>
  16. <view v-else class="messageText"><text>{{statusMessage}}</text></view>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="order-body">
  21. <view class="info partList" v-if="partList.length" style="max-height: 50vh;overflow: auto;">
  22. <view class="infoList">
  23. <view class="title">
  24. 产品列表
  25. </view>
  26. <view v-if="info">
  27. 共<text class="cText">{{info.totalCategory}}</text>款
  28. </view>
  29. </view>
  30. <view v-for="(item,dix) in partList" :key="item.id" class="item-list-box">
  31. <view class="item-list flex">
  32. <view style="height: 160rpx;width: 160rpx;">
  33. <u-image :src="item.product.images ? item.product.images+'?x-oss-process=image/resize,p_50':'/static/def_imgs.png'" border-radius="16" width="160" height="160" bg-color="#EBEBEB" ></u-image>
  34. </view>
  35. <view>
  36. <view class="item-name">
  37. <text>{{item.product.productName}}</text>
  38. </view>
  39. <view class="item-nums" v-if="item.product&&item.product.code">
  40. <text>{{item.product.code}}</text>
  41. </view>
  42. <view class="item-nums" v-if="item.product&&item.product.origCode">
  43. <text style="color: #00aaff;">{{item.product.origCode}}</text>
  44. </view>
  45. <view class="item-head">
  46. <view class="flex align_center">
  47. <view class="price-txt">¥<text>{{item.priceStr[0]}}</text>.{{item.priceStr[1]}}</view>
  48. <view class="flex align_center rebate-tag" v-if="item.promoProductType=='TICKET_PRODUCT'">
  49. 返<text>{{item.resultValue}}</text>元
  50. </view>
  51. <view class="flex align_center rebate-tag" v-if="item.promoProductType=='REGULAR_PRODUCT'">
  52. 买{{item.conditionValue}}赠{{item.resultValue}}
  53. </view>
  54. <view class="flex align_center tejia-tag" v-if="item.promoProductType=='SPECIAL_PRODUCT'">
  55. 特价<text>¥{{item.priceOrig}}</text>
  56. </view>
  57. </view>
  58. <view>
  59. X <text class="cText">{{item.qty}}</text>{{item.product&&item.product.unit||''}}
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <!-- 赠品 -->
  65. <view class="item-list flex gift-box" v-if="item.giftObj">
  66. <view style="height: 120rpx;width: 120rpx;margin-left: 40rpx;">
  67. <u-image :src="item.giftObj.product.images ? item.giftObj.product.images+'?x-oss-process=image/resize,p_50':'/static/def_imgs.png'" border-radius="16" width="120" height="120" bg-color="#EBEBEB" ></u-image>
  68. </view>
  69. <view>
  70. <view class="item-name flex align_center">
  71. <view class="flex align_center rebate-tag">
  72. 赠品
  73. </view>
  74. <text class="ellipsis-one">{{item.giftObj.product.productName}}</text>
  75. </view>
  76. <view class="item-nums ellipsis-one" v-if="item.giftObj.product&&item.giftObj.product.code">
  77. <text>{{item.giftObj.product.code}}</text>
  78. </view>
  79. <view class="item-nums ellipsis-one" v-if="item.giftObj.product&&item.giftObj.product.origCode">
  80. <text style="color: #666;">{{item.giftObj.product.origCode}}</text>
  81. </view>
  82. <view class="item-head">
  83. <view class="flex align_center"></view>
  84. <view>
  85. X <text class="cText">{{item.giftObj.qty}}</text>{{item.giftObj.product&&item.giftObj.product.unit||''}}
  86. </view>
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. <!-- 分页 -->
  92. <view class="product-pages" v-if="totalPages>1">
  93. <uni-pages-nav :totalPages="totalPages" :showShadow="false" :currentPage="pageNo" @pagechanged="getRow"></uni-pages-nav>
  94. </view>
  95. </view>
  96. <view class="info" v-if="info">
  97. <view class="infoList">
  98. <text>总金额</text>
  99. <view class="price-txt">¥<text>{{Number(info.totalAmount).toFixed(2)}}</text></view>
  100. </view>
  101. <view class="infoList gray-text" v-if="info.totalSpecialGiveAmount">
  102. <text>总优惠</text>
  103. <text class="cText">¥{{Number(info.totalSpecialGiveAmount).toFixed(2)}}</text>
  104. </view>
  105. <view class="infoList gray-text" v-if="info.totalTicketGiveAmount">
  106. <text>代金券</text>
  107. <text class="cText">¥{{Number(info.totalTicketGiveAmount).toFixed(2)}}</text>
  108. </view>
  109. </view>
  110. <view class="info" v-if="!hasPay && info">
  111. <view class="infoList">
  112. <view class="title">订单信息</view>
  113. <view class="statu"></view>
  114. </view>
  115. <view class="infoList dju">
  116. <text>订单编号</text>
  117. <text>{{info.purchaseNo||'--'}}</text>
  118. </view>
  119. <view class="infoList">
  120. <text>下单时间</text>
  121. <text>{{info.purchaseDate||'--'}}</text>
  122. </view>
  123. <view class="infoList">
  124. <text>下单人员</text>
  125. <text>{{info.purchaserName || '--'}}</text>
  126. </view>
  127. </view>
  128. <!-- 线上支付 显示 -->
  129. <view class="info" v-if="hasPay && info">
  130. <u-read-more ref="uReadMore" :text-indent="0" toggle close-text="更多信息" :show-height="460">
  131. <view class="infoList">
  132. <view class="title">订单信息</view>
  133. <view class="statu"></view>
  134. </view>
  135. <view class="infoList dju">
  136. <text>订单编号</text>
  137. <text>{{info.purchaseNo||'--'}}</text>
  138. </view>
  139. <view class="infoList">
  140. <text>下单时间</text>
  141. <text>{{info.purchaseDate||'--'}}</text>
  142. </view>
  143. <view class="infoList">
  144. <text>下单人员</text>
  145. <text>{{info.purchaserName || '--'}}</text>
  146. </view>
  147. <view class="infoList" v-if="isPayOk">
  148. <text>支付方式</text>
  149. <text>{{info.payInfo.payWay=='WXPAY_ONLINE_XCX'?'微信支付':'--'}}</text>
  150. </view>
  151. <view class="infoList" v-if="isPayOk">
  152. <text>支付时间</text>
  153. <text>{{info.payInfo.payDate||'--'}}</text>
  154. </view>
  155. <view class="infoList" v-if="info&&info.billStatus != 'WAIT_AUDIT'&&info.billStatus != 'WAIT_PAY'&&info.billStatus != 'CANCEL'">
  156. <text>审核时间</text>
  157. <text>{{info.auditDate||'--'}}</text>
  158. </view>
  159. <view class="infoList" v-if="info&&info.billStatus == 'CANCEL'">
  160. <text>取消时间</text>
  161. <text>{{info.cancelDate ||'--'}}</text>
  162. </view>
  163. <view class="infoList" v-if="info&&(info.billStatus == 'CANCEL'||info.billStatus == 'AUDIT_REJECT')&&isPayOk">
  164. <text>退款方式</text>
  165. <text>原支付返回</text>
  166. </view>
  167. <view class="infoList" v-if="info&&(info.billStatus == 'CANCEL'||info.billStatus == 'AUDIT_REJECT')&&isPayOk">
  168. <text>退款时间</text>
  169. <text>{{info.payInfo.refundDate ||'--'}}</text>
  170. </view>
  171. <view class="infoList" v-if="info&&(info.billStatus == 'CANCEL'||info.billStatus == 'AUDIT_REJECT')&&isPayOk">
  172. <text>退款状态</text>
  173. <text>{{info.payInfo.refundState=='FINISH'?'已退款':(info.payInfo.refundState=='WAIT'?'退款中':'退款失败')}}</text>
  174. </view>
  175. <view class="infoList" v-if="shelfInfo">
  176. <text>配送汽配商</text>
  177. <text>{{shelfInfo.dealerName}}</text>
  178. </view>
  179. </u-read-more>
  180. </view>
  181. </view>
  182. <view v-if="info&&info.billStatus == 'WAIT_AUDIT'||info.billStatus == 'WAIT_PAY'||info.billStatus == 'WAIT_RECEIVE'" style="background-color: #fff;">
  183. <view class="footer flex align_center justify_center">
  184. <u-button style="margin-left: 10px;" v-if="info.billStatus == 'WAIT_AUDIT'||info.billStatus == 'WAIT_PAY'" size="medium" shape="round" type="default" plain @click="cancelOrder(info)">取消订单</u-button>
  185. <u-button style="margin-left: 10px;" v-if="info.billStatus == 'WAIT_PAY'" size="medium" shape="round" type="error" plain @click="payOrder(info)">立即支付</u-button>
  186. <!-- <u-button style="margin-left: 10px;" v-if="info.billStatus == 'FINISH'" size="medium" shape="round" type="error" plain @click="buyAgain(info)">再次购买</u-button> -->
  187. <u-button style="margin-left: 10px;" v-if="info.billStatus == 'WAIT_RECEIVE'" size="medium" shape="round" type="error" plain @click="receiveOrder(info)">确认收货</u-button>
  188. </view>
  189. <view :style="{height:safeAreaBottom+'px'}"></view>
  190. </view>
  191. <!-- 付款弹框 -->
  192. <payModal :showPopu="showPopu" :payInfo="info" :payData="payData" @close="showPopu=false" @payComplete="payComplete"></payModal>
  193. </view>
  194. </template>
  195. <script>
  196. import payModal from '../components/payModal.vue'
  197. import { purchaseQueryDetailPage,purchaseQueryPage,purchaseCancel,purchaseReceive,purchasePay } from '@/api/purchase.js'
  198. import moment from 'moment'
  199. export default {
  200. name: 'procureDetailOrder',
  201. components:{
  202. payModal
  203. },
  204. data() {
  205. return {
  206. loading: false,
  207. info: null,
  208. statusText: '',
  209. statusIcon: '', // 结算状态icon
  210. statusMessage: '请耐心等待汽配经销商进行配送',
  211. partList: [], // 配件列表
  212. state: 'success',
  213. pageNo:1,
  214. pageSize: 30,
  215. total: 0,
  216. purchaseSn: null,
  217. showPopu: false,
  218. safeAreaBottom: 0, // 底部安全区域高度
  219. payData: null
  220. }
  221. },
  222. onLoad(option) {
  223. this.safeAreaBottom = uni.getSystemInfoSync().safeAreaInsets.bottom
  224. uni.setNavigationBarTitle({
  225. title: '采购订单详情'
  226. })
  227. // 查明细
  228. this.purchaseSn = option.purchaseSn
  229. this.getDetail()
  230. // 获取明细列表
  231. this.getDetailList()
  232. },
  233. onUnload() {
  234. this.$store.state.vuex_tempOrderData = null
  235. },
  236. computed: {
  237. totalPages(){
  238. return Math.ceil(this.total / this.pageSize)
  239. },
  240. // 货架经销商信息
  241. shelfInfo(){
  242. return this.$store.state.vuex_storeShelf
  243. },
  244. //是否有支付信息
  245. hasPay(){
  246. return this.info&&this.info.payOnlineFlag==1&&this.info.payInfo
  247. },
  248. // 最小支付金额
  249. minPayAmount(){
  250. const shelfInfo = this.shelfInfo
  251. return shelfInfo&&shelfInfo.minAmount ? shelfInfo.minAmount : 0
  252. },
  253. //是否已付款
  254. isPayOk(){
  255. return this.hasPay && this.info.payInfo.payState=='FINISH'
  256. },
  257. },
  258. methods: {
  259. pageInit(data){
  260. // 计算待付款剩余倒计时
  261. if(data.billStatus== 'WAIT_PAY'){
  262. data.timestamp = (new Date(data.createDate.replace(/-/g,'/')).getTime() + 1800000 - new Date().getTime())/1000
  263. }
  264. data.payOk = data.payOnlineFlag==1&&data.payInfo&&data.payInfo.payState=='FINISH'
  265. this.info = data
  266. this.state = data.billStatus
  267. const stateText = {'WAIT_AUDIT':'待审核','WAIT_PAY':'待付款','AUDIT_REJECT':'审核不通过','WAIT_OUT_WAREHOUSE':'待收货','WAIT_RECEIVE':'待收货','FINISH':'已完结','CANCEL':'已取消'}
  268. this.statusText = stateText[this.state]
  269. this.statusIcon = this.state == 'FINISH' ? 'checkmark-circle' : ((this.state == 'AUDIT_REJECT'||this.state == 'CANCEL')?'close-circle':'hourglass')
  270. this.statusMessage = this.state == 'WAIT_OUT_WAREHOUSE'||this.state == 'WAIT_RECEIVE' ? '请耐心等待汽配经销商进行配送' : ''
  271. // 更改标题栏背景色
  272. uni.setNavigationBarColor({
  273. frontColor: '#ffffff',
  274. backgroundColor: this.state!= 'error'&&this.state!= 'AUDIT_REJECT'&&this.state!= 'CANCEL'&&this.state!= 'WAIT_PAY' ? '#066cff':(this.state=='WAIT_PAY'?'#f45c03':'#e61100'),
  275. })
  276. },
  277. // 实时查询详情
  278. getDetail(){
  279. purchaseQueryPage({pageNo:1,pageSize:1,purchaseSn: this.purchaseSn}).then(res => {
  280. const data = res.data ? res.data.list[0] : null
  281. if(data){
  282. data.billStatus = data.billStatus == 'WAIT_AUDIT'&&data.payOnlineFlag==1&&data.payInfo&&data.payInfo.payState=='WAIT'?'WAIT_PAY':data.billStatus
  283. this.pageInit(data)
  284. }
  285. })
  286. },
  287. // 下一页
  288. getRow(pageNo){
  289. this.pageNo = pageNo
  290. this.getDetailList()
  291. },
  292. getDetailList(){
  293. uni.showLoading({
  294. title: '加载中'
  295. })
  296. purchaseQueryDetailPage({purchaseSn: this.purchaseSn,pageNo:this.pageNo,pageSize:this.pageSize}).then(res => {
  297. uni.hideLoading()
  298. if(res.status == 200){
  299. this.partList = res.data ? res.data.list : []
  300. // 是否有赠品
  301. const giftList = this.partList.filter(item => item.promoProductType == 'GIFT_PRODUCT')
  302. // 正品
  303. this.partList = this.partList.filter(item => item.promoProductType !== 'GIFT_PRODUCT')
  304. this.partList.map(item=>{
  305. // 关联赠品
  306. item.giftObj = giftList.find(gift => gift.purchaseDetailParentSn == item.purchaseDetailSn)
  307. item.priceStr = Number(item.price).toFixed(2).toString().split('.')
  308. })
  309. this.total = res.data ? res.data.count : 0
  310. }
  311. })
  312. },
  313. message(title){
  314. uni.showToast({
  315. icon:'none',
  316. title: title,
  317. duration: 3000
  318. })
  319. },
  320. // 取消订单
  321. cancelOrder(item){
  322. let _this = this
  323. uni.showModal({
  324. title: '提示',
  325. content: !item.payOk ? '确定取消订单吗?':'取消后订单金额将于1-3个工作日到账(原路返回)?',
  326. success: function (res) {
  327. if (res.confirm) {
  328. purchaseCancel({purchaseSn:_this.purchaseSn}).then(res => {
  329. if (res.status == 200) {
  330. _this.message('取消成功')
  331. item.payInfo = null
  332. uni.$emit('refreshPurcaOrder',item,'CANCEL')
  333. setTimeout(()=>{
  334. uni.navigateBack()
  335. },3000)
  336. } else {
  337. _this.message(res.message)
  338. }
  339. })
  340. }
  341. }
  342. });
  343. },
  344. // 倒计时结束,取消订单刷新页面
  345. countDownEnd(){
  346. this.showPopu = false
  347. const _this = this
  348. uni.showModal({
  349. title: '提示',
  350. content: '订单超过30分钟已自动取消',
  351. showCancel:false,
  352. confirmText:'知道了',
  353. success: function (res) {
  354. _this.state = 'CANCEL'
  355. _this.info.billStatus = 'CANCEL'
  356. _this.info.payInfo = null
  357. _this.statusText = '已取消'
  358. _this.statusIcon = 'close-circle'
  359. _this.statusMessage = '订单超过30分钟已自动取消'
  360. _this.info.cancelDate = moment().format('YYYY-MM-DD hh:mm:ss')
  361. uni.$emit('refreshPurcaOrder',_this.info,'CANCEL')
  362. // 更改标题栏背景色
  363. uni.setNavigationBarColor({
  364. frontColor: '#ffffff',
  365. backgroundColor: '#e61100',
  366. })
  367. }
  368. });
  369. },
  370. // 立即支付
  371. payOrder(item){
  372. if(item.totalAmount<this.minPayAmount){
  373. uni.showModal({
  374. content: '支付金额不能小于'+this.minPayAmount+'元!',
  375. showCancel:false,
  376. confirmText:'知道了'
  377. })
  378. return
  379. }
  380. uni.showLoading({
  381. title: '加载中...'
  382. })
  383. purchasePay({
  384. bizSn:item.purchaseSn,
  385. bizNo:item.purchaseNo,
  386. bizType:'SETTLE_BILL',
  387. payUserOpenId: this.$store.state.vuex_openid || uni.getStorageSync('openid')
  388. }).then(res=>{
  389. this.showPopu = true
  390. this.payData = res.data?res.data.payRequestRest:null
  391. uni.hideLoading()
  392. })
  393. },
  394. // 付款成功,isOk: false 取消支付或支付失败,true 支付完成
  395. payComplete(item,isOk){
  396. this.showPopu = false
  397. if(isOk){
  398. this.message('支付成功')
  399. uni.$emit('refreshPurcaOrder',item,'WAIT_AUDIT')
  400. setTimeout(()=>{
  401. uni.navigateBack()
  402. },3000)
  403. }
  404. },
  405. // 再次购买
  406. buyAgain(item){
  407. },
  408. // 确认收货
  409. receiveOrder(item){
  410. let _this = this
  411. uni.showModal({
  412. title: '提示',
  413. content: '确定收货吗?',
  414. success: function (res) {
  415. if (res.confirm) {
  416. purchaseReceive({purchaseSn:_this.purchaseSn}).then(res => {
  417. if (res.status == 200) {
  418. _this.message('收货成功')
  419. uni.$emit('refreshPurcaOrder',item,'FINISH')
  420. setTimeout(()=>{
  421. uni.navigateBack()
  422. },3000)
  423. } else {
  424. _this.message(res.message)
  425. }
  426. })
  427. }
  428. }
  429. });
  430. },
  431. }
  432. }
  433. </script>
  434. <style lang="less">
  435. page{
  436. height: 100%;
  437. }
  438. .orderDetail-digitalShel{
  439. height: 100%;
  440. .redText{
  441. color: #FB1E1E;
  442. margin: 0 10rpx;
  443. }
  444. .cText{
  445. color: #666;
  446. margin: 0 6rpx;
  447. font-size: 14px;
  448. }
  449. .gray-text{
  450. text{
  451. font-size: 14px;
  452. color: #999;
  453. }
  454. }
  455. .order-body{
  456. flex-grow: 1;
  457. overflow: auto;
  458. .partList{
  459. margin-top: 20rpx;
  460. }
  461. }
  462. .contHead {
  463. .statusH{
  464. > view{
  465. padding: 10upx 12%;
  466. font-size: 34upx;
  467. }
  468. .status-row{
  469. font-size: 42upx;
  470. text{
  471. margin-left: 10rpx;
  472. }
  473. }
  474. .messageText{
  475. font-size: 28upx;
  476. text-align: center;
  477. text{
  478. color: #f3e781;
  479. }
  480. padding: 20rpx 0;
  481. }
  482. }
  483. }
  484. .price-txt{
  485. color: red;
  486. display: flex;
  487. align-items: baseline;
  488. font-size: 12px;
  489. text{
  490. font-size: 32rpx;
  491. }
  492. }
  493. .info{
  494. background-color: #FFFFFF;
  495. padding: 10rpx 30upx;
  496. font-size: 32rpx;
  497. margin-bottom: 20rpx;
  498. .infoList{
  499. display: flex;
  500. justify-content: space-between;
  501. align-items: center;
  502. padding: 20rpx 0;
  503. border-bottom: 2rpx solid #f2f2f2;
  504. &:last-child{
  505. border: none;
  506. }
  507. .title{
  508. font-weight: bold;
  509. > text{
  510. color: #ff9808;
  511. font-size: 24upx;
  512. }
  513. }
  514. > text{
  515. &:first-child{
  516. color: #666E75;
  517. }
  518. }
  519. }
  520. .item-list-box{
  521. border-bottom: 2rpx solid #f2f2f2;
  522. &:last-child{
  523. border: none;
  524. }
  525. }
  526. .item-list{
  527. padding: 20rpx 0;
  528. > view{
  529. &:first-child{
  530. margin-right: 20rpx;
  531. position: relative;
  532. overflow: hidden;
  533. width: 160rpx;
  534. height: 160rpx;
  535. border-radius: 6px;
  536. border: 1px solid #eee;
  537. }
  538. &:last-child{
  539. flex-grow: 1;
  540. width: 60%;
  541. }
  542. }
  543. .item-name{
  544. word-wrap: break-word;
  545. font-size: 28rpx;
  546. color: #333;
  547. font-weight: bold;
  548. }
  549. .item-nums{
  550. text{
  551. font-size: 28rpx;
  552. color: #666;
  553. }
  554. }
  555. .item-head{
  556. display: flex;
  557. align-items: center;
  558. justify-content: space-between;
  559. color: #666;
  560. margin-top: 5px;
  561. > view:last-child{
  562. font-size: 24rpx;
  563. text{
  564. margin: 0 10rpx;
  565. font-size: 28rpx;
  566. }
  567. }
  568. }
  569. .rebate-tag{
  570. background: #ffe7df;
  571. color: #E91E63;
  572. padding: 2px 5px;
  573. font-size: 10px;
  574. border-radius: 3px;
  575. margin-left: 6px;
  576. }
  577. .tejia-tag{
  578. color: #E91E63;
  579. margin-left: 6px;
  580. font-size: 12px;
  581. text{
  582. font-size: 12px;
  583. color: #999;
  584. margin-left: 5px;
  585. text-decoration: line-through;
  586. }
  587. }
  588. }
  589. }
  590. .gift-box.item-list{
  591. .item-name{
  592. color: #666;
  593. font-size: 12px;
  594. font-weight: normal;
  595. }
  596. .item-nums{
  597. text{
  598. color: #666;
  599. font-size: 12px;
  600. }
  601. }
  602. .rebate-tag{
  603. margin-left: 0;
  604. margin-right: 5px;
  605. }
  606. .ellipsis-one{
  607. flex-grow: 1;
  608. width:80%;
  609. }
  610. }
  611. .footer{
  612. padding: 20upx;
  613. background: #FFFFFF;
  614. }
  615. }
  616. </style>