index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  1. <template>
  2. <view class="pos-order-list" ref="container">
  3. <view class="top-header">
  4. <view class="search">
  5. <view class="search-content acea-row row-middle">
  6. <text class="iconfont icon-sousuo"></text>
  7. <input v-model="where.store_name" confirm-type="search" placeholder="请输收货人手机号或退款订单号搜索" class="input" @confirm="handleSearch" />
  8. </view>
  9. </view>
  10. <view>
  11. <scroll-view class="nav acea-row" scroll-x="true" style="white-space: nowrap; display: flex;" scroll-with-animation show-scrollbar="true">
  12. <view class="item" :class="where.status == 1 ? 'on' : ''" @click="changeStatus(1)">
  13. 待付款
  14. </view>
  15. <view class="item" :class="where.is_verify == 1 ? 'on' : ''" @click="changeStatus('verify')">
  16. 待核销
  17. </view>
  18. <view class="item" :class="where.status == 2 ? 'on' : ''" @click="changeStatus(2)">
  19. 待发货
  20. </view>
  21. <view class="item" :class="where.status == 3 ? 'on' : ''" @click="changeStatus(3)">
  22. 待收货
  23. </view>
  24. <view class="item" :class="where.status == 4 ? 'on' : ''" @click="changeStatus(4)">
  25. 待评价
  26. </view>
  27. <view class="item" :class="where.status == 5 ? 'on' : ''" @click="changeStatus(5)">
  28. 已完成
  29. </view>
  30. <view class="item" :class="where.status == 6 ? 'on' : ''" @click="changeStatus(6)">
  31. 退款
  32. </view>
  33. </scroll-view>
  34. </view>
  35. </view>
  36. <view v-if="where.status == 6" class="list">
  37. <view class="item" v-for="(item, index) in list" :key="index">
  38. <view class="order-num acea-row row-middle">
  39. <text v-if="item.order && item.order.activity_type != 0" class="activity_type">
  40. {{ item.order.activity_type == 1 ? '秒杀' : item.order.activity_type == 2 ? '预售' : item.order.activity_type == 3 ? '助力' : item.order.activity_type == 4 ? '拼团' : item.order.activity_type == 10 ? '套餐' :'' }}
  41. </text>
  42. 退款单号:{{ item.refund_order_sn }}
  43. <text class="time">申请时间:{{ item.create_time }}</text>
  44. </view>
  45. <view class="pos-order-goods" v-for="(val, key) in item.refundProduct" :key="key" @click="toRefundDetail(item)">
  46. <view class="goods acea-row row-between-wrapper">
  47. <view v-if="val.product.cart_info" class="picTxt acea-row row-between-wrapper">
  48. <view class="pictrue">
  49. <image :src="val.product.cart_info.product.image" />
  50. </view>
  51. <view class="text acea-row row-between row-column">
  52. <view class="info line1 refund-info">
  53. {{ val.product.cart_info.product&&val.product.cart_info.product.store_name }}
  54. </view>
  55. <view class="attr">
  56. {{ val.product.cart_info.productAttr&&val.product.cart_info.productAttr.sku || "默认" }}
  57. </view>
  58. <view class="y-money refund-y-money">
  59. 退款:¥{{ val.refund_price }}
  60. </view>
  61. </view>
  62. </view>
  63. <view class="money refund-money">
  64. <view class="num">x{{ val.refund_num }}</view>
  65. </view>
  66. </view>
  67. </view>
  68. <view class="item-status">
  69. <text v-if="item.status == -1" class="iconfont icon-yijujue1"></text>
  70. <text v-if="item.status == 0" class="iconfont icon-tuikuanzhong on"></text>
  71. <text v-if="item.status == 1 || item.status == 2" class="iconfont icon-tuihuozhong on"></text>
  72. <text v-if="item.status == 3" class="iconfont icon-yituikuan1"></text>
  73. </view>
  74. <view class="operation acea-row row-between-wrapper">
  75. <view class="more">
  76. </view>
  77. <view class="acea-row row-middle">
  78. <view class="bnt" @click="refundModify(item, 1)">订单备注</view>
  79. <navigator class="bnt bnt_color" v-if="item.status == 0" :url="'/pages/admin/orderRefund/index?id='+item.refund_order_id+'&merId='+merId">立即退款</navigator>
  80. <navigator class="bnt" v-if="item.status == 2" :url="'/pages/users/goods_logistics/index?refundId='+item.refund_order_id+'&merId='+merId">查看物流</navigator>
  81. <view class="bnt bnt_color" v-if="item.status == 2" @tap='confirmOrder(item)'>确认收货</view>
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. <view v-else class="list">
  87. <view class="item" v-for="(item, index) in list" :key="index">
  88. <view class="order-num acea-row row-middle">
  89. <text v-if="item.activity_type != 0" class="activity_type">
  90. {{ item.activity_type == 1 ? '秒杀' : item.activity_type == 2 ? '预售' : item.activity_type == 3 ? '助力' : item.activity_type == 4 ? '拼团' : item.activity_type == 10 ? '套餐' :'' }}
  91. </text>
  92. 订单号:{{ item.order_sn }}
  93. <text class="time">下单时间:{{ item.create_time }}</text>
  94. <text class="order-status" v-if="item.refunding != 0 && where.status != 1">{{item.refunding==1 ? '退款中' : item.refunding==2 ? '部分退款' : '全部退款'}}</text>
  95. </view>
  96. <view class="pos-order-goods" v-for="(val, key) in item.orderProduct" :key="key" @click="toDetail(item)">
  97. <view class="goods">
  98. <view class="acea-row row-between-wrapper">
  99. <view class="picTxt acea-row row-between-wrapper">
  100. <view class="pictrue">
  101. <image :src="val.cart_info.product.image" />
  102. </view>
  103. <view class="text acea-row row-between row-column">
  104. <view class="info line2">
  105. {{ val.cart_info.product.store_name }}
  106. </view>
  107. <view class="attr">
  108. {{ val.cart_info.productAttr&&val.cart_info.productAttr.sku || "默认" }}
  109. </view>
  110. </view>
  111. </view>
  112. <view class="money">
  113. <view class="x-money">¥{{ val.cart_info.productAttr.price }}</view>
  114. <view class="num">x{{ val.product_num }}</view>
  115. <!-- <view class="refund-num" v-if="val.product_num-val.refund_num>0">{{val.product_num-val.refund_num}}件{{val.is_refund==1?'退款中' : val.is_refund==2 ? '已退款' : val.is_refund==3?'全部退款':''}}</view> -->
  116. </view>
  117. </view>
  118. <!-- <view v-if="item.order_type == 1" class="cancellate">
  119. <text class="uncancell">1件已核销</text>
  120. <text class="uncancell">1件已退款</text>
  121. <text class="cancelled">1件退款中</text>
  122. </view> -->
  123. </view>
  124. </view>
  125. <view class="public-total">
  126. 共{{ item.total_num }}件商品,
  127. <span v-if="where.status <= 1">应</span>
  128. <span v-else>已</span>
  129. 支付
  130. <span class="money">¥{{ item.pay_price }}</span> (邮费 ¥{{ item.pay_postage}})
  131. </view>
  132. <view class="operation acea-row row-between-wrapper">
  133. <view class="more">
  134. </view>
  135. <view class="acea-row row-middle">
  136. <view class="bnt" @click="modify(item, 0)" v-if="where.status == 1 && item.activity_type != 2">
  137. 一键改价
  138. </view>
  139. <view class="bnt" @click="modify(item, 1)">订单备注</view>
  140. <view class="bnt bnt_color" v-if="where.status == 2 && item.order_type == 0" @click="toPostage(item)">去发货</view>
  141. <view class="bnt bnt_color" v-if="(where.status == 2 && item.order_type == 1) || where.is_verify == 1" @click="toDetail(item)">去核销</view>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. <Loading :loaded="loaded" :loading="loading"></Loading>
  147. <view v-if="!loading && list.length <= 0" class="nothing">
  148. <image :src="`${domain}/static/images/no_thing.png`" mode="widthFix"></image>
  149. <view class="nothing_text">暂无订单~</view>
  150. </view>
  151. <PriceChange :change="change" :orderInfo="orderInfo" v-on:closechange="changeclose($event)" v-on:savePrice="savePrice"
  152. :status="status"></PriceChange>
  153. <view>
  154. <view class="priceChange" :class="refundMark === true ? 'on' : ''">
  155. <view class="priceTitle" :style="{ 'background-image': `url(${domain}/static/images/pricetitle.jpg)`}">
  156. 订单备注
  157. <span class="iconfont icon-guanbi" @click="refundMark = false"></span>
  158. </view>
  159. <view class="listChange">
  160. <textarea
  161. placeholder="请填写备注信息..."
  162. v-model="refundInfo.mer_mark"
  163. ></textarea>
  164. </view>
  165. <view class="modify" @click="save">
  166. 确认提交
  167. </view>
  168. </view>
  169. <view class="mask" @touchmove.prevent v-show="refundMark === true"></view>
  170. </view>
  171. </view>
  172. </template>
  173. <script>
  174. // +----------------------------------------------------------------------
  175. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  176. // +----------------------------------------------------------------------
  177. // | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
  178. // +----------------------------------------------------------------------
  179. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  180. // +----------------------------------------------------------------------
  181. // | Author: CRMEB Team <admin@crmeb.com>
  182. // +----------------------------------------------------------------------
  183. import {
  184. getOrderList,
  185. getRefundOrderList,
  186. setAdminOrderPrice,
  187. setAdminOrderRemark,
  188. setOfflinePay,
  189. setOrderRefund,
  190. refundOrderReceive,
  191. setRefundMark
  192. } from "@/api/admin";
  193. import Loading from '@/components/Loading/index'
  194. import PriceChange from '@/components/PriceChange/index'
  195. import { isMoney } from '@/utils/validate.js'
  196. import { HTTP_REQUEST_URL } from '@/config/app';
  197. export default {
  198. name: "AdminOrderList",
  199. components: {
  200. Loading,
  201. PriceChange
  202. },
  203. data() {
  204. return {
  205. domain: HTTP_REQUEST_URL,
  206. current: "",
  207. change: false,
  208. refundMark: false,
  209. types: 1,
  210. where: {
  211. page: 1,
  212. limit: 10,
  213. status: 1,
  214. store_name: ''
  215. },
  216. list: [],
  217. loaded: false,
  218. loading: false,
  219. refundInfo: {},
  220. orderInfo: {},
  221. status: "",
  222. merId: ''
  223. };
  224. },
  225. watch: {
  226. "$route.params.types": function(newVal) {
  227. let that = this;
  228. if (newVal != undefined) {
  229. that.where.status = newVal;
  230. that.init();
  231. }
  232. },
  233. types: function() {
  234. this.getIndex();
  235. }
  236. },
  237. onLoad(option) {
  238. this.where.status = option.types
  239. this.current = "";
  240. this.merId = option.merId;
  241. this.getIndex();
  242. },
  243. methods: {
  244. handleSearch() {
  245. this.loaded = false;
  246. this.where.page = 1;
  247. this.list = [];
  248. this.getIndex();
  249. },
  250. // 获取数据
  251. getIndex() {
  252. let that = this;
  253. if (that.loading || that.loaded) return;
  254. that.loading = true;
  255. if(that.where.status == 6){
  256. getRefundOrderList(that.where, that.merId).then(
  257. res => {
  258. that.loading = false;
  259. that.loaded = res.data.list.length < that.where.limit;
  260. that.list.push.apply(that.list, res.data.list);
  261. that.where.page = that.where.page + 1;
  262. },
  263. err => {
  264. that.$util.Tips({title: err});
  265. }
  266. );
  267. }else{
  268. getOrderList(that.where, that.merId).then(
  269. res => {
  270. that.loading = false;
  271. that.loaded = res.data.list.length < that.where.limit;
  272. that.list.push.apply(that.list, res.data.list);
  273. that.where.page = that.where.page + 1;
  274. },
  275. err => {
  276. that.$util.Tips({title: err});
  277. }
  278. );
  279. }
  280. },
  281. // 初始化
  282. init: function() {
  283. this.list = [];
  284. this.where.page = 1;
  285. this.loaded = false;
  286. this.loading = false;
  287. this.getIndex();
  288. this.current = "";
  289. },
  290. // 导航切换
  291. changeStatus(val) {
  292. if(val != 'verify'){
  293. if(this.where.status != val){
  294. this.where.status = val;
  295. delete this.where.is_verify;
  296. this.init();
  297. }
  298. }else{
  299. this.where.is_verify = 1;
  300. delete this.where.status;
  301. this.init();
  302. }
  303. },
  304. // 商品操作
  305. modify: function(item, status) {
  306. let temp = status.toString()
  307. this.change = true;
  308. this.orderInfo = item;
  309. this.status = temp;
  310. },
  311. refundModify(item){
  312. this.refundInfo = item;
  313. this.refundMark = true;
  314. },
  315. // 退款单备注
  316. save(item) {
  317. let that = this;
  318. if (!that.refundInfo.mer_mark) {
  319. return this.$util.Tips({
  320. title: '请输入备注'
  321. })
  322. }
  323. setRefundMark(that.merId,that.refundInfo.refund_order_id,{ mer_mark: that.refundInfo.mer_mark }).then(
  324. res => {
  325. that.refundMark = false;
  326. this.$util.Tips({
  327. title: res.message,
  328. icon: 'success'
  329. })
  330. },
  331. err => {
  332. that.refundMark = false;
  333. that.$util.Tips({
  334. title: err
  335. });
  336. }
  337. );
  338. },
  339. changeclose: function(msg) {
  340. this.change = msg;
  341. },
  342. // 确认收货
  343. confirmOrder: function(item) {
  344. let that = this;
  345. uni.showModal({
  346. title: '确认收货',
  347. content: '为保障权益,请收到货确认无误后,再确认收货',
  348. success: function(res) {
  349. if (res.confirm) {
  350. refundOrderReceive(that.merId,item.refund_order_id).then(res => {
  351. return that.$util.Tips({
  352. title: '操作成功',
  353. icon: 'success'
  354. }, function() {
  355. item.status = 3;
  356. });
  357. }).catch(err => {
  358. return that.$util.Tips({
  359. title: err
  360. });
  361. })
  362. }
  363. }
  364. })
  365. },
  366. toPostage(item){
  367. let that = this;
  368. if(item.refunding != 0){
  369. uni.showModal({
  370. title: '标题',
  371. content: '该订单有售后申请,请确认已处理!',
  372. success: function(res) {
  373. if (res.confirm) {
  374. uni.navigateTo({
  375. url:`/pages/admin/delivery/index?id=${item.order_id}&merId=${that.merId}`
  376. })
  377. }
  378. }
  379. })
  380. }else{
  381. uni.navigateTo({
  382. url:`/pages/admin/delivery/index?id=${item.order_id}&merId=${that.merId}`
  383. })
  384. }
  385. },
  386. async savePrice(opt) {
  387. let that = this,
  388. data = {},
  389. price = opt.orderInfo.pay_postage,
  390. refund_price = opt.refund_price,
  391. refund_status = that.orderInfo.refund_status,
  392. remark = opt.remark;
  393. let parmas = {
  394. pay_postage: opt.orderInfo.pay_postage,
  395. coupon_price: opt.orderInfo.coupon_price,
  396. total_price: Number(opt.orderInfo.total_price)
  397. }
  398. let id = that.orderInfo.order_id;
  399. if (that.status == 0) {
  400. if(!isMoney(opt.orderInfo.pay_postage || opt.orderInfo.total_price)){
  401. return that.$util.Tips({title: '请输入正确的金额'});
  402. }
  403. data.pay_price = price;
  404. setAdminOrderPrice(this.merId,id,parmas).then(
  405. function() {
  406. that.change = false;
  407. that.$util.Tips({
  408. title:'改价成功',
  409. icon:'success'
  410. })
  411. that.init();
  412. },
  413. function(res) {
  414. that.change = false;
  415. that.$util.Tips({
  416. title:res,
  417. icon:'none'
  418. })
  419. }
  420. );
  421. } else {
  422. if(!remark){
  423. return this.$util.Tips({
  424. title:'请输入备注'
  425. })
  426. }
  427. setAdminOrderRemark(this.merId,id, {remark: remark}).then(
  428. res => {
  429. that.change = false;
  430. this.$util.Tips({
  431. title:res.message,
  432. icon:'success'
  433. })
  434. that.init();
  435. },
  436. err => {
  437. that.change = false;
  438. that.$util.Tips({title: err});
  439. }
  440. );
  441. }
  442. },
  443. toDetail(item){
  444. uni.navigateTo({
  445. url:`/pages/admin/orderDetail/index?id=${item.order_id}&mer_id=${item.mer_id}`
  446. })
  447. },
  448. toRefundDetail(item){
  449. uni.navigateTo({
  450. url:`/pages/admin/refundDetail/index?id=${item.refund_order_id}&mer_id=${item.mer_id}`
  451. })
  452. }
  453. },
  454. onReachBottom() {
  455. this.getIndex()
  456. }
  457. }
  458. </script>
  459. <style lang="scss" scoped>
  460. .pos-order-list .top-header {
  461. position: fixed;
  462. top: 0;
  463. left: 0;
  464. z-index: 9999;
  465. width: 100%;
  466. background-color: #fff;
  467. }
  468. .pos-order-list .nav {
  469. // width: 100%;
  470. height: 96upx;
  471. font-size: 30upx;
  472. color: #282828;
  473. width: 690rpx;
  474. margin: 0 auto;
  475. }
  476. .pos-order-list .nav .item {
  477. display: inline-block;
  478. text-align: center;
  479. color: #333333;
  480. max-width: 160rpx;
  481. margin-right: 50rpx;
  482. line-height: 96upx;
  483. &:last-child{
  484. margin-right: 0;
  485. }
  486. }
  487. .pos-order-list .nav .item.on {
  488. color: #2291f8;
  489. }
  490. .pos-order-list .list {
  491. margin-top: 210upx;
  492. }
  493. .pos-order-list .list .item {
  494. background-color: #fff;
  495. width: 100%;
  496. position: relative;
  497. }
  498. .pos-order-list .list .item .item-status{
  499. position: absolute;
  500. top: 14rpx;
  501. right: 20rpx;
  502. .iconfont{
  503. font-size: 98rpx;
  504. color: #CCCCCC;
  505. &.on{
  506. color: #FFE3BC;
  507. }
  508. }
  509. }
  510. .pos-order-list .list .item~.item {
  511. margin-top: 24upx;
  512. }
  513. .pos-order-list .list .activity_type {
  514. display: inline-block;
  515. color: #E93323;
  516. font-size: 20rpx;
  517. text-align: center;
  518. border-radius: 5rpx;
  519. padding: 0 4rpx;
  520. line-height: 28rpx;
  521. margin-right: 8rpx;
  522. border: 1rpx solid #E93323;
  523. }
  524. .pos-order-list .list .item .order-num {
  525. height: 124upx;
  526. border-bottom: 1px solid #eee;
  527. font-size: 30upx;
  528. font-weight: bold;
  529. color: #282828;
  530. padding: 0 30upx;
  531. position: relative;
  532. }
  533. .pos-order-list .list .item .order-status{
  534. color: #ff9600;
  535. position: absolute;
  536. top: 24rpx;
  537. right: 20rpx;
  538. text-align: right;
  539. width: 160rpx;
  540. font-weight: normal;
  541. font-size: 26rpx;
  542. }
  543. .pos-order-list .list .item .order-num .time {
  544. font-size: 26upx;
  545. font-weight: normal;
  546. color: #999;
  547. margin-top: -40upx;
  548. }
  549. .pos-order-list .list .item .operation {
  550. padding: 20upx 30upx 20upx 0;
  551. margin: 30upx 0 0 30upx;
  552. border-top: 1rpx solid #EEEEEE;
  553. }
  554. .pos-order-list .list .item .operation .more {
  555. position: relative;
  556. }
  557. .pos-order-list .list .item .operation .icon-gengduo {
  558. font-size: 50upx;
  559. color: #aaa;
  560. }
  561. .pos-order-list .list .item .operation .order .arrow {
  562. width: 0;
  563. height: 0;
  564. border-left: 11upx solid transparent;
  565. border-right: 11upx solid transparent;
  566. border-top: 20upx solid #e5e5e5;
  567. position: absolute;
  568. left: 15upx;
  569. bottom: -18upx;
  570. }
  571. .pos-order-list .list .item .operation .order .arrow:before {
  572. content: '';
  573. width: 0;
  574. height: 0;
  575. border-left: 7upx solid transparent;
  576. border-right: 7upx solid transparent;
  577. border-top: 20upx solid #fff;
  578. position: absolute;
  579. left: -7upx;
  580. bottom: 0;
  581. }
  582. .pos-order-list .list .item .operation .order {
  583. width: 200upx;
  584. background-color: #fff;
  585. border: 1px solid #eee;
  586. border-radius: 10upx;
  587. position: absolute;
  588. top: -100upx;
  589. z-index: 9;
  590. }
  591. .pos-order-list .list .item .operation .order .items {
  592. height: 77upx;
  593. line-height: 77upx;
  594. text-align: center;
  595. }
  596. .pos-order-list .list .item .operation .order .items~.items {
  597. border-top: 1px solid #f5f5f5;
  598. }
  599. .pos-order-list .list .item .operation .bnt {
  600. font-size: 28upx;
  601. color: #5c5c5c;
  602. width: 170upx;
  603. height: 60upx;
  604. border-radius: 30upx;
  605. border: 1px solid #bbb;
  606. text-align: center;
  607. line-height: 60upx;
  608. }
  609. .pos-order-list .list .item .operation .bnt_color{
  610. border: none;
  611. color: #fff;
  612. background: linear-gradient(90deg, #2291F8 0%, #1CD1DC 100%);
  613. }
  614. .pos-order-list .list .item .operation .bnt~.bnt {
  615. margin-left: 14upx;
  616. }
  617. .pos-order-goods {
  618. padding: 0 30upx;
  619. background-color: #fff;
  620. }
  621. .pos-order-goods .goods {
  622. padding-top: 20rpx;
  623. overflow: hidden;
  624. }
  625. .pos-order-goods .goods~.goods {
  626. border-top: 1px dashed #e5e5e5;
  627. }
  628. .pos-order-goods .cancellate{
  629. font-size: 24rpx;
  630. float: right;
  631. margin-top: 10rpx;
  632. text{
  633. margin-left: 26rpx;
  634. }
  635. }
  636. .pos-order-goods .cancelled{
  637. color: #FF9600;
  638. }
  639. .pos-order-goods .goods .uncancell{
  640. color: #999999;
  641. }
  642. .pos-order-goods .goods .picTxt {
  643. width: 515upx;
  644. align-items: flex-start;
  645. }
  646. .pos-order-goods .goods .picTxt .pictrue {
  647. width: 130upx;
  648. height: 130upx;
  649. }
  650. .pos-order-goods .goods .picTxt .pictrue image {
  651. width: 100%;
  652. height: 100%;
  653. border-radius: 6upx;
  654. }
  655. .pos-order-goods .goods .picTxt .text {
  656. flex-direction: column;
  657. width: 365upx;
  658. }
  659. .pos-order-goods .goods .picTxt .text .info {
  660. font-size: 28rpx;
  661. color: #333333;
  662. &.refund-info{
  663. width: 460upx;
  664. }
  665. }
  666. .refund-y-money{
  667. margin-top: 20rpx;
  668. font-size: 26rpx;
  669. }
  670. .pos-order-goods .goods .picTxt .text .attr {
  671. margin-top: 20rpx;
  672. font-size: 24rpx;
  673. color: #999;
  674. }
  675. .pos-order-goods .goods .money {
  676. width: 164rpx;
  677. text-align: right;
  678. font-size: 28rpx;
  679. &.refund-money{
  680. width: auto;
  681. position: relative;
  682. top: -50rpx;
  683. .num{
  684. color: #999999;
  685. }
  686. }
  687. .refund-num{
  688. font-size: 24rpx;
  689. color: #282828;
  690. }
  691. }
  692. .pos-order-goods .goods .money .x-money {
  693. color: #282828;
  694. }
  695. .pos-order-goods .goods .money .num {
  696. color: #ff9600;
  697. margin: 5upx 0;
  698. }
  699. .pos-order-goods .goods .money .y-money {
  700. color: #999;
  701. text-decoration: line-through;
  702. }
  703. .pos-order-goods .goods .refund_num{
  704. display: inline-block;
  705. margin-left: 10rpx;
  706. }
  707. .public-total {
  708. font-size: 28upx;
  709. color: #282828;
  710. height: 92upx;
  711. line-height: 92upx;
  712. text-align: right;
  713. padding: 0 30upx;
  714. background-color: #fff;
  715. }
  716. .public-total .money {
  717. color: #ff4c3c;
  718. }
  719. .nothing {
  720. margin-top: 200rpx;
  721. text-align: center;
  722. }
  723. .nothing_text{
  724. margin-top: 20rpx;
  725. color: #999999;
  726. }
  727. .priceChange{position:fixed;width:580upx;background-color:#fff;border-radius:10upx;top:50%;left:50%;margin-left:-290upx;margin-top:-335upx;z-index:666;transition:all 0.3s ease-in-out 0s;transform: scale(0);opacity:0;}
  728. .priceChange.on{opacity:1;transform: scale(1);}
  729. .priceChange .priceTitle{background-repeat:no-repeat;background-size:100% 100%;width:100%;height:160upx;border-radius:10upx 10upx 0 0;text-align:center;font-size:40upx;color:#fff;line-height:160upx;position:relative;}
  730. .priceChange .priceTitle .iconfont{position:absolute;font-size:40upx;right:26upx;top:23upx;width:40upx;height:40upx;line-height:40upx;}
  731. .priceChange .listChange{padding:0 40upx;}
  732. .priceChange .listChange textarea{box-sizing: border-box;}
  733. .priceChange .listChange .item{height:103upx;border-bottom:1px solid #e3e3e3;font-size:32upx;color:#333;}
  734. .priceChange .modify{font-size:32upx;color:#fff;width:490upx;height:90upx;text-align:center;line-height:90upx;border-radius:45upx;background-color:#2291f8;margin:53upx auto;}
  735. .priceChange .listChange textarea {
  736. border: 1px solid #eee;
  737. width: 100%;
  738. height: 200upx;
  739. margin-top: 50upx;
  740. border-radius: 10upx;
  741. color: #333;
  742. padding: 20upx;
  743. }
  744. .search {
  745. padding: 17rpx 30rpx;
  746. .search-content {
  747. width: 100%;
  748. height: 60rpx;
  749. padding: 0 30rpx;
  750. border-radius: 30rpx;
  751. background-color: #F5F5F5;
  752. font-size: 26rpx;
  753. }
  754. .iconfont {
  755. margin-right: 10rpx;
  756. font-size: 26rpx;
  757. color: #999999;
  758. }
  759. .input-placeholder {
  760. font-size: 26rpx;
  761. color: #999999;
  762. }
  763. .input {
  764. flex: 1;
  765. }
  766. }
  767. </style>