pages-users-refund-logistics.4caacc02.js 6.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-refund-logistics"],{1243:function(t,i,e){var o=e("5cd4");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var s=e("967d").default;s("4e6f817c",o,!0,{sourceMap:!1,shadowMode:!1})},"5cd4":function(t,i,e){var o=e("c86c");i=o(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.logistics .header[data-v-5defc021]{padding:%?23?% %?30?%;background-color:#fff;height:%?166?%;box-sizing:border-box}.logistics .header .pictrue[data-v-5defc021]{width:%?120?%;height:%?120?%}.logistics .header .pictrue uni-image[data-v-5defc021]{width:100%;height:100%;border-radius:%?6?%}.logistics .header .text[data-v-5defc021]{width:%?540?%;font-size:%?28?%;color:#999;margin-top:%?6?%}.logistics .header .text .name[data-v-5defc021]{width:%?365?%;color:#282828}.logistics .header .text .money[data-v-5defc021]{text-align:right}.logistics .logisticsCon .company[data-v-5defc021]{height:%?120?%;margin:0 0 %?45?% %?30?%;padding-right:%?30?%;border-bottom:1px solid #f5f5f5}.logistics .logisticsCon .company .picTxt[data-v-5defc021]{width:%?520?%}.logistics .logisticsCon .company .picTxt .iconfont[data-v-5defc021]{width:%?50?%;height:%?50?%;background-color:#666;text-align:center;line-height:%?50?%;color:#fff;font-size:%?35?%}.logistics .logisticsCon .company .picTxt .text[data-v-5defc021]{width:%?450?%;font-size:%?26?%;color:#282828}.logistics .logisticsCon .company .picTxt .text .name[data-v-5defc021]{color:#999}.logistics .logisticsCon .company .picTxt .text .express[data-v-5defc021]{margin-top:%?5?%}.logistics .logisticsCon .company .copy[data-v-5defc021]{font-size:%?22?%;width:%?128?%;height:%?40?%;border-radius:%?100?%;border:1px solid #ddd;color:#666}.logistics .logisticsCon .item[data-v-5defc021]{padding:0 %?40?%;position:relative}.logistics .logisticsCon .item .circular[data-v-5defc021]{width:%?20?%;height:%?20?%;border-radius:50%;position:absolute;top:%?-1?%;left:%?31.5?%;background-color:#ddd}.logistics .logisticsCon .item .circular.on[data-v-5defc021]{background-color:var(--view-theme)}.logistics .logisticsCon .item .text.on-font[data-v-5defc021]{color:var(--view-theme)}.logistics .logisticsCon .item .text .data.on-font[data-v-5defc021]{color:var(--view-theme)}.logistics .logisticsCon .item .text[data-v-5defc021]{font-size:%?26?%;color:#666;width:%?615?%;border-left:%?1?% solid #e6e6e6;padding:0 0 %?60?% %?38?%}.logistics .logisticsCon .item .text.on[data-v-5defc021]{border-left-color:var(--view-bntColor22)}.logistics .logisticsCon .item .text .data[data-v-5defc021]{font-size:%?24?%;color:#999;margin-top:%?10?%}.logistics .logisticsCon .item .text .data .time[data-v-5defc021]{margin-left:%?15?%}',""]),t.exports=i},"85f8":function(t,i,e){"use strict";e.r(i);var o=e("c799"),s=e("8755");for(var n in s)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return s[t]}))}(n);e("f6e9");var c=e("828b"),a=Object(c["a"])(s["default"],o["b"],o["c"],!1,null,"5defc021",null,!1,o["a"],void 0);i["default"]=a.exports},8755:function(t,i,e){"use strict";e.r(i);var o=e("9872"),s=e.n(o);for(var n in o)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(n);i["default"]=s.a},9872:function(t,i,e){"use strict";e("6a54");var o=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s=e("5676"),n=e("7e00"),c=o(e("5f97")),a=e("8f59"),r=e("96e0"),d=e("e44d"),l=o(e("d3e2")),u={components:{recommend:l.default},data:function(){return{orderId:"",product:{},orderInfo:{},expressList:[],hostProduct:[]}},computed:(0,r.configMap)({recommend_switch:0},(0,a.mapGetters)(["isLogin","viewColor"])),onLoad:function(t){if(!t.orderId)return this.$util.Tips({title:"缺少订单号"});this.orderId=t.orderId,this.isLogin?(this.getExpress(),this.get_host_product()):(0,d.toLogin)()},onReady:function(){this.$nextTick((function(){var t=this,i=new c.default(".copy-data");i.on("success",(function(){t.$util.Tips({title:"复制成功"})}))}))},methods:{copyOrderId:function(){uni.setClipboardData({data:this.orderInfo.delivery_id})},getExpress:function(){var t=this;(0,s.refundExpress)(t.orderId).then((function(i){t.$set(t,"expressList",i.data.express||[]),t.$set(t,"orderInfo",i.data.refund)}))},get_host_product:function(){var t=this;(0,n.getProductHot)().then((function(i){t.$set(t,"hostProduct",i.data.list)}))}},onPageScroll:function(){uni.$emit("scroll")}};i.default=u},c799:function(t,i,e){"use strict";e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){}));var o=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{style:t.viewColor},[e("v-uni-view",{staticClass:"logistics pad20"},[e("v-uni-view",{staticClass:"logisticsCon bg-f boder-24 mt20"},[e("v-uni-view",{staticClass:"company acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"iconfont icon-ic_receiving1"}),e("v-uni-view",{staticClass:"text"},[e("v-uni-view",[e("v-uni-text",{staticClass:"name line1"},[t._v("物流公司:")]),t._v(t._s(t.orderInfo.delivery_type))],1),e("v-uni-view",{staticClass:"express line1"},[e("v-uni-text",{staticClass:"name"},[t._v("快递单号:")]),t._v(t._s(t.orderInfo.delivery_id))],1)],1)],1),e("v-uni-view",{staticClass:"copy copy-data acea-row row-center row-middle",attrs:{"data-clipboard-text":t.orderInfo.delivery_id}},[t._v("复制单号")])],1),t._l(t.expressList,(function(i,o){return e("v-uni-view",{key:o,staticClass:"item"},[e("v-uni-view",{staticClass:"circular",class:0===o?"on":""}),e("v-uni-view",{staticClass:"text",class:0===o?"on-font on":""},[e("v-uni-view",[t._v(t._s(i.status))]),e("v-uni-view",{staticClass:"data",class:0===o?"on-font on":""},[t._v(t._s(i.time))])],1)],1)}))],2),1==t.recommend_switch?e("recommend",{attrs:{hostProduct:t.hostProduct,isLogin:t.isLogin}}):t._e()],1)],1)},s=[]},f6e9:function(t,i,e){"use strict";var o=e("1243"),s=e.n(o);s.a}}]);