pages-gift-delivery-details.c2ef2130.js 14 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-gift-delivery-details"],{"0dc9":function(e,t,i){"use strict";var r=i("b11b"),o=i.n(r);o.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)}},"208c":function(e,t,i){e.exports=i.p+"static/img/arrow.ad35c373.png"},"3ce6":function(e,t,i){var r=i("24fb"),o=i("1de5"),n=i("208c");t=r(!1);var a=o(n);t.push([e.i,'@charset "UTF-8";.app-item[data-v-5159fe5c]{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-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:flex;align-items:center;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: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-5159fe5c]{color:#fff;background:#f76454}.small-btn[data-v-5159fe5c]{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-5159fe5c]{color:#999;border-color:#999}.login-btn[data-v-5159fe5c]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-5159fe5c]{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-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: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-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:flex;align-items:center;justify-content:center;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:flex;align-items:center;justify-content:center;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: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-5159fe5c]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-5159fe5c]{color:#f76454}.swiper-nav .moveBar[data-v-5159fe5c]{display:flex;align-items:center;justify-content:center;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]{flex:1;width:100%}.swiper-area uni-swiper[data-v-5159fe5c]{width:100%;height:100%}.article-header[data-v-5159fe5c]{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-5159fe5c]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-5159fe5c]{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-5159fe5c]{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-5159fe5c]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-5159fe5c]{color:#f76454}.article-footer[data-v-5159fe5c]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-5159fe5c]{display:flex;align-items:center;justify-content:center;flex-direction:row;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:flex;flex-direction:column}.RuKuContainer[data-v-5159fe5c]{width:100%;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:flex;align-items:center;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: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-5159fe5c]{width:%?120?%;text-align:left}.RuKuContainer .orderList .orderItem .hideBody .hideItem .hideNum .orderNum[data-v-5159fe5c]{flex:1;min-width:0}.RuKuContainer .orderList .orderItem .hideBody .hideItem .control[data-v-5159fe5c]{width:100%;display:flex;align-items: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},"4da0":function(e,t,i){"use strict";var r=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 o=r(i("ef4f")),n=function(){return o.default.get("/studio/studioBonus")};t.myGiftBonus=n;var a=function(){return o.default.get("/studioGood/good_show")};t.giftGoodsList=a;var d=function(e){return o.default.post("/studioOrder/submit_order",e)};t.publishExchange=d;var c=function(){return o.default.get("/get_activity_list")};t.activityList=c;var s=function(e){return o.default.get("/studioOrder/studio_record",e)};t.giftRecord=s;var f=function(e){return o.default.get("/studioOrder/order_detail",e)};t.recordDetail=f;var l=function(e){return o.default.get("/studioOrder/look_good",e)};t.lookGood=l;var u=function(e){return o.default.get("/studioOrder/good_detail",e)};t.goodDetail=u;var g=function(e){return o.default.get("/studioOrder/get_express",e)};t.getGiftLogs=g},"756f":function(e,t,i){"use strict";var r;i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",{staticClass:"RuKuContainer"},[r("v-uni-view",{staticClass:"orderList"},[e._l(e.list,(function(t){return r("v-uni-view",{key:t.id,staticClass:"orderItem"},[r("v-uni-view",{staticClass:"Header",class:t.toggle?"open":"",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),t.toggle=!t.toggle}}},[r("v-uni-view",{staticClass:"num"},[e._v("第"+e._s(t.number)+"次发货,共"+e._s(t.get_express.length)+"箱")]),r("v-uni-view",{staticClass:"type"},[e._v(e._s(t.express_com))]),r("v-uni-view",{staticClass:"time"},[e._v(e._s(e._f("dateFormatter")(t.created_at,"yyyy/MM/dd")))])],1),t.toggle?r("v-uni-view",{staticClass:"hideBody"},e._l(t.get_express,(function(t){return r("v-uni-view",{key:t.id,staticClass:"hideItem"},[r("v-uni-view",{staticClass:"hideNum"},[r("v-uni-view",{staticClass:"num"},[e._v("第"+e._s(t.count)+"箱")]),r("v-uni-view",{staticClass:"orderNum"},[e._v("单号:"+e._s(t.express_number))])],1),r("v-uni-view",{staticClass:"control"},[r("v-uni-view",{staticClass:"textBtn",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.toInfo(t)}}},[e._v("货物详情")]),r("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?r("v-uni-view",{staticClass:"noData"},[r("v-uni-image",{attrs:{src:i("a60c"),mode:""}}),r("v-uni-view",[e._v("--暂无数据--")])],1):e._e()],2)],1)},n=[]},"82a1":function(e,t,i){"use strict";i.r(t);var r=i("756f"),o=i("908b");for(var n in o)"default"!==n&&function(e){i.d(t,e,(function(){return o[e]}))}(n);i("0dc9");var a,d=i("f0c5"),c=Object(d["a"])(o["default"],r["b"],r["c"],!1,null,"5159fe5c",null,!1,r["a"],a);t["default"]=c.exports},"908b":function(e,t,i){"use strict";i.r(t);var r=i("cdf6"),o=i.n(r);for(var n in r)"default"!==n&&function(e){i.d(t,e,(function(){return r[e]}))}(n);t["default"]=o.a},a60c:function(e,t,i){e.exports=i.p+"static/img/no_order.b014ed4b.png"},b11b:function(e,t,i){var r=i("3ce6");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=i("4f06").default;o("60b9f410",r,!0,{sourceMap:!1,shadowMode:!1})},cdf6:function(e,t,i){"use strict";i("d81d"),i("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i("4da0"),o={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,r.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=o}}]);