index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956
  1. <template>
  2. <view class="pos-order-list" ref="container">
  3. <!-- #ifdef MP || APP-PLUS -->
  4. <NavBar titleText="售后订单" bagColor="#F5F5F5" :iconColor="iconColor" :textColor="iconColor"
  5. :isScrolling="isScrolling" showBack></NavBar>
  6. <!-- #endif -->
  7. <view class="list list-box" v-if="list.length">
  8. <view class="item" v-for="(item, index) in list" :key="index">
  9. <view class="order-num acea-row row-between-wrapper" @click="toDetail(item)">
  10. <view>
  11. <view>售后单号:{{ item.refundOrderNo }}</view>
  12. </view>
  13. <view class="state">{{statusArr[item.refundStatus]}}</view>
  14. </view>
  15. <view class="pos-order-goods">
  16. <view class="goods acea-row" @click="toDetail(item)">
  17. <scroll-view class="picTxt scroll-view" scroll-x="true" v-if="item.infoResponseList.length > 1">
  18. <view class="pictrue" v-for="(val, key) in item.infoResponseList" :key="key">
  19. <image :src="val.image" />
  20. </view>
  21. </scroll-view>
  22. <view class="picTxt" v-else>
  23. <view class="acea-row" v-for="(val, key) in item.infoResponseList" :key="key">
  24. <view class="pictrue">
  25. <image :src="val.image" />
  26. </view>
  27. <view class="text info-text">
  28. <view class="info line2">
  29. {{ val.productName }}
  30. </view>
  31. <view class="attr">
  32. {{ val.sku }}
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. <view class="money">
  38. <baseMoney color="#333333" :money="item.refundPrice" symbolSize="20" integerSize="32" decimalSize="20">
  39. </baseMoney>
  40. <view class="num">共{{ item.totalNum }}件</view>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="operation acea-row row-between-wrapper">
  45. <view v-if="item.afterSalesType == 1" class="more acea-row row-middle">
  46. <text class="iconfont icon-ic_returnmoney"></text>仅退款
  47. </view>
  48. <view v-else-if="item.afterSalesType == 2 " class="more acea-row row-middle">
  49. <text class="iconfont icon-ic_returnofgoods"></text>退货退款
  50. </view>
  51. <view class="acea-row row-middle">
  52. <view class="btn" @click="modify(item, 7)">退款单备注</view>
  53. <view class="btn on" v-if="item.refundStatus==0&&(item.returnGoodsType==0||item.returnGoodsType==2)" :class="openErp?'on':''" @click="modify(item,'2',1,0)">
  54. 退款审核
  55. </view>
  56. <view class="btn on" v-if="item.refundStatus==0&&item.returnGoodsType==1" :class="openErp?'on':''" @click="modify(item,'2',0,1)">
  57. 退款审核
  58. </view>
  59. <view class="btn on" v-if="item.refundStatus==5" @click="modify(item, 2, 8,2)">确认收货</view>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <emptyPage v-else title="暂无订单~" :imgSrc="urlDomain+'crmebimage/presets/nodingdan.png'"></emptyPage>
  65. <!-- <Loading :loaded="loaded" :loading="loading"></Loading> -->
  66. <PriceChange :change="change" :orderInfo="orderInfo" :isRefund="isRefund"
  67. v-on:statusChange="statusChange($event)" v-on:closechange="changeclose($event)" v-on:savePrice="savePrice"
  68. :status="status"></PriceChange>
  69. <view class="mask" v-if="filterShow" @click="filterShow=!filterShow"></view>
  70. <!-- #ifdef H5 -->
  71. <view class="filter-popup" :class="{ on: filterShow }">
  72. <!-- #endif -->
  73. <!-- #ifndef H5 -->
  74. <view class="filter-popup" :class="{ on: filterShow }" :style="{
  75. top:getHeight.barTop+getHeight.barHeight+'px'}">
  76. <!-- #endif -->
  77. <view class="content">
  78. <view class="search acea-row row-middle">
  79. <text class="iconfont icon-ic_search"></text>
  80. <input class="inputs" placeholder='请输入要查询的退款单号' placeholder-class='placeholder' confirm-type='search'
  81. name="search" v-model="where.refundOrderNo" @confirm="searchSubmit"></input>
  82. </view>
  83. <view class="item">
  84. <view class="title">按下单时间</view>
  85. <view class="acea-row list">
  86. <view class="cell" v-for="(item, index) in dateList" :key="index"
  87. :class="{ on: item.val == dateType }" @click="dateChange(item.val)">{{ item.label }}
  88. </view>
  89. </view>
  90. </view>
  91. <view class="bottom">
  92. <view class="no_view" @click="resetBtn">重置</view>
  93. <view class="yes_view" @click="submitBtn">确定</view>
  94. </view>
  95. </view>
  96. </view>
  97. </view>
  98. </template>
  99. <script>
  100. import {refundOrderList,refundOrderMark,refundStatusNum,refundOrderAudit,refundReceiving,refundReceivingReject} from '@/api/work.js'
  101. import footerPage from '../components/footerPage/index.vue';
  102. import Loading from '../components/Loading/index'
  103. import PriceChange from '../components/PriceChange/index.vue'
  104. import emptyPage from '@/components/emptyPage.vue'
  105. import NavBar from '../components/NavBar.vue'
  106. import baseMoney from '../components/BaseMoney.vue'
  107. import {
  108. isMoney
  109. } from '@/utils/validate.js';
  110. import {
  111. HTTP_REQUEST_URL
  112. } from '@/config/app';
  113. export default {
  114. name: "AdminOrderList",
  115. components: {
  116. Loading,
  117. PriceChange,
  118. emptyPage,
  119. NavBar,
  120. footerPage,
  121. baseMoney
  122. },
  123. data() {
  124. return {
  125. urlDomain: this.$Cache.get("imgHost"),
  126. refundStatusNum:{},
  127. statusArr:['待审核','商家拒绝','退款中','已退款','用户退货','商家待收货','已撤销'],
  128. getHeight: this.$util.getWXStatusHeight(),
  129. iconColor: '#333333',
  130. isScrolling: false,
  131. top: 0,
  132. navHeight: 0,
  133. isFixed: false,
  134. filterShow: false,
  135. openErp: false,
  136. current: "",
  137. change: false,
  138. types: 0,
  139. where: {
  140. page: 1,
  141. limit: 10,
  142. dateLimit: '',//事件区间
  143. orderNo: '',//订单号
  144. refundOrderNo: '',//退款订单号
  145. refundStatus: 9,//售后状态
  146. },
  147. list:[],
  148. loaded: false,
  149. loading: false,
  150. orderInfo: {},
  151. status: "",
  152. state: 9,
  153. isRefund: 0, //1是仅退款;0是退货退款
  154. imgHost: HTTP_REQUEST_URL,
  155. dateSelected: '',
  156. apiModalType:'',//0-仅退款 1-退货退款 2-确认收货
  157. dateList: [{
  158. label: '全部',
  159. val: '-1',
  160. },{
  161. label: '近1个月',
  162. val: '0',
  163. },
  164. {
  165. label: '近3个月',
  166. val: '1',
  167. },
  168. {
  169. label: '近6个月',
  170. val: '2',
  171. },
  172. ],
  173. payList: [{
  174. label: '全部',
  175. val: '0',
  176. },
  177. {
  178. label: '仅退款',
  179. val: '1'
  180. },
  181. {
  182. label: '退货退款',
  183. val: '2'
  184. },
  185. ],
  186. isRefund_type: [{
  187. label: '否',
  188. val: '0',
  189. },
  190. {
  191. label: '是',
  192. val: '1'
  193. },
  194. ],
  195. dateType:'-1'
  196. };
  197. },
  198. onLoad(option) {
  199. this.state = option.type?option.type:9;
  200. this.where.refundStatus=option.type?option.type:9;
  201. this.where.orderNo=option.orderNo?option.orderNo:'';
  202. },
  203. onShow() {
  204. this.init();
  205. },
  206. mounted() {
  207. const query = uni.createSelectorQuery().in(this);
  208. query.select("#nav").boundingClientRect((data) => {
  209. this.top = data?data.top:0;
  210. this.navHeight = data?data.height:0;
  211. }).exec();
  212. },
  213. onPageScroll(option) {
  214. // if (this.top >= option.scrollTop) {
  215. // this.isFixed = false;
  216. // } else {
  217. // this.isFixed = true;
  218. // }
  219. },
  220. methods: {
  221. getStatusNum(){
  222. refundStatusNum(this.where).then(res=>{
  223. this.refundStatusNum=res.data
  224. })
  225. },
  226. statusChange(e) {
  227. this.status = e;
  228. },
  229. // 获取数据
  230. getIndex: function() {
  231. let that = this;
  232. if (that.loading || that.loaded) return;
  233. that.loading = true;
  234. let obj = refundOrderList(that.where);
  235. obj.then(
  236. res => {
  237. that.loading = false;
  238. that.loaded = res.data.list.length < that.where.limit;
  239. that.list.push.apply(that.list, res.data.list);
  240. that.where.page = that.where.page + 1;
  241. },
  242. err => {
  243. that.$util.Tips({
  244. title: err
  245. })
  246. }
  247. );
  248. },
  249. // 初始化
  250. init: function() {
  251. this.list = [];
  252. this.where.page = 1;
  253. this.loaded = false;
  254. this.loading = false;
  255. this.getIndex();
  256. this.current = "";
  257. this.getStatusNum()
  258. },
  259. searchSubmit() {
  260. this.init();
  261. },
  262. // 导航切换
  263. changeStatus(val) {
  264. if (this.state != val) {
  265. this.state = val;
  266. this.where.refundStatus = val;
  267. this.init();
  268. }
  269. },
  270. // 商品操作
  271. //0-仅退款 1-退货退款 2-确认收货 212
  272. modify: function(item, status, type,apiType) {
  273. this.apiModalType=apiType
  274. if (this.openErp && status != 1) return
  275. this.change = true;
  276. this.status = status.toString();
  277. this.orderInfo = item;
  278. if (status == 2) {
  279. this.isRefund = type
  280. }
  281. },
  282. changeclose: function(msg) {
  283. this.change = msg;
  284. this.orderInfo = {};
  285. },
  286. async savePrice(opt) {
  287. let that = this,
  288. data = {};
  289. data.refundOrderNo = that.orderInfo.refundOrderNo;
  290. if (that.apiModalType == 0) {
  291. if(opt.type==2&&!opt.refuse_reason){
  292. return this.$util.Tips({
  293. title: '请输入拒绝理由'
  294. })
  295. }
  296. let requestObj = {
  297. refundOrderNo:that.orderInfo.refundOrderNo,
  298. auditType:opt.type==1?'success':'refuse',
  299. reason:opt.refuse_reason?opt.refuse_reason:''
  300. }
  301. refundOrderAudit(requestObj).then(res=>{
  302. if(res.code==200){
  303. this.$util.Tips({
  304. title: '审核成功'
  305. })
  306. this.init();
  307. this.change = false
  308. }else{
  309. this.$util.Tips({
  310. title:res.message
  311. })
  312. }
  313. })
  314. } else if (that.apiModalType == 1) {
  315. //退货退款审核
  316. if(opt.type==2&&!opt.refuse_reason){
  317. return this.$util.Tips({
  318. title: '请输入拒绝理由'
  319. })
  320. }
  321. if(opt.type==1&&!opt.merAddressId){
  322. return this.$util.Tips({
  323. title: '请选择退货地址'
  324. })
  325. }
  326. //退货退款拒绝
  327. if(opt.type==2){
  328. let requestObj = {
  329. refundOrderNo:that.orderInfo.refundOrderNo,
  330. auditType:opt.type==1?'success':'refuse',
  331. reason:opt.refuse_reason?opt.refuse_reason:''
  332. }
  333. refundOrderAudit(requestObj).then(res=>{
  334. if(res.code==200){
  335. this.$util.Tips({
  336. title: '操作成功'
  337. })
  338. this.init();
  339. this.change = false
  340. }else{
  341. this.$util.Tips({
  342. title:res.message
  343. })
  344. }
  345. })
  346. }
  347. //退货退款同意
  348. if(opt.type==1){
  349. let requestObj = {
  350. refundOrderNo:that.orderInfo.refundOrderNo,
  351. auditType:opt.type==1?'success':'refuse',
  352. merAddressId:opt.merAddressId
  353. }
  354. refundOrderAudit(requestObj).then(res=>{
  355. if(res.code==200){
  356. this.$util.Tips({
  357. title: '操作成功'
  358. })
  359. this.init();
  360. this.change = false
  361. }else{
  362. this.$util.Tips({
  363. title:res.message
  364. })
  365. }
  366. })
  367. }
  368. }else if(that.apiModalType == 2){
  369. //确认收货
  370. if(opt.type==2&&!opt.refuse_reason){
  371. return this.$util.Tips({
  372. title: '请输入拒绝理由'
  373. })
  374. }
  375. if(opt.type==1){
  376. // 同意
  377. refundReceiving(that.orderInfo.refundOrderNo).then(res=>{
  378. if(res.code==200){
  379. this.$util.Tips({
  380. title: '操作成功'
  381. })
  382. this.init();
  383. this.change = false
  384. }else{
  385. this.$util.Tips({
  386. title:res.message
  387. })
  388. }
  389. })
  390. }
  391. if(opt.type==2){
  392. let requestObj = {
  393. refundOrderNo:that.orderInfo.refundOrderNo,
  394. reason:opt.refuse_reason?opt.refuse_reason:''
  395. }
  396. // 拒绝
  397. refundReceivingReject(requestObj).then(res=>{
  398. if(res.code==200){
  399. this.$util.Tips({
  400. title: '操作成功'
  401. })
  402. this.init();
  403. this.change = false
  404. }else{
  405. this.$util.Tips({
  406. title:res.message
  407. })
  408. }
  409. })
  410. }
  411. }else{
  412. data.remark=opt.remark
  413. if (!data.remark) {
  414. return this.$util.Tips({
  415. title: '请输入备注'
  416. })
  417. }
  418. refundOrderMark(data).then(res=>{
  419. if(res.code==200){
  420. this.$util.Tips({
  421. title: '备注成功'
  422. })
  423. this.change = false
  424. }else{
  425. this.$util.Tips({
  426. title:res.message
  427. })
  428. }
  429. })
  430. }
  431. },
  432. toDetail(item) {
  433. uni.navigateTo({
  434. url: `/pages/admin/refundOrderDetail/index?refundOrderNo=${item.refundOrderNo}`
  435. })
  436. },
  437. offlinePay: function(item) {
  438. if (this.openErp) return
  439. setOfflinePay({
  440. order_id: item.order_id
  441. }).then(
  442. res => {
  443. this.$util.Tips({
  444. title: res.msg,
  445. icon: "success"
  446. });
  447. this.init();
  448. },
  449. error => {
  450. this.$util.Tips(error);
  451. }
  452. );
  453. },
  454. dateChange(val) {
  455. this.dateType = val;
  456. },
  457. payChange(val) {
  458. this.where.pay_type = val;
  459. },
  460. refundChange(val) {
  461. this.where.isRefund_type = val
  462. },
  463. goLogistics(orderInfo) {
  464. uni.navigateTo({
  465. url: '/pages/admin/logistics/index?type=refund&orderId=' + orderInfo.order_id
  466. })
  467. },
  468. // 点击确认按钮
  469. submitBtn() {
  470. const date = new Date();
  471. let end = date.toLocaleDateString();
  472. end = end.replaceAll('/', '-')
  473. let start = '';
  474. if (this.dateType == -1) {
  475. this.where.dateLimit=''
  476. this.filterShow = false;
  477. this.init()
  478. return
  479. } else if (this.dateType == 0) {
  480. date.setDate(1)
  481. } else if (this.dateType == 1) {
  482. date.setMonth(date.getMonth() - 2)
  483. date.setDate(1)
  484. } else if (this.dateType == 2) {
  485. date.setMonth(date.getMonth() - 5)
  486. date.setDate(1)
  487. }
  488. start = date.toLocaleDateString();
  489. start = start.replaceAll('/', '-')
  490. this.where.dateLimit = start == end ? '' : `${start},${end}`;
  491. this.filterShow = false;
  492. this.init()
  493. },
  494. //点击重置按钮
  495. resetBtn() {
  496. this.where.apply_type = 0;
  497. this.where.pay_type = 0;
  498. this.where.isRefund_type = 0
  499. this.dateType = '-1';
  500. },
  501. },
  502. onReachBottom() {
  503. this.getIndex()
  504. }
  505. }
  506. </script>
  507. <style lang="scss" scoped>
  508. .pos-order-list {
  509. padding-bottom: 150rpx !important;
  510. padding-bottom: constant(safe-area-inset-bottom); ///兼容 IOS<11.2/
  511. padding-bottom: env(safe-area-inset-bottom); ///兼容 IOS>11.2/
  512. }
  513. .searchCon {
  514. padding: 10rpx 20rpx;
  515. .search {
  516. flex: 1;
  517. height: 72rpx;
  518. padding: 0 32rpx;
  519. border-radius: 36rpx;
  520. background: #FFFFFF;
  521. .iconfont {
  522. margin-right: 16rpx;
  523. font-size: 32rpx;
  524. color: #999999;
  525. }
  526. .inputs {
  527. flex: 1;
  528. font-size: 28rpx;
  529. color: #333333;
  530. }
  531. .placeholder {
  532. font-size: 26rpx;
  533. color: #ccc;
  534. left: 5;
  535. }
  536. }
  537. .btn {
  538. width: 72rpx;
  539. height: 72rpx;
  540. border-radius: 50%;
  541. margin-left: 20rpx;
  542. background: #FFFFFF;
  543. text-align: center;
  544. .iconfont {
  545. font-size: 32rpx;
  546. line-height: 72rpx;
  547. color: #666666;
  548. }
  549. }
  550. }
  551. .pos-order-list .nav {
  552. padding: 0 20rpx 0 34rpx;
  553. position: sticky;
  554. /* #ifdef H5 */
  555. top: 0rpx !important;
  556. /* #endif */
  557. left: 0;
  558. width: 100%;
  559. background-color: #F5F5F5;
  560. z-index: 9;
  561. .item {
  562. position: relative;
  563. padding: 28rpx 0;
  564. image {
  565. width: 14rpx;
  566. height: 14rpx;
  567. display: block;
  568. position: absolute;
  569. bottom: 20rpx;
  570. right: -4rpx;
  571. }
  572. }
  573. }
  574. .pos-order-list .nav .item.on {
  575. font-weight: 500;
  576. font-size: 30rpx;
  577. color: #2A7EFB;
  578. }
  579. .pos-order-list .list {
  580. padding: 0 20rpx;
  581. }
  582. .pos-order-list .nothing {
  583. margin-top: 120upx;
  584. text-align: center;
  585. color: #cfcfcf;
  586. }
  587. .pos-order-list .list .item {
  588. padding: 32rpx 24rpx;
  589. border-radius: 24rpx;
  590. background-color: #fff;
  591. }
  592. .pos-order-list .list .item~.item {
  593. margin-top: 20rpx;
  594. }
  595. .pos-order-list .list .item .order-num {
  596. font-size: 28rpx;
  597. line-height: 40rpx;
  598. color: #333333;
  599. }
  600. .pos-order-list .list .item .order-num .state {
  601. color: #FF7E00;
  602. }
  603. .pos-order-list .list .item .order-num .state.on {
  604. font-size: 24rpx;
  605. width: 150rpx;
  606. text-align: right;
  607. }
  608. .pos-order-list .list .item .order-num .time {
  609. font-size: 26upx;
  610. font-weight: normal;
  611. color: #999;
  612. }
  613. .pos-order-list .list .item .operation .more {
  614. position: relative;
  615. font-size: 26rpx;
  616. color: #999999;
  617. }
  618. .pos-order-list .list .item .operation .more .iconfont {
  619. margin-right: 12rpx;
  620. font-size: 34rpx;
  621. color: #2A7EFB;
  622. }
  623. .pos-order-list .list .item .operation .icon-gengduo {
  624. font-size: 50upx;
  625. color: #aaa;
  626. }
  627. .pos-order-list .list .item .operation .order .arrow {
  628. width: 0;
  629. height: 0;
  630. border-left: 11upx solid transparent;
  631. border-right: 11upx solid transparent;
  632. border-top: 20upx solid #e5e5e5;
  633. position: absolute;
  634. left: 15upx;
  635. bottom: -18upx;
  636. }
  637. .pos-order-list .list .item .operation .order .arrow:before {
  638. content: '';
  639. width: 0;
  640. height: 0;
  641. border-left: 7upx solid transparent;
  642. border-right: 7upx solid transparent;
  643. border-top: 20upx solid #fff;
  644. position: absolute;
  645. left: -7upx;
  646. bottom: 0;
  647. }
  648. .pos-order-list .list .item .operation .order {
  649. width: 200upx;
  650. background-color: #fff;
  651. border: 1px solid #eee;
  652. border-radius: 10upx;
  653. position: absolute;
  654. top: -100upx;
  655. z-index: 9;
  656. }
  657. .pos-order-list .list .item .operation .order .items {
  658. height: 77upx;
  659. line-height: 77upx;
  660. text-align: center;
  661. }
  662. .pos-order-list .list .item .operation .order .items~.items {
  663. border-top: 1px solid #f5f5f5;
  664. }
  665. .pos-order-list .list .item .operation .btn {
  666. height: 56rpx;
  667. padding: 0 24rpx;
  668. border-radius: 28rpx;
  669. border: 1rpx solid #CCCCCC;
  670. font-size: 24rpx;
  671. line-height: 54rpx;
  672. color: #333333;
  673. &.on {
  674. color: #FFFFFF !important;
  675. background-color: #2A7EFB !important;
  676. border-color: #2A7EFB !important;
  677. }
  678. }
  679. .pos-order-list .list .item .operation .btn~.btn {
  680. margin-left: 16rpx;
  681. }
  682. .pos-order-list .list .item .operation .wait {
  683. margin-left: 30rpx;
  684. }
  685. .pos-order-goods .goods {
  686. padding: 26rpx 0;
  687. }
  688. .pos-order-goods .goods~.goods {
  689. border-top: 1px dashed #e5e5e5;
  690. }
  691. .pos-order-goods .goods .picTxt {
  692. flex: 1;
  693. min-width: 0;
  694. }
  695. .pos-order-goods .goods .scroll-view {
  696. box-sizing: border-box;
  697. white-space: nowrap;
  698. .pictrue {
  699. display: inline-block;
  700. +.pictrue {
  701. margin-left: 16rpx;
  702. }
  703. }
  704. }
  705. .pos-order-goods .goods .picTxt .pictrue {
  706. width: 136rpx;
  707. height: 136rpx;
  708. }
  709. .pos-order-goods .goods .picTxt .pictrue image {
  710. width: 100%;
  711. height: 100%;
  712. border-radius: 16rpx;
  713. }
  714. .pos-order-goods .goods .picTxt .text {
  715. flex: 1;
  716. min-width: 0;
  717. padding-left: 20rpx;
  718. }
  719. .pos-order-goods .goods .picTxt .text .info {
  720. font-size: 28rpx;
  721. line-height: 40rpx;
  722. color: #333333;
  723. }
  724. .pos-order-goods .goods .picTxt .text .info .label {
  725. color: #ff4c3c;
  726. }
  727. .pos-order-goods .goods .picTxt .text .attr {
  728. margin-top: 12rpx;
  729. overflow: hidden;
  730. white-space: nowrap;
  731. text-overflow: ellipsis;
  732. font-size: 24rpx;
  733. line-height: 34rpx;
  734. color: #999999;
  735. }
  736. .pos-order-goods .goods .money {
  737. padding-left: 16rpx;
  738. text-align: right;
  739. font-size: 28upx;
  740. }
  741. .pos-order-goods .goods .money .info {
  742. margin-top: 18rpx;
  743. font-size: 24rpx;
  744. }
  745. .pos-order-goods .goods .money .x-money {
  746. color: #282828;
  747. }
  748. .pos-order-goods .goods .money .num {
  749. margin-top: 10rpx;
  750. font-size: 24rpx;
  751. line-height: 34rpx;
  752. color: #999999;
  753. }
  754. .pos-order-goods .goods .money .y-money {
  755. color: #999;
  756. text-decoration: line-through;
  757. }
  758. .public-total {
  759. font-size: 28upx;
  760. color: #282828;
  761. border-top: 1px solid #eee;
  762. height: 92upx;
  763. line-height: 92upx;
  764. text-align: right;
  765. padding: 0 30upx;
  766. background-color: #fff;
  767. }
  768. .public-total .money {
  769. color: #ff4c3c;
  770. }
  771. .mask {
  772. z-index: 900;
  773. }
  774. .filter-popup {
  775. position: fixed;
  776. top: 0;
  777. left: 0;
  778. z-index: 900;
  779. width: 100%;
  780. border-radius: 0 0 32rpx 32rpx;
  781. background: #FFFFFF;
  782. transform: translateY(-100%);
  783. transition: transform 0.3s;
  784. &.on {
  785. transform: translateY(0);
  786. }
  787. .search-box {
  788. padding: 10rpx 32rpx;
  789. }
  790. .search {
  791. height: 58rpx;
  792. padding: 0 32rpx;
  793. border-radius: 29rpx;
  794. background: #F5F5F5;
  795. }
  796. .iconfont {
  797. font-size: 28rpx;
  798. color: #999999;
  799. }
  800. .input {
  801. flex: 1;
  802. height: 58rpx;
  803. padding-left: 16rpx;
  804. font-size: 24rpx;
  805. }
  806. .content {
  807. padding: 32rpx 30rpx 58rpx;
  808. .bottom {
  809. display: flex;
  810. margin-top: 40rpx;
  811. view {
  812. width: 332rpx;
  813. height: 72rpx;
  814. text-align: center;
  815. line-height: 72rpx;
  816. font-weight: 500;
  817. font-size: 13px;
  818. }
  819. .no_view {
  820. border-radius: 100px 100px 100px 100px;
  821. border: 1px solid #2A7EFB;
  822. color: #2A7EFB;
  823. }
  824. .yes_view {
  825. background: #2A7EFB;
  826. border-radius: 25px 25px 25px 25px;
  827. color: #FFFFFF;
  828. margin-left: 22rpx;
  829. }
  830. }
  831. }
  832. .item {
  833. margin-top: 36rpx;
  834. &:first-child {
  835. margin-top: 0;
  836. }
  837. }
  838. .title {
  839. font-size: 28rpx;
  840. line-height: 40rpx;
  841. color: #333333;
  842. }
  843. .list {
  844. padding: 0;
  845. margin-right: -24rpx;
  846. }
  847. .cell {
  848. width: 154rpx;
  849. height: 56rpx;
  850. border: 1rpx solid #F5F5F5;
  851. border-radius: 28rpx;
  852. margin: 24rpx 24rpx 0 0;
  853. background: #F5F5F5;
  854. text-align: center;
  855. font-size: 24rpx;
  856. line-height: 54rpx;
  857. color: #333333;
  858. &.on {
  859. border-color: #2A7EFB;
  860. background: #E9F2FE;
  861. color: #2A7EFB;
  862. }
  863. }
  864. }
  865. .scroll_view {
  866. white-space: nowrap;
  867. // padding: 0 30rpx;
  868. .item {
  869. display: inline-block;
  870. color: #999999;
  871. margin-right: 50rpx;
  872. }
  873. }
  874. .info-text{
  875. display: flex;
  876. flex-direction: column;
  877. justify-content: space-between;
  878. }
  879. .icon-a-icon_filter1x{
  880. font-size: 40rpx !important;
  881. }
  882. .list-box{
  883. margin-top: 20rpx;
  884. }
  885. </style>