index.vue 23 KB

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