index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849
  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="`${domain}/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~2024 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. import { HTTP_REQUEST_URL } from '@/config/app';
  202. export default {
  203. name: "GoodsDeliver",
  204. components: {},
  205. props: {},
  206. data: function() {
  207. return {
  208. types: [{
  209. type: 1,
  210. title: "发货"
  211. },
  212. {
  213. type: 2,
  214. title: "送货"
  215. },
  216. {
  217. type: 3,
  218. title: "无需物流"
  219. }
  220. ],
  221. splitList: [
  222. {
  223. title: '开启',
  224. key: 1
  225. },
  226. {
  227. title: '关闭',
  228. key: 0
  229. }
  230. ],
  231. curSplit: 0,
  232. curExpress: 1,
  233. active: 0,
  234. order_id: "",
  235. delivery: {
  236. user: {}
  237. },
  238. logistics: [],
  239. delivery_type: 1,
  240. delivery_name: "",
  241. to_phone: '', //送货人电话
  242. to_name: '', //送货人姓名
  243. remark: "",
  244. mark: "",
  245. cargo_weight: 0,
  246. delivery_id: "",
  247. mer_config_temp_id: "",
  248. mer_from_com: "",
  249. seIndex: 0,
  250. storeIndex: 0,
  251. merId: "",
  252. expIndex:0,
  253. expTemp:[], // 快递模板
  254. from_name:'', // 发货人名称
  255. from_tel:'', // 发货人电话
  256. from_addr:"", // 发货人地址
  257. fictitious_content: '',
  258. isTemp: false,
  259. isDelivery: false,
  260. is_virtual: 0,
  261. splitProducts: [],
  262. storeList: [],
  263. activity_type: 0,
  264. domain: HTTP_REQUEST_URL,
  265. // #ifdef H5
  266. isWeixin: this.$wechat.isWeixin()
  267. // #endif
  268. };
  269. },
  270. watch: {
  271. "$route.params.oid": function(newVal) {
  272. let that = this;
  273. if (newVal != undefined) {
  274. that.order_id = newVal;
  275. that.getIndex();
  276. }
  277. }
  278. },
  279. computed: mapGetters(['viewColor']),
  280. onLoad: function(option) {
  281. this.order_id = option.id;
  282. this.merId = option.merId
  283. this.getIndex();
  284. this.expressList();
  285. this.orderDeliveryInfo();
  286. },
  287. methods: {
  288. // 扫描快递单号一维码
  289. scanCode() {
  290. // #ifdef MP
  291. let that = this;
  292. uni.scanCode({
  293. scanType: ['barCode'],
  294. success(res) {
  295. let code = res.result.split(",")
  296. that.delivery_id = code.length == 1 ? code[0] : code[1];
  297. }
  298. })
  299. // #endif
  300. // #ifdef H5
  301. if (this.$wechat.isWeixin()) {
  302. this.$wechat.wechatEvevt('scanQRCode', {
  303. needResult: 1,
  304. scanType: ['barCode']
  305. }).then(res => {
  306. let code = res.resultStr.split(",")
  307. that.delivery_id = code.length == 1 ? code[0] : code[1];
  308. });
  309. }
  310. // #endif
  311. },
  312. // 预览图片
  313. previewImage(){
  314. uni.previewImage({
  315. urls: [this.expTemp[this.expIndex].pic],
  316. success:function(){},
  317. fail:function(error){}
  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. let type = that.is_virtual ? 4 : 3
  537. setTimeout(res => {
  538. uni.redirectTo({
  539. url:`/pages/admin/orderList/index?types=${type}&merId=${that.merId}`
  540. })
  541. }, 1000)
  542. },
  543. error => {
  544. that.$util.Tips({
  545. title: error
  546. })
  547. }
  548. );
  549. },
  550. bindPickerChange(e) {
  551. this.seIndex = e.detail.value
  552. this.getExpTemp(this.logistics[e.detail.value].value)
  553. },
  554. bindTempChange(e) {
  555. this.expIndex = e.detail.value
  556. },
  557. bindStoreChange(e){
  558. this.storeIndex = e.detail.value
  559. },
  560. getExpTemp(code){
  561. orderExportTemp({
  562. com: code
  563. }).then(res=>{
  564. this.expTemp = res.data.data
  565. })
  566. },
  567. // 获取订单打印默认配置
  568. orderDeliveryInfo(){
  569. let that = this
  570. orderDeliveryInfo(that.merId).then(
  571. res => {
  572. that.from_name = res.data.mer_from_name;
  573. that.from_tel = res.data.mer_from_tel;
  574. that.from_addr = res.data.mer_from_addr;
  575. that.mer_config_temp_id = res.data.mer_config_temp_id;
  576. that.mer_from_com = res.data.mer_from_com
  577. },
  578. error => {
  579. that.$util.Tips({
  580. title: error
  581. })
  582. }
  583. )
  584. }
  585. }
  586. };
  587. </script>
  588. <style lang="scss" scoped>
  589. /*发货*/
  590. .uni-input{
  591. display: block;
  592. width: 400rpx;
  593. text-overflow: ellipsis;
  594. overflow: hidden;
  595. white-space: nowrap;
  596. }
  597. .input-inline{
  598. width: auto;
  599. }
  600. .deliver-goods header {
  601. width: 100%;
  602. background-color: #fff;
  603. margin-top: 10upx;
  604. }
  605. .deliver-goods header .order-num {
  606. padding: 0 30upx;
  607. border-bottom: 1px solid #f5f5f5;
  608. height: 67upx;
  609. }
  610. .deliver-goods header .order-num .num {
  611. width: 430upx;
  612. font-size: 26upx;
  613. color: #282828;
  614. position: relative;
  615. }
  616. .deliver-goods header .order-num .num:after {
  617. position: absolute;
  618. content: '';
  619. width: 1px;
  620. height: 30upx;
  621. background-color: #ddd;
  622. top: 50%;
  623. margin-top: -15upx;
  624. right: 0;
  625. }
  626. .deliver-goods header .order-num .name {
  627. width: 260upx;
  628. font-size: 26upx;
  629. color: #282828;
  630. text-align: center;
  631. }
  632. .deliver-goods header .order-num .name .iconfont {
  633. font-size: 35upx;
  634. color: #477ef3;
  635. vertical-align: middle;
  636. margin-right: 10upx;
  637. }
  638. .deliver-goods header .address {
  639. font-size: 26upx;
  640. color: #868686;
  641. background-color: #fff;
  642. padding: 30upx;
  643. }
  644. .look{
  645. margin-left: 20rpx;
  646. color: #1890FF;
  647. }
  648. .deliver-goods header .address .name {
  649. font-size: 34upx;
  650. color: #282828;
  651. margin-bottom: 10upx;
  652. }
  653. .deliver-goods header .address .name .phone {
  654. margin-left: 40upx;
  655. }
  656. .deliver-goods header .line {
  657. width: 100%;
  658. height: 3upx;
  659. }
  660. .deliver-goods header .line image {
  661. width: 100%;
  662. height: 100%;
  663. display: block;
  664. }
  665. .deliver-goods .wrapper {
  666. width: 100%;
  667. background-color: #fff;
  668. }
  669. .deliver-goods .wrapper .item {
  670. border-bottom: 1px solid #f0f0f0;
  671. padding: 0 30upx;
  672. min-height: 96upx;
  673. font-size: 28rpx;
  674. color: #282828;
  675. position: relative;
  676. }
  677. .deliver-goods .wrapper .item .mode {
  678. width: 480upx;
  679. height: 100%;
  680. text-align: right;
  681. }
  682. .deliver-goods .wrapper .item .mode .iconfont {
  683. font-size: 30upx;
  684. margin-left: 13upx;
  685. }
  686. .deliver-goods .wrapper .item .mode .goods~.goods {
  687. margin-left: 30upx;
  688. }
  689. .deliver-goods .wrapper .item .mode .goods {
  690. color: #bbb;
  691. margin: 10rpx 0;
  692. }
  693. .deliver-goods .wrapper .item .mode .goods.on {
  694. color: #477ef3;
  695. }
  696. .deliver-goods .wrapper .item .icon-up {
  697. position: absolute;
  698. font-size: 35upx;
  699. color: #2c2c2c;
  700. right: 30upx;
  701. }
  702. .deliver-goods .wrapper .item select {
  703. direction: rtl;
  704. padding-right: 60upx;
  705. position: relative;
  706. z-index: 2;
  707. }
  708. .deliver-goods .wrapper .item input::placeholder {
  709. color: #bbb;
  710. }
  711. .deliver-goods .confirm_btn {
  712. position: fixed;
  713. bottom: 0;
  714. padding: 20rpx 30rpx;
  715. background: #fff;
  716. width: 100%;
  717. }
  718. .deliver-goods .confirm {
  719. font-size: 32upx;
  720. color: #fff;
  721. width: 100%;
  722. height: 90upx;
  723. background-color: #477ef3;
  724. text-align: center;
  725. line-height: 90upx;
  726. border-radius: 60rpx;
  727. }
  728. .select-box {
  729. flex: 1;
  730. height: 100%;
  731. .pickerBox {
  732. display: flex;
  733. align-items: center;
  734. justify-content: flex-end;
  735. width: 100%;
  736. height: 100%;
  737. text-align: right;
  738. position: relative;
  739. // padding-right: 30rpx;
  740. .iconfont{
  741. font-size: 28rpx;
  742. color: #bbb;
  743. position: absolute;
  744. right: 0;
  745. top: 10rpx;
  746. }
  747. }
  748. }
  749. .pro_list{
  750. width: 100%;
  751. padding: 20rpx 30rpx;
  752. position: relative;
  753. align-items: center;
  754. border-bottom: 1px solid #f0f0f0;
  755. justify-content: space-between;
  756. }
  757. .pro_list .checkbox{
  758. width: 60rpx;
  759. .icon-xuanzhong1{
  760. color: var(--view-theme);
  761. }
  762. }
  763. .pro_list .picture{
  764. width: 180rpx;
  765. height: 180rpx;
  766. }
  767. /deep/.pro_list .picture image{
  768. width: 180rpx;
  769. height: 180rpx;
  770. border-radius: 6rpx;
  771. }
  772. .pro_count .title{
  773. padding: 20rpx 30rpx;
  774. line-height: 50rpx;
  775. border-bottom: 1px solid #EEEEEE;
  776. }
  777. .pro_list .info{
  778. width: 420rpx;
  779. font-size: 28rpx;
  780. color: #282828;
  781. }
  782. .pro_list .pro_info{
  783. width: 360rpx;
  784. }
  785. .pro_list .info_num{
  786. color: #ff9600;
  787. margin-top: 10rpx;
  788. }
  789. .pro_list .refund_num{
  790. margin-top: 10rpx;
  791. font-size: 24rpx;
  792. }
  793. .pro_list .pro_price{
  794. text-align: right;
  795. }
  796. .pro_list .info .name{
  797. line-height: 46rpx;
  798. }
  799. .pro_list .info .carnum{
  800. height: 47rpx;
  801. position: absolute;
  802. bottom: 30rpx;
  803. right: 30rpx;
  804. }
  805. .pro_list .info .carnum view{
  806. border: 1px solid #a4a4a4;
  807. min-width: 66rpx;
  808. text-align: center;
  809. height: 100%;
  810. line-height: 46rpx;
  811. font-size: 28rpx;
  812. color: #a4a4a4;
  813. }
  814. .pro_list .info .carnum .reduce{
  815. border-right: 0;
  816. border-radius: 3rpx 0 0 3rpx;
  817. }
  818. .pro_list .info .carnum .reduce.on {
  819. border-color: #e3e3e3;
  820. color: #dedede;
  821. }
  822. .pro_list .info .carnum .plus {
  823. border-left: 0;
  824. border-radius: 0 3rpx 3rpx 0;
  825. }
  826. .pro_list .info .carnum .num {
  827. color: #282828;
  828. }
  829. .pro_list .info .info_sku{
  830. color: #868686;
  831. font-size: 24rpx;
  832. margin-top: 6rpx;
  833. }
  834. .pro_list .pro_info .info_sku{
  835. margin-top: 20rpx;
  836. }
  837. .pro_list .info .info_price{
  838. margin-top: 30rpx;
  839. }
  840. .footer{
  841. padding: 20rpx 30rpx;
  842. text-align: right;
  843. line-height: 50rpx;
  844. text{
  845. color: #ff9600;
  846. }
  847. }
  848. </style>