1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-gift-delivery-details"],{"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"28aa":function(t,e,i){"use strict";i.r(e);var a=i("c682"),r=i("c720");for(var o in r)"default"!==o&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("8379");var n,d=i("f0c5"),c=Object(d["a"])(r["default"],a["b"],a["c"],!1,null,"57fd5ac5",null,!1,a["a"],n);e["default"]=c.exports},8153:function(t,e,i){var a=i("24fb"),r=i("1de5"),o=i("8b77");e=a(!1);var n=r(o);e.push([t.i,'@charset "UTF-8";.app-item[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-57fd5ac5]{margin-top:%?10?%}.app-item uni-input[data-v-57fd5ac5], .app-item uni-picker[data-v-57fd5ac5], .app-item uni-textarea[data-v-57fd5ac5]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-57fd5ac5]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-57fd5ac5]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-57fd5ac5]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-57fd5ac5]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;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-57fd5ac5]{color:#fff;background:#f76454}.small-btn[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;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-57fd5ac5]{color:#999;border-color:#999}.login-btn[data-v-57fd5ac5]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;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-57fd5ac5]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-57fd5ac5]{margin-right:%?20?%}.border-right[data-v-57fd5ac5]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-57fd5ac5]{margin-right:%?6?%}.position-center[data-v-57fd5ac5]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-57fd5ac5]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-57fd5ac5]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-57fd5ac5]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-57fd5ac5]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-57fd5ac5]{color:#f76454}.swiper-nav[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;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-57fd5ac5]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-57fd5ac5]{color:#f76454}.swiper-nav .moveBar[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-57fd5ac5]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-57fd5ac5]{flex:1;width:100%}.swiper-area uni-swiper[data-v-57fd5ac5]{width:100%;height:100%}.article-header[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-57fd5ac5]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;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-57fd5ac5]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-57fd5ac5]{color:#f76454}.article-footer[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-57fd5ac5]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-57fd5ac5]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-57fd5ac5]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-57fd5ac5]{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-57fd5ac5]{display:flex;flex-direction:column}.RuKuContainer[data-v-57fd5ac5]{width:100%;flex:1;background-color:#f9f9fb}.RuKuContainer .btn[data-v-57fd5ac5]{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-57fd5ac5]{width:100%}.RuKuContainer .orderList .orderItem[data-v-57fd5ac5]{width:100%;margin-bottom:%?30?%;background-color:#fff}.RuKuContainer .orderList .orderItem .Header[data-v-57fd5ac5]{width:100%;height:%?104?%;background-color:#fff;padding:0 %?30?%;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.RuKuContainer .orderList .orderItem .Header .num[data-v-57fd5ac5]{color:#333;font-size:%?32?%;line-height:%?44?%;font-weight:700}.RuKuContainer .orderList .orderItem .Header .type[data-v-57fd5ac5],\r\n.RuKuContainer .orderList .orderItem .Header .time[data-v-57fd5ac5]{color:#999;font-size:%?28?%;line-height:%?40?%}.RuKuContainer .orderList .orderItem .Header[data-v-57fd5ac5]::after{content:"";display:block;width:%?30?%;height:%?30?%;background-image:url('+n+');background-position:50%;background-size:cover;background-repeat:no-repeat}.RuKuContainer .orderList .orderItem .Header.open[data-v-57fd5ac5]::after{-webkit-transform:rotate(90deg)!important;transform:rotate(90deg)!important}.RuKuContainer .orderList .orderItem .hideBody[data-v-57fd5ac5]{width:100%;padding-bottom:%?30?%}.RuKuContainer .orderList .orderItem .hideBody .hideItem[data-v-57fd5ac5]{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-57fd5ac5]:nth-last-of-type(1){margin-bottom:0}.RuKuContainer .orderList .orderItem .hideBody .hideItem .hideNum[data-v-57fd5ac5]{display:flex;align-items:center;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-57fd5ac5]{width:%?120?%;text-align:left}.RuKuContainer .orderList .orderItem .hideBody .hideItem .hideNum .orderNum[data-v-57fd5ac5]{flex:1;min-width:0}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control[data-v-57fd5ac5]{width:100%;display:flex;align-items:center;justify-content:center}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .textBtn[data-v-57fd5ac5],\r\n.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .btn[data-v-57fd5ac5]{width:calc((100% - %?120?%) / 3)}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .textBtn[data-v-57fd5ac5]{color:#ea4a41;font-size:%?32?%;line-height:%?44?%;text-align:left;position:relative}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control .textBtn[data-v-57fd5ac5]::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-57fd5ac5]{background-color:#f9f9fb!important;color:#999!important;border:1px solid #eee;box-sizing:border-box}',""]),t.exports=e},8379:function(t,e,i){"use strict";var a=i("db47"),r=i.n(a);r.a},"8b77":function(t,e,i){t.exports=i.p+"static/img/arrow.ad35c373.png"},bc9e:function(t,e,i){"use strict";i("d81d"),i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("c2e1"),r={data:function(){return{list:[],order_id:"",initOpenId:""}},onShow:function(){var t=getCurrentPages().pop();this.order_id=t.options.id,this.getOrderInfo()},methods:{getOrderInfo:function(){uni.showLoading();var t=this;(0,a.lookGood)({id:t.order_id}).then((function(e){if(uni.hideLoading(),200===e.code){var i=uni.getStorageSync("rukuOpenId");t.list=e.data.list.map((function(t){return t.toggle=i&&Number(i)===Number(t.id),t}))}else uni.showModal({content:e.message||"获取货物详情失败",showCancel:!1})})).catch((function(){uni.hideLoading(),uni.showModal({content:"获取货物详情失败",showCancel:!1})}))},toInfo:function(t){uni.navigateTo({url:"./gift-detail?status=0&order_id="+t.id})},logisticsQuery:function(t){uni.navigateTo({url:"./gift-log?id="+t.id+"&express_com="+t.express_com+"&express_number="+t.express_number})},toUrlLink:function(t){if(!t)return!1;uni.navigateTo({url:"../".concat(t)})}}};e.default=r},c2e1:function(t,e,i){"use strict";var a=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getGiftLogs=e.goodDetail=e.lookGood=e.recordDetail=e.giftRecord=e.activityList=e.publishExchange=e.giftGoodsList=e.myGiftBonus=void 0;var r=a(i("daa8")),o=function(){return r.default.get("/studio/studioBonus")};e.myGiftBonus=o;var n=function(){return r.default.get("/studioGood/good_show")};e.giftGoodsList=n;var d=function(t){return r.default.post("/studioOrder/submit_order",t)};e.publishExchange=d;var c=function(){return r.default.get("/get_activity_list")};e.activityList=c;var s=function(t){return r.default.get("/studioOrder/studio_record",t)};e.giftRecord=s;var f=function(t){return r.default.get("/studioOrder/order_detail",t)};e.recordDetail=f;var l=function(t){return r.default.get("/studioOrder/look_good",t)};e.lookGood=l;var u=function(t){return r.default.get("/studioOrder/good_detail",t)};e.goodDetail=u;var g=function(t){return r.default.get("/studioOrder/get_express",t)};e.getGiftLogs=g},c682:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"RuKuContainer"},[a("v-uni-view",{staticClass:"orderList"},[t._l(t.list,(function(e){return a("v-uni-view",{key:e.id,staticClass:"orderItem"},[a("v-uni-view",{staticClass:"Header",class:e.toggle?"open":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),e.toggle=!e.toggle}}},[a("v-uni-view",{staticClass:"num"},[t._v("第"+t._s(e.number)+"次发货,共"+t._s(e.get_express.length)+"箱")]),a("v-uni-view",{staticClass:"type"},[t._v(t._s(e.express_com))]),a("v-uni-view",{staticClass:"time"},[t._v(t._s(t._f("dateFormatter")(e.created_at,"yyyy/MM/dd")))])],1),e.toggle?a("v-uni-view",{staticClass:"hideBody"},t._l(e.get_express,(function(e){return a("v-uni-view",{key:e.id,staticClass:"hideItem"},[a("v-uni-view",{staticClass:"hideNum"},[a("v-uni-view",{staticClass:"num"},[t._v("第"+t._s(e.count)+"箱")]),a("v-uni-view",{staticClass:"orderNum"},[t._v("单号:"+t._s(e.express_number))])],1),a("v-uni-view",{staticClass:"control"},[a("v-uni-view",{staticClass:"textBtn",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.toInfo(e)}}},[t._v("货物详情")]),a("v-uni-view",{staticClass:"textBtn",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.logisticsQuery(e)}}},[t._v("物流查询")])],1)],1)})),1):t._e()],1)})),0==t.list.length?a("v-uni-view",{staticClass:"noData"},[a("v-uni-image",{attrs:{src:i("ce5d"),mode:""}}),a("v-uni-view",[t._v("--暂无数据--")])],1):t._e()],2)],1)},o=[]},c720:function(t,e,i){"use strict";i.r(e);var a=i("bc9e"),r=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},ce5d:function(t,e,i){t.exports=i.p+"static/img/no_order.b014ed4b.png"},db47:function(t,e,i){var a=i("8153");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=i("4f06").default;r("014d52dc",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
|