Commit 49990a93ff2336685db00e9ee48178cfb353f404
Merge branch 'dev' into 'test'
优化礼包时间判断 See merge request !55
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=/webapp/vip/static/index.439536fb.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/webapp/vip/static/js/chunk-vendors.b34ab8a2.js></script><script src=/webapp/vip/static/js/index.2c47b292.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=/webapp/vip/static/index.439536fb.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/webapp/vip/static/js/chunk-vendors.b34ab8a2.js></script><script src=/webapp/vip/static/js/index.8e4325e1.js></script></body></html> | |
7 | 7 | \ No newline at end of file | ... | ... |
vip/static/js/index.2c47b292.js renamed to vip/static/js/index.8e4325e1.js
1 | -(function(e){function n(n){for(var t,r,c=n[0],s=n[1],g=n[2],u=0,l=[];u<c.length;u++)r=c[u],i[r]&&l.push(i[r][0]),i[r]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[t]=s[t]);f&&f(n);while(l.length)l.shift()();return o.push.apply(o,g||[]),a()}function a(){for(var e,n=0;n<o.length;n++){for(var a=o[n],t=!0,r=1;r<a.length;r++){var s=a[r];0!==i[s]&&(t=!1)}t&&(o.splice(n--,1),e=c(c.s=a[0]))}return e}var t={},i={index:0},o=[];function r(e){return c.p+"static/js/"+({"pages-GiftPackage-AssistanceAct":"pages-GiftPackage-AssistanceAct","pages-GiftPackage-AssistanceDismantle":"pages-GiftPackage-AssistanceDismantle","pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode":"pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode","pages-GiftPackage-AssistanceList":"pages-GiftPackage-AssistanceList","pages-MyGiftPack-QrCode":"pages-MyGiftPack-QrCode","pages-GiftPackage-BirthdayGift":"pages-GiftPackage-BirthdayGift","pages-GiftPackage-EvaluateGift":"pages-GiftPackage-EvaluateGift","pages-GiftPackage-HolidayGift":"pages-GiftPackage-HolidayGift","pages-GiftPackage-NewVipGift":"pages-GiftPackage-NewVipGift","pages-Login-index":"pages-Login-index","pages-MyGiftPack-GiftPackBuy":"pages-MyGiftPack-GiftPackBuy","pages-MyGiftPack-GiftPackList":"pages-MyGiftPack-GiftPackList","pages-MyGiftPack-MyGiftPack":"pages-MyGiftPack-MyGiftPack"}[e]||e)+"."+{"pages-GiftPackage-AssistanceAct":"62380835","pages-GiftPackage-AssistanceDismantle":"6fa13dd3","pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode":"a8edebbe","pages-GiftPackage-AssistanceList":"d2ba8d68","pages-MyGiftPack-QrCode":"7fed0648","pages-GiftPackage-BirthdayGift":"a9616eac","pages-GiftPackage-EvaluateGift":"b3ec5c47","pages-GiftPackage-HolidayGift":"d87f9cac","pages-GiftPackage-NewVipGift":"afd08df4","pages-Login-index":"7666b50f","pages-MyGiftPack-GiftPackBuy":"195522fe","pages-MyGiftPack-GiftPackList":"1b2c760a","pages-MyGiftPack-MyGiftPack":"ae692af3"}[e]+".js"}function c(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,c),a.l=!0,a.exports}c.e=function(e){var n=[],a=i[e];if(0!==a)if(a)n.push(a[2]);else{var t=new Promise(function(n,t){a=i[e]=[n,t]});n.push(a[2]=t);var o,s=document.createElement("script");s.charset="utf-8",s.timeout=120,c.nc&&s.setAttribute("nonce",c.nc),s.src=r(e),o=function(n){s.onerror=s.onload=null,clearTimeout(g);var a=i[e];if(0!==a){if(a){var t=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src,r=new Error("Loading chunk "+e+" failed.\n("+t+": "+o+")");r.type=t,r.request=o,a[1](r)}i[e]=void 0}};var g=setTimeout(function(){o({type:"timeout",target:s})},12e4);s.onerror=s.onload=o,document.head.appendChild(s)}return Promise.all(n)},c.m=e,c.c=t,c.d=function(e,n,a){c.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:a})},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 a=Object.create(null);if(c.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)c.d(a,t,function(n){return e[n]}.bind(null,t));return a},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="/webapp/vip/",c.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],g=s.push.bind(s);s.push=n,s=s.slice();for(var u=0;u<s.length;u++)n(s[u]);var f=g;o.push([0,"chunk-vendors"]),a()})({0:function(e,n,a){e.exports=a("f2e3")},"03ee":function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};n.default=t},1488:function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={imgHttp:"https://mshopimg.yolipai.net",ApiHttp:"https://qa-weshop.yolipai.net",HtmlHttp:"https://qa-mshop.yolipai.net"};n.default=t},"14cf":function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={appid:"__UNI__59B0F7D"};n.default=t},"1d88":function(e,n,a){"use strict";(function(e){var n=a("288e"),t=n(a("5176")),i=n(a("e143"));e["____59B0F7D____"]=!0,delete e["____59B0F7D____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.router={mode:"hash",base:"/webapp/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:a.e("pages-Login-index").then(function(){return e(a("d58b"))}.bind(null,a)).catch(a.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:a.e("pages-GiftPackage-NewVipGift").then(function(){return e(a("be2b"))}.bind(null,a)).catch(a.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:a.e("pages-GiftPackage-EvaluateGift").then(function(){return e(a("15d0"))}.bind(null,a)).catch(a.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:a.e("pages-GiftPackage-BirthdayGift").then(function(){return e(a("a685"))}.bind(null,a)).catch(a.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-HolidayGift",function(e){var n={component:a.e("pages-GiftPackage-HolidayGift").then(function(){return e(a("a444"))}.bind(null,a)).catch(a.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:a.e("pages-MyGiftPack-MyGiftPack").then(function(){return e(a("57c6"))}.bind(null,a)).catch(a.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:a.e("pages-MyGiftPack-GiftPackBuy").then(function(){return e(a("0203"))}.bind(null,a)).catch(a.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:a.e("pages-MyGiftPack-GiftPackList").then(function(){return e(a("91fb"))}.bind(null,a)).catch(a.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:Promise.all([a.e("pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode"),a.e("pages-MyGiftPack-QrCode")]).then(function(){return e(a("94f2"))}.bind(null,a)).catch(a.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-AssistanceAct",function(e){var n={component:a.e("pages-GiftPackage-AssistanceAct").then(function(){return e(a("42dd"))}.bind(null,a)).catch(a.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-AssistanceList",function(e){var n={component:Promise.all([a.e("pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode"),a.e("pages-GiftPackage-AssistanceList")]).then(function(){return e(a("dbf5"))}.bind(null,a)).catch(a.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-AssistanceDismantle",function(e){var n={component:a.e("pages-GiftPackage-AssistanceDismantle").then(function(){return e(a("9b56"))}.bind(null,a)).catch(a.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,t.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,t.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,t.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,t.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/HolidayGift",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"节日礼包",navigationStyle:"custom"})},[e("pages-GiftPackage-HolidayGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-HolidayGift",isNVue:!1,pagePath:"pages/GiftPackage/HolidayGift",windowTop:0}},{path:"/pages/MyGiftPack/MyGiftPack",component:{render:function(e){return e("Page",{props:(0,t.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,t.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,t.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,t.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/GiftPackage/AssistanceAct",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"助力活动",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceAct",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceAct",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceAct",windowTop:0}},{path:"/pages/GiftPackage/AssistanceList",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"助力详情",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceList",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceList",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceList",windowTop:0}},{path:"/pages/GiftPackage/AssistanceDismantle",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceDismantle",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceDismantle",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceDismantle",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,a("c8ba"))},6982:function(e,n,a){"use strict";a.r(n);var t=a("03ee"),i=a.n(t);for(var o in t)"default"!==o&&function(e){a.d(n,e,function(){return t[e]})}(o);n["default"]=i.a},7499:function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={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/HolidayGift":{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/GiftPackage/AssistanceAct":{navigationBarTitleText:"助力活动",navigationStyle:"custom"},"pages/GiftPackage/AssistanceList":{navigationBarTitleText:"助力详情",navigationStyle:"custom"},"pages/GiftPackage/AssistanceDismantle":{navigationBarTitleText:"好友助力",navigationStyle:"custom"}},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}};n.default=t},c4f6:function(e,n,a){"use strict";a.r(n);var t=a("f008"),i=a("6982");for(var o in i)"default"!==o&&function(e){a.d(n,e,function(){return i[e]})}(o);var r,c=a("f0c5"),s=Object(c["a"])(i["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],r);n["default"]=s.exports},f008:function(e,n,a){"use strict";var t,i=function(){var e=this,n=e.$createElement,a=e._self._c||n;return a("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},o=[];a.d(n,"b",function(){return i}),a.d(n,"c",function(){return o}),a.d(n,"a",function(){return t})},f2e3:function(e,n,a){"use strict";var t=a("288e"),i=t(a("cebc"));a("cadf"),a("551c"),a("097d"),a("1d88"),a("1c31"),a("921b");var o=t(a("e143")),r=t(a("c4f6")),c=t(a("1488"));o.default.config.productionTip=!1,o.default.prototype.$GetInfo=c.default,r.default.mpType="app";var s=new o.default((0,i.default)({},r.default));s.$mount()}}); | |
2 | 1 | \ No newline at end of file |
2 | +(function(e){function n(n){for(var t,r,c=n[0],s=n[1],g=n[2],u=0,l=[];u<c.length;u++)r=c[u],i[r]&&l.push(i[r][0]),i[r]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[t]=s[t]);f&&f(n);while(l.length)l.shift()();return o.push.apply(o,g||[]),a()}function a(){for(var e,n=0;n<o.length;n++){for(var a=o[n],t=!0,r=1;r<a.length;r++){var s=a[r];0!==i[s]&&(t=!1)}t&&(o.splice(n--,1),e=c(c.s=a[0]))}return e}var t={},i={index:0},o=[];function r(e){return c.p+"static/js/"+({"pages-GiftPackage-AssistanceAct":"pages-GiftPackage-AssistanceAct","pages-GiftPackage-AssistanceDismantle":"pages-GiftPackage-AssistanceDismantle","pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode":"pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode","pages-GiftPackage-AssistanceList":"pages-GiftPackage-AssistanceList","pages-MyGiftPack-QrCode":"pages-MyGiftPack-QrCode","pages-GiftPackage-BirthdayGift":"pages-GiftPackage-BirthdayGift","pages-GiftPackage-EvaluateGift":"pages-GiftPackage-EvaluateGift","pages-GiftPackage-HolidayGift":"pages-GiftPackage-HolidayGift","pages-GiftPackage-NewVipGift":"pages-GiftPackage-NewVipGift","pages-Login-index":"pages-Login-index","pages-MyGiftPack-GiftPackBuy":"pages-MyGiftPack-GiftPackBuy","pages-MyGiftPack-GiftPackList":"pages-MyGiftPack-GiftPackList","pages-MyGiftPack-MyGiftPack":"pages-MyGiftPack-MyGiftPack"}[e]||e)+"."+{"pages-GiftPackage-AssistanceAct":"62380835","pages-GiftPackage-AssistanceDismantle":"6fa13dd3","pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode":"a8edebbe","pages-GiftPackage-AssistanceList":"d2ba8d68","pages-MyGiftPack-QrCode":"7fed0648","pages-GiftPackage-BirthdayGift":"a9616eac","pages-GiftPackage-EvaluateGift":"b3ec5c47","pages-GiftPackage-HolidayGift":"d87f9cac","pages-GiftPackage-NewVipGift":"afd08df4","pages-Login-index":"7666b50f","pages-MyGiftPack-GiftPackBuy":"195522fe","pages-MyGiftPack-GiftPackList":"6ac5f99c","pages-MyGiftPack-MyGiftPack":"bfa652b7"}[e]+".js"}function c(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,c),a.l=!0,a.exports}c.e=function(e){var n=[],a=i[e];if(0!==a)if(a)n.push(a[2]);else{var t=new Promise(function(n,t){a=i[e]=[n,t]});n.push(a[2]=t);var o,s=document.createElement("script");s.charset="utf-8",s.timeout=120,c.nc&&s.setAttribute("nonce",c.nc),s.src=r(e),o=function(n){s.onerror=s.onload=null,clearTimeout(g);var a=i[e];if(0!==a){if(a){var t=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src,r=new Error("Loading chunk "+e+" failed.\n("+t+": "+o+")");r.type=t,r.request=o,a[1](r)}i[e]=void 0}};var g=setTimeout(function(){o({type:"timeout",target:s})},12e4);s.onerror=s.onload=o,document.head.appendChild(s)}return Promise.all(n)},c.m=e,c.c=t,c.d=function(e,n,a){c.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:a})},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 a=Object.create(null);if(c.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)c.d(a,t,function(n){return e[n]}.bind(null,t));return a},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="/webapp/vip/",c.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],g=s.push.bind(s);s.push=n,s=s.slice();for(var u=0;u<s.length;u++)n(s[u]);var f=g;o.push([0,"chunk-vendors"]),a()})({0:function(e,n,a){e.exports=a("f2e3")},"03ee":function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};n.default=t},1488:function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={imgHttp:"https://mshopimg.yolipai.net",ApiHttp:"https://qa-weshop.yolipai.net",HtmlHttp:"https://qa-mshop.yolipai.net"};n.default=t},"14cf":function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={appid:"__UNI__59B0F7D"};n.default=t},"1d88":function(e,n,a){"use strict";(function(e){var n=a("288e"),t=n(a("5176")),i=n(a("e143"));e["____59B0F7D____"]=!0,delete e["____59B0F7D____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.router={mode:"hash",base:"/webapp/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:a.e("pages-Login-index").then(function(){return e(a("d58b"))}.bind(null,a)).catch(a.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:a.e("pages-GiftPackage-NewVipGift").then(function(){return e(a("be2b"))}.bind(null,a)).catch(a.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:a.e("pages-GiftPackage-EvaluateGift").then(function(){return e(a("15d0"))}.bind(null,a)).catch(a.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:a.e("pages-GiftPackage-BirthdayGift").then(function(){return e(a("a685"))}.bind(null,a)).catch(a.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-HolidayGift",function(e){var n={component:a.e("pages-GiftPackage-HolidayGift").then(function(){return e(a("a444"))}.bind(null,a)).catch(a.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:a.e("pages-MyGiftPack-MyGiftPack").then(function(){return e(a("57c6"))}.bind(null,a)).catch(a.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:a.e("pages-MyGiftPack-GiftPackBuy").then(function(){return e(a("0203"))}.bind(null,a)).catch(a.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:a.e("pages-MyGiftPack-GiftPackList").then(function(){return e(a("91fb"))}.bind(null,a)).catch(a.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:Promise.all([a.e("pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode"),a.e("pages-MyGiftPack-QrCode")]).then(function(){return e(a("94f2"))}.bind(null,a)).catch(a.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-AssistanceAct",function(e){var n={component:a.e("pages-GiftPackage-AssistanceAct").then(function(){return e(a("42dd"))}.bind(null,a)).catch(a.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-AssistanceList",function(e){var n={component:Promise.all([a.e("pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode"),a.e("pages-GiftPackage-AssistanceList")]).then(function(){return e(a("dbf5"))}.bind(null,a)).catch(a.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-AssistanceDismantle",function(e){var n={component:a.e("pages-GiftPackage-AssistanceDismantle").then(function(){return e(a("9b56"))}.bind(null,a)).catch(a.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,t.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,t.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,t.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,t.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/HolidayGift",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"节日礼包",navigationStyle:"custom"})},[e("pages-GiftPackage-HolidayGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-HolidayGift",isNVue:!1,pagePath:"pages/GiftPackage/HolidayGift",windowTop:0}},{path:"/pages/MyGiftPack/MyGiftPack",component:{render:function(e){return e("Page",{props:(0,t.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,t.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,t.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,t.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/GiftPackage/AssistanceAct",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"助力活动",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceAct",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceAct",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceAct",windowTop:0}},{path:"/pages/GiftPackage/AssistanceList",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"助力详情",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceList",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceList",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceList",windowTop:0}},{path:"/pages/GiftPackage/AssistanceDismantle",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceDismantle",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceDismantle",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceDismantle",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,a("c8ba"))},6982:function(e,n,a){"use strict";a.r(n);var t=a("03ee"),i=a.n(t);for(var o in t)"default"!==o&&function(e){a.d(n,e,function(){return t[e]})}(o);n["default"]=i.a},7499:function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={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/HolidayGift":{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/GiftPackage/AssistanceAct":{navigationBarTitleText:"助力活动",navigationStyle:"custom"},"pages/GiftPackage/AssistanceList":{navigationBarTitleText:"助力详情",navigationStyle:"custom"},"pages/GiftPackage/AssistanceDismantle":{navigationBarTitleText:"好友助力",navigationStyle:"custom"}},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}};n.default=t},c4f6:function(e,n,a){"use strict";a.r(n);var t=a("f008"),i=a("6982");for(var o in i)"default"!==o&&function(e){a.d(n,e,function(){return i[e]})}(o);var r,c=a("f0c5"),s=Object(c["a"])(i["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],r);n["default"]=s.exports},f008:function(e,n,a){"use strict";var t,i=function(){var e=this,n=e.$createElement,a=e._self._c||n;return a("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},o=[];a.d(n,"b",function(){return i}),a.d(n,"c",function(){return o}),a.d(n,"a",function(){return t})},f2e3:function(e,n,a){"use strict";var t=a("288e"),i=t(a("cebc"));a("cadf"),a("551c"),a("097d"),a("1d88"),a("1c31"),a("921b");var o=t(a("e143")),r=t(a("c4f6")),c=t(a("1488"));o.default.config.productionTip=!1,o.default.prototype.$GetInfo=c.default,r.default.mpType="app";var s=new o.default((0,i.default)({},r.default));s.$mount()}}); | |
3 | 3 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-GiftPackList.1b2c760a.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackList"],{"06b7":function(t,e,i){"use strict";var a,o=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"},[this.giftType>0?i("v-uni-text",[t._v("已领:"+t._s(this.giftQty)+"件")]):t._e(),this.giftType<=0?i("v-uni-text",[t._v("已售:"+t._s(this.giftQty)+"件")]):t._e()],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&t.getDate>=t.DateToTime(t.giftstarTime.replace(/-/g,"/"))&t.getDate<=t.DateToTime(t.giftDate.replace(/-/g,"/"))?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&1==e.lbType&(t.getDate<t.DateToTime(t.giftstarTime.replace(/-/g,"/"))||t.getDate>t.DateToTime(t.giftDate.replace(/-/g,"/")))?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift08.png"}}):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"},[this.giftPrice>0&&this.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(),this.giftPrice>0&&this.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(),this.giftPrice>0&&this.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(),this.giftPrice<=0&&this.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"},[0==this.giftState&this.getDate>=t.DateToTime(this.giftstarTime.replace(/-/g,"/"))&t.getDate<t.DateToTime(this.giftDate.replace(/-/g,"/"))?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):t._e(),0==this.giftState&t.getDate<t.DateToTime(this.giftstarTime.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("兑换时间未开始")])],1):t._e(),0==this.giftState&t.getDate>t.DateToTime(this.giftDate.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("商品兑换时间已过")])],1):t._e(),1==this.giftState?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("商品已核销")])],1):t._e(),2==this.giftState?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("无核销商品")])],1):t._e()],1):t._e()],1)},n=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return a})},1735:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{getDate:(new Date).getTime(),isBuy:0,getGiftID:"",giftImage:"",giftTitle:"",giftDate:"",giftstarTime:"",giftPrice:"",giftIntegral:"",giftPosPrice:"",giftQty:"",giftRemark:"",giftType:"",actTitle:"",getUrl:"",giftState:"",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?(uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",giftBagId: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})),uni.hideLoading()}})):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.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",giftBagId: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})),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},GetMyGiftList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),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.giftstarTime=e.data.data.starTime,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,t.giftState=e.data.data.goodsUseState,uni.hideLoading(),console.log(t.giftState)}})},GetBuyGiftList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),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,uni.hideLoading()}})},GetQrCode:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),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:t.data.msg}),uni.hideLoading()}})},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},TimeToDate:function(t){var e=new Date(1e3*t),i=e.getFullYear(),a=e.getMonth()+1;a=a<10?"0"+a:a;var o=e.getDate();o=o<10?"0"+o:o;var n=e.getHours();n=n<10?"0"+n:n;var r=e.getMinutes();r=r<10?"0"+r:r;var s=e.getSeconds();return s=s<10?"0"+s:s,i+"-"+a+"-"+o+" "+n+":"+r+":"+s},DateToTime:function(t){var e=new Date(t);return e.getTime()/1e3}}};e.default=a},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}},"36f1":function(t,e,i){"use strict";var a=i("e402"),o=i.n(a);o.a},"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],g=n[3],f={id:t+":"+o,css:s,media:c,sourceMap:g};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,g=!1,f=function(){},d=null,u="data-vue-ssr-id",l="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,i,o){g=i,d=o||{};var r=a(t,e);return v(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),v(r)):r=[];for(o=0;o<i.length;o++){c=i[o];if(0===c.refs){for(var g=0;g<c.parts.length;g++)c.parts[g]();delete n[c.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(b(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(b(i.parts[o]));n[i.id]={id:i.id,refs:1,parts:r}}}}function h(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function b(t){var e,i,a=document.querySelector("style["+u+'~="'+t.id+'"]');if(a){if(g)return f;a.parentNode.removeChild(a)}if(l){var o=c++;a=s||(s=h()),e=_.bind(null,a,o,!1),i=_.bind(null,a,o,!0)}else a=h(),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?"":D(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=D(e.css),a=e.media,o=e.sourceMap;if(a&&t.setAttribute("media",a),d.ssrId&&t.setAttribute(u,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,T=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,k=/var\(--status-bar-height\)/gi,G=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi;function D(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(k,e+"(safe-area-inset-top)").replace(G,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(C,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var i=P();if(!uni.canIUse("css.var")){var a=$();t=t.replace(k,"0px").replace(G,a.top+"px").replace(C,a.bottom+"px")}return t.replace(I,i).replace(x,"").replace(T,"body."+i+" 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 $(){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("1735"),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("06b7"),o=i("916e");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("36f1");var r,s=i("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"69e94c82",null,!1,a["a"],r);e["default"]=c.exports},c665: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-69e94c82]{-webkit-align-content:center;align-content:center}.box_top[data-v-69e94c82]{width:100%}.box_top uni-image[data-v-69e94c82]{width:100%}.box_title[data-v-69e94c82]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-69e94c82]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-69e94c82]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-69e94c82]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-69e94c82]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-69e94c82]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-69e94c82]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-69e94c82]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-69e94c82]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-69e94c82]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-69e94c82]{width:19%;height:%?110?%;border:#f5f5f5 solid %?1?%}.box_ware_img uni-image[data-v-69e94c82]{width:100%;height:100%}.box_ware_item[data-v-69e94c82]{width:82%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-69e94c82]{font-size:%?28?%;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-69e94c82]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-69e94c82]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-69e94c82]{font-size:%?25?%;position:absolute;bottom:%?5?%;left:0}.box_ware_code[data-v-69e94c82]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-69e94c82]{width:%?40?%;height:%?40?%}.box_ware_code uni-text[data-v-69e94c82]{font-size:%?20?%}.foot_box[data-v-69e94c82]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-69e94c82]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-69e94c82]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-69e94c82]{height:%?90?%}.foot_button[data-v-69e94c82]{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-69e94c82]{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-69e94c82]{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-69e94c82]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_buy_font[data-v-69e94c82]{background:#999}.foot_button_intalge[data-v-69e94c82]{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-69e94c82]{background-color:#e85f93}.foot_box_remark[data-v-69e94c82] img{width:100%}.foot_box_remark[data-v-69e94c82] .img{line-height:0}body.?%PAGE?%[data-v-69e94c82]{background-color:#e85f93}',""])},e402:function(t,e,i){var a=i("c665");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("ff6226e2",a,!0,{sourceMap:!1,shadowMode:!1})}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-GiftPackList.6ac5f99c.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackList"],{"03af":function(t,e,i){var a=i("63f6");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("b072dc00",a,!0,{sourceMap:!1,shadowMode:!1})},1735:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{getDate:(new Date).getTime(),isBuy:0,getGiftID:"",giftImage:"",giftTitle:"",giftDate:"",giftstarTime:"",giftPrice:"",giftIntegral:"",giftPosPrice:"",giftQty:"",giftRemark:"",giftType:"",actTitle:"",getUrl:"",giftState:"",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?(uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",giftBagId: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})),uni.hideLoading()}})):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.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",giftBagId: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})),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},GetMyGiftList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),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.giftstarTime=e.data.data.starTime,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,t.giftState=e.data.data.goodsUseState,uni.hideLoading(),console.log(t.giftState)}})},GetBuyGiftList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),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,uni.hideLoading()}})},GetQrCode:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),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:t.data.msg}),uni.hideLoading()}})},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},TimeToDate:function(t){var e=new Date(1e3*t),i=e.getFullYear(),a=e.getMonth()+1;a=a<10?"0"+a:a;var o=e.getDate();o=o<10?"0"+o:o;var n=e.getHours();n=n<10?"0"+n:n;var r=e.getMinutes();r=r<10?"0"+r:r;var s=e.getSeconds();return s=s<10?"0"+s:s,i+"-"+a+"-"+o+" "+n+":"+r+":"+s},DateToTime:function(t){var e=new Date(t);return e.getTime()}}};e.default=a},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],g=n[2],f=n[3],d={id:t+":"+o,css:s,media:g,sourceMap:f};a[r]?a[r].parts.push(d):i.push(a[r]={id:r,parts:[d]})}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,g=0,f=!1,d=function(){},u=null,c="data-vue-ssr-id",l="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,i,o){f=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],g=n[s.id];g.refs--,i.push(g)}e?(r=a(t,e),v(r)):r=[];for(o=0;o<i.length;o++){g=i[o];if(0===g.refs){for(var f=0;f<g.parts.length;f++)g.parts[f]();delete n[g.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(b(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(b(i.parts[o]));n[i.id]={id:i.id,refs:1,parts:r}}}}function h(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function b(t){var e,i,a=document.querySelector("style["+c+'~="'+t.id+'"]');if(a){if(f)return d;a.parentNode.removeChild(a)}if(l){var o=g++;a=s||(s=h()),e=_.bind(null,a,o,!1),i=_.bind(null,a,o,!0)}else a=h(),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?"":C(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=C(e.css),a=e.media,o=e.sourceMap;if(a&&t.setAttribute("media",a),u.ssrId&&t.setAttribute(c,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,T=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,k=/var\(--status-bar-height\)/gi,D=/var\(--window-top\)/gi,G=/var\(--window-bottom\)/gi;function C(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(k,e+"(safe-area-inset-top)").replace(D,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(G,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var i=P();if(!uni.canIUse("css.var")){var a=$();t=t.replace(k,"0px").replace(D,a.top+"px").replace(G,a.bottom+"px")}return t.replace(I,i).replace(x,"").replace(T,"body."+i+" 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 $(){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}}},5132:function(t,e,i){"use strict";var a=i("03af"),o=i.n(a);o.a},"63f6":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-65ea7490]{-webkit-align-content:center;align-content:center}.box_top[data-v-65ea7490]{width:100%}.box_top uni-image[data-v-65ea7490]{width:100%}.box_title[data-v-65ea7490]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-65ea7490]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-65ea7490]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-65ea7490]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-65ea7490]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-65ea7490]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-65ea7490]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-65ea7490]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-65ea7490]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-65ea7490]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-65ea7490]{width:19%;height:%?110?%;border:#f5f5f5 solid %?1?%}.box_ware_img uni-image[data-v-65ea7490]{width:100%;height:100%}.box_ware_item[data-v-65ea7490]{width:82%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-65ea7490]{font-size:%?28?%;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-65ea7490]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-65ea7490]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-65ea7490]{font-size:%?25?%;position:absolute;bottom:%?5?%;left:0}.box_ware_code[data-v-65ea7490]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-65ea7490]{width:%?40?%;height:%?40?%}.box_ware_code uni-text[data-v-65ea7490]{font-size:%?20?%}.foot_box[data-v-65ea7490]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-65ea7490]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-65ea7490]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-65ea7490]{height:%?90?%}.foot_button[data-v-65ea7490]{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-65ea7490]{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-65ea7490]{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-65ea7490]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_buy_font[data-v-65ea7490]{background:#999}.foot_button_intalge[data-v-65ea7490]{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-65ea7490]{background-color:#e85f93}.foot_box_remark[data-v-65ea7490] img{width:100%}.foot_box_remark[data-v-65ea7490] .img{line-height:0}body.?%PAGE?%[data-v-65ea7490]{background-color:#e85f93}',""])},"916e":function(t,e,i){"use strict";i.r(e);var a=i("1735"),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("ce48"),o=i("916e");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("5132");var r,s=i("f0c5"),g=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"65ea7490",null,!1,a["a"],r);e["default"]=g.exports},ce48:function(t,e,i){"use strict";var a,o=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))]),i("v-uni-text",[t._v("||"+t._s(this.getDate)+"||"+t._s(t.DateToTime(this.giftDate.replace(/-/g,"/"))))])],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"},[this.giftType>0?i("v-uni-text",[t._v("已领:"+t._s(this.giftQty)+"件")]):t._e(),this.giftType<=0?i("v-uni-text",[t._v("已售:"+t._s(this.giftQty)+"件")]):t._e()],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&t.getDate>=t.DateToTime(t.giftstarTime.replace(/-/g,"/"))&t.getDate<=t.DateToTime(t.giftDate.replace(/-/g,"/"))?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&1==e.lbType&(t.getDate<t.DateToTime(t.giftstarTime.replace(/-/g,"/"))||t.getDate>t.DateToTime(t.giftDate.replace(/-/g,"/")))?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift08.png"}}):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"},[this.giftPrice>0&&this.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(),this.giftPrice>0&&this.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(),this.giftPrice>0&&this.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(),this.giftPrice<=0&&this.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"},[0==this.giftState&this.getDate>=t.DateToTime(this.giftstarTime.replace(/-/g,"/"))&this.getDate<t.DateToTime(this.giftDate.replace(/-/g,"/"))?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):t._e(),0==this.giftState&this.getDate<t.DateToTime(this.giftstarTime.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("兑换时间未开始")])],1):t._e(),0==this.giftState&this.getDate>t.DateToTime(this.giftDate.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("商品兑换时间已过")])],1):t._e(),1==this.giftState?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("商品已核销")])],1):t._e(),2==this.giftState?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("无核销商品")])],1):t._e()],1):t._e()],1)},n=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return a})}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-MyGiftPack.ae692af3.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-MyGiftPack"],{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}},"3a9c":function(t,e,n){"use strict";var a,i=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)},o=[];n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return a})},"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],c=o[1],s=o[2],u=o[3],l={id:t+":"+i,css:c,media:s,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 g});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]),c=null,s=0,u=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(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 c=r[i],s=o[c.id];s.refs--,n.push(s)}e?(r=a(t,e),v(r)):r=[];for(i=0;i<n.length;i++){s=n[i];if(0===s.refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete o[s.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(p){var i=s++;a=c||(c=b()),e=h.bind(null,a,i,!1),n=h.bind(null,a,i,!0)}else a=b(),e=w.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?"":I(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 w(t,e){var n=I(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 x=/%\?([+-]?\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 I(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(C,e+"(safe-area-inset-top)").replace(G,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(D,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var n=S();if(!uni.canIUse("css.var")){var a=z();t=t.replace(C,"0px").replace(G,a.top+"px").replace(D,a.bottom+"px")}return t.replace(k,n).replace(y,"").replace(T,"body."+n+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function S(){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("ef05"),i=n("f38c");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("cee5");var r,c=n("f0c5"),s=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"703e578e",null,!1,a["a"],r);e["default"]=s.exports},"5c7f":function(t,e,n){var a=n("a774");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("285eac3d",a,!0,{sourceMap:!1,shadowMode:!1})},6447:function(t,e,n){var a=n("7bf1");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("e8132bde",a,!0,{sourceMap:!1,shadowMode:!1})},"793c":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},"7bf1":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,c=n("f0c5"),s=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"9a2b4550",null,!1,a["a"],r);e["default"]=s.exports},a66d:function(t,e,n){"use strict";var a=n("6447"),i=n.n(a);i.a},a774: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-703e578e]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-703e578e]{width:100%}.top_title[data-v-703e578e]{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-703e578e]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-703e578e]{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-703e578e]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-703e578e]{font-size:%?30?%;color:#000}.content_box[data-v-703e578e]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-703e578e]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-703e578e]{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-703e578e]{width:100%;height:%?230?%}.content_box_img_title[data-v-703e578e]{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-703e578e]{background:#fb6451}.content_box_img_ground2[data-v-703e578e]{background:#ffb72d}.content_box_img_ground3[data-v-703e578e]{background:#9be0e5}.content_box_img_ground4[data-v-703e578e]{background:#4784ef}.content_box_img_title uni-image[data-v-703e578e]{width:%?30?%;height:%?30?%}.content_box_img_title uni-text[data-v-703e578e]{font-size:%?20?%;color:#fff;line-height:%?25?%;padding-top:%?5?%}.content_box_title[data-v-703e578e]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-703e578e]{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-703e578e]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-703e578e]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-703e578e]{font-size:%?25?%;color:#c61a34;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-703e578e]{text-align:right;margin:%?20?% %?25?% %?20?% %?20?%}.content_box_button uni-button[data-v-703e578e]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?25?%;background:#d41c34;color:#fff;line-height:%?50?%}.foot_box[data-v-703e578e]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-703e578e]{font-size:%?25?%;color:#fff}.foot_empty[data-v-703e578e]{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-703e578e]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-703e578e]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-703e578e]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-703e578e]{font-size:%?28?%;color:#fff}uni-page-body[data-v-703e578e]{background-color:#fb7454}body.?%PAGE?%[data-v-703e578e]{background-color:#fb7454}',""])},aea3:function(t,e,n){"use strict";n.r(e);var a=n("793c"),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},b028: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:!1,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:i.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid,this.page=1,this.pageSize=10,this.loadingType=0,this.getList()},onShow:function(){},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;if(0!=t.loadingType)return!1;t.loadingType=1,uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/page",data:{storeId:t.getStorageID,userId:t.getUserID,page:t.page,pageSize:t.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{console.log(t.wareCard.length),console.log(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}else console.log(e.data.msg);uni.hideLoading()}})},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 c=e.getSeconds();return c=c<10?"0"+c:c,n+"-"+a+"-"+i+" "+o+":"+r+":"+c},DateToTime:function(t){var e=new Date(t);return e.getTime()/1e3}}};e.default=o},cee5:function(t,e,n){"use strict";var a=n("5c7f"),i=n.n(a);i.a},ef05:function(t,e,n){"use strict";var a,i=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?v=20191228"}})],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)},o=[];n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return a})},f38c:function(t,e,n){"use strict";n.r(e);var a=n("b028"),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}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-MyGiftPack.bfa652b7.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-MyGiftPack"],{"0896":function(t,e,n){"use strict";var a=n("67f8"),i=n.n(a);i.a},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}},"3a9c":function(t,e,n){"use strict";var a,i=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)},o=[];n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return a})},"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],d={id:t+":"+i,css:s,media:c,sourceMap:u};a[r]?a[r].parts.push(d):n.push(a[r]={id:r,parts:[d]})}return n}n.r(e),n.d(e,"default",function(){return g});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,d=function(){},l=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(t,e,n,i){u=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 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 d;a.parentNode.removeChild(a)}if(p){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=w.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?"":I(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 w(t,e){var n=I(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 x=/%\?([+-]?\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 I(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(C,e+"(safe-area-inset-top)").replace(G,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(D,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var n=S();if(!uni.canIUse("css.var")){var a=z();t=t.replace(C,"0px").replace(G,a.top+"px").replace(D,a.bottom+"px")}return t.replace(k,n).replace(y,"").replace(T,"body."+n+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function S(){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("5bed"),i=n("f38c");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("0896");var r,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"b248f4d4",null,!1,a["a"],r);e["default"]=c.exports},"5bed":function(t,e,n){"use strict";var a,i=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?v=20191228"}})],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)},o=[];n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return a})},6447:function(t,e,n){var a=n("7bf1");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("e8132bde",a,!0,{sourceMap:!1,shadowMode:!1})},"67f8":function(t,e,n){var a=n("aed8");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("06872535",a,!0,{sourceMap:!1,shadowMode:!1})},"793c":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},"7bf1":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,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"9a2b4550",null,!1,a["a"],r);e["default"]=c.exports},a66d:function(t,e,n){"use strict";var a=n("6447"),i=n.n(a);i.a},aea3:function(t,e,n){"use strict";n.r(e);var a=n("793c"),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},aed8: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-b248f4d4]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-b248f4d4]{width:100%}.top_title[data-v-b248f4d4]{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-b248f4d4]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-b248f4d4]{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-b248f4d4]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-b248f4d4]{font-size:%?30?%;color:#000}.content_box[data-v-b248f4d4]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-b248f4d4]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-b248f4d4]{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-b248f4d4]{width:100%;height:%?230?%}.content_box_img_title[data-v-b248f4d4]{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-b248f4d4]{background:#fb6451}.content_box_img_ground2[data-v-b248f4d4]{background:#ffb72d}.content_box_img_ground3[data-v-b248f4d4]{background:#9be0e5}.content_box_img_ground4[data-v-b248f4d4]{background:#4784ef}.content_box_img_title uni-image[data-v-b248f4d4]{width:%?30?%;height:%?30?%}.content_box_img_title uni-text[data-v-b248f4d4]{font-size:%?20?%;color:#fff;line-height:%?25?%;padding-top:%?5?%}.content_box_title[data-v-b248f4d4]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-b248f4d4]{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-b248f4d4]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-b248f4d4]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-b248f4d4]{font-size:%?25?%;color:#c61a34;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-b248f4d4]{text-align:right;margin:%?20?% %?25?% %?20?% %?20?%}.content_box_button uni-button[data-v-b248f4d4]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?25?%;background:#d41c34;color:#fff;line-height:%?50?%}.foot_box[data-v-b248f4d4]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-b248f4d4]{font-size:%?25?%;color:#fff}.foot_empty[data-v-b248f4d4]{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-b248f4d4]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-b248f4d4]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-b248f4d4]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-b248f4d4]{font-size:%?28?%;color:#fff}uni-page-body[data-v-b248f4d4]{background-color:#fb7454}body.?%PAGE?%[data-v-b248f4d4]{background-color:#fb7454}',""])},b028: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:!1,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:i.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid,this.page=1,this.pageSize=10,this.loadingType=0,this.getList()},onShow:function(){},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;if(0!=t.loadingType)return!1;t.loadingType=1,uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/page",data:{storeId:t.getStorageID,userId:t.getUserID,page:t.page,pageSize:t.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{console.log(t.wareCard.length),console.log(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}else console.log(e.data.msg);uni.hideLoading()}})},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()}}};e.default=o},f38c:function(t,e,n){"use strict";n.r(e);var a=n("b028"),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}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |