cyywl_shop_app/dist/static/js/pages-users-goods_logistics...

1 line
14 KiB
JavaScript
Raw Permalink Normal View History

2023-06-21 12:00:02 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-goods_logistics-index"],{"0c08":function(t,e,i){"use strict";i("7a82");var o=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("99af");var n=i("b68d"),a=i("b907"),c=o(i("a2eb")),s=i("1939"),r=i("26cb"),d=o(i("f9a5")),u={components:{recommend:d.default},data:function(){return{orderId:"",product:{productInfo:{}},orderInfo:{},expressList:[],hostProduct:[],loading:!1,goodScroll:!0,params:{page:1,limit:10}}},computed:(0,r.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,e){t&&(this.getExpress(),this.get_host_product())},deep:!0}},onLoad:function(t){if(!t.orderId)return this.$util.Tips({title:"缺少订单号"});this.orderId=t.orderId,this.isLogin?(this.getExpress(),this.get_host_product()):(0,s.toLogin)()},onReady:function(){this.$nextTick((function(){var t=this,e=new c.default(".copy-data");e.on("success",(function(){t.$util.Tips({title:"复制成功"})}))}))},methods:{onLoadFun:function(){this.getExpress(),this.get_host_product()},copyOrderId:function(){uni.setClipboardData({data:this.orderInfo.deliveryId})},getExpress:function(){var t=this;(0,n.express)(t.orderId).then((function(e){var i=e.data.express||{};t.$set(t,"product",e.data.order.info[0]||{}),t.$set(t,"orderInfo",e.data.order),t.$set(t,"expressList",i.list||[])}))},get_host_product:function(){if(this.loading=!0,this.goodScroll){var t=this;(0,a.getProductHot)(t.params.page,t.params.limit).then((function(e){t.loading=!1,t.goodScroll=e.data.list.length>=t.params.limit,t.params.page++,t.hostProduct=t.hostProduct.concat(e.data.list)}))}}},onReachBottom:function(){1!=this.params.page&&this.get_host_product()}};e.default=u},"0e1b":function(t,e,i){var o=i("24fb");e=o(!1),e.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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.logistics .header[data-v-38dcb393]{padding:%?23?% %?30?%;background-color:#fff;height:%?166?%;box-sizing:border-box}.logistics .header .pictrue[data-v-38dcb393]{width:%?120?%;height:%?120?%}.logistics .header .pictrue uni-image[data-v-38dcb393]{width:100%;height:100%;border-radius:%?6?%}.logistics .header .text[data-v-38dcb393]{width:%?540?%;font-size:%?28?%;color:#999;margin-top:%?6?%}.logistics .header .text .name[data-v-38dcb393]{width:%?365?%;color:#282828}.logistics .header .text .money[data-v-38dcb393]{text-align:right}.logistics .logisticsCon[data-v-38dcb393]{background-color:#fff;margin:%?12?% 0}.logistics .logisticsCon .company[data-v-38dcb393]{height:%?120?%;margin:0 0 %?45?% %?30?%;padding-right:%?30?%;border-bottom:%?1?% solid #f5f5f5}.logistics .logisticsCon .company .picTxt[data-v-38dcb393]{width:%?520?%}.logistics .logisticsCon .company .picTxt .iconfont[data-v-38dcb393]{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-38dcb393]{width:%?450?%;font-size:%?26?%;color:#282828}.logistics .logisticsCon .company .picTxt .text .name[data-v-38dcb393]{color:#999}.logistics .logisticsCon .company .picTxt .text .express[data-v-38dcb393]{margin-top:%?5?%}.logistics .