OrderList.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782
  1. <template>
  2. <view class="order-out-box">
  3. <!-- v-if="$accessCheck($Access.orderQuerySearch)" -->
  4. <view class="order-status-tab">
  5. <view class="keyword-view clearfix">
  6. <view class="float_left">
  7. <view class="key-select">
  8. <u-icon
  9. @click="openFrom('show_key_menu')"
  10. label-pos="left"
  11. color="#879BBA"
  12. size="28"
  13. label-size="28"
  14. label-color="#879BBA"
  15. name="arrow-down"
  16. :label="keywordType"
  17. ></u-icon>
  18. </view>
  19. <view class="search-out">
  20. <u-search
  21. @clear="searchConfirm()"
  22. :show-action="false"
  23. @search="searchConfirm()"
  24. :clearabled="true"
  25. placeholder="请输入……"
  26. v-model="search_data.keyword"
  27. height="72"
  28. placeholder-color="#879BBA"
  29. color="#879BBA"
  30. bg-color="#ECF0F7"
  31. ></u-search>
  32. </view>
  33. </view>
  34. <view class="float_right" @click="openSearch"><text class="custom-icon custom-icon-shaixuan"></text></view>
  35. </view>
  36. <u-tabs-swiper
  37. ref="tabs"
  38. font-size="26"
  39. :current="status_current"
  40. :list="status_list"
  41. @change="statusChange"
  42. :is-scroll="false"
  43. inactive-color="#62738E"
  44. :bar-style="{ borderRadius: '6rpx', height: '6rpx', width: '32rpx', backgroundColor: '#4076D6' }"
  45. :active-item-style="{ color: '#2D405E', fontSize: '32rpx' }"
  46. ></u-tabs-swiper>
  47. </view>
  48. <view class="top">
  49. <text class="float_left txt">全部订单</text>
  50. <text class="float_right txt">共{{ total }}条</text>
  51. </view>
  52. <scroll-view
  53. scroll-y
  54. class="order_ul"
  55. @refresherrefresh="refresherrefresh"
  56. :refresher-enabled="true"
  57. :refresher-triggered="refresher_triggered"
  58. @scrolltolower="scrollTolower"
  59. :scroll-top="scrollTop"
  60. >
  61. <view class="order_li" v-for="(item, index) in order_list" :key="index" @click="goPage(`/pages/order/orderInfo?userCenterId=${item.userCenterId}&id=${item.id}`)">
  62. <view class="order_time clearfix">
  63. <view class="float_left">
  64. <view class="tag-circleRight">
  65. <image
  66. :src="
  67. item.orderMsg === '待审核'
  68. ? '../../static/img/ic-audit.png'
  69. : item.orderMsg === '已关闭'
  70. ? '../../static/img/ic-Closed.png'
  71. : item.orderMsg === '已出库'
  72. ? '../../static/img/ic-stock.png'
  73. : item.orderMsg === '已完成'
  74. ? '../../static/img/ic-Completed.png'
  75. : item.orderMsg === '待出库'
  76. ? '../../static/img/ic-delivered.png'
  77. : item.orderMsg === '待取消'
  78. ? '../../static/img/ic-cancel.png'
  79. : '../../static/img/ic-delivered.png'
  80. "
  81. class="img"
  82. ></image>
  83. </view>
  84. <text class="txt">{{ item.no }}</text>
  85. </view>
  86. <view class="float_right">
  87. <image
  88. :src="
  89. parseInt(item.payStatus) === 5
  90. ? '../../static/img/ic-Paid.png'
  91. : parseInt(item.payStatus) === 4
  92. ? '../../static/img/ic-Unpaid.png'
  93. : '../../static/img/ic-pay-bf.png'
  94. "
  95. style="width:102rpx ;height: 29rpx;"
  96. ></image>
  97. </view>
  98. </view>
  99. <view class="order_bottom">
  100. <view class="order_params">
  101. 客户名称
  102. <text class="right-txt">{{ item.customerName }}</text>
  103. </view>
  104. <view class="order_params clearfix">
  105. <view class="float_left">
  106. 下单时间
  107. <text class="right-txt">{{ $u.timeFormat(item.createTime, 'yyyy-mm-dd hh:MM:ss') }}</text>
  108. </view>
  109. <view class="float_right" style="margin-right: 20rpx;"><u-button size="mini" @click="copyOrderInfo(item.userCenterId, item.id)">一键复制</u-button></view>
  110. </view>
  111. </view>
  112. <view class="clearfix pay-status-tip" :class="[parseInt(item.payStatus) === 5 ? 'pay-success' : parseInt(item.payStatus) === 4 ? 'pay-danger' : 'pay-warning']">
  113. <text class="float_left ">
  114. <text class="txst">订单金额</text>
  115. <text class="money-text">{{ $utils.formattedNumber(item.payAmount) }}</text>
  116. 【{{ item.payTypeMsg }}】
  117. </text>
  118. <view class="float_right txst" v-if="parseInt(item.returnStatus) !== 0">
  119. <text :class="[parseInt(item.returnStatus) === 1 ? 'warning-status' : 'primary-status']">
  120. {{ parseInt(item.returnStatus) === 1 ? '部分退货' : '全部退货' }}
  121. </text>
  122. </view>
  123. </view>
  124. </view>
  125. <u-loadmore v-if="order_list.length" :status="load_status" />
  126. <view v-if="!order_list.length" class="empty-view"><u-empty text="暂无订单" mode="order"></u-empty></view>
  127. </scroll-view>
  128. <u-popup v-model="search_show" mode="right">
  129. <view class="search-pop">
  130. <uniStatusBar></uniStatusBar>
  131. <view class="form-view" style="padding-top: 45px;">
  132. <u-form label-width="160rpx" label-position="left">
  133. <u-form-item label-position="top" label="下单日期">
  134. <view class="date-li">
  135. <picker mode="date" @change="bindDateStartChange">
  136. <text class="date-li">{{ search_data.start ? $u.timeFormat(search_data.start, 'yyyy-mm-dd') : '开始日期' }}</text>
  137. </picker>
  138. </view>
  139. <view class="date-line">-</view>
  140. <view class="date-li">
  141. <picker mode="date" @change="bindDateEndChange">
  142. <text class="date-li">{{ search_data.end ? $u.timeFormat(search_data.end, 'yyyy-mm-dd') : '结束日期' }}</text>
  143. </picker>
  144. </view>
  145. </u-form-item>
  146. <u-form-item label="下单客户">
  147. <view class="clearfix form-val" @click="goPage('/pagesT/customer/selCustomer')">
  148. <text class="float_left ellipsis">{{ search_data.customerId ? search_data.customerName : '请选择' }}</text>
  149. <view class="float_right" @click.stop="clearValue('customerId')">
  150. <u-icon :name="!search_data.customerId ? 'arrow-right' : 'close-circle-fill'" size="28" color="#999999"></u-icon>
  151. </view>
  152. </view>
  153. </u-form-item>
  154. <u-form-item label="所属店铺">
  155. <view class="clearfix form-val" @click="goPage('/pagesT/shop/selShop')">
  156. <text class="float_left ellipsis">{{ search_data.shopId ? search_data.shopName : '请选择' }}</text>
  157. <view class="float_right" @click.stop="clearValue('shopId')">
  158. <u-icon :name="!search_data.shopId ? 'arrow-right' : 'close-circle-fill'" size="28" color="#999999"></u-icon>
  159. </view>
  160. </view>
  161. </u-form-item>
  162. <u-form-item label="支付方式">
  163. <view class="clearfix form-val" @click="goPage('/pagesT/payment/selPayment')">
  164. <text class="float_left ellipsis">{{ search_data.payType ? search_data.payTypeName : '请选择' }}</text>
  165. <view class="float_right" @click.stop="clearValue('payType')">
  166. <u-icon :name="!search_data.payType ? 'arrow-right' : 'close-circle-fill'" size="28" color="#999999"></u-icon>
  167. </view>
  168. </view>
  169. </u-form-item>
  170. <u-form-item label="客户类型">
  171. <view class="clearfix form-val" @click="goPage('/pagesT/customer/selCustomerType')">
  172. <text class="float_left ellipsis">{{ search_data.customerType ? search_data.customerTypeName : '请选择' }}</text>
  173. <view class="float_right" @click.stop="clearValue('customerType')">
  174. <u-icon :name="!search_data.customerType ? 'arrow-right' : 'close-circle-fill'" size="28" color="#999999"></u-icon>
  175. </view>
  176. </view>
  177. </u-form-item>
  178. <u-form-item label="订单来源">
  179. <view class="clearfix form-val" @click="openFrom('from_show')">
  180. <text class="float_left ellipsis">{{ search_data.source ? search_data.sourceName : '请选择' }}</text>
  181. <view class="float_right" @click.stop="clearValue('source')">
  182. <u-icon :name="!search_data.source ? 'arrow-right' : 'close-circle-fill'" size="28" color="#999999"></u-icon>
  183. </view>
  184. </view>
  185. </u-form-item>
  186. </u-form>
  187. </view>
  188. <view class="search-btn">
  189. <view class="btn-li" @click="clearValue()">重置</view>
  190. <view class="btn-li" @click="searchConfirm">确定</view>
  191. </view>
  192. </view>
  193. </u-popup>
  194. <addBtn v-if="$accessCheck($Access.OrderAddAddOrder)" url="/pages/order/OrderAdd"></addBtn>
  195. <u-select @confirm="fromChange" v-model="from_show" :list="order_from"></u-select>
  196. <u-action-sheet @click="selKeyType" :list="keywordType_list" v-model="show_key_menu"></u-action-sheet>
  197. </view>
  198. </template>
  199. <script>
  200. import uniStatusBar from '../../components/uni-status-bar.vue';
  201. export default {
  202. components: {
  203. uniStatusBar
  204. },
  205. props: {
  206. customerData: {
  207. type: [Object, String],
  208. default: ''
  209. },
  210. shopData: {
  211. type: [Object, String],
  212. default: ''
  213. },
  214. paymentData: {
  215. type: [Object, String],
  216. default: ''
  217. },
  218. customerTypeData: {
  219. type: [Object, String],
  220. default: ''
  221. }
  222. },
  223. data() {
  224. return {
  225. refresher_triggered: false, //设置当前下拉刷新状态,true 表示下拉刷新已经被触发,false 表示下拉刷新未被触发
  226. from_show: false,
  227. search_show: false,
  228. pay_type_list: [],
  229. pay_index: 0,
  230. load_status: 'nomore',
  231. page: 1,
  232. pageSize: 10,
  233. total: 0,
  234. status_current: 0, // 状态current
  235. order_state: 'all', // 订单状态
  236. order_list: [], // 订单列表
  237. keywordType: '单据编号',
  238. show_key_menu: false,
  239. search_data: {
  240. keywordType: '',
  241. keyword: '',
  242. payType: '',
  243. payTypeName: '',
  244. start: '',
  245. end: '',
  246. customerId: '',
  247. customerName: '',
  248. customerType: '',
  249. customerTypeName: '',
  250. source: '',
  251. sourceName: '',
  252. shopId: '',
  253. shopName: ''
  254. },
  255. order_from: [
  256. {
  257. label: 'ios',
  258. value: 1
  259. },
  260. {
  261. label: '安卓',
  262. value: 2
  263. },
  264. {
  265. label: '微信小程序',
  266. value: 3
  267. },
  268. {
  269. label: '后台创建',
  270. value: 4
  271. },
  272. {
  273. label: 'H5页面',
  274. value: 5
  275. },
  276. {
  277. label: 'pc页面',
  278. value: 6
  279. },
  280. {
  281. label: '字节跳动小程序',
  282. value: 8
  283. }
  284. ],
  285. status_list: [
  286. {
  287. value: 'all',
  288. name: '全部'
  289. },
  290. {
  291. // 新订单
  292. value: 'waitAudit',
  293. name: '待审核'
  294. },
  295. {
  296. // 等待出库
  297. value: 'waitOutStock',
  298. name: '待出库'
  299. },
  300. {
  301. // 已出库
  302. value: 'hasOutStock',
  303. name: '已出库'
  304. },
  305. {
  306. // 已收货
  307. value: 'finish',
  308. name: '已完成'
  309. },
  310. {
  311. // 已取消
  312. value: 'close',
  313. name: '已关闭'
  314. }
  315. ],
  316. scrollTop: -1,
  317. keywordType_list: [
  318. {
  319. text: '单据编号',
  320. value: 1
  321. },
  322. {
  323. text: '自提码',
  324. value: 2
  325. },
  326. {
  327. text: '商品名称',
  328. value: 3
  329. },
  330. {
  331. text: '商品编码',
  332. value: 4
  333. },
  334. {
  335. text: '收货人',
  336. value: 5
  337. },
  338. {
  339. text: '电话',
  340. value: 6
  341. },
  342. {
  343. text: '业务员',
  344. value: 7
  345. },
  346. {
  347. text: '详细地址',
  348. value: 8
  349. }
  350. ]
  351. };
  352. },
  353. watch: {
  354. customerData(val) {
  355. if (val) {
  356. this.search_data.customerName = val.name;
  357. this.search_data.customerId = val.id;
  358. }
  359. },
  360. // 店铺
  361. shopData(val) {
  362. if (val) {
  363. this.search_data.shopName = val.name;
  364. this.search_data.shopId = val.id;
  365. }
  366. },
  367. // 支付方式
  368. paymentData(val) {
  369. if (val) {
  370. this.search_data.payTypeName = val.title;
  371. this.search_data.payType = val.id;
  372. }
  373. },
  374. // 客户类型
  375. customerTypeData(val) {
  376. if (val) {
  377. this.search_data.customerTypeName = val.name;
  378. this.search_data.customerType = val.id;
  379. }
  380. }
  381. },
  382. created() {
  383. this.getAllOrder();
  384. },
  385. methods: {
  386. // 复制相应信息
  387. copyOrderInfo(userCenterId, orderId) {
  388. this.$u.api
  389. .getOrderInfoById(userCenterId, {
  390. orderId: orderId
  391. })
  392. .then(res => {
  393. const data = res.data;
  394. let goods = '';
  395. data.goodsData.forEach((item, index) => {
  396. goods = goods + item.goodsName + '(' + (Number(item.outNum) || Number(item.buyNum)) + '件)';
  397. });
  398. const copyInfo = `客户:${data.customerName}\n商品:${goods} \n客户电话:${data.customerMobile}\n业务员:${data.salesManName || '无'}\n备注:${data.remark ||
  399. '无'}`;
  400. uni.setClipboardData({
  401. data: copyInfo,
  402. success: () => {
  403. this.$u.toast('内容已复制');
  404. }
  405. });
  406. });
  407. },
  408. // 打开订单来源选择框
  409. openFrom(key) {
  410. console.log(13);
  411. this[key] = true;
  412. },
  413. // 搜索项筛选
  414. selKeyType(index) {
  415. this.keywordType = this.keywordType_list[index].text;
  416. this.search_data.keywordType = this.keywordType_list[index].value;
  417. },
  418. // 订单来源筛选
  419. fromChange(e) {
  420. this.search_data.source = e[0].value;
  421. this.search_data.sourceName = e[0].label;
  422. },
  423. // 上拉加载
  424. scrollTolower() {
  425. if (this.total / this.pageSize > this.page) {
  426. this.page += 1;
  427. this.getData();
  428. }
  429. },
  430. openSearch() {
  431. this.search_show = true;
  432. },
  433. statusChange(index) {
  434. this.scrollTop = 0;
  435. this.$nextTick(() => {
  436. this.scrollTop = -1;
  437. });
  438. this.status_current = index;
  439. this.order_state = this.status_list[index].value;
  440. this.searchConfirm();
  441. },
  442. clearValue(params) {
  443. if (!params) {
  444. this.search_data = {
  445. keyword: '',
  446. payType: '',
  447. payTypeName: '',
  448. start: '',
  449. end: '',
  450. customerId: '',
  451. customerName: '',
  452. customerType: '',
  453. customerTypeName: '',
  454. source: '',
  455. sourceName: '',
  456. shopId: '',
  457. shopName: ''
  458. };
  459. this.searchConfirm();
  460. } else {
  461. this.search_data[params] = '';
  462. }
  463. },
  464. searchConfirm() {
  465. this.search_show = false;
  466. this.page = 1;
  467. this.getData();
  468. },
  469. // 判断
  470. getData() {
  471. const obj = {
  472. keyword: this.search_data.keyword,
  473. payType: this.search_data.payType,
  474. shopId: this.search_data.shopId,
  475. startTime: this.search_data.start,
  476. endTime: this.search_data.end,
  477. customerId: this.search_data.customerId,
  478. customerType: this.search_data.customerType,
  479. source: this.search_data.source
  480. // returnStatus: this.search_data.Return,
  481. // outStatus: this.searchDate.outStatus,
  482. // payStatus: this.searchDate.payStatus,
  483. };
  484. const isKey = this.$utils.isSerch(obj);
  485. if (isKey) {
  486. this.searchOrder(obj);
  487. } else {
  488. this.getAllOrder();
  489. }
  490. },
  491. // 订单列表
  492. getAllOrder() {
  493. this.load_status = 'loading';
  494. let params = {
  495. page: this.page,
  496. pageSize: this.pageSize,
  497. state: this.order_state
  498. };
  499. this.$u.api
  500. .getAllOrder(params)
  501. .then(res => {
  502. // 设置当前下拉刷新状态为false
  503. this.refresher_triggered = false;
  504. if (this.page === 1) {
  505. this.order_list = res.data;
  506. } else {
  507. this.order_list = this.order_list.concat(res.data);
  508. }
  509. this.order_list = this.order_list.map(item => {
  510. return {
  511. ...item,
  512. goods_list: item.goods_list || []
  513. };
  514. });
  515. this.total = res.pageTotal;
  516. this.load_status = this.$utils.loadStatus(this.page, this.pageSize, this.total);
  517. })
  518. .catch(err => {
  519. // 设置当前下拉刷新状态为false
  520. this.refresher_triggered = false;
  521. });
  522. },
  523. // 订单列表搜索
  524. searchOrder(obj) {
  525. this.load_status = 'loading';
  526. let params = {
  527. page: this.page,
  528. pageSize: this.pageSize,
  529. state: this.order_state,
  530. keywordType: this.search_data.keywordType,
  531. ...obj
  532. };
  533. this.$u.api
  534. .keywordSearch(params)
  535. .then(res => {
  536. // 设置当前下拉刷新状态为false
  537. this.refresher_triggered = false;
  538. if (this.page === 1) {
  539. this.order_list = res.data;
  540. } else {
  541. this.order_list = this.order_list.concat(res.data);
  542. }
  543. this.order_list = this.order_list.map(item => {
  544. return {
  545. ...item,
  546. goods_list: item.goods_list || []
  547. };
  548. });
  549. this.total = res.pageTotal;
  550. this.load_status = this.$utils.loadStatus(this.page, this.pageSize, this.total);
  551. })
  552. .catch(err => {
  553. // 设置当前下拉刷新状态为false
  554. this.refresher_triggered = false;
  555. });
  556. },
  557. bindDateStartChange(e) {
  558. this.search_data.start = this.$utils.timeByTimestamp(e.detail.value + ' 00:00:00');
  559. },
  560. bindDateEndChange(e) {
  561. this.search_data.end = this.$utils.timeByTimestamp(e.detail.value + ' 23:59:59');
  562. },
  563. // 下拉刷新
  564. refresherrefresh() {
  565. this.refresher_triggered = true;
  566. this.page = 1;
  567. this.getData();
  568. }
  569. }
  570. };
  571. </script>
  572. <style scoped lang="scss">
  573. .order-out-box {
  574. .order-status-tab {
  575. width: 100%;
  576. .keyword-view {
  577. padding: 20rpx 24rpx;
  578. background-color: #ffffff;
  579. .float_left {
  580. width: 640rpx;
  581. height: 72rpx;
  582. line-height: 72rpx;
  583. background-color: #ecf0f7;
  584. position: relative;
  585. border-radius: 40rpx;
  586. padding-left: 200rpx;
  587. .key-select {
  588. text-align: center;
  589. position: absolute;
  590. left: 0;
  591. height: 72rpx;
  592. width: 200rpx;
  593. top: 0;
  594. }
  595. .search-out {
  596. width: 438rpx;
  597. }
  598. &::before {
  599. content: '';
  600. display: block;
  601. left: 200rpx;
  602. height: 40rpx;
  603. width: 2rpx;
  604. position: absolute;
  605. background-color: #ced6e2;
  606. top: 50%;
  607. transform: translateY(-50%);
  608. }
  609. }
  610. .float_right {
  611. line-height: 64rpx;
  612. width: 50rpx;
  613. text-align: center;
  614. color: #666666;
  615. }
  616. }
  617. }
  618. }
  619. .top {
  620. width: 710rpx;
  621. padding: 24rpx 0rpx 0rpx 32rpx;
  622. height: 60rpx;
  623. margin-bottom: 20rpx;
  624. .txt {
  625. font-size: 24rpx;
  626. font-weight: 400;
  627. color: #879bba;
  628. line-height: 33rpx;
  629. }
  630. }
  631. .order_ul {
  632. height: calc(90vh - 226rpx);
  633. .order_li {
  634. background-color: #ffffff;
  635. padding-top: 32rpx;
  636. border-radius: 8rpx;
  637. margin: 0 auto 24rpx;
  638. width: 710rpx;
  639. .money-text {
  640. font-family: DIN-Medium;
  641. color: $uni-color-error;
  642. margin: 0 4rpx;
  643. font-size: 28rpx;
  644. font-weight: 500;
  645. margin-left: 30rpx;
  646. }
  647. .order_time {
  648. height: 40rpx;
  649. line-height: 40rpx;
  650. padding-right: 20rpx;
  651. margin-bottom: 24rpx;
  652. .tag-circleRight {
  653. display: inline-block;
  654. margin-left: 40rpx;
  655. vertical-align: middle;
  656. .img {
  657. width: 126rpx;
  658. height: 40rpx;
  659. display: block;
  660. }
  661. }
  662. .txt {
  663. font-size: 28rpx;
  664. font-weight: 500;
  665. margin-left: 16rpx;
  666. font-family: DIN-Medium;
  667. }
  668. }
  669. .order_info {
  670. padding: 30rpx;
  671. font-size: 24rpx;
  672. border-bottom: 1px solid #f7f8fa;
  673. }
  674. .remarks {
  675. background-color: #f1f1f1;
  676. padding: 0 30rpx;
  677. height: 60rpx;
  678. line-height: 60rpx;
  679. }
  680. .pay-status-tip {
  681. margin-left: 0rpx;
  682. color: #333333;
  683. height: 89rpx;
  684. vertical-align: middle;
  685. padding: 25rpx 40rpx;
  686. font-size: 28rpx;
  687. font-weight: 400;
  688. background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(0, 195, 149, 0.1) 100%);
  689. .txst {
  690. font-size: 28rpx;
  691. font-weight: 500;
  692. color: #2d405e;
  693. }
  694. }
  695. .pay-success {
  696. background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(0, 195, 149, 0.1) 100%);
  697. }
  698. .pay-danger {
  699. background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(246, 119, 120, 0.1) 100%);
  700. }
  701. .pay-warning {
  702. background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #fdf6e8 100%);
  703. }
  704. .order_bottom {
  705. margin-left: 40rpx;
  706. font-size: 28rpx;
  707. .order_params {
  708. margin-bottom: 24rpx;
  709. color: #999999;
  710. .right-txt {
  711. font-size: 28rpx;
  712. font-weight: 400;
  713. color: #2d405e;
  714. margin-left: 30rpx;
  715. }
  716. .float_right {
  717. color: #333333;
  718. }
  719. }
  720. .printing-btn {
  721. position: absolute;
  722. right: 30rpx;
  723. top: 50%;
  724. transform: translateY(-50%);
  725. text-align: center;
  726. .custom-icon-dayin {
  727. font-size: 30rpx;
  728. }
  729. }
  730. .btn {
  731. display: flex;
  732. justify-content: center;
  733. margin-top: 30rpx;
  734. .btn_some {
  735. width: 200rpx;
  736. height: 70rpx;
  737. line-height: 70rpx;
  738. text-align: center;
  739. border-radius: 6rpx;
  740. }
  741. .btn_examine {
  742. border: 1px solid #2979ff;
  743. color: #2979ff;
  744. }
  745. .btn_order {
  746. border: 1px solid #999999;
  747. color: #999999;
  748. margin-left: 30rpx;
  749. }
  750. }
  751. }
  752. }
  753. }
  754. </style>