index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  1. <template>
  2. <view class="deliver-goods" :style="viewColor">
  3. <header>
  4. <view class="order-num acea-row row-between-wrapper">
  5. <view class="num line1">订单号:{{ delivery.order_sn }}</view>
  6. <view class="name line1">
  7. <span class="iconfont icon-yonghu2"></span>{{ delivery.user && delivery.user.nickname }}
  8. </view>
  9. </view>
  10. <view class="address">
  11. <view class="name">
  12. {{ delivery.real_name }}<span class="phone">{{ delivery.user && delivery.user_phone }}</span>
  13. </view>
  14. <view>{{ delivery.user_address }}</view>
  15. </view>
  16. <view class="line">
  17. <image src="@/static/images/line.jpg" />
  18. </view>
  19. </header>
  20. <view class="wrapper">
  21. <view class="item acea-row row-between-wrapper">
  22. <view>发货方式</view>
  23. <view class="mode acea-row row-middle row-right">
  24. <view class="goods" :class="active === index ? 'on' : ''" v-for="(item, index) in types" :key="index" @click="changeType(item, index)">
  25. <span class="iconfont icon-xuanzhong2"></span>{{ item.title }}
  26. </view>
  27. </view>
  28. </view>
  29. <block v-if="logistics.length>0">
  30. <view class="list">
  31. <block v-if="delivery_type == 1">
  32. <view class="item acea-row row-between-wrapper">
  33. <view>快递公司</view>
  34. <view class="select-box">
  35. <picker class="pickerBox" @change="bindPickerChange" :value="seIndex" :range="logistics" range-key="label">
  36. <view class="uni-input">{{logistics[seIndex].label}}</view>
  37. </picker>
  38. </view>
  39. </view>
  40. <view class="item acea-row row-between-wrapper">
  41. <view>快递单号</view>
  42. <input type="text" placeholder="填写快递单号" v-model="delivery_id" class="mode" />
  43. <!-- #ifdef MP -->
  44. <text class="iconfont icon-xiangji" @click="scanCode"></text>
  45. <!-- #endif -->
  46. <!-- #ifdef H5 -->
  47. <text v-if="isWeixin" class="iconfont icon-xiangji" @click="scanCode"></text>
  48. <!-- #endif -->
  49. </view>
  50. </block>
  51. <block v-if="delivery_type == 4">
  52. <view class="item acea-row row-between-wrapper">
  53. <view>快递公司</view>
  54. <view class="select-box">
  55. <picker class="pickerBox" @change="bindPickerChange" :value="seIndex" :range="logistics" range-key="label">
  56. <view class="uni-input">{{logistics[seIndex].label}}</view>
  57. </picker>
  58. </view>
  59. </view>
  60. <view class="item acea-row row-between-wrapper" v-if="expTemp.length > 0 && delivery_type == 4">
  61. <view>电子面单</view>
  62. <div style="display: flex;align-items: center;">
  63. <picker class="pickerBox" @change="bindTempChange" :value="expIndex" :range="expTemp" range-key="title">
  64. <view class="uni-input input-inline">{{expTemp[expIndex].title}}</view>
  65. </picker>
  66. <div class="look" @click="previewImage">预览</div>
  67. </div>
  68. </view>
  69. <view class="item acea-row row-between-wrapper">
  70. <view>寄件人姓名</view>
  71. <input type="text" placeholder="填写寄件人姓名" v-model="from_name" class="mode" />
  72. </view>
  73. <view class="item acea-row row-between-wrapper">
  74. <view>寄件人电话</view>
  75. <input type="text" placeholder="填写寄件人电话" v-model="from_tel" class="mode" />
  76. </view>
  77. <view class="item acea-row row-between-wrapper">
  78. <view>寄件人地址</view>
  79. <input type="text" placeholder="填写寄件人地址" v-model="from_addr" class="mode" />
  80. </view>
  81. </block>
  82. </view>
  83. </block>
  84. <view class="list" v-if="delivery_type == 2">
  85. <view class="item acea-row row-between-wrapper">
  86. <view>送货人姓名</view>
  87. <input type="text" placeholder="填写送货人姓名" maxlength="10" v-model="to_name" class="mode" />
  88. </view>
  89. <view class="item acea-row row-between-wrapper">
  90. <view>送货人电话</view>
  91. <input type="text" placeholder="填写送货人电话" v-model="to_phone" class="mode" />
  92. </view>
  93. </view>
  94. <block v-if="delivery_type == 5">
  95. <view class="item acea-row row-between-wrapper">
  96. <view>发货点</view>
  97. <view class="select-box">
  98. <picker class="pickerBox" @change="bindStoreChange" :value="storeIndex" :range="storeList" range-key="label">
  99. <view class="uni-input">{{storeList[storeIndex] && storeList[storeIndex].label}}</view>
  100. </picker>
  101. </view>
  102. </view>
  103. <view class="item acea-row row-between-wrapper">
  104. <view>包裹重量</view>
  105. <input type="number" placeholder="填写包裹重量" v-model="cargo_weight" class="mode" />
  106. </view>
  107. <view class="item acea-row row-between-wrapper">
  108. <view>配送备注</view>
  109. <input type="textarea" placeholder="填写配送备注" v-model="mark" class="mode textarea" />
  110. </view>
  111. </block>
  112. <view class="list">
  113. <view class="item acea-row row-between-wrapper">
  114. <view>发货备注</view>
  115. <input type="textarea" placeholder="填写发货备注" v-model="remark" class="mode textarea" />
  116. </view>
  117. </view>
  118. <block v-if="(delivery.orderProduct) && ((delivery.orderProduct.length > 1) || (delivery.orderProduct.length==1 && delivery.orderProduct[0]['refund_num']>1)) && activity_type != 2">
  119. <view class="item acea-row row-between-wrapper">
  120. <view>分单发货</view>
  121. <view class="mode acea-row row-middle row-right">
  122. <view class="goods" :class="curSplit === item.key ? 'on' : ''" v-for="(item, index) in splitList" :key="index" @click="changeSplit(item, index)">
  123. <span class="iconfont icon-xuanzhong2"></span>{{ item.title }}
  124. </view>
  125. </view>
  126. </view>
  127. <block v-if="curSplit">
  128. <view v-for="(item, index) in delivery.orderProduct">
  129. <view class="pro_list acea-row">
  130. <view class="checkbox" @tap.stop="checkedChange(item)">
  131. <text v-if="item.checked" class="iconfont icon-xuanzhong1"></text>
  132. <text v-else class="iconfont icon-weixuanzhong"></text>
  133. </view>
  134. <view v-if="item.cart_info && item.cart_info.product" class="picture">
  135. <image :src="item.cart_info.product.image"></image>
  136. </view>
  137. <view class="info" v-if="item.cart_info && item.cart_info.product">
  138. <view class="name line2">{{item.cart_info.product.store_name}}</view>
  139. <view class="info_sku" v-if="item.cart_info && item.cart_info.productAttr">{{item.cart_info.productAttr.sku}}</view>
  140. <view class="info_price" v-if="item.cart_info && item.cart_info.productAttr">¥<text>{{item.cart_info.productAttr.price}}</text></view>
  141. <view class='carnum acea-row row-center-wrapper'>
  142. <view class="reduce" :class="item.numSub ? 'on' : ''" @click.stop='subCart(item)'>-</view>
  143. <view class='num'>{{item.split_num}}</view>
  144. <view class="plus" :class="item.numAdd ? 'on' : ''" @click.stop='addCart(item)'>+</view>
  145. </view>
  146. </view>
  147. </view>
  148. </view>
  149. </block>
  150. </block>
  151. <block v-if="!curSplit">
  152. <view class="pro_count" v-if="delivery.orderProduct">
  153. <view class="title">共{{delivery.orderProduct.length}}件商品</view>
  154. <view v-for="(item, index) in delivery.orderProduct">
  155. <view class="pro_list acea-row">
  156. <view v-if="item.cart_info && item.cart_info.product" class="picture">
  157. <image :src="item.cart_info.product.image"></image>
  158. </view>
  159. <view class="info pro_info" v-if="item.cart_info && item.cart_info.product">
  160. <view class="name line2">{{item.cart_info.product.store_name}}</view>
  161. <view class="info_sku" v-if="item.cart_info && item.cart_info.productAttr">{{item.cart_info.productAttr.sku}}</view>
  162. </view>
  163. <view class="pro_price" v-if="item.cart_info && item.cart_info.productAttr">
  164. <view class="info_price">¥{{item.cart_info.productAttr.price}}</view>
  165. <view class="info_num">x{{item.product_num}}</view>
  166. <view class="refund_num" v-if="item.product_num-item.refund_num>0">{{item.product_num-item.refund_num}}件{{item.is_refund==1?'退款中' : item.is_refund==2 ? '已退款' : item.is_refund==3?'全部退款':''}}</view>
  167. </view>
  168. </view>
  169. </view>
  170. <view class="footer">
  171. 共{{delivery.orderProduct.length}}件商品,应支付<text> ¥{{delivery.pay_price}} </text>(运费¥{{delivery.pay_postage}})
  172. </view>
  173. </view>
  174. </block>
  175. </view>
  176. <view style="height:5.4rem;"></view>
  177. <view class="confirm_btn"><view class="confirm" @click="saveInfo">确认提交</view></view>
  178. </view>
  179. </template>
  180. <script>
  181. // +----------------------------------------------------------------------
  182. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  183. // +----------------------------------------------------------------------
  184. // | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
  185. // +----------------------------------------------------------------------
  186. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  187. // +----------------------------------------------------------------------
  188. // | Author: CRMEB Team <admin@crmeb.com>
  189. // +----------------------------------------------------------------------
  190. import {
  191. getAdminOrderDetail,
  192. setAdminOrderDelivery,
  193. orderExportTemp,
  194. orderDeliveryInfo,
  195. getTempAndDelivery,
  196. getDeliveryStoreLst
  197. } from "@/api/admin";
  198. import { mapGetters } from "vuex";
  199. import { expressList } from "@/api/order";
  200. import { checkPhone } from '@/utils/validate.js'
  201. export default {
  202. name: "GoodsDeliver",
  203. components: {},
  204. props: {},
  205. data: function() {
  206. return {
  207. types: [{
  208. type: 1,
  209. title: "发货"
  210. },
  211. {
  212. type: 2,
  213. title: "送货"
  214. },
  215. {
  216. type: 3,
  217. title: "无需物流"
  218. }
  219. ],
  220. splitList: [
  221. {
  222. title: '开启',
  223. key: 1
  224. },
  225. {
  226. title: '关闭',
  227. key: 0
  228. }
  229. ],
  230. curSplit: 0,
  231. curExpress: 1,
  232. active: 0,
  233. order_id: "",
  234. delivery: {
  235. user: {}
  236. },
  237. logistics: [],
  238. delivery_type: 1,
  239. delivery_name: "",
  240. to_phone: '', //送货人电话
  241. to_name: '', //送货人姓名
  242. remark: "",
  243. mark: "",
  244. cargo_weight: 0,
  245. delivery_id: "",
  246. mer_config_temp_id: "",
  247. mer_from_com: "",
  248. seIndex: 0,
  249. storeIndex: 0,
  250. merId: "",
  251. expIndex:0,
  252. expTemp:[], // 快递模板
  253. from_name:'', // 发货人名称
  254. from_tel:'', // 发货人电话
  255. from_addr:"", // 发货人地址
  256. fictitious_content: '',
  257. isTemp: false,
  258. isDelivery: false,
  259. is_virtual: 0,
  260. splitProducts: [],
  261. storeList: [],
  262. activity_type: 0,
  263. // #ifdef H5
  264. isWeixin: this.$wechat.isWeixin()
  265. // #endif
  266. };
  267. },
  268. watch: {
  269. "$route.params.oid": function(newVal) {
  270. let that = this;
  271. if (newVal != undefined) {
  272. that.order_id = newVal;
  273. that.getIndex();
  274. }
  275. }
  276. },
  277. computed: mapGetters(['viewColor']),
  278. onLoad: function(option) {
  279. this.order_id = option.id;
  280. this.merId = option.merId
  281. this.getIndex();
  282. this.expressList();
  283. this.orderDeliveryInfo();
  284. },
  285. methods: {
  286. // 扫描快递单号一维码
  287. scanCode() {
  288. // #ifdef MP
  289. let that = this;
  290. uni.scanCode({
  291. scanType: ['barCode'],
  292. success(res) {
  293. let code = res.result.split(",")
  294. that.delivery_id = code.length == 1 ? code[0] : code[1];
  295. }
  296. })
  297. // #endif
  298. // #ifdef H5
  299. if (this.$wechat.isWeixin()) {
  300. this.$wechat.wechatEvevt('scanQRCode', {
  301. needResult: 1,
  302. scanType: ['barCode']
  303. }).then(res => {
  304. let code = res.resultStr.split(",")
  305. that.delivery_id = code.length == 1 ? code[0] : code[1];
  306. });
  307. }
  308. // #endif
  309. },
  310. // 预览图片
  311. previewImage(){
  312. uni.previewImage({
  313. urls: [this.expTemp[this.expIndex].pic],
  314. success:function(){
  315. },
  316. fail:function(error){
  317. }
  318. });
  319. },
  320. // 是否开启电子面单和同城配送
  321. isOpenDeliveryTemp(is_virtual){
  322. let that = this
  323. getTempAndDelivery(that.merId).then(
  324. res => {
  325. if(is_virtual == 1){
  326. that.delivery_type = 3
  327. that.types = [
  328. {type: 3,title: "虚拟发货"}
  329. ]
  330. }else{
  331. if(res.data.crmeb_serve_dump == 1){
  332. that.types.push({type: 4,title: "电子面单"})
  333. }
  334. if(res.data.delivery_status == 1){
  335. that.types.push({type: 5,title: "同城配送"})
  336. }
  337. }
  338. },
  339. error => {
  340. that.$util.Tips({
  341. title: error
  342. })
  343. }
  344. );
  345. },
  346. //获取电子面单默认数据
  347. getDump(){
  348. let that = this;
  349. that.expTemp.forEach((val,index) =>{
  350. if(val.temp_id == that.mer_config_temp_id){
  351. that.expIndex = index;
  352. return;
  353. }
  354. })
  355. },
  356. //获取门店列表
  357. getStoreList() {
  358. getDeliveryStoreLst(this.merId).then((res) => {
  359. this.storeList = res.data
  360. }).catch((error) => {
  361. this.$util.Tips({
  362. title: error
  363. })
  364. })
  365. },
  366. changeType: function(item, index) {
  367. this.active = index;
  368. this.delivery_type = item.type;
  369. this.delivery_name = "";
  370. this.delivery_id = "";
  371. if(item.type == 5){
  372. this.getStoreList()
  373. }
  374. },
  375. changeSplit: function(item, index) {
  376. this.curSplit = item.key;
  377. },
  378. getIndex: function() {
  379. let that = this;
  380. getAdminOrderDetail(that.merId,that.order_id).then(
  381. res => {
  382. res.data.orderProduct.forEach((goods, j) => {
  383. goods.checked = true
  384. goods.split_num = goods.refund_num
  385. })
  386. that.delivery = res.data;
  387. that.activity_type = res.data.activity_type;
  388. that.is_virtual = res.data.is_virtual;
  389. that.isOpenDeliveryTemp(that.is_virtual);
  390. },
  391. error => {
  392. that.$util.Tips({
  393. title: error
  394. })
  395. }
  396. );
  397. },
  398. expressList: function() {
  399. let that = this;
  400. expressList().then(
  401. res => {
  402. that.logistics = res.data;
  403. that.getExpTemp(res.data[0].value)
  404. },
  405. error => {
  406. that.$util.Tips({
  407. title: error
  408. })
  409. }
  410. );
  411. },
  412. /*选择分单商品*/
  413. checkedChange(item) {
  414. item.checked = !item.checked;
  415. },
  416. /*获取分单商品*/
  417. getSplitProduct() {
  418. let that = this;
  419. let data = [];
  420. that.delivery.orderProduct.map((item) => {
  421. if(item.checked){
  422. data.push({id:item.order_product_id,num:item.split_num})
  423. }
  424. })
  425. return data;
  426. },
  427. subCart(item) {
  428. if(item.split_num > 1){
  429. item.split_num--
  430. }
  431. },
  432. addCart(item) {
  433. if(item.split_num < item.refund_num){
  434. item.split_num++
  435. }
  436. },
  437. async saveInfo() {
  438. let that = this,
  439. delivery_type = that.delivery_type,
  440. delivery_name = that.logistics[that.seIndex].value,
  441. delivery_id = that.delivery_id,
  442. save = {};
  443. save.delivery_name = delivery_name
  444. save.delivery_type = delivery_type
  445. save.is_split = that.curSplit
  446. if(that.curSplit){
  447. that.splitProducts = that.getSplitProduct()
  448. if(that.splitProducts.length == 0){
  449. return this.$util.Tips({
  450. title: '请选择分单商品'
  451. })
  452. }
  453. }
  454. save.split = that.splitProducts;
  455. if(delivery_type==1){
  456. if (!delivery_id) {
  457. return this.$util.Tips({
  458. title: '请填写快递单号'
  459. })
  460. }
  461. save.delivery_id = delivery_id
  462. that.setInfo(save);
  463. }
  464. if(delivery_type == 2){
  465. if (!that.to_name) {
  466. return this.$util.Tips({
  467. title: '请填写送货人姓名'
  468. })
  469. }
  470. if (!that.to_phone) {
  471. return this.$util.Tips({
  472. title: '请填写送货人手机号码'
  473. })
  474. }
  475. if (!(/^1[3456789]\d{9}$/.test(that.to_phone))) {
  476. return this.$util.Tips({
  477. title: '请填写正确的手机号码'
  478. })
  479. }
  480. save.delivery_name = that.to_name;
  481. save.delivery_id = that.to_phone;
  482. that.setInfo(save);
  483. }
  484. if(delivery_type == 3){
  485. save.remark = that.remark;
  486. that.setInfo(save);
  487. }
  488. if(delivery_type==4){
  489. if (!that.from_name) {
  490. return this.$util.Tips({
  491. title: '请填写寄件人姓名'
  492. })
  493. }
  494. if (!that.from_tel) {
  495. return this.$util.Tips({
  496. title: '请填写寄件人手机号码'
  497. })
  498. }
  499. if (!(/^1[3456789]\d{9}$/.test(that.from_tel))) {
  500. return this.$util.Tips({
  501. title: '请填写正确的手机号码'
  502. })
  503. }
  504. if (!that.from_addr) {
  505. return this.$util.Tips({
  506. title: '请填写寄件人地址'
  507. })
  508. }
  509. if(that.expTemp.length==0){
  510. return this.$util.Tips({
  511. title: '请选择电子面单'
  512. })
  513. }
  514. save.from_name = that.from_name
  515. save.from_tel = that.from_tel
  516. save.from_addr = that.from_addr
  517. save.temp_id = that.expTemp[that.expIndex].temp_id
  518. that.setInfo(save);
  519. }
  520. if(delivery_type == 5){
  521. save.station_id = that.storeList[that.storeIndex].value
  522. save.cargo_weight = that.cargo_weight;
  523. save.mark = that.mark;
  524. that.setInfo(save);
  525. }
  526. },
  527. setInfo: function(item) {
  528. let that = this;
  529. setAdminOrderDelivery(that.merId,that.order_id,item).then(
  530. res => {
  531. that.$util.Tips({
  532. title: res.message,
  533. icon: 'success',
  534. mask: true
  535. })
  536. setTimeout(res => {
  537. uni.redirectTo({
  538. url:`/pages/admin/orderList/index?types=3&merId=${that.merId}`
  539. })
  540. }, 1000)
  541. },
  542. error => {
  543. that.$util.Tips({
  544. title: error
  545. })
  546. }
  547. );
  548. },
  549. bindPickerChange(e) {
  550. this.seIndex = e.detail.value
  551. this.getExpTemp(this.logistics[e.detail.value].value)
  552. },
  553. bindTempChange(e) {
  554. this.expIndex = e.detail.value
  555. },
  556. bindStoreChange(e){
  557. this.storeIndex = e.detail.value
  558. },
  559. getExpTemp(code){
  560. orderExportTemp({
  561. com: code
  562. }).then(res=>{
  563. this.expTemp = res.data.data
  564. })
  565. },
  566. // 获取订单打印默认配置
  567. orderDeliveryInfo(){
  568. let that = this
  569. orderDeliveryInfo(that.merId).then(
  570. res => {
  571. that.from_name = res.data.mer_from_name;
  572. that.from_tel = res.data.mer_from_tel;
  573. that.from_addr = res.data.mer_from_addr;
  574. that.mer_config_temp_id = res.data.mer_config_temp_id;
  575. that.mer_from_com = res.data.mer_from_com
  576. },
  577. error => {
  578. that.$util.Tips({
  579. title: error
  580. })
  581. }
  582. )
  583. }
  584. }
  585. };
  586. </script>
  587. <style lang="scss">
  588. /*发货*/
  589. .uni-input{
  590. display: block;
  591. width: 400rpx;
  592. text-overflow: ellipsis;
  593. overflow: hidden;
  594. white-space: nowrap;
  595. }
  596. .input-inline{
  597. width: auto;
  598. }
  599. .deliver-goods header {
  600. width: 100%;
  601. background-color: #fff;
  602. margin-top: 10upx;
  603. }
  604. .deliver-goods header .order-num {
  605. padding: 0 30upx;
  606. border-bottom: 1px solid #f5f5f5;
  607. height: 67upx;
  608. }
  609. .deliver-goods header .order-num .num {
  610. width: 430upx;
  611. font-size: 26upx;
  612. color: #282828;
  613. position: relative;
  614. }
  615. .deliver-goods header .order-num .num:after {
  616. position: absolute;
  617. content: '';
  618. width: 1px;
  619. height: 30upx;
  620. background-color: #ddd;
  621. top: 50%;
  622. margin-top: -15upx;
  623. right: 0;
  624. }
  625. .deliver-goods header .order-num .name {
  626. width: 260upx;
  627. font-size: 26upx;
  628. color: #282828;
  629. text-align: center;
  630. }
  631. .deliver-goods header .order-num .name .iconfont {
  632. font-size: 35upx;
  633. color: #477ef3;
  634. vertical-align: middle;
  635. margin-right: 10upx;
  636. }
  637. .deliver-goods header .address {
  638. font-size: 26upx;
  639. color: #868686;
  640. background-color: #fff;
  641. padding: 30upx;
  642. }
  643. .look{
  644. margin-left: 20rpx;
  645. color: #1890FF;
  646. }
  647. .deliver-goods header .address .name {
  648. font-size: 34upx;
  649. color: #282828;
  650. margin-bottom: 10upx;
  651. }
  652. .deliver-goods header .address .name .phone {
  653. margin-left: 40upx;
  654. }
  655. .deliver-goods header .line {
  656. width: 100%;
  657. height: 3upx;
  658. }
  659. .deliver-goods header .line image {
  660. width: 100%;
  661. height: 100%;
  662. display: block;
  663. }
  664. .deliver-goods .wrapper {
  665. width: 100%;
  666. background-color: #fff;
  667. }
  668. .deliver-goods .wrapper .item {
  669. border-bottom: 1px solid #f0f0f0;
  670. padding: 0 30upx;
  671. min-height: 96upx;
  672. font-size: 28rpx;
  673. color: #282828;
  674. position: relative;
  675. }
  676. .deliver-goods .wrapper .item .mode {
  677. width: 480upx;
  678. height: 100%;
  679. text-align: right;
  680. }
  681. .deliver-goods .wrapper .item .mode .iconfont {
  682. font-size: 30upx;
  683. margin-left: 13upx;
  684. }
  685. .deliver-goods .wrapper .item .mode .goods~.goods {
  686. margin-left: 30upx;
  687. }
  688. .deliver-goods .wrapper .item .mode .goods {
  689. color: #bbb;
  690. margin: 10rpx 0;
  691. }
  692. .deliver-goods .wrapper .item .mode .goods.on {
  693. color: #477ef3;
  694. }
  695. .deliver-goods .wrapper .item .icon-up {
  696. position: absolute;
  697. font-size: 35upx;
  698. color: #2c2c2c;
  699. right: 30upx;
  700. }
  701. .deliver-goods .wrapper .item select {
  702. direction: rtl;
  703. padding-right: 60upx;
  704. position: relative;
  705. z-index: 2;
  706. }
  707. .deliver-goods .wrapper .item input::placeholder {
  708. color: #bbb;
  709. }
  710. .deliver-goods .confirm_btn {
  711. position: fixed;
  712. bottom: 0;
  713. padding: 20rpx 30rpx;
  714. background: #fff;
  715. width: 100%;
  716. }
  717. .deliver-goods .confirm {
  718. font-size: 32upx;
  719. color: #fff;
  720. width: 100%;
  721. height: 90upx;
  722. background-color: #477ef3;
  723. text-align: center;
  724. line-height: 90upx;
  725. border-radius: 60rpx;
  726. }
  727. .select-box {
  728. flex: 1;
  729. height: 100%;
  730. .pickerBox {
  731. display: flex;
  732. align-items: center;
  733. justify-content: flex-end;
  734. width: 100%;
  735. height: 100%;
  736. text-align: right;
  737. position: relative;
  738. // padding-right: 30rpx;
  739. .iconfont{
  740. font-size: 28rpx;
  741. color: #bbb;
  742. position: absolute;
  743. right: 0;
  744. top: 10rpx;
  745. }
  746. }
  747. }
  748. .pro_list{
  749. width: 100%;
  750. padding: 20rpx 30rpx;
  751. position: relative;
  752. align-items: center;
  753. border-bottom: 1px solid #f0f0f0;
  754. justify-content: space-between;
  755. }
  756. .pro_list .checkbox{
  757. width: 60rpx;
  758. .icon-xuanzhong1{
  759. color: var(--view-theme);
  760. }
  761. }
  762. .pro_list .picture{
  763. width: 180rpx;
  764. height: 180rpx;
  765. }
  766. /deep/.pro_list .picture image{
  767. width: 180rpx;
  768. height: 180rpx;
  769. border-radius: 6rpx;
  770. }
  771. .pro_count .title{
  772. padding: 20rpx 30rpx;
  773. line-height: 50rpx;
  774. border-bottom: 1rpx solid #EEEEEE;
  775. }
  776. .pro_list .info{
  777. width: 420rpx;
  778. font-size: 28rpx;
  779. color: #282828;
  780. }
  781. .pro_list .pro_info{
  782. width: 360rpx;
  783. }
  784. .pro_list .info_num{
  785. color: #ff9600;
  786. margin-top: 10rpx;
  787. }
  788. .pro_list .refund_num{
  789. margin-top: 10rpx;
  790. font-size: 24rpx;
  791. }
  792. .pro_list .pro_price{
  793. text-align: right;
  794. }
  795. .pro_list .info .name{
  796. line-height: 46rpx;
  797. }
  798. .pro_list .info .carnum{
  799. height: 47rpx;
  800. position: absolute;
  801. bottom: 30rpx;
  802. right: 30rpx;
  803. }
  804. .pro_list .info .carnum view{
  805. border: 1rpx solid #a4a4a4;
  806. min-width: 66rpx;
  807. text-align: center;
  808. height: 100%;
  809. line-height: 46rpx;
  810. font-size: 28rpx;
  811. color: #a4a4a4;
  812. }
  813. .pro_list .info .carnum .reduce{
  814. border-right: 0;
  815. border-radius: 3rpx 0 0 3rpx;
  816. }
  817. .pro_list .info .carnum .reduce.on {
  818. border-color: #e3e3e3;
  819. color: #dedede;
  820. }
  821. .pro_list .info .carnum .plus {
  822. border-left: 0;
  823. border-radius: 0 3rpx 3rpx 0;
  824. }
  825. .pro_list .info .carnum .num {
  826. color: #282828;
  827. }
  828. .pro_list .info .info_sku{
  829. color: #868686;
  830. font-size: 24rpx;
  831. margin-top: 6rpx;
  832. }
  833. .pro_list .pro_info .info_sku{
  834. margin-top: 20rpx;
  835. }
  836. .pro_list .info .info_price{
  837. margin-top: 30rpx;
  838. }
  839. .footer{
  840. padding: 20rpx 30rpx;
  841. text-align: right;
  842. line-height: 50rpx;
  843. text{
  844. color: #ff9600;
  845. }
  846. }
  847. </style>