1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-gift-delivery-details"],{"0730":function(e,t,i){var o=i("24fb"),n=i("1de5"),r=i("6a0f");t=o(!1);var a=n(r);t.push([e.i,'@charset "UTF-8";.app-item[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-5159fe5c]{margin-top:%?10?%}.app-item uni-input[data-v-5159fe5c], .app-item uni-picker[data-v-5159fe5c], .app-item uni-textarea[data-v-5159fe5c]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-5159fe5c]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-5159fe5c]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-5159fe5c]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-5159fe5c]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-5159fe5c]{color:#fff;background:#f76454}.small-btn[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-5159fe5c]{color:#999;border-color:#999}.login-btn[data-v-5159fe5c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-5159fe5c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-5159fe5c]{margin-right:%?20?%}.border-right[data-v-5159fe5c]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-5159fe5c]{margin-right:%?6?%}.position-center[data-v-5159fe5c]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-5159fe5c]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-5159fe5c]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-5159fe5c]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-5159fe5c]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-5159fe5c]{color:#f76454}.swiper-nav[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-5159fe5c]{color:#f76454}.swiper-nav .moveBar[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-5159fe5c]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-5159fe5c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-5159fe5c]{width:100%;height:100%}.article-header[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-5159fe5c]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-5159fe5c]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-5159fe5c]{color:#f76454}.article-footer[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-5159fe5c]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-5159fe5c]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-5159fe5c]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.RuKuContainer[data-v-5159fe5c]{width:100%;-webkit-box-flex:1;-webkit-flex:1;flex:1;background-color:#f9f9fb}.RuKuContainer .btn[data-v-5159fe5c]{width:%?140?%;height:%?56?%;border-radius:%?8?%;background-color:#ea4a41;color:#fff;font-size:%?28?%;line-height:%?56?%;text-align:center;text-align:center}.RuKuContainer .orderList[data-v-5159fe5c]{width:100%}.RuKuContainer .orderList .orderItem[data-v-5159fe5c]{width:100%;margin-bottom:%?30?%;background-color:#fff}.RuKuContainer .orderList .orderItem .Header[data-v-5159fe5c]{width:100%;height:%?104?%;background-color:#fff;padding:0 %?30?%;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.RuKuContainer .orderList .orderItem .Header .num[data-v-5159fe5c]{color:#333;font-size:%?32?%;line-height:%?44?%;font-weight:700}.RuKuContainer .orderList .orderItem .Header .type[data-v-5159fe5c],\r\n.RuKuContainer .orderList .orderItem .Header .time[data-v-5159fe5c]{color:#999;font-size:%?28?%;line-height:%?40?%}.RuKuContainer .orderList .orderItem .Header[data-v-5159fe5c]::after{content:"";display:block;width:%?30?%;height:%?30?%;background-image:url('+a+');background-position:50%;background-size:cover;background-repeat:no-repeat}.RuKuContainer .orderList .orderItem .Header.open[data-v-5159fe5c]::after{-webkit-transform:rotate(90deg)!important;transform:rotate(90deg)!important}.RuKuContainer .orderList .orderItem .hideBody[data-v-5159fe5c]{width:100%;padding-bottom:%?30?%}.RuKuContainer .orderList .orderItem .hideBody .hideItem[data-v-5159fe5c]{width:calc(100% - %?60?%);margin:0 auto %?30?% auto;padding:%?30?%;box-sizing:border-box;background-color:#f9f9fb;border-radius:%?24?%}.RuKuContainer .orderList .orderItem .hideBody .hideItem[data-v-5159fe5c]:nth-last-of-type(1){margin-bottom:0}.RuKuContainer .orderList .orderItem .hideBody .hideItem .hideNum[data-v-5159fe5c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding-bottom:%?20?%;border-bottom:1px solid #eee;margin-bottom:%?26?%;color:#333;font-size:%?32?%;line-height:%?44?%}.RuKuContainer .orderList .orderItem .hideBody .hideItem .hideNum .num[data-v-5159fe5c]{width:%?120?%;text-align:left}.RuKuContainer .orderList .orderItem .hideBody .hideItem .hideNum .orderNum[data-v-5159fe5c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;min-width:0}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control[data-v-5159fe5c]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .textBtn[data-v-5159fe5c],\r\n.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .btn[data-v-5159fe5c]{width:calc((100% - %?120?%) / 3)}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .textBtn[data-v-5159fe5c]{color:#ea4a41;font-size:%?32?%;line-height:%?44?%;text-align:left;position:relative}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .textBtn[data-v-5159fe5c]::after{content:"";display:block;width:1px;height:%?26?%;background-color:#eee;position:absolute;top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .btn.disable[data-v-5159fe5c]{background-color:#f9f9fb!important;color:#999!important;border:1px solid #eee;box-sizing:border-box}',""]),e.exports=t},"0c41":function(e,t,i){"use strict";i.r(t);var o=i("bf25"),n=i("4772");for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);i("1b2e");var a,d=i("f0c5"),c=Object(d["a"])(n["default"],o["b"],o["c"],!1,null,"5159fe5c",null,!1,o["a"],a);t["default"]=c.exports},"1b2e":function(e,t,i){"use strict";var o=i("da23"),n=i.n(o);n.a},"1de5":function(e,t,i){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},4772:function(e,t,i){"use strict";i.r(t);var o=i("d1fd"),n=i.n(o);for(var r in o)"default"!==r&&function(e){i.d(t,e,(function(){return o[e]}))}(r);t["default"]=n.a},"6a0f":function(e,t,i){e.exports=i.p+"static/img/arrow.ad35c373.png"},"7a11":function(e,t,i){"use strict";var o=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.getGiftLogs=t.goodDetail=t.lookGood=t.recordDetail=t.giftRecord=t.activityList=t.publishExchange=t.giftGoodsList=t.myGiftBonus=void 0;var n=o(i("c48d")),r=function(){return n.default.get("/studio/studioBonus")};t.myGiftBonus=r;var a=function(){return n.default.get("/studioGood/good_show")};t.giftGoodsList=a;var d=function(e){return n.default.post("/studioOrder/submit_order",e)};t.publishExchange=d;var c=function(){return n.default.get("/get_activity_list")};t.activityList=c;var l=function(e){return n.default.get("/studioOrder/studio_record",e)};t.giftRecord=l;var s=function(e){return n.default.get("/studioOrder/order_detail",e)};t.recordDetail=s;var f=function(e){return n.default.get("/studioOrder/look_good",e)};t.lookGood=f;var b=function(e){return n.default.get("/studioOrder/good_detail",e)};t.goodDetail=b;var u=function(e){return n.default.get("/studioOrder/get_express",e)};t.getGiftLogs=u},"9a04":function(e,t,i){e.exports=i.p+"static/img/no_order.b014ed4b.png"},bf25:function(e,t,i){"use strict";var o;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return o}));var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-uni-view",{staticClass:"RuKuContainer"},[o("v-uni-view",{staticClass:"orderList"},[e._l(e.list,(function(t){return o("v-uni-view",{key:t.id,staticClass:"orderItem"},[o("v-uni-view",{staticClass:"Header",class:t.toggle?"open":"",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),t.toggle=!t.toggle}}},[o("v-uni-view",{staticClass:"num"},[e._v("第"+e._s(t.number)+"次发货,共"+e._s(t.get_express.length)+"箱")]),o("v-uni-view",{staticClass:"type"},[e._v(e._s(t.express_com))]),o("v-uni-view",{staticClass:"time"},[e._v(e._s(e._f("dateFormatter")(t.created_at,"yyyy/MM/dd")))])],1),t.toggle?o("v-uni-view",{staticClass:"hideBody"},e._l(t.get_express,(function(t){return o("v-uni-view",{key:t.id,staticClass:"hideItem"},[o("v-uni-view",{staticClass:"hideNum"},[o("v-uni-view",{staticClass:"num"},[e._v("第"+e._s(t.count)+"箱")]),o("v-uni-view",{staticClass:"orderNum"},[e._v("单号:"+e._s(t.express_number))])],1),o("v-uni-view",{staticClass:"control"},[o("v-uni-view",{staticClass:"textBtn",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.toInfo(t)}}},[e._v("货物详情")]),o("v-uni-view",{staticClass:"textBtn",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.logisticsQuery(t)}}},[e._v("物流查询")])],1)],1)})),1):e._e()],1)})),0==e.list.length?o("v-uni-view",{staticClass:"noData"},[o("v-uni-image",{attrs:{src:i("9a04"),mode:""}}),o("v-uni-view",[e._v("--暂无数据--")])],1):e._e()],2)],1)},r=[]},d1fd:function(e,t,i){"use strict";i("d81d"),i("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i("7a11"),n={data:function(){return{list:[],order_id:"",initOpenId:""}},onShow:function(){var e=getCurrentPages().pop();this.order_id=e.options.id,this.getOrderInfo()},methods:{getOrderInfo:function(){uni.showLoading();var e=this;(0,o.lookGood)({id:e.order_id}).then((function(t){if(uni.hideLoading(),200===t.code){var i=uni.getStorageSync("rukuOpenId");e.list=t.data.list.map((function(e){return e.toggle=i&&Number(i)===Number(e.id),e}))}else uni.showModal({content:t.message||"获取货物详情失败",showCancel:!1})})).catch((function(){uni.hideLoading(),uni.showModal({content:"获取货物详情失败",showCancel:!1})}))},toInfo:function(e){uni.navigateTo({url:"./gift-detail?status=0&order_id="+e.id})},logisticsQuery:function(e){uni.navigateTo({url:"./gift-log?id="+e.id+"&express_com="+e.express_com+"&express_number="+e.express_number})},toUrlLink:function(e){if(!e)return!1;uni.navigateTo({url:"../".concat(e)})}}};t.default=n},da23:function(e,t,i){var o=i("0730");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var n=i("4f06").default;n("886c70f8",o,!0,{sourceMap:!1,shadowMode:!1})}}]);
|