Commit e95b3ee13eb097c708ca0174986c98a4a61e30ce
1 parent
b79f47ab
我的礼包更改时间判断
Showing
6 changed files
with
4 additions
and
4 deletions
vip/index.html
... | ... | @@ -2,4 +2,4 @@ |
2 | 2 | document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px' |
3 | 3 | }) |
4 | 4 | var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) |
5 | - document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/vip/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/vip/static/js/chunk-vendors.d17daed5.js></script><script src=/vip/static/js/index.5b318009.js></script></body></html> | |
6 | 5 | \ No newline at end of file |
6 | + document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/vip/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/vip/static/js/chunk-vendors.d17daed5.js></script><script src=/vip/static/js/index.8e06b71b.js></script></body></html> | |
7 | 7 | \ No newline at end of file | ... | ... |
vip/static/js/index.5b318009.js renamed to vip/static/js/index.8e06b71b.js
1 | -(function(e){function n(n){for(var a,r,c=n[0],u=n[1],f=n[2],g=0,l=[];g<c.length;g++)r=c[g],i[r]&&l.push(i[r][0]),i[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);s&&s(n);while(l.length)l.shift()();return o.push.apply(o,f||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],a=!0,r=1;r<t.length;r++){var u=t[r];0!==i[u]&&(a=!1)}a&&(o.splice(n--,1),e=c(c.s=t[0]))}return e}var a={},i={index:0},o=[];function r(e){return c.p+"static/js/"+({"pages-GiftPackage-AssistanceGift":"pages-GiftPackage-AssistanceGift","pages-GiftPackage-BirthdayGift":"pages-GiftPackage-BirthdayGift","pages-GiftPackage-DismantleGift":"pages-GiftPackage-DismantleGift","pages-GiftPackage-EvaluateGift":"pages-GiftPackage-EvaluateGift","pages-GiftPackage-NewVipGift":"pages-GiftPackage-NewVipGift","pages-GiftPackage-ReceiveGift":"pages-GiftPackage-ReceiveGift","pages-Login-index":"pages-Login-index","pages-MyGiftPack-GiftPackBuy":"pages-MyGiftPack-GiftPackBuy","pages-MyGiftPack-GiftPackList":"pages-MyGiftPack-GiftPackList","pages-MyGiftPack-MyGiftPack":"pages-MyGiftPack-MyGiftPack","pages-MyGiftPack-OutWeb":"pages-MyGiftPack-OutWeb","pages-MyGiftPack-QrCode":"pages-MyGiftPack-QrCode"}[e]||e)+"."+{"pages-GiftPackage-AssistanceGift":"05a71241","pages-GiftPackage-BirthdayGift":"9a66728b","pages-GiftPackage-DismantleGift":"4767660d","pages-GiftPackage-EvaluateGift":"b4d875da","pages-GiftPackage-NewVipGift":"9d3c0676","pages-GiftPackage-ReceiveGift":"e78a9b00","pages-Login-index":"4ea01e00","pages-MyGiftPack-GiftPackBuy":"37198beb","pages-MyGiftPack-GiftPackList":"0d07f1f5","pages-MyGiftPack-MyGiftPack":"ce25de55","pages-MyGiftPack-OutWeb":"6890b431","pages-MyGiftPack-QrCode":"eeb01fc6"}[e]+".js"}function c(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=[],t=i[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise(function(n,a){t=i[e]=[n,a]});n.push(t[2]=a);var o,u=document.createElement("script");u.charset="utf-8",u.timeout=120,c.nc&&u.setAttribute("nonce",c.nc),u.src=r(e),o=function(n){u.onerror=u.onload=null,clearTimeout(f);var t=i[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src,r=new Error("Loading chunk "+e+" failed.\n("+a+": "+o+")");r.type=a,r.request=o,t[1](r)}i[e]=void 0}};var f=setTimeout(function(){o({type:"timeout",target:u})},12e4);u.onerror=u.onload=o,document.head.appendChild(u)}return Promise.all(n)},c.m=e,c.c=a,c.d=function(e,n,t){c.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,n){if(1&n&&(e=c(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)c.d(t,a,function(n){return e[n]}.bind(null,a));return t},c.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="/vip/",c.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],f=u.push.bind(u);u.push=n,u=u.slice();for(var g=0;g<u.length;g++)n(u[g]);var s=f;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("f2e3")},1488:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={imgHttp:"https://mshopimg.yolipai.net",ApiHttp:"https://test-weshop.yolipai.net",HtmlHttp:"http://jmh.xinda100.cn"};n.default=a},"14cf":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={appid:"__UNI__59B0F7D"};n.default=a},"1d88":function(e,n,t){"use strict";(function(e){var n=t("288e"),a=n(t("5176")),i=n(t("e143"));e["____59B0F7D____"]=!0,delete e["____59B0F7D____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.router={mode:"hash",base:"/vip/"},e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:3e3},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e3,connectSocket:6e3,uploadFile:6e3,downloadFile:6e3},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},i.default.component("pages-Login-index",function(e){var n={component:t.e("pages-Login-index").then(function(){return e(t("d58b"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-NewVipGift",function(e){var n={component:t.e("pages-GiftPackage-NewVipGift").then(function(){return e(t("be2b"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-EvaluateGift",function(e){var n={component:t.e("pages-GiftPackage-EvaluateGift").then(function(){return e(t("15d0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-BirthdayGift",function(e){var n={component:t.e("pages-GiftPackage-BirthdayGift").then(function(){return e(t("a685"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-AssistanceGift",function(e){var n={component:t.e("pages-GiftPackage-AssistanceGift").then(function(){return e(t("7312"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-ReceiveGift",function(e){var n={component:t.e("pages-GiftPackage-ReceiveGift").then(function(){return e(t("1ce4"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-DismantleGift",function(e){var n={component:t.e("pages-GiftPackage-DismantleGift").then(function(){return e(t("96f4"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-MyGiftPack",function(e){var n={component:t.e("pages-MyGiftPack-MyGiftPack").then(function(){return e(t("57c6"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackBuy",function(e){var n={component:t.e("pages-MyGiftPack-GiftPackBuy").then(function(){return e(t("0203"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackList",function(e){var n={component:t.e("pages-MyGiftPack-GiftPackList").then(function(){return e(t("91fb"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-QrCode",function(e){var n={component:t.e("pages-MyGiftPack-QrCode").then(function(){return e(t("94f2"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-OutWeb",function(e){var n={component:t.e("pages-MyGiftPack-OutWeb").then(function(){return e(t("04eb"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),e.__uniRoutes=[{path:"/",alias:"/pages/Login/index",component:{render:function(e){return e("Page",{props:(0,a.default)({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationBarTitleText:"主界面",navigationStyle:"custom"})},[e("pages-Login-index",{slot:"page"})])}},meta:{id:1,name:"pages-Login-index",isNVue:!1,pagePath:"pages/Login/index",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/GiftPackage/NewVipGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"新人礼",navigationStyle:"custom"})},[e("pages-GiftPackage-NewVipGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-NewVipGift",isNVue:!1,pagePath:"pages/GiftPackage/NewVipGift",windowTop:0}},{path:"/pages/GiftPackage/EvaluateGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"评价有礼",navigationStyle:"custom"})},[e("pages-GiftPackage-EvaluateGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-EvaluateGift",isNVue:!1,pagePath:"pages/GiftPackage/EvaluateGift",windowTop:0}},{path:"/pages/GiftPackage/BirthdayGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"生日礼包",navigationStyle:"custom"})},[e("pages-GiftPackage-BirthdayGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-BirthdayGift",isNVue:!1,pagePath:"pages/GiftPackage/BirthdayGift",windowTop:0}},{path:"/pages/GiftPackage/AssistanceGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceGift",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceGift",windowTop:0}},{path:"/pages/GiftPackage/ReceiveGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-ReceiveGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-ReceiveGift",isNVue:!1,pagePath:"pages/GiftPackage/ReceiveGift",windowTop:0}},{path:"/pages/GiftPackage/DismantleGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-DismantleGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-DismantleGift",isNVue:!1,pagePath:"pages/GiftPackage/DismantleGift",windowTop:0}},{path:"/pages/MyGiftPack/MyGiftPack",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"我的礼包",navigationStyle:"custom"})},[e("pages-MyGiftPack-MyGiftPack",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-MyGiftPack",isNVue:!1,pagePath:"pages/MyGiftPack/MyGiftPack",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackBuy",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包列表",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackBuy",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackBuy",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackBuy",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackList",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包详情",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackList",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackList",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackList",windowTop:0}},{path:"/pages/MyGiftPack/QrCode",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"核销码",navigationStyle:"custom"})},[e("pages-MyGiftPack-QrCode",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-QrCode",isNVue:!1,pagePath:"pages/MyGiftPack/QrCode",windowTop:0}},{path:"/pages/MyGiftPack/OutWeb",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"页面跳转",navigationStyle:"custom"})},[e("pages-MyGiftPack-OutWeb",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-OutWeb",isNVue:!1,pagePath:"pages/MyGiftPack/OutWeb",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}]}).call(this,t("c8ba"))},6982:function(e,n,t){"use strict";t.r(n);var a=t("79d4"),i=t.n(a);for(var o in a)"default"!==o&&function(e){t.d(n,e,function(){return a[e]})}(o);n["default"]=i.a},7499:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={pages:{"pages/Login/index":{navigationBarTitleText:"主界面",navigationStyle:"custom"},"pages/GiftPackage/NewVipGift":{navigationBarTitleText:"新人礼",navigationStyle:"custom"},"pages/GiftPackage/EvaluateGift":{navigationBarTitleText:"评价有礼",navigationStyle:"custom"},"pages/GiftPackage/BirthdayGift":{navigationBarTitleText:"生日礼包",navigationStyle:"custom"},"pages/GiftPackage/AssistanceGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/GiftPackage/ReceiveGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/GiftPackage/DismantleGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/MyGiftPack/MyGiftPack":{navigationBarTitleText:"我的礼包",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackBuy":{navigationBarTitleText:"礼包列表",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackList":{navigationBarTitleText:"礼包详情",navigationStyle:"custom"},"pages/MyGiftPack/QrCode":{navigationBarTitleText:"核销码",navigationStyle:"custom"},"pages/MyGiftPack/OutWeb":{navigationBarTitleText:"页面跳转",navigationStyle:"custom"}},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}};n.default=a},"79d4":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};n.default=a},c4f6:function(e,n,t){"use strict";t.r(n);var a=t("f008"),i=t("6982");for(var o in i)"default"!==o&&function(e){t.d(n,e,function(){return i[e]})}(o);var r=t("2877"),c=Object(r["a"])(i["default"],a["a"],a["b"],!1,null,null,null);n["default"]=c.exports},f008:function(e,n,t){"use strict";var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},i=[];t.d(n,"a",function(){return a}),t.d(n,"b",function(){return i})},f2e3:function(e,n,t){"use strict";var a=t("288e"),i=a(t("cebc"));t("cadf"),t("551c"),t("097d"),t("1d88"),t("1c31"),t("921b");var o=a(t("e143")),r=a(t("c4f6")),c=a(t("1488"));o.default.config.productionTip=!1,o.default.prototype.$GetInfo=c.default,r.default.mpType="app";var u=new o.default((0,i.default)({},r.default));u.$mount()}}); | |
2 | 1 | \ No newline at end of file |
2 | +(function(e){function n(n){for(var a,r,c=n[0],u=n[1],f=n[2],g=0,l=[];g<c.length;g++)r=c[g],i[r]&&l.push(i[r][0]),i[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);s&&s(n);while(l.length)l.shift()();return o.push.apply(o,f||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],a=!0,r=1;r<t.length;r++){var u=t[r];0!==i[u]&&(a=!1)}a&&(o.splice(n--,1),e=c(c.s=t[0]))}return e}var a={},i={index:0},o=[];function r(e){return c.p+"static/js/"+({"pages-GiftPackage-AssistanceGift":"pages-GiftPackage-AssistanceGift","pages-GiftPackage-BirthdayGift":"pages-GiftPackage-BirthdayGift","pages-GiftPackage-DismantleGift":"pages-GiftPackage-DismantleGift","pages-GiftPackage-EvaluateGift":"pages-GiftPackage-EvaluateGift","pages-GiftPackage-NewVipGift":"pages-GiftPackage-NewVipGift","pages-GiftPackage-ReceiveGift":"pages-GiftPackage-ReceiveGift","pages-Login-index":"pages-Login-index","pages-MyGiftPack-GiftPackBuy":"pages-MyGiftPack-GiftPackBuy","pages-MyGiftPack-GiftPackList":"pages-MyGiftPack-GiftPackList","pages-MyGiftPack-MyGiftPack":"pages-MyGiftPack-MyGiftPack","pages-MyGiftPack-OutWeb":"pages-MyGiftPack-OutWeb","pages-MyGiftPack-QrCode":"pages-MyGiftPack-QrCode"}[e]||e)+"."+{"pages-GiftPackage-AssistanceGift":"05a71241","pages-GiftPackage-BirthdayGift":"9a66728b","pages-GiftPackage-DismantleGift":"4767660d","pages-GiftPackage-EvaluateGift":"b4d875da","pages-GiftPackage-NewVipGift":"9d3c0676","pages-GiftPackage-ReceiveGift":"e78a9b00","pages-Login-index":"4ea01e00","pages-MyGiftPack-GiftPackBuy":"37198beb","pages-MyGiftPack-GiftPackList":"29c9397d","pages-MyGiftPack-MyGiftPack":"eaba6dda","pages-MyGiftPack-OutWeb":"6890b431","pages-MyGiftPack-QrCode":"eeb01fc6"}[e]+".js"}function c(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=[],t=i[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise(function(n,a){t=i[e]=[n,a]});n.push(t[2]=a);var o,u=document.createElement("script");u.charset="utf-8",u.timeout=120,c.nc&&u.setAttribute("nonce",c.nc),u.src=r(e),o=function(n){u.onerror=u.onload=null,clearTimeout(f);var t=i[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src,r=new Error("Loading chunk "+e+" failed.\n("+a+": "+o+")");r.type=a,r.request=o,t[1](r)}i[e]=void 0}};var f=setTimeout(function(){o({type:"timeout",target:u})},12e4);u.onerror=u.onload=o,document.head.appendChild(u)}return Promise.all(n)},c.m=e,c.c=a,c.d=function(e,n,t){c.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,n){if(1&n&&(e=c(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)c.d(t,a,function(n){return e[n]}.bind(null,a));return t},c.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="/vip/",c.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],f=u.push.bind(u);u.push=n,u=u.slice();for(var g=0;g<u.length;g++)n(u[g]);var s=f;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("f2e3")},1488:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={imgHttp:"https://mshopimg.yolipai.net",ApiHttp:"https://test-weshop.yolipai.net",HtmlHttp:"http://jmh.xinda100.cn"};n.default=a},"14cf":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={appid:"__UNI__59B0F7D"};n.default=a},"1d88":function(e,n,t){"use strict";(function(e){var n=t("288e"),a=n(t("5176")),i=n(t("e143"));e["____59B0F7D____"]=!0,delete e["____59B0F7D____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.router={mode:"hash",base:"/vip/"},e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:3e3},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e3,connectSocket:6e3,uploadFile:6e3,downloadFile:6e3},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},i.default.component("pages-Login-index",function(e){var n={component:t.e("pages-Login-index").then(function(){return e(t("d58b"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-NewVipGift",function(e){var n={component:t.e("pages-GiftPackage-NewVipGift").then(function(){return e(t("be2b"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-EvaluateGift",function(e){var n={component:t.e("pages-GiftPackage-EvaluateGift").then(function(){return e(t("15d0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-BirthdayGift",function(e){var n={component:t.e("pages-GiftPackage-BirthdayGift").then(function(){return e(t("a685"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-AssistanceGift",function(e){var n={component:t.e("pages-GiftPackage-AssistanceGift").then(function(){return e(t("7312"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-ReceiveGift",function(e){var n={component:t.e("pages-GiftPackage-ReceiveGift").then(function(){return e(t("1ce4"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-DismantleGift",function(e){var n={component:t.e("pages-GiftPackage-DismantleGift").then(function(){return e(t("96f4"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-MyGiftPack",function(e){var n={component:t.e("pages-MyGiftPack-MyGiftPack").then(function(){return e(t("57c6"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackBuy",function(e){var n={component:t.e("pages-MyGiftPack-GiftPackBuy").then(function(){return e(t("0203"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackList",function(e){var n={component:t.e("pages-MyGiftPack-GiftPackList").then(function(){return e(t("91fb"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-QrCode",function(e){var n={component:t.e("pages-MyGiftPack-QrCode").then(function(){return e(t("94f2"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-OutWeb",function(e){var n={component:t.e("pages-MyGiftPack-OutWeb").then(function(){return e(t("04eb"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),e.__uniRoutes=[{path:"/",alias:"/pages/Login/index",component:{render:function(e){return e("Page",{props:(0,a.default)({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationBarTitleText:"主界面",navigationStyle:"custom"})},[e("pages-Login-index",{slot:"page"})])}},meta:{id:1,name:"pages-Login-index",isNVue:!1,pagePath:"pages/Login/index",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/GiftPackage/NewVipGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"新人礼",navigationStyle:"custom"})},[e("pages-GiftPackage-NewVipGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-NewVipGift",isNVue:!1,pagePath:"pages/GiftPackage/NewVipGift",windowTop:0}},{path:"/pages/GiftPackage/EvaluateGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"评价有礼",navigationStyle:"custom"})},[e("pages-GiftPackage-EvaluateGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-EvaluateGift",isNVue:!1,pagePath:"pages/GiftPackage/EvaluateGift",windowTop:0}},{path:"/pages/GiftPackage/BirthdayGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"生日礼包",navigationStyle:"custom"})},[e("pages-GiftPackage-BirthdayGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-BirthdayGift",isNVue:!1,pagePath:"pages/GiftPackage/BirthdayGift",windowTop:0}},{path:"/pages/GiftPackage/AssistanceGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceGift",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceGift",windowTop:0}},{path:"/pages/GiftPackage/ReceiveGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-ReceiveGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-ReceiveGift",isNVue:!1,pagePath:"pages/GiftPackage/ReceiveGift",windowTop:0}},{path:"/pages/GiftPackage/DismantleGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-DismantleGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-DismantleGift",isNVue:!1,pagePath:"pages/GiftPackage/DismantleGift",windowTop:0}},{path:"/pages/MyGiftPack/MyGiftPack",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"我的礼包",navigationStyle:"custom"})},[e("pages-MyGiftPack-MyGiftPack",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-MyGiftPack",isNVue:!1,pagePath:"pages/MyGiftPack/MyGiftPack",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackBuy",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包列表",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackBuy",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackBuy",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackBuy",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackList",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包详情",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackList",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackList",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackList",windowTop:0}},{path:"/pages/MyGiftPack/QrCode",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"核销码",navigationStyle:"custom"})},[e("pages-MyGiftPack-QrCode",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-QrCode",isNVue:!1,pagePath:"pages/MyGiftPack/QrCode",windowTop:0}},{path:"/pages/MyGiftPack/OutWeb",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"页面跳转",navigationStyle:"custom"})},[e("pages-MyGiftPack-OutWeb",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-OutWeb",isNVue:!1,pagePath:"pages/MyGiftPack/OutWeb",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}]}).call(this,t("c8ba"))},6982:function(e,n,t){"use strict";t.r(n);var a=t("79d4"),i=t.n(a);for(var o in a)"default"!==o&&function(e){t.d(n,e,function(){return a[e]})}(o);n["default"]=i.a},7499:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={pages:{"pages/Login/index":{navigationBarTitleText:"主界面",navigationStyle:"custom"},"pages/GiftPackage/NewVipGift":{navigationBarTitleText:"新人礼",navigationStyle:"custom"},"pages/GiftPackage/EvaluateGift":{navigationBarTitleText:"评价有礼",navigationStyle:"custom"},"pages/GiftPackage/BirthdayGift":{navigationBarTitleText:"生日礼包",navigationStyle:"custom"},"pages/GiftPackage/AssistanceGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/GiftPackage/ReceiveGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/GiftPackage/DismantleGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/MyGiftPack/MyGiftPack":{navigationBarTitleText:"我的礼包",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackBuy":{navigationBarTitleText:"礼包列表",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackList":{navigationBarTitleText:"礼包详情",navigationStyle:"custom"},"pages/MyGiftPack/QrCode":{navigationBarTitleText:"核销码",navigationStyle:"custom"},"pages/MyGiftPack/OutWeb":{navigationBarTitleText:"页面跳转",navigationStyle:"custom"}},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}};n.default=a},"79d4":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};n.default=a},c4f6:function(e,n,t){"use strict";t.r(n);var a=t("f008"),i=t("6982");for(var o in i)"default"!==o&&function(e){t.d(n,e,function(){return i[e]})}(o);var r=t("2877"),c=Object(r["a"])(i["default"],a["a"],a["b"],!1,null,null,null);n["default"]=c.exports},f008:function(e,n,t){"use strict";var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},i=[];t.d(n,"a",function(){return a}),t.d(n,"b",function(){return i})},f2e3:function(e,n,t){"use strict";var a=t("288e"),i=a(t("cebc"));t("cadf"),t("551c"),t("097d"),t("1d88"),t("1c31"),t("921b");var o=a(t("e143")),r=a(t("c4f6")),c=a(t("1488"));o.default.config.productionTip=!1,o.default.prototype.$GetInfo=c.default,r.default.mpType="app";var u=new o.default((0,i.default)({},r.default));u.$mount()}}); | |
3 | 3 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-GiftPackList.0d07f1f5.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackList"],{"0442":function(t,e,i){"use strict";var a=i("45ff"),o=i.n(a);o.a},"04b8":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-12-12\r\n */.box[data-v-f8af8382]{-webkit-align-content:center;align-content:center}.box_top[data-v-f8af8382]{width:100%}.box_top uni-image[data-v-f8af8382]{width:100%;height:%?540?%}.box_title[data-v-f8af8382]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-f8af8382]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-f8af8382]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-f8af8382]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-f8af8382]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-f8af8382]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-f8af8382]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-f8af8382]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-f8af8382]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-f8af8382]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-f8af8382]{width:30%;height:%?180?%;border:#999 solid %?1?%}.box_ware_img uni-image[data-v-f8af8382]{width:100%;height:100%}.box_ware_item[data-v-f8af8382]{width:70%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-f8af8382]{font-size:%?30?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.box_ware_count[data-v-f8af8382]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-f8af8382]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-f8af8382]{font-size:%?25?%;position:absolute;bottom:%?15?%;left:0}.box_ware_code[data-v-f8af8382]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-f8af8382]{width:%?60?%;height:%?60?%}.box_ware_code uni-text[data-v-f8af8382]{font-size:%?20?%}.foot_box[data-v-f8af8382]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-f8af8382]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-f8af8382]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-f8af8382]{height:%?90?%}.foot_button[data-v-f8af8382]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?20?% %?0?% %?0?% %?0?%;padding:%?25?% %?0?%;background:#fff;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:fixed;bottom:0;left:0;width:100%}.foot_button_left[data-v-f8af8382]{background:#e4010c;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?0?% %?0?% %?30?%}.foot_button_right[data-v-f8af8382]{background:#ffbb42;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?0?% %?30?% %?30?% %?0?%}.foot_button_buy[data-v-f8af8382]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_intalge[data-v-f8af8382]{background:#ffbb42;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-f8af8382]{background-color:#e85f93}.foot_box_remark[data-v-f8af8382] img{width:100%}.foot_box_remark[data-v-f8af8382] .img{line-height:0}body.?%PAGE?%[data-v-f8af8382]{background-color:#e85f93}',""])},2350:function(t,e){function i(t,e){var i=t[1]||"",o=t[3];if(!o)return i;if(e&&"function"===typeof btoa){var n=a(o),r=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[i].concat(r).concat([n]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},o=0;o<this.length;o++){var n=this[o][0];"number"===typeof n&&(a[n]=!0)}for(o=0;o<t.length;o++){var r=t[o];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},"45ff":function(t,e,i){var a=i("04b8");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("1db10dfc",a,!0,{sourceMap:!1,shadowMode:!1})},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},o=0;o<e.length;o++){var n=e[o],r=n[0],s=n[1],f=n[2],d=n[3],c={id:t+":"+o,css:s,media:f,sourceMap:d};a[r]?a[r].parts.push(c):i.push(a[r]={id:r,parts:[c]})}return i}i.r(e),i.d(e,"default",function(){return p});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var n={},r=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,f=0,d=!1,c=function(){},u=null,l="data-vue-ssr-id",g="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,i,o){d=i,u=o||{};var r=a(t,e);return v(r),function(e){for(var i=[],o=0;o<r.length;o++){var s=r[o],f=n[s.id];f.refs--,i.push(f)}e?(r=a(t,e),v(r)):r=[];for(o=0;o<i.length;o++){f=i[o];if(0===f.refs){for(var d=0;d<f.parts.length;d++)f.parts[d]();delete n[f.id]}}}}function v(t){for(var e=0;e<t.length;e++){var i=t[e],a=n[i.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](i.parts[o]);for(;o<i.parts.length;o++)a.parts.push(h(i.parts[o]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(o=0;o<i.parts.length;o++)r.push(h(i.parts[o]));n[i.id]={id:i.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(d)return c;a.parentNode.removeChild(a)}if(g){var o=f++;a=s||(s=b()),e=_.bind(null,a,o,!1),i=_.bind(null,a,o,!0)}else a=b(),e=y.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var m=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function _(t,e,i,a){var o=i?"":$(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var n=document.createTextNode(o),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(n,r[e]):t.appendChild(n)}}function y(t,e){var i=$(e.css),a=e.media,o=e.sourceMap;if(a&&t.setAttribute("media",a),u.ssrId&&t.setAttribute(l,e.id),o&&(i+="\n/*# sourceURL="+o.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,x=/\.\?%PAGE\?%/g,I=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,k=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,G=/var\(--status-bar-height\)/gi,T=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi;function $(t){var e=P();if(!uni.canIUse("css.var")){var i=D();t=t.replace(G,"0px").replace(T,i.top+"px").replace(C,i.bottom+"px")}return t.replace(I,e).replace(x,"").replace(k,"body."+e+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function P(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function D(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"916e":function(t,e,i){"use strict";i.r(e);var a=i("f0d6"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=o.a},"91fb":function(t,e,i){"use strict";i.r(e);var a=i("9d6d"),o=i("916e");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("0442");var r=i("2877"),s=Object(r["a"])(o["default"],a["a"],a["b"],!1,null,"f8af8382",null);e["default"]=s.exports},"9d6d":function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"box"},[i("v-uni-view",{staticClass:"box_top"},[i("v-uni-image",{attrs:{src:this.giftImage}})],1),i("v-uni-view",{staticClass:"box_title"},[i("v-uni-view",{staticClass:"top_title"},[i("v-uni-text",[t._v(t._s(this.giftTitle))])],1),i("v-uni-view",{staticClass:"top_time"},[i("v-uni-text",[t._v("兑换截至时间:"+t._s(this.giftDate))])],1),i("v-uni-view",{staticClass:"top_price"},[this.giftPrice>0?i("v-uni-text",[t._v("¥"+t._s(this.giftPrice))]):t._e(),this.giftPrice>0&&this.giftIntegral>0?i("v-uni-text",[t._v("/")]):t._e(),this.giftIntegral>0?i("v-uni-text",[t._v(t._s(this.giftIntegral)+"积分")]):t._e(),this.giftType>0?i("v-uni-text",[t._v(t._s(this.actTitle))]):t._e()],1),i("v-uni-view",{staticClass:"top_foot"},[i("v-uni-view",{staticClass:"top_foot_price"},[i("v-uni-text",[t._v("原价:"+t._s(this.giftPosPrice)+"元")])],1),i("v-uni-view",{staticClass:"top_foot_qty"},[i("v-uni-text",[t._v("已售:"+t._s(this.giftQty)+"件")])],1)],1)],1),i("v-uni-view",{staticClass:"box_ware"},[i("v-uni-view",{staticClass:"box_ware_title"},[i("v-uni-text",[t._v("礼包内容")])],1),t._l(t.wareCard,function(e,a){return i("v-uni-view",{key:a,staticClass:"box_ware_box"},[i("v-uni-view",{staticClass:"box_ware_img"},[1==e.lbType?i("v-uni-image",{attrs:{src:""==e.wareImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.wareImage}}):t._e(),2==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift05.png"}}):t._e(),3==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}}):t._e(),4==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift03.png"}}):t._e(),5==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift04.png"}}):t._e()],1),i("v-uni-view",{staticClass:"box_ware_item"},[i("v-uni-view",{staticClass:"box_ware_item_title"},[i("v-uni-text",[t._v(t._s(e.couponName))])],1),i("v-uni-view",{staticClass:"box_ware_item_price"},[i("v-uni-text")],1),i("v-uni-view",{staticClass:"box_ware_item_qty"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1),i("v-uni-view",{staticClass:"box_ware_code"},[0==t.isBuy&1==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}}):t._e(),0==t.isBuy&2==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp(0)}}}):t._e(),0==t.isBuy&3==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp(1)}}}):t._e(),0==t.isBuy&e.lbType>3?i("v-uni-text",[t._v("奖励已发放")]):t._e()],1)],1)],1)})],2),i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动说明")])],1),i("v-uni-view",{staticClass:"foot_box_remark",domProps:{innerHTML:t._s(this.giftRemark)}})],1),i("v-uni-view",{staticClass:"foot_empty"}),1==this.isBuy?i("v-uni-view",{staticClass:"foot_button"},[t.giftPrice>0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_left"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),t.giftPrice>0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_right"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e(),t.giftPrice>0&&t.giftIntegral<=0?i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),t.giftPrice<=0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_intalge"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e()],1):t._e(),0==this.isBuy?i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("立即使用")])],1)],1):t._e()],1)},o=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return o})},f0d6:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{isBuy:0,getGiftID:"",giftImage:"",giftTitle:"",giftDate:"",giftPrice:"",giftIntegral:"",giftPosPrice:"",giftQty:"",giftRemark:"",giftType:"",actTitle:"",getUrl:"",wareCard:[]}},onLoad:function(t){this.isBuy=t.isBuy,this.getStorageID=t.stoid,this.getUserID=t.userid,this.getGiftID=t.id,console.log(this.isBuy+"||"+this.getStorageID+"||"+this.getUserID+"||"+this.getGiftID)},onShow:function(){0==this.isBuy?this.GetMyGiftList():this.GetBuyGiftList(),this.giftRemark=this.giftRemark.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetBuyPrice:function(){var t=this;uni.showModal({title:"",content:"是否确定购买该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",lbId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"购买成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(){var t=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",lbId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetMyGiftList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,orderSn:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,console.log(e.data.actImg)}})},GetBuyGiftList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,giftBagId:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,console.log(e.data.actImg)}})},GetQrCode:function(){uni.navigateTo({url:"/pages/MyGiftPack/QrCode?number="+this.getGiftID})},GetWebHttp:function(t){0==t&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/User/coupon/stoid/"+this.getStorageID+"/user_id/"+this.getUserID+".html"),1==t&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/Yyservice/service_items_list/stoid/"+this.getStorageID+"/user_id/"+this.getUserID+".html"),window.location.href=this.getUrl}}};e.default=a}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-GiftPackList.29c9397d.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackList"],{2350:function(t,e){function i(t,e){var i=t[1]||"",o=t[3];if(!o)return i;if(e&&"function"===typeof btoa){var n=a(o),r=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[i].concat(r).concat([n]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},o=0;o<this.length;o++){var n=this[o][0];"number"===typeof n&&(a[n]=!0)}for(o=0;o<t.length;o++){var r=t[o];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},o=0;o<e.length;o++){var n=e[o],r=n[0],s=n[1],c=n[2],d=n[3],f={id:t+":"+o,css:s,media:c,sourceMap:d};a[r]?a[r].parts.push(f):i.push(a[r]={id:r,parts:[f]})}return i}i.r(e),i.d(e,"default",function(){return p});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var n={},r=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,d=!1,f=function(){},l=null,g="data-vue-ssr-id",u="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,i,o){d=i,l=o||{};var r=a(t,e);return b(r),function(e){for(var i=[],o=0;o<r.length;o++){var s=r[o],c=n[s.id];c.refs--,i.push(c)}e?(r=a(t,e),b(r)):r=[];for(o=0;o<i.length;o++){c=i[o];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete n[c.id]}}}}function b(t){for(var e=0;e<t.length;e++){var i=t[e],a=n[i.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](i.parts[o]);for(;o<i.parts.length;o++)a.parts.push(h(i.parts[o]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(o=0;o<i.parts.length;o++)r.push(h(i.parts[o]));n[i.id]={id:i.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+g+'~="'+t.id+'"]');if(a){if(d)return f;a.parentNode.removeChild(a)}if(u){var o=c++;a=s||(s=v()),e=_.bind(null,a,o,!1),i=_.bind(null,a,o,!0)}else a=v(),e=y.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var m=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function _(t,e,i,a){var o=i?"":P(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var n=document.createTextNode(o),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(n,r[e]):t.appendChild(n)}}function y(t,e){var i=P(e.css),a=e.media,o=e.sourceMap;if(a&&t.setAttribute("media",a),l.ssrId&&t.setAttribute(g,e.id),o&&(i+="\n/*# sourceURL="+o.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,x=/\.\?%PAGE\?%/g,I=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,k=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,G=/var\(--status-bar-height\)/gi,T=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi;function P(t){var e=$();if(!uni.canIUse("css.var")){var i=D();t=t.replace(G,"0px").replace(T,i.top+"px").replace(C,i.bottom+"px")}return t.replace(I,e).replace(x,"").replace(k,"body."+e+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function $(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function D(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},8660:function(t,e,i){var a=i("ba71");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("a3498458",a,!0,{sourceMap:!1,shadowMode:!1})},"916e":function(t,e,i){"use strict";i.r(e);var a=i("f0d6"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=o.a},"91fb":function(t,e,i){"use strict";i.r(e);var a=i("b9d9b"),o=i("916e");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("dac7");var r=i("2877"),s=Object(r["a"])(o["default"],a["a"],a["b"],!1,null,"899b8c38",null);e["default"]=s.exports},b9d9b:function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"box"},[i("v-uni-view",{staticClass:"box_top"},[i("v-uni-image",{attrs:{src:this.giftImage}})],1),i("v-uni-view",{staticClass:"box_title"},[i("v-uni-view",{staticClass:"top_title"},[i("v-uni-text",[t._v(t._s(this.giftTitle))])],1),i("v-uni-view",{staticClass:"top_time"},[i("v-uni-text",[t._v("兑换截至时间:"+t._s(this.giftDate))])],1),i("v-uni-view",{staticClass:"top_price"},[this.giftPrice>0?i("v-uni-text",[t._v("¥"+t._s(this.giftPrice))]):t._e(),this.giftPrice>0&&this.giftIntegral>0?i("v-uni-text",[t._v("/")]):t._e(),this.giftIntegral>0?i("v-uni-text",[t._v(t._s(this.giftIntegral)+"积分")]):t._e(),this.giftType>0?i("v-uni-text",[t._v(t._s(this.actTitle))]):t._e()],1),i("v-uni-view",{staticClass:"top_foot"},[i("v-uni-view",{staticClass:"top_foot_price"},[i("v-uni-text",[t._v("原价:"+t._s(this.giftPosPrice)+"元")])],1),i("v-uni-view",{staticClass:"top_foot_qty"},[i("v-uni-text",[t._v("已售:"+t._s(this.giftQty)+"件")])],1)],1)],1),i("v-uni-view",{staticClass:"box_ware"},[i("v-uni-view",{staticClass:"box_ware_title"},[i("v-uni-text",[t._v("礼包内容")])],1),t._l(t.wareCard,function(e,a){return i("v-uni-view",{key:a,staticClass:"box_ware_box"},[i("v-uni-view",{staticClass:"box_ware_img"},[1==e.lbType?i("v-uni-image",{attrs:{src:""==e.wareImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.wareImage}}):t._e(),2==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift05.png"}}):t._e(),3==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}}):t._e(),4==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift03.png"}}):t._e(),5==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift04.png"}}):t._e()],1),i("v-uni-view",{staticClass:"box_ware_item"},[i("v-uni-view",{staticClass:"box_ware_item_title"},[i("v-uni-text",[t._v(t._s(e.couponName))])],1),i("v-uni-view",{staticClass:"box_ware_item_price"},[i("v-uni-text")],1),i("v-uni-view",{staticClass:"box_ware_item_qty"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1),i("v-uni-view",{staticClass:"box_ware_code"},[0==t.isBuy&1==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}}):t._e(),0==t.isBuy&2==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp(0)}}}):t._e(),0==t.isBuy&3==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp(1)}}}):t._e(),0==t.isBuy&e.lbType>3?i("v-uni-text",[t._v("奖励已发放")]):t._e()],1)],1)],1)})],2),i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动说明")])],1),i("v-uni-view",{staticClass:"foot_box_remark",domProps:{innerHTML:t._s(this.giftRemark)}})],1),i("v-uni-view",{staticClass:"foot_empty"}),1==this.isBuy?i("v-uni-view",{staticClass:"foot_button"},[t.giftPrice>0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_left"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),t.giftPrice>0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_right"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e(),t.giftPrice>0&&t.giftIntegral<=0?i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),t.giftPrice<=0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_intalge"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e()],1):t._e(),0==this.isBuy?i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("立即使用")])],1)],1):t._e()],1)},o=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return o})},ba71:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-12-12\r\n */.box[data-v-899b8c38]{-webkit-align-content:center;align-content:center}.box_top[data-v-899b8c38]{width:100%}.box_top uni-image[data-v-899b8c38]{width:100%;height:%?540?%}.box_title[data-v-899b8c38]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-899b8c38]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-899b8c38]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-899b8c38]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-899b8c38]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-899b8c38]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-899b8c38]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-899b8c38]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-899b8c38]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-899b8c38]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-899b8c38]{width:30%;height:%?180?%;border:#999 solid %?1?%}.box_ware_img uni-image[data-v-899b8c38]{width:100%;height:100%}.box_ware_item[data-v-899b8c38]{width:70%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-899b8c38]{font-size:%?30?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.box_ware_count[data-v-899b8c38]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-899b8c38]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-899b8c38]{font-size:%?25?%;position:absolute;bottom:%?15?%;left:0}.box_ware_code[data-v-899b8c38]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-899b8c38]{width:%?60?%;height:%?60?%}.box_ware_code uni-text[data-v-899b8c38]{font-size:%?20?%}.foot_box[data-v-899b8c38]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-899b8c38]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-899b8c38]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-899b8c38]{height:%?90?%}.foot_button[data-v-899b8c38]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?20?% %?0?% %?0?% %?0?%;padding:%?25?% %?0?%;background:#fff;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:fixed;bottom:0;left:0;width:100%}.foot_button_left[data-v-899b8c38]{background:#e4010c;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?0?% %?0?% %?30?%}.foot_button_right[data-v-899b8c38]{background:#ffbb42;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?0?% %?30?% %?30?% %?0?%}.foot_button_buy[data-v-899b8c38]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_intalge[data-v-899b8c38]{background:#ffbb42;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-899b8c38]{background-color:#e85f93}.foot_box_remark[data-v-899b8c38] img{width:100%}.foot_box_remark[data-v-899b8c38] .img{line-height:0}body.?%PAGE?%[data-v-899b8c38]{background-color:#e85f93}',""])},dac7:function(t,e,i){"use strict";var a=i("8660"),o=i.n(a);o.a},f0d6:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{isBuy:0,getGiftID:"",giftImage:"",giftTitle:"",giftDate:"",giftPrice:"",giftIntegral:"",giftPosPrice:"",giftQty:"",giftRemark:"",giftType:"",actTitle:"",getUrl:"",wareCard:[]}},onLoad:function(t){this.isBuy=t.isBuy,this.getStorageID=t.stoid,this.getUserID=t.userid,this.getGiftID=t.id,console.log(this.isBuy+"||"+this.getStorageID+"||"+this.getUserID+"||"+this.getGiftID)},onShow:function(){0==this.isBuy?this.GetMyGiftList():this.GetBuyGiftList(),this.giftRemark=this.giftRemark.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetBuyPrice:function(){var t=this;uni.showModal({title:"",content:"是否确定购买该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",lbId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),console.log(t.$GetInfo.HtmlHttp+"/mobile/Payment/getPay/stoid/"+t.getStorageID+"/order_sn/"+e.data.data.orderSn),window.location.href=t.$GetInfo.HtmlHttp+"/Mobile/Payment/getPay.html?stoid="+t.getStorageID+"&order_sn="+e.data.data.orderSn+"&recharge_type=6"):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(){var t=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",lbId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetMyGiftList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,orderSn:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,console.log(e.data.actImg)}})},GetBuyGiftList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,giftBagId:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,console.log(e.data.actImg)}})},GetQrCode:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/gift/goods/verify/code/get",data:{storeId:t.getStorageID,orderSn:t.getGiftID},method:"PUT",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.data),uni.navigateTo({url:"/pages/MyGiftPack/QrCode?number="+t.data.data})):uni.showToast({icon:"none",title:"获取核销码失败,请重试!"})}})},GetWebHttp:function(t){0==t&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/User/coupon/stoid/"+this.getStorageID+"/user_id/"+this.getUserID+".html"),1==t&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/Yyservice/service_items_list/stoid/"+this.getStorageID+"/user_id/"+this.getUserID+".html"),window.location.href=this.getUrl}}};e.default=a}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-MyGiftPack.ce25de55.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-MyGiftPack"],{"0a83":function(t,e,n){var a=n("8af0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("1db09160",a,!0,{sourceMap:!1,shadowMode:!1})},2350:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"===typeof btoa){var o=a(i),r=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(r).concat([o]).join("\n")}return[n].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=n(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},i=0;i<this.length;i++){var o=this[i][0];"number"===typeof o&&(a[o]=!0)}for(i=0;i<t.length;i++){var r=t[i];"number"===typeof r[0]&&a[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),e.push(r))}},e}},"32c1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"uLi-load-more",props:{status:{type:String,default:"loading"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=a},"36ad":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"top_img"},[n("v-uni-view",{staticClass:"top_img"},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift00.jpg"}})],1),n("v-uni-view",{staticClass:"top_title"},[n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_blacktext",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BuyGift.apply(void 0,arguments)}}},[t._v("礼包列表")])],1),n("v-uni-view",{staticClass:"top_title_box_S"}),n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_redtext"},[t._v("我的礼包")])],1)],1),t._l(t.wareCard,function(e,a){return n("v-uni-view",{key:a,staticClass:"content_box"},[n("v-uni-view",{staticClass:"content_box_ware"},[n("v-uni-view",{staticClass:"content_box_img",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.lbUrl}}),0!=e.actType?n("v-uni-view",{class:1==e.actType?"content_box_img_title content_box_img_ground1":2==e.actType?"content_box_img_title content_box_img_ground2":4==e.actType?"content_box_img_title content_box_img_ground3":"content_box_img_title content_box_img_ground4"},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift01.png"}}),1==e.actType?n("v-uni-text",[t._v("新人有礼")]):t._e(),2==e.actType?n("v-uni-text",[t._v("评价有礼")]):t._e(),3==e.actType?n("v-uni-text",[t._v("节日营销")]):t._e(),4==e.actType?n("v-uni-text",[t._v("生日营销")]):t._e(),5==e.actType?n("v-uni-text",[t._v("助力礼包")]):t._e()],1):t._e()],1),n("v-uni-view",{staticClass:"content_box_title"},[n("v-uni-view",{staticClass:"content_ware_title"},[n("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[t._v(t._s(e.giftTitle))])],1),n("v-uni-view",{staticClass:"content_ware_type"},[0==e.actType&e.payMoney>0?n("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),0==e.actType&e.payIntegral>0?n("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):t._e(),1==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),2==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),3==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),4==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),5==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e()],1),n("v-uni-view",{staticClass:"content_ware_price"},[n("v-uni-text",[t._v("原价:¥"+t._s(e.giftPosPrice))])],1),n("v-uni-view",{staticClass:"content_ware_time"},[t.getDate>t.DateToTime(e.starTime)?n("v-uni-text",[t._v("兑换截至日期:"+t._s(e.endTime))]):t._e(),t.getDate<t.DateToTime(e.starTime)?n("v-uni-text",[t._v("距兑换开始时间: "+t._s(e.starTime))]):t._e()],1)],1)],1),n("v-uni-view",{staticClass:"content_box_button"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[t._v("立即使用")])],1)],1)}),1==this.isEmpty?n("v-uni-view",{staticClass:"foot_empty"},[n("v-uni-view",[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift07.png"}})],1),n("v-uni-view",[n("v-uni-text",[t._v("当前暂无礼包")])],1),n("v-uni-view",{staticClass:"foot_empty_button"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BuyGift.apply(void 0,arguments)}}},[t._v("去获取")])],1)],1):t._e(),n("v-uni-view",{staticClass:"foot_box"},[n("v-uni-text",[t._v("———— 到底了 ————")])],1)],2)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},"3a9c":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"uni-load-more"},["loading"===t.status&&t.showIcon?n("v-uni-view",{staticClass:"uni-load-more__img"},[n("v-uni-view",{staticClass:"loadingView",style:{color:t.color}},[t._v("")])],1):t._e(),n("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},"4f06":function(t,e,n){"use strict";function a(t,e){for(var n=[],a={},i=0;i<e.length;i++){var o=e[i],r=o[0],s=o[1],c=o[2],u=o[3],l={id:t+":"+i,css:s,media:c,sourceMap:u};a[r]?a[r].parts.push(l):n.push(a[r]={id:r,parts:[l]})}return n}n.r(e),n.d(e,"default",function(){return p});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},d=null,f="data-vue-ssr-id",g="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){u=n,d=i||{};var r=a(t,e);return v(r),function(e){for(var n=[],i=0;i<r.length;i++){var s=r[i],c=o[s.id];c.refs--,n.push(c)}e?(r=a(t,e),v(r)):r=[];for(i=0;i<n.length;i++){c=n[i];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],a=o[n.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](n.parts[i]);for(;i<n.parts.length;i++)a.parts.push(_(n.parts[i]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(i=0;i<n.parts.length;i++)r.push(_(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function _(t){var e,n,a=document.querySelector("style["+f+'~="'+t.id+'"]');if(a){if(u)return l;a.parentNode.removeChild(a)}if(g){var i=c++;a=s||(s=b()),e=h.bind(null,a,i,!1),n=h.bind(null,a,i,!0)}else a=b(),e=x.bind(null,a),n=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function h(t,e,n,a){var i=n?"":S(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,i);else{var o=document.createTextNode(i),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function x(t,e){var n=S(e.css),a=e.media,i=e.sourceMap;if(a&&t.setAttribute("media",a),d.ssrId&&t.setAttribute(f,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,T=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,G=/var\(--window-top\)/gi,D=/var\(--window-bottom\)/gi;function S(t){var e=I();if(!uni.canIUse("css.var")){var n=z();t=t.replace(C,"0px").replace(G,n.top+"px").replace(D,n.bottom+"px")}return t.replace(k,e).replace(y,"").replace(T,"body."+e+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function I(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function z(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"57c6":function(t,e,n){"use strict";n.r(e);var a=n("36ad"),i=n("f38c");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("d3d7");var r=n("2877"),s=Object(r["a"])(i["default"],a["a"],a["b"],!1,null,"59b98920",null);e["default"]=s.exports},"72cc":function(t,e,n){var a=n("7b74");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("75d6816c",a,!0,{sourceMap:!1,shadowMode:!1})},"7b74":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-11-12\r\n */.top_img[data-v-59b98920]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-59b98920]{width:100%;height:%?660?%}.top_title[data-v-59b98920]{display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;height:%?85?%;border-radius:%?10?% %?10?% %?0?% %?0?%;margin:%?0?% %?20?% %?0?% %?20?%;-webkit-align-content:center;align-content:center}.top_title_box[data-v-59b98920]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-59b98920]{width:1%;-webkit-align-content:center;align-content:center;text-align:center;margin:%?20?% %?0?% %?20?% %?0?%;border-left:#000 solid %?3?%}.top_title_redtext[data-v-59b98920]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-59b98920]{font-size:%?30?%;color:#000}.content_box[data-v-59b98920]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-59b98920]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-59b98920]{margin:%?20?% %?20?% %?20?% %?25?%;width:35%;display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?8?%;position:relative}.content_box_img uni-image[data-v-59b98920]{width:100%;height:%?230?%}.content_box_img_title[data-v-59b98920]{position:absolute;background:#d01119;display:-webkit-box;display:-webkit-flex;display:flex;padding:%?8?%;border-radius:%?0?% %?0?% %?10?% %?0?%}.content_box_img_ground1[data-v-59b98920]{background:#fb6451}.content_box_img_ground2[data-v-59b98920]{background:#ffb72d}.content_box_img_ground3[data-v-59b98920]{background:#9be0e5}.content_box_img_ground4[data-v-59b98920]{background:#4784ef}.content_box_img_title uni-image[data-v-59b98920]{width:%?30?%;height:%?30?%}.content_box_img_title uni-text[data-v-59b98920]{font-size:%?20?%;color:#fff;line-height:%?25?%;padding-top:%?5?%}.content_box_title[data-v-59b98920]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-59b98920]{font-size:%?30?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.content_ware_type[data-v-59b98920]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-59b98920]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-59b98920]{font-size:%?25?%;color:#c61a34;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-59b98920]{text-align:right;margin:%?20?% %?25?% %?20?% %?20?%}.content_box_button uni-button[data-v-59b98920]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?25?%;background:#d41c34;color:#fff;line-height:%?50?%}.foot_box[data-v-59b98920]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-59b98920]{font-size:%?25?%;color:#fff}.foot_empty[data-v-59b98920]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%;text-align:center;padding:%?150?% %?0?% %?300?% %?0?%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.foot_empty uni-image[data-v-59b98920]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-59b98920]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-59b98920]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-59b98920]{font-size:%?28?%;color:#fff}uni-page-body[data-v-59b98920]{background-color:#fb7454}body.?%PAGE?%[data-v-59b98920]{background-color:#fb7454}',""])},"8af0":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1288772_8nmx02hevxl.ttf) format("truetype")}.loadingView[data-v-9a2b4550]{font-family:iconfont;line-height:1;font-size:%?40?%;-webkit-animation:rotate-data-v-9a2b4550 3s linear infinite;animation:rotate-data-v-9a2b4550 3s linear infinite}@-webkit-keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.uni-load-more[data-v-9a2b4550]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-9a2b4550]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-9a2b4550]{height:24px;width:24px;margin-right:10px;line-height:1;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}',""])},"8b7c":function(t,e,n){"use strict";n.r(e);var a=n("3a9c"),i=n("aea3");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("a66d");var r=n("2877"),s=Object(r["a"])(i["default"],a["a"],a["b"],!1,null,"9a2b4550",null);e["default"]=s.exports},a66d:function(t,e,n){"use strict";var a=n("0a83"),i=n.n(a);i.a},aea3:function(t,e,n){"use strict";n.r(e);var a=n("32c1"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a},d3d7:function(t,e,n){"use strict";var a=n("72cc"),i=n.n(a);i.a},f38c:function(t,e,n){"use strict";n.r(e);var a=n("ff12"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a},ff12:function(t,e,n){"use strict";var a=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("386d"),n("4917"),n("3b2b");var i=a(n("8b7c")),o={data:function(){return{getDate:(new Date).getTime(),getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,isEmpty:!0,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:i.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid},onShow:function(){this.page=1,this.pageSize=10,this.loadingType=0,this.getList()},onReachBottom:function(){0==this.loadingType&&(this.page++,this.getList())},methods:{getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(e);return null!=n?unescape(n[2]):null},BuyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/GiftPackBuy?stoid="+this.getStorageID+"&userid="+this.getUserID})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=0&stoid="+this.getStorageID+"&userid="+this.getUserID+"&id="+t})},getList:function(){var t=this,e=this;if(0!=e.loadingType)return!1;e.loadingType=1,uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/page",data:{storeId:this.getStorageID,userId:this.getUserID,page:this.page,pageSize:this.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){if(0==e.data.code)if(console.log(e.data.data),e.data.data.total>0?t.isEmpty=!1:t.isEmpty=!0,0==e.data.data.pageData.length)t.loadingType=2;else{if(console.log(t.wareCard.length),console.log(e.data.data.pageData.length),t.wareCard.length<e.data.data.pageData.length)for(var n=0;n<e.data.data.pageData.length;n++)t.wareCard.push(e.data.data.pageData[n]);t.loadingType=0,console.log(t.wareCard)}else console.log(e.data.msg)}})},TimeToDate:function(t){var e=new Date(1e3*t),n=e.getFullYear(),a=e.getMonth()+1;a=a<10?"0"+a:a;var i=e.getDate();i=i<10?"0"+i:i;var o=e.getHours();o=o<10?"0"+o:o;var r=e.getMinutes();r=r<10?"0"+r:r;var s=e.getSeconds();return s=s<10?"0"+s:s,n+"-"+a+"-"+i+" "+o+":"+r+":"+s},DateToTime:function(t){var e=new Date(t);return e.getTime()/1e3}}};e.default=o}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-MyGiftPack.eaba6dda.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-MyGiftPack"],{"01d9":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"top_img"},[n("v-uni-view",{staticClass:"top_img"},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift00.jpg"}})],1),n("v-uni-view",{staticClass:"top_title"},[n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_blacktext",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BuyGift.apply(void 0,arguments)}}},[t._v("礼包列表")])],1),n("v-uni-view",{staticClass:"top_title_box_S"}),n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_redtext"},[t._v("我的礼包")])],1)],1),t._l(t.wareCard,function(e,a){return n("v-uni-view",{key:a,staticClass:"content_box"},[n("v-uni-view",{staticClass:"content_box_ware"},[n("v-uni-view",{staticClass:"content_box_img",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.lbUrl}}),0!=e.actType?n("v-uni-view",{class:1==e.actType?"content_box_img_title content_box_img_ground1":2==e.actType?"content_box_img_title content_box_img_ground2":4==e.actType?"content_box_img_title content_box_img_ground3":"content_box_img_title content_box_img_ground4"},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift01.png"}}),1==e.actType?n("v-uni-text",[t._v("新人有礼")]):t._e(),2==e.actType?n("v-uni-text",[t._v("评价有礼")]):t._e(),3==e.actType?n("v-uni-text",[t._v("节日营销")]):t._e(),4==e.actType?n("v-uni-text",[t._v("生日营销")]):t._e(),5==e.actType?n("v-uni-text",[t._v("助力礼包")]):t._e()],1):t._e()],1),n("v-uni-view",{staticClass:"content_box_title"},[n("v-uni-view",{staticClass:"content_ware_title"},[n("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[t._v(t._s(e.giftTitle))])],1),n("v-uni-view",{staticClass:"content_ware_type"},[0==e.actType&e.payMoney>0?n("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),0==e.actType&e.payIntegral>0?n("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):t._e(),1==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),2==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),3==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),4==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),5==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e()],1),n("v-uni-view",{staticClass:"content_ware_price"},[n("v-uni-text",[t._v("原价:¥"+t._s(e.giftPosPrice))])],1),n("v-uni-view",{staticClass:"content_ware_time"},[t.getDate>t.DateToTime(e.starTime.replace(/-/g,"/"))?n("v-uni-text",[t._v("兑换截至日期:"+t._s(e.endTime))]):t._e(),t.getDate<t.DateToTime(e.starTime.replace(/-/g,"/"))?n("v-uni-text",[t._v("距兑换开始时间: "+t._s(e.starTime))]):t._e()],1)],1)],1),n("v-uni-view",{staticClass:"content_box_button"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[t._v("立即使用")])],1)],1)}),1==this.isEmpty?n("v-uni-view",{staticClass:"foot_empty"},[n("v-uni-view",[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift07.png"}})],1),n("v-uni-view",[n("v-uni-text",[t._v("当前暂无礼包")])],1),n("v-uni-view",{staticClass:"foot_empty_button"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BuyGift.apply(void 0,arguments)}}},[t._v("去获取")])],1)],1):t._e(),n("v-uni-view",{staticClass:"foot_box"},[n("v-uni-text",[t._v("———— 到底了 ————")])],1)],2)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},"0a83":function(t,e,n){var a=n("8af0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("1db09160",a,!0,{sourceMap:!1,shadowMode:!1})},2350:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"===typeof btoa){var o=a(i),r=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(r).concat([o]).join("\n")}return[n].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=n(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},i=0;i<this.length;i++){var o=this[i][0];"number"===typeof o&&(a[o]=!0)}for(i=0;i<t.length;i++){var r=t[i];"number"===typeof r[0]&&a[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),e.push(r))}},e}},"32c1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"uLi-load-more",props:{status:{type:String,default:"loading"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=a},"3a9c":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"uni-load-more"},["loading"===t.status&&t.showIcon?n("v-uni-view",{staticClass:"uni-load-more__img"},[n("v-uni-view",{staticClass:"loadingView",style:{color:t.color}},[t._v("")])],1):t._e(),n("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},"4f06":function(t,e,n){"use strict";function a(t,e){for(var n=[],a={},i=0;i<e.length;i++){var o=e[i],r=o[0],s=o[1],c=o[2],d=o[3],u={id:t+":"+i,css:s,media:c,sourceMap:d};a[r]?a[r].parts.push(u):n.push(a[r]={id:r,parts:[u]})}return n}n.r(e),n.d(e,"default",function(){return p});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,d=!1,u=function(){},l=null,f="data-vue-ssr-id",g="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){d=n,l=i||{};var r=a(t,e);return v(r),function(e){for(var n=[],i=0;i<r.length;i++){var s=r[i],c=o[s.id];c.refs--,n.push(c)}e?(r=a(t,e),v(r)):r=[];for(i=0;i<n.length;i++){c=n[i];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete o[c.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],a=o[n.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](n.parts[i]);for(;i<n.parts.length;i++)a.parts.push(_(n.parts[i]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(i=0;i<n.parts.length;i++)r.push(_(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function _(t){var e,n,a=document.querySelector("style["+f+'~="'+t.id+'"]');if(a){if(d)return u;a.parentNode.removeChild(a)}if(g){var i=c++;a=s||(s=b()),e=h.bind(null,a,i,!1),n=h.bind(null,a,i,!0)}else a=b(),e=x.bind(null,a),n=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function h(t,e,n,a){var i=n?"":S(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,i);else{var o=document.createTextNode(i),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function x(t,e){var n=S(e.css),a=e.media,i=e.sourceMap;if(a&&t.setAttribute("media",a),l.ssrId&&t.setAttribute(f,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,T=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,G=/var\(--window-top\)/gi,D=/var\(--window-bottom\)/gi;function S(t){var e=I();if(!uni.canIUse("css.var")){var n=z();t=t.replace(C,"0px").replace(G,n.top+"px").replace(D,n.bottom+"px")}return t.replace(k,e).replace(y,"").replace(T,"body."+e+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function I(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function z(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"57c6":function(t,e,n){"use strict";n.r(e);var a=n("01d9"),i=n("f38c");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("9bf9");var r=n("2877"),s=Object(r["a"])(i["default"],a["a"],a["b"],!1,null,"4094d096",null);e["default"]=s.exports},"8af0":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1288772_8nmx02hevxl.ttf) format("truetype")}.loadingView[data-v-9a2b4550]{font-family:iconfont;line-height:1;font-size:%?40?%;-webkit-animation:rotate-data-v-9a2b4550 3s linear infinite;animation:rotate-data-v-9a2b4550 3s linear infinite}@-webkit-keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.uni-load-more[data-v-9a2b4550]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-9a2b4550]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-9a2b4550]{height:24px;width:24px;margin-right:10px;line-height:1;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}',""])},"8b7c":function(t,e,n){"use strict";n.r(e);var a=n("3a9c"),i=n("aea3");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("a66d");var r=n("2877"),s=Object(r["a"])(i["default"],a["a"],a["b"],!1,null,"9a2b4550",null);e["default"]=s.exports},9835:function(t,e,n){var a=n("f0a4");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("584ff410",a,!0,{sourceMap:!1,shadowMode:!1})},"9bf9":function(t,e,n){"use strict";var a=n("9835"),i=n.n(a);i.a},a66d:function(t,e,n){"use strict";var a=n("0a83"),i=n.n(a);i.a},aea3:function(t,e,n){"use strict";n.r(e);var a=n("32c1"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a},f0a4:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-11-12\r\n */.top_img[data-v-4094d096]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-4094d096]{width:100%;height:%?660?%}.top_title[data-v-4094d096]{display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;height:%?85?%;border-radius:%?10?% %?10?% %?0?% %?0?%;margin:%?0?% %?20?% %?0?% %?20?%;-webkit-align-content:center;align-content:center}.top_title_box[data-v-4094d096]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-4094d096]{width:1%;-webkit-align-content:center;align-content:center;text-align:center;margin:%?20?% %?0?% %?20?% %?0?%;border-left:#000 solid %?3?%}.top_title_redtext[data-v-4094d096]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-4094d096]{font-size:%?30?%;color:#000}.content_box[data-v-4094d096]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-4094d096]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-4094d096]{margin:%?20?% %?20?% %?20?% %?25?%;width:35%;display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?8?%;position:relative}.content_box_img uni-image[data-v-4094d096]{width:100%;height:%?230?%}.content_box_img_title[data-v-4094d096]{position:absolute;background:#d01119;display:-webkit-box;display:-webkit-flex;display:flex;padding:%?8?%;border-radius:%?0?% %?0?% %?10?% %?0?%}.content_box_img_ground1[data-v-4094d096]{background:#fb6451}.content_box_img_ground2[data-v-4094d096]{background:#ffb72d}.content_box_img_ground3[data-v-4094d096]{background:#9be0e5}.content_box_img_ground4[data-v-4094d096]{background:#4784ef}.content_box_img_title uni-image[data-v-4094d096]{width:%?30?%;height:%?30?%}.content_box_img_title uni-text[data-v-4094d096]{font-size:%?20?%;color:#fff;line-height:%?25?%;padding-top:%?5?%}.content_box_title[data-v-4094d096]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-4094d096]{font-size:%?30?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.content_ware_type[data-v-4094d096]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-4094d096]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-4094d096]{font-size:%?25?%;color:#c61a34;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-4094d096]{text-align:right;margin:%?20?% %?25?% %?20?% %?20?%}.content_box_button uni-button[data-v-4094d096]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?25?%;background:#d41c34;color:#fff;line-height:%?50?%}.foot_box[data-v-4094d096]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-4094d096]{font-size:%?25?%;color:#fff}.foot_empty[data-v-4094d096]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%;text-align:center;padding:%?150?% %?0?% %?300?% %?0?%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.foot_empty uni-image[data-v-4094d096]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-4094d096]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-4094d096]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-4094d096]{font-size:%?28?%;color:#fff}uni-page-body[data-v-4094d096]{background-color:#fb7454}body.?%PAGE?%[data-v-4094d096]{background-color:#fb7454}',""])},f38c:function(t,e,n){"use strict";n.r(e);var a=n("ff12"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a},ff12:function(t,e,n){"use strict";var a=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("386d"),n("4917"),n("3b2b");var i=a(n("8b7c")),o={data:function(){return{getDate:(new Date).getTime(),getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,isEmpty:!0,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:i.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid},onShow:function(){this.page=1,this.pageSize=10,this.loadingType=0,this.getList()},onReachBottom:function(){0==this.loadingType&&(this.page++,this.getList())},methods:{getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(e);return null!=n?unescape(n[2]):null},BuyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/GiftPackBuy?stoid="+this.getStorageID+"&userid="+this.getUserID})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=0&stoid="+this.getStorageID+"&userid="+this.getUserID+"&id="+t})},getList:function(){var t=this,e=this;if(0!=e.loadingType)return!1;e.loadingType=1,uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/page",data:{storeId:this.getStorageID,userId:this.getUserID,page:this.page,pageSize:this.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){if(0==e.data.code)if(console.log(e.data.data),e.data.data.total>0?t.isEmpty=!1:t.isEmpty=!0,0==e.data.data.pageData.length)t.loadingType=2;else{if(console.log(t.wareCard.length),console.log(e.data.data.pageData.length),t.wareCard.length<e.data.data.pageData.length)for(var n=0;n<e.data.data.pageData.length;n++)t.wareCard.push(e.data.data.pageData[n]);t.loadingType=0,console.log(t.wareCard)}else console.log(e.data.msg)}})},TimeToDate:function(t){var e=new Date(1e3*t),n=e.getFullYear(),a=e.getMonth()+1;a=a<10?"0"+a:a;var i=e.getDate();i=i<10?"0"+i:i;var o=e.getHours();o=o<10?"0"+o:o;var r=e.getMinutes();r=r<10?"0"+r:r;var s=e.getSeconds();return s=s<10?"0"+s:s,n+"-"+a+"-"+i+" "+o+":"+r+":"+s},DateToTime:function(t){var e=new Date(t);return e.getTime()/1e3}}};e.default=o}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |