order - 副本.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670
  1. <template>
  2. <view class="container">
  3. <u-sticky>
  4. <view class="head">
  5. <u-navbar title="我的订单" leftIcon=" " leftIconColor="#ffffff" titleStyle="color:#fff" :autoBack="false" placeholder></u-navbar>
  6. <view>
  7. <view class="searchBox">
  8. <view>
  9. <u--input placeholder="请输入商品名称" v-model="searchValue" placeholderClass="placeholderClass" border="none" clearable></u--input>
  10. <view class="searchBox_btn" @click="goSearch()">
  11. <text class="iconfont icon-sousuo"></text>
  12. 搜索
  13. </view>
  14. </view>
  15. </view>
  16. <view class="tabs">
  17. <u-tabs :list="typeList" lineWidth="28" :current="typeindex" lineColor="#ffffff" activeStyle="color:#FFFFFF;font-size:28rpx;font-family: FZCuYuan-M03;" inactiveStyle="color:#FFFFFF;font-size:28rpx" :scrollable="false" @click="tabsClick"></u-tabs>
  18. </view>
  19. </view>
  20. </view>
  21. </u-sticky>
  22. <view class="list">
  23. <view class="item" v-for="(v,i) in list" v-if="params.queryStatus==40" :key="i" @click="goPath('/pages/order/orderDetails?refundOrderId='+v.refundOrderId)">
  24. <view class="item_t">
  25. <image :src="v.businessImage+'?x-oss-process=style/w_300'" mode="" />
  26. <view>{{v.businessName}}</view>
  27. </view>
  28. <view class="item_c">
  29. <view class="item_c_l">
  30. <image :src="(v.businessProductImage||v.businessImage)+'?x-oss-process=style/w_300'" mode="" />
  31. </view>
  32. <view class="item_c_r">
  33. <view class="item_c_r_title">{{v.businessProductName}}</view>
  34. <view class="item_c_r_text">{{v.productDataJosn.costIncluded}}</view>
  35. <view class="item_c_r_price">
  36. <view class="item_c_r_price_l" v-if="v.sellingPrice">¥
  37. <text>{{v.sellingPrice.split('.')[0]}}</text>.{{v.sellingPrice.split('.')[1]}}
  38. </view>
  39. <view class="item_c_r_price_r">X{{v.buyQuantity}}</view>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="item_c1">
  44. <view class="item_c1_lab">合计:</view>
  45. <view class="item_c1_val" v-if="v.orderAmount">¥
  46. <text>{{v.orderAmount.split('.')[0]}}</text>.{{v.orderAmount.split('.')[1]}}
  47. </view>
  48. </view>
  49. <view class="item_btn" v-if="v.orderStatus==0">
  50. <view class="red" :class="{gary:v.gamesStatus == 2}" v-if="v.orderType==0" @click.stop="participate(v)">参与免单</view>
  51. <view class="red1" @click.stop="cancelOrder(v)">取消订单</view>
  52. <view class="red1" @click.stop="payment(v)">去支付</view>
  53. </view>
  54. <view class="item_btn" v-if="v.orderStatus==10">
  55. <view class="red" :class="{gary:v.gamesStatus == 2}" v-if="v.orderType==0" @click.stop="participate(v)">参与免单</view>
  56. <view class="red1" v-if="v.orderType==0" @click.stop="goPath('/pages/order/applicationDrawback?orderNumber=' +v.orderNumber)">申请退款</view>
  57. <!-- <view class="red1">去使用</view> -->
  58. </view>
  59. <view class="item_btn" v-if="v.orderStatus==20">
  60. <view class="red" :class="{gary:v.gamesStatus == 2}" v-if="v.orderType==0" @click.stop="participate(v)">参与免单</view>
  61. <view class="red">详情</view>
  62. </view>
  63. <view class="item_btn" v-if="v.orderStatus==30||v.refundStatus==1||v.refundStatus==2">
  64. <view class="red" :class="{gary:v.gamesStatus == 2}" v-if="v.orderType==0" @click.stop="participate(v)">参与免单</view>
  65. <view class="red1">详情</view>
  66. </view>
  67. <!-- <view class="item_tag item_tag_red" v-if="v.orderStatus==0">待支付</view> -->
  68. <view class="item_wait" v-if="v.orderStatus==0&&v.countdownTime&&v.countdownTime>0">
  69. <view class="item_wait_l">待支付</view>
  70. <view class="item_wait_r">14:50</view>
  71. </view>
  72. <view class="item_tag item_tag_green" v-if="v.orderStatus==10">待使用</view>
  73. <view class="item_tag item_tag_gary" v-if="v.orderStatus==20">已完成</view>
  74. <view class="item_tag item_tag_gary" v-if="v.orderStatus==30">已取消</view>
  75. <view class="item_tag item_tag_red" v-if="v.refundStatus==0">退款中</view>
  76. <view class="item_tag item_tag_gary" v-if="v.refundStatus==1">已退款</view>
  77. <view class="item_tag item_tag_gary" v-if="v.refundStatus==2">退款失败</view>
  78. <view class="item_tag item_tag_gary" v-if="v.refundStatus==3">拒绝退款</view>
  79. <view class="item_tag item_tag_gary" v-if="v.refundStatus==10">退款取消</view>
  80. <view class="item_tag1" v-if="v.orderType==1">猜拳奖励</view>
  81. </view>
  82. <view v-if="params.queryStatus!=40" class="item" v-for="(v,i) in list" :key="i" @click="goPath('/pages/order/orderDetails?orderNumber='+v.orderNumber)">
  83. <view class="item_t">
  84. <image :src="v.businessImage+'?x-oss-process=style/w_300'" mode="" />
  85. <view :class="{mr270:v.orderStatus==0&&v.countdownTime&&v.countdownTime>0}">{{v.businessName}}</view>
  86. </view>
  87. <view class="item_c">
  88. <view class="item_c_l">
  89. <image :src="(v.businessProductImage||v.businessImage)+'?x-oss-process=style/w_300'" mode="" />
  90. </view>
  91. <view class="item_c_r">
  92. <view class="item_c_r_title">{{v.businessProductName}}</view>
  93. <view class="item_c_r_text">{{v.productDataJosn.costIncluded}}</view>
  94. <view class="item_c_r_price">
  95. <view class="item_c_r_price_l" v-if="v.sellingPrice">¥
  96. <text>{{v.sellingPrice.split('.')[0]}}</text>.{{v.sellingPrice.split('.')[1]}}
  97. </view>
  98. <view class="item_c_r_price_r">X{{v.buyQuantity}}</view>
  99. </view>
  100. </view>
  101. </view>
  102. <view class="item_c1">
  103. <view class="item_c1_lab">合计:</view>
  104. <view class="item_c1_val" v-if="v.orderAmount">¥
  105. <text>{{v.orderAmount.split('.')[0]}}</text>.{{v.orderAmount.split('.')[1]}}
  106. </view>
  107. </view>
  108. <view class="item_btn" v-if="v.orderStatus==0">
  109. <view class="red" :class="{gary:v.gamesStatus == 2}" v-if="v.orderType==0" @click.stop="participate(v)">参与免单</view>
  110. <view class="red1" @click.stop="cancelOrder(v)">取消订单</view>
  111. <view class="red1" @click.stop="payment(v)">去支付</view>
  112. </view>
  113. <view class="item_btn" v-if="v.orderStatus==10">
  114. <view class="red" :class="{gary:v.gamesStatus == 2}" v-if="v.orderType==0" @click.stop="participate(v)">参与免单</view>
  115. <view class="red1" v-if="v.orderType==0" @click.stop="goPath('/pages/order/applicationDrawback?orderNumber=' +v.orderNumber)">申请退款</view>
  116. <view class="red1" @click.stop="goPath('/pages/order/orderDetails?orderNumber='+v.orderNumber+'&type=use')">去使用</view>
  117. </view>
  118. <view class="item_btn" v-if="v.orderStatus==20&&v.refundStatus!=1&&v.refundStatus!=2">
  119. <!-- v.gamesStatus==1&& -->
  120. <!-- <view class="red1" v-if="v.orderType==0" @click.stop="goPath(`/pages/game/index?orderNumber=${v.orderNumber}`)">参与免单</view> -->
  121. <view class="red" :class="{gary:v.gamesStatus == 2}" v-if="v.orderType==0" @click.stop="participate(v)">参与免单</view>
  122. <view class="red1">详情</view>
  123. </view>
  124. <view class="item_btn" v-if="v.orderStatus==30||v.refundStatus==1||v.refundStatus==2">
  125. <view class="red" :class="{gary:v.gamesStatus == 2}" v-if="v.orderType==0" @click.stop="participate(v)">参与免单</view>
  126. <view class="red1">详情</view>
  127. </view>
  128. <!-- <view class="item_tag item_tag_red" v-if="v.orderStatus==0">待支付</view> -->
  129. <view class="item_wait" v-if="v.orderStatus==0&&v.countdownTime&&v.countdownTime>0">
  130. <view class="item_wait_l">待支付</view>
  131. <view class="item_wait_r">{{v.minutes}}:{{v.seconds}}</view>
  132. </view>
  133. <view class="item_tag item_tag_green" v-if="v.orderStatus==10">待使用</view>
  134. <view class="item_tag item_tag_gary" v-if="v.orderStatus==20">已完成</view>
  135. <view class="item_tag item_tag_gary" v-if="v.orderStatus==30">已取消</view>
  136. <view class="item_tag item_tag_gary" v-if="v.refundStatus==1||v.refundStatus==2">退款售后</view>
  137. <view class="item_tag1" v-if="v.orderType==1">猜拳奖励</view>
  138. </view>
  139. <empty marginTop="50" v-if="(!list||list.length<=0)&&status!='loading'" text="您目前还未下单,赶紧下单核销参与免单活动吧"></empty>
  140. <u-loadmore v-else :status="status" />
  141. </view>
  142. <reasonPop title="请选择取消原因" ref="reasonPopRef" @submit="affirm" />
  143. <tabBar currentPage="/pages/tabBar/order" />
  144. </view>
  145. </template>
  146. <script>
  147. import {
  148. orderPage,
  149. orderPay,
  150. orderCancel,
  151. refundOrderPage
  152. } from "@/api/home.js"
  153. import tabBar from '@/components/tabBar/index.vue'
  154. import reasonPop from "@/components/reasonPop/index.vue"
  155. export default {
  156. components: {
  157. tabBar,
  158. reasonPop
  159. },
  160. data () {
  161. return {
  162. typeList: [{
  163. name: "全部",
  164. value: undefined
  165. }, {
  166. name: "待支付",
  167. value: 0
  168. }, {
  169. name: "待使用",
  170. value: 10
  171. }, {
  172. name: "已完成",
  173. value: 20
  174. }, {
  175. name: "已取消",
  176. value: 30
  177. }, {
  178. name: "退款售后",
  179. value: 40
  180. }],
  181. status: 'loadmore', //加载前值为loadmore,加载中为loading,没有数据为nomore,
  182. typeindex: 0,
  183. params: {
  184. pageSize: 10,
  185. pageNum: 1,
  186. queryStatus: undefined
  187. },
  188. list: [],
  189. searchValue: "",
  190. loading: false,
  191. cancelForm: {
  192. orderId: undefined,
  193. cancelNote: undefined
  194. }
  195. }
  196. },
  197. onPullDownRefresh () {
  198. this.params.pageNum = 1;
  199. this.getList()
  200. },
  201. onReachBottom () {
  202. if (this.status == "loadmore") {
  203. this.params.pageNum++;
  204. this.getList()
  205. }
  206. },
  207. onShow () {
  208. this.params.pageNum = 1;
  209. this.getList();
  210. },
  211. onUnload () {
  212. // 当页面关闭或卸载时清除定时器
  213. this.list.map(v => {
  214. if (v.intervalId) {
  215. clearInterval(row.intervalId);
  216. }
  217. })
  218. },
  219. onHide () {
  220. // 当页面关闭或卸载时清除定时器
  221. this.list.map(v => {
  222. if (v.intervalId) {
  223. clearInterval(row.intervalId);
  224. }
  225. })
  226. },
  227. methods: {
  228. tabsClick (e) {
  229. this.typeindex = e.index;
  230. this.params.queryStatus = e.value;
  231. this.params.pageNum = 1;
  232. this.getList()
  233. },
  234. goSearch () {
  235. this.params.businessProductName = this.searchValue;
  236. this.params.pageNum = 1;
  237. this.getList()
  238. },
  239. // 支付
  240. payment (item) {
  241. orderPay({
  242. orderNumber: item.orderNumber
  243. }).then(res => {
  244. uni.requestPayment({
  245. "provider": "wxpay",
  246. timeStamp: res.data.timeStamp,
  247. nonceStr: res.data.nonceStr,
  248. package: res.data.package,
  249. signType: res.data.signType,
  250. paySign: res.data.paySign,
  251. success: (ret) => {
  252. this.params.pageNum = 1;
  253. this.getList()
  254. },
  255. fail (e) {
  256. // uni.redirectTo({
  257. // url: '/pages/order/orderDetails?orderNumber=' + res.data.out_trade_no
  258. // });
  259. }
  260. })
  261. })
  262. },
  263. // 取消订单
  264. cancelOrder (row) {
  265. this.$refs.reasonPopRef.open();
  266. this.cancelForm.orderId = row.orderId;
  267. // uni.showModal({
  268. // title: '提示',
  269. // content: '确定取消订单?',
  270. // success: (re) => {
  271. // if (re.confirm) {
  272. // orderCancel({
  273. // orderId: row.orderId
  274. // }).then(res => {
  275. // uni.showToast({
  276. // title: '取消成功!',
  277. // duration: 2000
  278. // });
  279. // this.params.pageNum = 1;
  280. // this.getList()
  281. // })
  282. // }
  283. // }
  284. // });
  285. },
  286. // 计算订单取消订单的倒计时
  287. countDown (row) {
  288. // 获取当前时间
  289. let currentTime = new Date();
  290. // 订单取消时间 时间格式替换为ios支持的格式
  291. let cancelTime = new Date(row.payExpireTime.replace(/-/g, '/'));
  292. row.countdownTime = Math.floor((cancelTime - currentTime) / 1000);
  293. row.minutes = Math.floor(row.countdownTime / 60) < 10 ? '0' + Math.floor(row.countdownTime / 60) : Math.floor(row.countdownTime / 60);
  294. row.seconds = row.countdownTime % 60 < 10 ? '0' + row.countdownTime % 60 : row.countdownTime % 60;
  295. row.intervalId = setInterval(() => {
  296. row.minutes = Math.floor(row.countdownTime / 60) < 10 ? '0' + Math.floor(row.countdownTime / 60) : Math.floor(row.countdownTime / 60);
  297. row.seconds = row.countdownTime % 60 < 10 ? '0' + row.countdownTime % 60 : row.countdownTime % 60;
  298. if (row.countdownTime > 0) {
  299. row.countdownTime--;
  300. } else {
  301. row.orderStatus = 30;
  302. clearInterval(row.intervalId);
  303. }
  304. }, 1000)
  305. },
  306. affirm (e) {
  307. this.cancelForm.cancelNote = e;
  308. uni.showLoading({
  309. title: '执行中'
  310. });
  311. orderCancel(this.cancelForm).then(res => {
  312. uni.showToast({
  313. title: '取消成功!',
  314. duration: 2000
  315. });
  316. this.params.pageNum = 1;
  317. this.getList()
  318. }).finally(() => {
  319. uni.hideLoading();
  320. })
  321. },
  322. getList () {
  323. let token = uni.getStorageSync('apiToken');
  324. if (!token) return
  325. let apiFun = orderPage
  326. if (this.params.queryStatus == 40) {
  327. apiFun = refundOrderPage
  328. }
  329. apiFun(this.params).then(res => {
  330. res.rows.map(v => {
  331. v.productDataJosn = JSON.parse(v.productData);
  332. if (v.orderStatus == 0) {
  333. this.countDown(v)
  334. }
  335. })
  336. if (this.params.pageNum == 1) {
  337. this.list = res.rows
  338. } else {
  339. this.list.push(...res.rows);
  340. }
  341. if (this.list.length < res.total) {
  342. this.status = 'loadmore';
  343. } else {
  344. this.status = 'nomore';
  345. }
  346. }).finally(()=>{
  347. uni.stopPullDownRefresh();
  348. })
  349. },
  350. participate (row) {
  351. if (row.orderStatus == 0 || row.orderStatus == 10 || row.orderStatus == 30 || row.refundStatus == 1 || row.refundStatus == 2) {
  352. uni.$u.toast('支付订单并核销后可参与免单游戏');
  353. return
  354. } else if (row.gamesStatus != 1) {
  355. uni.$u.toast('您已参与过免单游戏');
  356. return
  357. } else {
  358. // uni.navigateTo({
  359. // url: `/pages/game/index?orderNumber=${row.orderNumber}`
  360. // })
  361. }
  362. },
  363. goPath (path) {
  364. if (this.loading) return
  365. this.loading = true;
  366. uni.navigateTo({
  367. url: path,
  368. complete: () => {
  369. this.loading = false;
  370. }
  371. })
  372. },
  373. },
  374. }
  375. </script>
  376. <style lang='scss' scoped>
  377. ::v-deep .u-navbar__content,
  378. ::v-deep .u-status-bar {
  379. background-color: transparent !important;
  380. }
  381. .container {
  382. padding-bottom: 160rpx;
  383. .head {
  384. background: linear-gradient(180deg, #c90700, #c90700 100%);
  385. padding: 20rpx 30rpx 30rpx;
  386. .searchBox {
  387. font-family: FZZhunYuan-M02S;
  388. > view {
  389. display: flex;
  390. background: #f5f5f5;
  391. height: 78rpx;
  392. border-radius: 40rpx;
  393. padding-left: 30rpx;
  394. border: 1px solid #e6e6e6;
  395. }
  396. .searchBox_btn {
  397. font-size: 28rpx;
  398. width: 136rpx;
  399. height: 66rpx;
  400. background: #fb0b03;
  401. border-radius: 33rpx;
  402. color: #ffffff;
  403. display: flex;
  404. align-items: center;
  405. justify-content: center;
  406. margin: 7rpx;
  407. .icon-sousuo {
  408. display: inline-block;
  409. margin-right: 8rpx;
  410. font-size: 32rpx;
  411. }
  412. }
  413. }
  414. .tabs {
  415. margin-top: 10rpx;
  416. }
  417. }
  418. }
  419. ::v-deep .u-tabs__wrapper__nav__item {
  420. flex: auto !important;
  421. padding: 0 !important;
  422. }
  423. ::v-deep .u-tabs__wrapper__nav__line {
  424. bottom: 8rpx !important;
  425. }
  426. .list {
  427. background: #f8f8f8;
  428. padding: 46rpx 30rpx;
  429. min-height: 65vh;
  430. .item {
  431. background: #ffffff;
  432. margin-bottom: 32rpx;
  433. border-radius: 30rpx;
  434. position: relative;
  435. .item_t {
  436. padding: 36rpx 24rpx 29rpx;
  437. border-bottom: 1rpx solid rgba(204, 204, 204, 0.6);
  438. display: flex;
  439. align-items: center;
  440. image {
  441. width: 68rpx;
  442. height: 68rpx;
  443. border-radius: 20rpx;
  444. margin-right: 15rpx;
  445. flex-shrink: 0;
  446. }
  447. view {
  448. font-size: 28rpx;
  449. color: #1a1a1a;
  450. font-family: FZCuYuan-M03;
  451. margin-right: 110rpx;
  452. overflow: hidden;
  453. text-overflow: ellipsis;
  454. display: -webkit-box;
  455. -webkit-line-clamp: 2;
  456. -webkit-box-orient: vertical;
  457. }
  458. }
  459. .item_c {
  460. display: flex;
  461. padding: 30rpx 0;
  462. margin: 0 24rpx;
  463. border-bottom: 1rpx solid rgba(204, 204, 204, 0.6);
  464. .item_c_l {
  465. margin-right: 12rpx;
  466. image {
  467. width: 172rpx;
  468. height: 172rpx;
  469. border-radius: 12rpx;
  470. }
  471. }
  472. .item_c_r {
  473. flex-grow: 1;
  474. .item_c_r_title {
  475. font-size: 26rpx;
  476. color: #242424;
  477. font-family: FZCuYuan-M03;
  478. }
  479. .item_c_r_text {
  480. font-size: 24rpx;
  481. color: #1a1a1a;
  482. margin: 15rpx 0 22rpx;
  483. height: 56rpx;
  484. overflow: hidden;
  485. text-overflow: ellipsis;
  486. display: -webkit-box;
  487. -webkit-line-clamp: 2;
  488. -webkit-box-orient: vertical;
  489. }
  490. .item_c_r_price {
  491. display: flex;
  492. justify-content: space-between;
  493. align-items: center;
  494. .item_c_r_price_l {
  495. font-size: 22rpx;
  496. color: #ff0000;
  497. font-family: FZCuYuan-M03;
  498. text {
  499. font-size: 34rpx;
  500. font-family: FZCuYuan-M03;
  501. }
  502. }
  503. .item_c_r_price_r {
  504. font-size: 26rpx;
  505. color: #1a1a1a;
  506. }
  507. }
  508. }
  509. }
  510. .item_c1 {
  511. padding: 20rpx 0;
  512. margin: 0 24rpx;
  513. text-align: right;
  514. border-bottom: 1rpx solid rgba(204, 204, 204, 0.6);
  515. > view {
  516. display: inline-block;
  517. }
  518. .item_c1_lab {
  519. font-size: 26rpx;
  520. color: #1a1a1a;
  521. }
  522. .item_c1_val {
  523. font-size: 22rpx;
  524. color: #ff0000;
  525. font-family: FZCuYuan-M03;
  526. text {
  527. font-size: 42rpx;
  528. color: #ff0000;
  529. font-family: FZCuYuan-M03;
  530. }
  531. }
  532. }
  533. .item_btn {
  534. text-align: right;
  535. padding: 30rpx 24rpx 35rpx;
  536. > view {
  537. width: 200rpx;
  538. height: 70rpx;
  539. border-radius: 35rpx;
  540. text-align: center;
  541. color: #ffffff;
  542. line-height: 72rpx;
  543. display: inline-block;
  544. font-size: 26rpx;
  545. margin-left: 15rpx;
  546. &:first-child {
  547. margin-left: 0;
  548. }
  549. }
  550. .red {
  551. background: #fb0b03;
  552. }
  553. .red1 {
  554. border: 1rpx solid #fb0b03;
  555. color: #fb0b03;
  556. }
  557. .gary {
  558. background: #999999;
  559. }
  560. }
  561. .item_wait {
  562. width: 252rpx;
  563. height: 51rpx;
  564. background: #ffdbd9;
  565. border-radius: 26rpx;
  566. display: flex;
  567. position: absolute;
  568. top: 44rpx;
  569. right: 40rpx;
  570. > view {
  571. width: 50%;
  572. font-size: 24rpx;
  573. color: #ffffff;
  574. text-align: center;
  575. line-height: 51rpx;
  576. }
  577. .item_wait_l {
  578. background: #fb0b03;
  579. border-radius: 35rpx 0 35rpx 35rpx;
  580. }
  581. .item_wait_r {
  582. font-size: 30rpx;
  583. color: #fb0b03;
  584. letter-spacing: 1px;
  585. font-family: FZCuYuan-M03;
  586. }
  587. }
  588. .item_tag {
  589. width: 136rpx;
  590. height: 50rpx;
  591. border-radius: 0rpx 30rpx 0rpx 30rpx;
  592. font-size: 24rpx;
  593. color: #fb0b03;
  594. line-height: 50rpx;
  595. text-align: center;
  596. position: absolute;
  597. top: 0;
  598. right: 0;
  599. }
  600. .item_tag1 {
  601. height: 50rpx;
  602. background: #ffdbd9;
  603. font-size: 24rpx;
  604. color: #fb0b03;
  605. text-align: center;
  606. line-height: 50rpx;
  607. padding: 0 30rpx;
  608. border-radius: 8rpx;
  609. border: 1rpx solid #fa353b;
  610. position: absolute;
  611. bottom: 43rpx;
  612. left: 30rpx;
  613. }
  614. .item_tag_red {
  615. background: #ffdbd9;
  616. color: #fb0b03;
  617. }
  618. .item_tag_green {
  619. background: #e6ffec;
  620. color: #00bf02;
  621. }
  622. .item_tag_gary {
  623. background: #e6e6e6;
  624. color: #333333;
  625. }
  626. }
  627. }
  628. .mr270 {
  629. margin-right: 270rpx !important;
  630. }
  631. ::v-deep .placeholderClass {
  632. font-family: FZZhunYuan-M02S;
  633. font-size: 28rpx;
  634. }
  635. </style>