Commit 77d94c981a930f422fa6451e99ce77df18716467
Merge branch 'dev' into 'test'
优化接口调用添加加载遮罩 See merge request !48
Showing
17 changed files
with
9 additions
and
9 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.544869a1.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.4ab1e5b7.js></script></body></html> | |
7 | 7 | \ No newline at end of file | ... | ... |
vip/static/js/index.4ab1e5b7.js
0 → 100644
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":"d3853d41","pages-GiftPackage-EvaluateGift":"6057c84c","pages-GiftPackage-HolidayGift":"4b868bd2","pages-GiftPackage-NewVipGift":"ddd278cb","pages-Login-index":"7666b50f","pages-MyGiftPack-GiftPackBuy":"a7cf4328","pages-MyGiftPack-GiftPackList":"a3faecd6","pages-MyGiftPack-MyGiftPack":"509f69ef"}[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()}}); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/index.544869a1.js deleted
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":"8e0b5736","pages-GiftPackage-EvaluateGift":"d0bce90d","pages-GiftPackage-HolidayGift":"697875c1","pages-GiftPackage-NewVipGift":"c8108f33","pages-Login-index":"7666b50f","pages-MyGiftPack-GiftPackBuy":"bace2d73","pages-MyGiftPack-GiftPackList":"13450d9f","pages-MyGiftPack-MyGiftPack":"9136399e"}[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://test-weshop.yolipai.net",HtmlHttp:"http://jmh.xinda100.cn"};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 | 0 | \ No newline at end of file |
vip/static/js/pages-GiftPackage-BirthdayGift.8e0b5736.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-BirthdayGift"],{1824:function(t,e,i){"use strict";i.r(e);var a=i("586e"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).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={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},2591:function(t,e,i){var a=i("41f7");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("b7db4a00",a,!0,{sourceMap:!1,shadowMode:!1})},"41f7":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-75df6367]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-75df6367]{width:100%;height:%?690?%}.top[data-v-75df6367]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-75df6367]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-75df6367]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-75df6367]{color:#9be0e5;font-size:%?40?%}.top_item[data-v-75df6367]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-75df6367]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-75df6367]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-75df6367]{float:left;width:64%}.top_item_center_title[data-v-75df6367]{font-size:%?35?%;color:#41d0de;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?10?% %?0?%;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/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-75df6367]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.top_item_number[data-v-75df6367]{float:right;font-size:%?25?%;color:#9be0e5;padding-right:%?10?%}.top_card[data-v-75df6367]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-75df6367]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-75df6367]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-75df6367]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-75df6367]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-75df6367]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-75df6367]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-75df6367]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-75df6367]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-75df6367]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-75df6367]{padding:%?30?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-75df6367]{padding:%?5?% 0 %?20?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_number[data-v-75df6367]{padding:%?5?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_box_image[data-v-75df6367]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-75df6367]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-75df6367]{margin:%?15?% %?95?% %?0?% %?95?%;background:#61d3dd;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-75df6367]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-75df6367]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-75df6367]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-75df6367]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-75df6367]{margin:0 %?30?%;background:#61d3dd;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-75df6367]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-75df6367]{height:%?90?%}.foot_button[data-v-75df6367]{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_buy[data-v-75df6367]{background:#61d3dd;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-75df6367]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-75df6367]{background-color:#9be0e5}uni-button[data-v-75df6367]:after{border:none}.foot_box_text[data-v-75df6367] img{width:100%}.foot_box_text[data-v-75df6367] .img{line-height:0}body.?%PAGE?%[data-v-75df6367]{background-color:#9be0e5}',""])},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],d=o[2],c=o[3],u={id:t+":"+n,css:s,media:d,sourceMap:c};a[r]?a[r].parts.push(u):i.push(a[r]={id:r,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return v});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)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=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,d=0,c=!1,u=function(){},p=null,l="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,i,n){c=i,p=n||{};var r=a(t,e);return g(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],d=o[s.id];d.refs--,i.push(d)}e?(r=a(t,e),g(r)):r=[];for(n=0;n<i.length;n++){d=i[n];if(0===d.refs){for(var c=0;c<d.parts.length;c++)d.parts[c]();delete o[d.id]}}}}function g(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(h(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(h(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(c)return u;a.parentNode.removeChild(a)}if(f){var n=d++;a=s||(s=b()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=b(),e=w.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 _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=_(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),p.ssrId&&t.setAttribute(l,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,S=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(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(I,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(T,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var i=G();if(!uni.canIUse("css.var")){var a=U();t=t.replace(C,"0px").replace(I,a.top+"px").replace(T,a.bottom+"px")}return t.replace(k,i).replace(y,"").replace(S,"body."+i+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function U(){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}}},"586e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){""==this.textTitle?this.textTitle="暂无详情......":this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"4",giftBagId:t.giftID,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),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a},"672e":function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?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_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})},a685:function(t,e,i){"use strict";i.r(e);var a=i("672e"),n=i("1824");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("c475");var r,s=i("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"75df6367",null,!1,a["a"],r);e["default"]=d.exports},c475:function(t,e,i){"use strict";var a=i("2591"),n=i.n(a);n.a}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-GiftPackage-BirthdayGift.d3853d41.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-BirthdayGift"],{1824:function(t,e,i){"use strict";i.r(e);var a=i("586e"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},"1c16":function(t,e,i){var a=i("8171");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("ebc6259c",a,!0,{sourceMap:!1,shadowMode:!1})},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).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={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},2585:function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?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_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],c=o[2],d=o[3],u={id:t+":"+n,css:s,media:c,sourceMap:d};a[r]?a[r].parts.push(u):i.push(a[r]={id:r,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return b});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)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=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,d=!1,u=function(){},p=null,l="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function b(t,e,i,n){d=i,p=n||{};var r=a(t,e);return g(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],c=o[s.id];c.refs--,i.push(c)}e?(r=a(t,e),g(r)):r=[];for(n=0;n<i.length;n++){c=i[n];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete o[c.id]}}}}function g(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(h(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(h(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(d)return u;a.parentNode.removeChild(a)}if(f){var n=c++;a=s||(s=v()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=v(),e=w.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 _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=_(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),p.ssrId&&t.setAttribute(l,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,S=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(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(I,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(T,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var i=G();if(!uni.canIUse("css.var")){var a=U();t=t.replace(C,"0px").replace(I,a.top+"px").replace(T,a.bottom+"px")}return t.replace(k,i).replace(y,"").replace(S,"body."+i+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function U(){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}}},"586e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){""==this.textTitle?this.textTitle="暂无详情......":this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg),uni.hideLoading()}}),setTimeout(function(){uni.hideLoading()},2e3)},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"4",giftBagId:t.giftID,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),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()}}),setTimeout(function(){uni.hideLoading()},2e3)}}};e.default=a},8171:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-7b82b70f]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-7b82b70f]{width:100%;height:%?690?%}.top[data-v-7b82b70f]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-7b82b70f]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-7b82b70f]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-7b82b70f]{color:#9be0e5;font-size:%?40?%}.top_item[data-v-7b82b70f]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-7b82b70f]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-7b82b70f]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-7b82b70f]{float:left;width:64%}.top_item_center_title[data-v-7b82b70f]{font-size:%?35?%;color:#41d0de;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?10?% %?0?%;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/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-7b82b70f]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.top_item_number[data-v-7b82b70f]{float:right;font-size:%?25?%;color:#9be0e5;padding-right:%?10?%}.top_card[data-v-7b82b70f]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-7b82b70f]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-7b82b70f]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-7b82b70f]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-7b82b70f]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-7b82b70f]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-7b82b70f]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-7b82b70f]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-7b82b70f]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-7b82b70f]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-7b82b70f]{padding:%?30?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-7b82b70f]{padding:%?5?% 0 %?20?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_number[data-v-7b82b70f]{padding:%?5?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_box_image[data-v-7b82b70f]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-7b82b70f]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-7b82b70f]{margin:%?15?% %?95?% %?0?% %?95?%;background:#61d3dd;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-7b82b70f]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-7b82b70f]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-7b82b70f]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-7b82b70f]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-7b82b70f]{margin:0 %?30?%;background:#61d3dd;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-7b82b70f]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-7b82b70f]{height:%?90?%}.foot_button[data-v-7b82b70f]{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_buy[data-v-7b82b70f]{background:#61d3dd;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-7b82b70f]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-7b82b70f]{background-color:#9be0e5}uni-button[data-v-7b82b70f]:after{border:none}.foot_box_text[data-v-7b82b70f] img{width:100%}.foot_box_text[data-v-7b82b70f] .img{line-height:0}body.?%PAGE?%[data-v-7b82b70f]{background-color:#9be0e5}',""])},a685:function(t,e,i){"use strict";i.r(e);var a=i("2585"),n=i("1824");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("cf34");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7b82b70f",null,!1,a["a"],r);e["default"]=c.exports},cf34:function(t,e,i){"use strict";var a=i("1c16"),n=i.n(a);n.a}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-EvaluateGift.6057c84c.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-EvaluateGift"],{"15d0":function(t,e,a){"use strict";a.r(e);var i=a("5696"),n=a("1d95");for(var o in n)"default"!==o&&function(t){a.d(e,t,function(){return n[t]})}(o);a("2353");var r,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"2c40a0aa",null,!1,i["a"],r);e["default"]=c.exports},"1d95":function(t,e,a){"use strict";a.r(e);var i=a("7a85"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,function(){return i[t]})}(o);e["default"]=n.a},2350:function(t,e){function a(t,e){var a=t[1]||"",n=t[3];if(!n)return a;if(e&&"function"===typeof btoa){var o=i(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[a].concat(r).concat([o]).join("\n")}return[a].join("\n")}function i(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+a+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=a(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,a){"string"===typeof t&&(t=[[null,t,""]]);for(var i={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(i[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&i[r[0]]||(a&&!r[2]?r[2]=a:a&&(r[2]="("+r[2]+") and ("+a+")"),e.push(r))}},e}},2353:function(t,e,a){"use strict";var i=a("5447"),n=a.n(i);n.a},"4f06":function(t,e,a){"use strict";function i(t,e){for(var a=[],i={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],c=o[2],d=o[3],u={id:t+":"+n,css:s,media:c,sourceMap:d};i[r]?i[r].parts.push(u):a.push(i[r]={id:r,parts:[u]})}return a}a.r(e),a.d(e,"default",function(){return g});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)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=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,d=!1,u=function(){},p=null,l="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(t,e,a,n){d=a,p=n||{};var r=i(t,e);return v(r),function(e){for(var a=[],n=0;n<r.length;n++){var s=r[n],c=o[s.id];c.refs--,a.push(c)}e?(r=i(t,e),v(r)):r=[];for(n=0;n<a.length;n++){c=a[n];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete o[c.id]}}}}function v(t){for(var e=0;e<t.length;e++){var a=t[e],i=o[a.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](a.parts[n]);for(;n<a.parts.length;n++)i.parts.push(h(a.parts[n]));i.parts.length>a.parts.length&&(i.parts.length=a.parts.length)}else{var r=[];for(n=0;n<a.parts.length;n++)r.push(h(a.parts[n]));o[a.id]={id:a.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,a,i=document.querySelector("style["+l+'~="'+t.id+'"]');if(i){if(d)return u;i.parentNode.removeChild(i)}if(f){var n=c++;i=s||(s=b()),e=m.bind(null,i,n,!1),a=m.bind(null,i,n,!0)}else i=b(),e=w.bind(null,i),a=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else a()}}var _=function(){var t=[];return function(e,a){return t[e]=a,t.filter(Boolean).join("\n")}}();function m(t,e,a,i){var n=a?"":j(i.css);if(t.styleSheet)t.styleSheet.cssText=_(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var a=j(e.css),i=e.media,n=e.sourceMap;if(i&&t.setAttribute("media",i),p.ssrId&&t.setAttribute(l,e.id),n&&(a+="\n/*# sourceURL="+n.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=a;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,S=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,I=/var\(--status-bar-height\)/gi,C=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(I,e+"(safe-area-inset-top)").replace(C,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(T,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var a=G();if(!uni.canIUse("css.var")){var i=U();t=t.replace(I,"0px").replace(C,i.top+"px").replace(T,i.bottom+"px")}return t.replace(k,a).replace(y,"").replace(S,"body."+a+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function U(){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}}},5447:function(t,e,a){var i=a("c5aa");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("0299cc5e",i,!0,{sourceMap:!1,shadowMode:!1})},5696:function(t,e,a){"use strict";var i,n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"image_box"},[a("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval00.png"}})],1),this.itemShow?a("v-uni-view",{staticClass:"top"},[a("v-uni-view",{staticClass:"top_box"},[a("v-uni-view",{staticClass:"top_box_text"},[a("v-uni-text",[t._v("______")])],1),a("v-uni-view",{staticClass:"top_box_text"},[a("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),a("v-uni-view",{staticClass:"top_box_text"},[a("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,i){return a("v-uni-view",{key:i,staticClass:"top_item"},[3==e.lbType?a("v-uni-view",{staticClass:"top_item_img"},[a("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?a("v-uni-view",{staticClass:"top_item_img"},[a("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),a("v-uni-view",{staticClass:"top_item_center"},[a("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?a("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?a("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),a("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?a("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?a("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),a("v-uni-view",{staticClass:"top_item_number"},[a("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.itemShows()?a("v-uni-view",[a("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}}),a("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}})],1):t._e(),this.cardShow?a("v-uni-view",[a("v-uni-view",{staticClass:"top"},[a("v-uni-view",{staticClass:"top_box"},[a("v-uni-view",{staticClass:"top_box_text"},[a("v-uni-text",[t._v("———")])],1),a("v-uni-view",{staticClass:"top_box_text"},[a("v-uni-text",[t._v("新人专享优惠券")])],1),a("v-uni-view",{staticClass:"top_box_text"},[a("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,i){return a("v-uni-view",{key:i,staticClass:"top_card"},[a("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[a("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?a("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?a("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?a("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?a("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?a("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),a("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?a("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?a("v-uni-text",[t._v("包邮券")]):t._e()],1),a("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),a("v-uni-view",{staticClass:"top_card_number"},[a("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?a("v-uni-view",[a("v-uni-view",[a("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}}),a("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}})],1)],1):t._e(),this.packShow?a("v-uni-view",[a("v-uni-view",{staticClass:"top"},[a("v-uni-view",{staticClass:"top_box"},[a("v-uni-view",{staticClass:"top_box_text"},[a("v-uni-text",[t._v("———")])],1),a("v-uni-view",{staticClass:"top_box_text"},[a("v-uni-text",[t._v("新人专享福利")])],1),a("v-uni-view",{staticClass:"top_box_text"},[a("v-uni-text",[t._v("———")])],1)],1),this.integralShow?a("v-uni-view",[a("v-uni-view",{staticClass:"top_box_image"},[a("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),a("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?a("v-uni-view",[a("v-uni-view",{staticClass:"top_box_image"},[a("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),a("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?a("v-uni-view",{staticClass:"foot_box"},[a("v-uni-view",{staticClass:"foot_box_title"},[a("v-uni-text",[t._v("活动规则:")])],1),a("v-uni-view",{staticClass:"foot_box_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),a("v-uni-view",{staticClass:"button_box"},[a("v-uni-view",[a("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),a("v-uni-view",{staticClass:"button_text"},[a("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),a("v-uni-view",{staticClass:"foot_empty"}),a("v-uni-view",{staticClass:"foot_button"},[a("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];a.d(e,"b",function(){return n}),a.d(e,"c",function(){return o}),a.d(e,"a",function(){return i})},"7a85":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a481");var i={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",getOrderType:"",getOrderNumber:"",getOrderGoodsId:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.getOrderType=t.orderType,this.getOrderNumber=t.orderNumber,this.getOrderGoodsId=t.orderGoodsId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID,orderType:this.getOrderType,orderNumber:this.getOrderNumber,orderGoodsId:this.getOrderGoodsId},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg),uni.hideLoading()}}),setTimeout(function(){uni.hideLoading()},2e3)},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"2",giftBagId:t.giftID,storeId:t.getStorageID,userId:t.getUserID,orderType:this.getOrderType,orderNumber:this.getOrderNumber,orderGoodsId:this.getOrderGoodsId},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()}}),setTimeout(function(){uni.hideLoading()},2e3)}}};e.default=i},c5aa:function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-2c40a0aa]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-2c40a0aa]{width:100%;height:%?690?%}.top[data-v-2c40a0aa]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-2c40a0aa]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-2c40a0aa]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-2c40a0aa]{color:#5b98f5;font-size:%?40?%}.top_item[data-v-2c40a0aa]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-2c40a0aa]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-2c40a0aa]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-2c40a0aa]{float:left;width:64%}.top_item_center_title[data-v-2c40a0aa]{font-size:%?35?%;color:#5b98f5;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?10?% %?0?%;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/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-2c40a0aa]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.top_item_number[data-v-2c40a0aa]{float:right;font-size:%?25?%;color:#5d93f5;padding-right:%?10?%}.top_card[data-v-2c40a0aa]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-2c40a0aa]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-2c40a0aa]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-2c40a0aa]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-2c40a0aa]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-2c40a0aa]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-2c40a0aa]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-2c40a0aa]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-2c40a0aa]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-2c40a0aa]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-2c40a0aa]{padding:%?30?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-2c40a0aa]{padding:%?5?% 0 %?20?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_number[data-v-2c40a0aa]{padding:%?5?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_box_image[data-v-2c40a0aa]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-2c40a0aa]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-2c40a0aa]{margin:%?15?% %?95?% %?0?% %?95?%;background:#5d93f5;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-2c40a0aa]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-2c40a0aa]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-2c40a0aa]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-2c40a0aa]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-2c40a0aa]{margin:0 %?30?%;background:#6d9ef6;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-2c40a0aa]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-2c40a0aa]{height:%?90?%}.foot_button[data-v-2c40a0aa]{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_buy[data-v-2c40a0aa]{background:#5d93f5;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-2c40a0aa]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-2c40a0aa]{background-color:#4784ef}uni-button[data-v-2c40a0aa]:after{border:none}.foot_box_text[data-v-2c40a0aa] img{width:100%}.foot_box_text[data-v-2c40a0aa] .img{line-height:0}body.?%PAGE?%[data-v-2c40a0aa]{background-color:#4784ef}',""])}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-EvaluateGift.d0bce90d.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-EvaluateGift"],{"05d2":function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?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_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})},"15d0":function(t,e,i){"use strict";i.r(e);var a=i("05d2"),n=i("1d95");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("6d4e");var r,s=i("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"d3fe21e6",null,!1,a["a"],r);e["default"]=d.exports},"1d95":function(t,e,i){"use strict";i.r(e);var a=i("7a85"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).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={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},"45da":function(t,e,i){var a=i("6a22");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("74f615a0",a,!0,{sourceMap:!1,shadowMode:!1})},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],d=o[2],c=o[3],u={id:t+":"+n,css:s,media:d,sourceMap:c};a[r]?a[r].parts.push(u):i.push(a[r]={id:r,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return g});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)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=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,d=0,c=!1,u=function(){},p=null,f="data-vue-ssr-id",l="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(t,e,i,n){c=i,p=n||{};var r=a(t,e);return v(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],d=o[s.id];d.refs--,i.push(d)}e?(r=a(t,e),v(r)):r=[];for(n=0;n<i.length;n++){d=i[n];if(0===d.refs){for(var c=0;c<d.parts.length;c++)d.parts[c]();delete o[d.id]}}}}function v(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(h(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(h(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+f+'~="'+t.id+'"]');if(a){if(c)return u;a.parentNode.removeChild(a)}if(l){var n=d++;a=s||(s=b()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=b(),e=w.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 _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=_(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),p.ssrId&&t.setAttribute(f,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,S=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,I=/var\(--status-bar-height\)/gi,C=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(I,e+"(safe-area-inset-top)").replace(C,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(T,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var i=G();if(!uni.canIUse("css.var")){var a=U();t=t.replace(I,"0px").replace(C,a.top+"px").replace(T,a.bottom+"px")}return t.replace(k,i).replace(y,"").replace(S,"body."+i+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function U(){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}}},"6a22":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-d3fe21e6]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-d3fe21e6]{width:100%;height:%?690?%}.top[data-v-d3fe21e6]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-d3fe21e6]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-d3fe21e6]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-d3fe21e6]{color:#5b98f5;font-size:%?40?%}.top_item[data-v-d3fe21e6]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-d3fe21e6]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-d3fe21e6]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-d3fe21e6]{float:left;width:64%}.top_item_center_title[data-v-d3fe21e6]{font-size:%?35?%;color:#5b98f5;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?10?% %?0?%;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/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-d3fe21e6]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.top_item_number[data-v-d3fe21e6]{float:right;font-size:%?25?%;color:#5d93f5;padding-right:%?10?%}.top_card[data-v-d3fe21e6]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-d3fe21e6]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-d3fe21e6]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-d3fe21e6]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-d3fe21e6]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-d3fe21e6]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-d3fe21e6]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-d3fe21e6]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-d3fe21e6]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-d3fe21e6]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-d3fe21e6]{padding:%?30?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-d3fe21e6]{padding:%?5?% 0 %?20?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_number[data-v-d3fe21e6]{padding:%?5?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_box_image[data-v-d3fe21e6]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-d3fe21e6]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-d3fe21e6]{margin:%?15?% %?95?% %?0?% %?95?%;background:#5d93f5;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-d3fe21e6]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-d3fe21e6]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-d3fe21e6]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-d3fe21e6]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-d3fe21e6]{margin:0 %?30?%;background:#6d9ef6;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-d3fe21e6]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-d3fe21e6]{height:%?90?%}.foot_button[data-v-d3fe21e6]{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_buy[data-v-d3fe21e6]{background:#5d93f5;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-d3fe21e6]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-d3fe21e6]{background-color:#4784ef}uni-button[data-v-d3fe21e6]:after{border:none}.foot_box_text[data-v-d3fe21e6] img{width:100%}.foot_box_text[data-v-d3fe21e6] .img{line-height:0}body.?%PAGE?%[data-v-d3fe21e6]{background-color:#4784ef}',""])},"6d4e":function(t,e,i){"use strict";var a=i("45da"),n=i.n(a);n.a},"7a85":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",getOrderType:"",getOrderNumber:"",getOrderGoodsId:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.getOrderType=t.orderType,this.getOrderNumber=t.orderNumber,this.getOrderGoodsId=t.orderGoodsId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID,orderType:this.getOrderType,orderNumber:this.getOrderNumber,orderGoodsId:this.getOrderGoodsId},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"2",giftBagId:t.giftID,storeId:t.getStorageID,userId:t.getUserID,orderType:this.getOrderType,orderNumber:this.getOrderNumber,orderGoodsId:this.getOrderGoodsId},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-GiftPackage-HolidayGift.4b868bd2.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-HolidayGift"],{"0202":function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"image_box"},[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:"../../static/img/holiday00.jpg"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?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_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})},1284:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,console.log(e.data.data.actIntro),t.textTitle=e.data.data.actIntro)):console.log(e.data.msg),uni.hideLoading()}}),setTimeout(function(){uni.hideLoading()},2e3)},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"3",giftBagId:t.giftID,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),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()}}),setTimeout(function(){uni.hideLoading()},2e3)}}};e.default=a},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).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={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},"3fef":function(t,e,i){"use strict";var a=i("d0d3"),n=i.n(a);n.a},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],d=o[2],c=o[3],u={id:t+":"+n,css:s,media:d,sourceMap:c};a[r]?a[r].parts.push(u):i.push(a[r]={id:r,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return v});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)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=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,d=0,c=!1,u=function(){},f=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,i,n){c=i,f=n||{};var r=a(t,e);return g(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],d=o[s.id];d.refs--,i.push(d)}e?(r=a(t,e),g(r)):r=[];for(n=0;n<i.length;n++){d=i[n];if(0===d.refs){for(var c=0;c<d.parts.length;c++)d.parts[c]();delete o[d.id]}}}}function g(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(_(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(_(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function _(t){var e,i,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(c)return u;a.parentNode.removeChild(a)}if(p){var n=d++;a=s||(s=b()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=b(),e=w.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 h=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=h(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),f.ssrId&&t.setAttribute(l,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,C=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,S=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(S,e+"(safe-area-inset-top)").replace(I,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(T,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var i=U();if(!uni.canIUse("css.var")){var a=G();t=t.replace(S,"0px").replace(I,a.top+"px").replace(T,a.bottom+"px")}return t.replace(k,i).replace(y,"").replace(C,"body."+i+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function U(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function G(){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}}},"84a3":function(t,e,i){"use strict";i.r(e);var a=i("1284"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},a444:function(t,e,i){"use strict";i.r(e);var a=i("0202"),n=i("84a3");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("3fef");var r,s=i("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"543684fd",null,!1,a["a"],r);e["default"]=d.exports},d0d3:function(t,e,i){var a=i("e552");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("24932f88",a,!0,{sourceMap:!1,shadowMode:!1})},e552:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-543684fd]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-543684fd]{width:100%;height:%?690?%}.top[data-v-543684fd]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-543684fd]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-543684fd]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_item[data-v-543684fd]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-543684fd]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-543684fd]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-543684fd]{float:left;width:64%}.top_item_center_title[data-v-543684fd]{font-size:%?35?%;color:#fb6451;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?10?% %?0?%;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/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-543684fd]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.top_card[data-v-543684fd]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-543684fd]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-543684fd]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-543684fd]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-543684fd]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-543684fd]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-543684fd]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-543684fd]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-543684fd]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-543684fd]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-543684fd]{padding:%?30?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-543684fd]{padding:%?5?% 0 %?20?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_number[data-v-543684fd]{padding:%?5?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_box_image[data-v-543684fd]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-543684fd]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-543684fd]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-543684fd]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-543684fd]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-543684fd]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-543684fd]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button_text[data-v-543684fd]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-543684fd]{height:%?90?%}.foot_button[data-v-543684fd]{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_notbuy[data-v-543684fd]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-543684fd]{background-color:#ffb72d}uni-button[data-v-543684fd]:after{border:none}.top_box_text uni-text[data-v-543684fd]{color:#ffb72d;font-size:%?40?%}.button[data-v-543684fd]{margin:0 %?30?%;background:#ffdb97;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.top_item_number[data-v-543684fd]{float:right;font-size:%?25?%;color:#ffb72d;padding-right:%?10?%}.foot_button_buy[data-v-543684fd]{background:#ffb72d;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_box_text[data-v-543684fd] img{width:100%}.foot_box_text[data-v-543684fd] .img{line-height:0}body.?%PAGE?%[data-v-543684fd]{background-color:#ffb72d}',""])}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-HolidayGift.697875c1.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-HolidayGift"],{1284:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,console.log(e.data.data.actIntro),t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"3",giftBagId:t.giftID,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),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a},1313:function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"image_box"},[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:"../../static/img/holiday00.jpg"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?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_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).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={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},"40ea":function(t,e,i){"use strict";var a=i("a053"),n=i.n(a);n.a},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],d=o[2],c=o[3],u={id:t+":"+n,css:s,media:d,sourceMap:c};a[r]?a[r].parts.push(u):i.push(a[r]={id:r,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return b});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)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=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,d=0,c=!1,u=function(){},l=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function b(t,e,i,n){c=i,l=n||{};var r=a(t,e);return v(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],d=o[s.id];d.refs--,i.push(d)}e?(r=a(t,e),v(r)):r=[];for(n=0;n<i.length;n++){d=i[n];if(0===d.refs){for(var c=0;c<d.parts.length;c++)d.parts[c]();delete o[d.id]}}}}function v(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(_(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(_(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function g(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function _(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(c)return u;a.parentNode.removeChild(a)}if(f){var n=d++;a=s||(s=g()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=g(),e=w.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 h=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=h(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),l.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,C=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,S=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(S,e+"(safe-area-inset-top)").replace(I,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(T,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var i=U();if(!uni.canIUse("css.var")){var a=G();t=t.replace(S,"0px").replace(I,a.top+"px").replace(T,a.bottom+"px")}return t.replace(k,i).replace(y,"").replace(C,"body."+i+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function U(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function G(){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}}},"84a3":function(t,e,i){"use strict";i.r(e);var a=i("1284"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},a053:function(t,e,i){var a=i("c91d");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("ba8c16ea",a,!0,{sourceMap:!1,shadowMode:!1})},a444:function(t,e,i){"use strict";i.r(e);var a=i("1313"),n=i("84a3");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("40ea");var r,s=i("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7205b0ed",null,!1,a["a"],r);e["default"]=d.exports},c91d:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-7205b0ed]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-7205b0ed]{width:100%;height:%?690?%}.top[data-v-7205b0ed]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-7205b0ed]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-7205b0ed]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_item[data-v-7205b0ed]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-7205b0ed]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-7205b0ed]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-7205b0ed]{float:left;width:64%}.top_item_center_title[data-v-7205b0ed]{font-size:%?35?%;color:#fb6451;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?10?% %?0?%;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/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-7205b0ed]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.top_card[data-v-7205b0ed]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-7205b0ed]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-7205b0ed]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-7205b0ed]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-7205b0ed]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-7205b0ed]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-7205b0ed]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-7205b0ed]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-7205b0ed]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-7205b0ed]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-7205b0ed]{padding:%?30?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-7205b0ed]{padding:%?5?% 0 %?20?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_number[data-v-7205b0ed]{padding:%?5?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_box_image[data-v-7205b0ed]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-7205b0ed]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-7205b0ed]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-7205b0ed]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-7205b0ed]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-7205b0ed]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-7205b0ed]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button_text[data-v-7205b0ed]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-7205b0ed]{height:%?90?%}.foot_button[data-v-7205b0ed]{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_notbuy[data-v-7205b0ed]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-7205b0ed]{background-color:#ffb72d}uni-button[data-v-7205b0ed]:after{border:none}.top_box_text uni-text[data-v-7205b0ed]{color:#ffb72d;font-size:%?40?%}.button[data-v-7205b0ed]{margin:0 %?30?%;background:#ffdb97;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.top_item_number[data-v-7205b0ed]{float:right;font-size:%?25?%;color:#ffb72d;padding-right:%?10?%}.foot_button_buy[data-v-7205b0ed]{background:#ffb72d;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_box_text[data-v-7205b0ed] img{width:100%}.foot_box_text[data-v-7205b0ed] .img{line-height:0}body.?%PAGE?%[data-v-7205b0ed]{background-color:#ffb72d}',""])}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-GiftPackage-NewVipGift.c8108f33.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-NewVipGift"],{"1f47":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-13c00642]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-13c00642]{width:100%;height:%?690?%}.top[data-v-13c00642]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-13c00642]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-13c00642]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-13c00642]{color:#fb6451;font-size:%?40?%}.top_item[data-v-13c00642]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-13c00642]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-13c00642]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-13c00642]{float:left;width:64%}.top_item_center_title[data-v-13c00642]{font-size:%?35?%;color:#fb6451;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?10?% %?0?%;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/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-13c00642]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.top_item_number[data-v-13c00642]{float:right;font-size:%?25?%;color:#e4010c;padding-right:%?10?%}.top_card[data-v-13c00642]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-13c00642]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-13c00642]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-13c00642]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-13c00642]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-13c00642]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-13c00642]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-13c00642]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-13c00642]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-13c00642]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-13c00642]{padding:%?30?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-13c00642]{padding:%?5?% 0 %?20?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_number[data-v-13c00642]{padding:%?5?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_box_image[data-v-13c00642]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-13c00642]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-13c00642]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-13c00642]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-13c00642]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-13c00642]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-13c00642]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-13c00642]{margin:0 %?30?%;background:#ff9a8c;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-13c00642]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-13c00642]{height:%?90?%}.foot_button[data-v-13c00642]{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_buy[data-v-13c00642]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-13c00642]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-13c00642]{background-color:#fb6451}uni-button[data-v-13c00642]:after{border:none}.foot_box_text[data-v-13c00642] img{width:100%}.foot_box_text[data-v-13c00642] .img{line-height:0}body.?%PAGE?%[data-v-13c00642]{background-color:#fb6451}',""])},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).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={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},2583:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,console.log(e.data.data.actIntro),t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"1",giftBagId:t.giftID,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),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],c=o[2],d=o[3],u={id:t+":"+n,css:s,media:c,sourceMap:d};a[r]?a[r].parts.push(u):i.push(a[r]={id:r,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return v});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)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=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,d=!1,u=function(){},p=null,l="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,i,n){d=i,p=n||{};var r=a(t,e);return g(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],c=o[s.id];c.refs--,i.push(c)}e?(r=a(t,e),g(r)):r=[];for(n=0;n<i.length;n++){c=i[n];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete o[c.id]}}}}function g(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(_(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(_(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function _(t){var e,i,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(d)return u;a.parentNode.removeChild(a)}if(f){var n=c++;a=s||(s=b()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=b(),e=w.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 h=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=h(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),p.ssrId&&t.setAttribute(l,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,S=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(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(I,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(T,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var i=G();if(!uni.canIUse("css.var")){var a=U();t=t.replace(C,"0px").replace(I,a.top+"px").replace(T,a.bottom+"px")}return t.replace(k,i).replace(y,"").replace(S,"body."+i+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function U(){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}}},"50ad":function(t,e,i){"use strict";var a=i("5cb4"),n=i.n(a);n.a},"5cb4":function(t,e,i){var a=i("1f47");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("7dcefc96",a,!0,{sourceMap:!1,shadowMode:!1})},8167:function(t,e,i){"use strict";i.r(e);var a=i("2583"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},be2b:function(t,e,i){"use strict";i.r(e);var a=i("eafc"),n=i("8167");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("50ad");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"13c00642",null,!1,a["a"],r);e["default"]=c.exports},eafc:function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"image_box"},[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?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_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-GiftPackage-NewVipGift.ddd278cb.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-NewVipGift"],{2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).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={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},2583:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="价值"+e.data.data.lbIntegral+"积分",t.growUpTitle="价值"+e.data.data.lbGrowthValue+"成长值",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,console.log(e.data.data.actIntro),t.textTitle=e.data.data.actIntro)):console.log(e.data.msg),uni.hideLoading()}}),setTimeout(function(){uni.hideLoading()},2e3)},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"1",giftBagId:t.giftID,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),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()}}),setTimeout(function(){uni.hideLoading()},2e3)}}};e.default=a},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],c=o[2],d=o[3],u={id:t+":"+n,css:s,media:c,sourceMap:d};a[r]?a[r].parts.push(u):i.push(a[r]={id:r,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return v});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)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=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,d=!1,u=function(){},p=null,l="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,i,n){d=i,p=n||{};var r=a(t,e);return g(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],c=o[s.id];c.refs--,i.push(c)}e?(r=a(t,e),g(r)):r=[];for(n=0;n<i.length;n++){c=i[n];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete o[c.id]}}}}function g(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(_(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(_(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function _(t){var e,i,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(d)return u;a.parentNode.removeChild(a)}if(f){var n=c++;a=s||(s=b()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=b(),e=w.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 h=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=h(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),p.ssrId&&t.setAttribute(l,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,S=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(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(I,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(T,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var i=G();if(!uni.canIUse("css.var")){var a=U();t=t.replace(C,"0px").replace(I,a.top+"px").replace(T,a.bottom+"px")}return t.replace(k,i).replace(y,"").replace(S,"body."+i+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function U(){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}}},5626:function(t,e,i){"use strict";var a=i("ff94"),n=i.n(a);n.a},"6b52":function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"image_box"},[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:""==e.fromImage?t.$GetInfo.imgHttp+"/miniapp/images/giftbag/empty.jpg":t.$GetInfo.imgHttp+e.fromImage}})],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1),i("v-uni-view",{staticClass:"top_item_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},["1"!=e.isPack?i("v-uni-text",[t._v(t._s(e.sum)+"元券")]):t._e(),"1"==e.isPack?i("v-uni-text",[t._v("包邮券")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{staticClass:"top_card_number"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?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_text",domProps:{innerHTML:t._s(this.textTitle)}})],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},o=[];i.d(e,"b",function(){return n}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a})},8167:function(t,e,i){"use strict";i.r(e);var a=i("2583"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},be2b:function(t,e,i){"use strict";i.r(e);var a=i("6b52"),n=i("8167");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("5626");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"64405352",null,!1,a["a"],r);e["default"]=c.exports},e18e:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-64405352]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-64405352]{width:100%;height:%?690?%}.top[data-v-64405352]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-64405352]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-64405352]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-64405352]{color:#fb6451;font-size:%?40?%}.top_item[data-v-64405352]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-64405352]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-64405352]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-64405352]{float:left;width:64%}.top_item_center_title[data-v-64405352]{font-size:%?35?%;color:#fb6451;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?10?% %?0?%;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/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-64405352]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.top_item_number[data-v-64405352]{float:right;font-size:%?25?%;color:#e4010c;padding-right:%?10?%}.top_card[data-v-64405352]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-64405352]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-64405352]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-64405352]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-64405352]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-64405352]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-64405352]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-64405352]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-64405352]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-64405352]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-64405352]{padding:%?30?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-64405352]{padding:%?5?% 0 %?20?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_number[data-v-64405352]{padding:%?5?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_box_image[data-v-64405352]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-64405352]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-64405352]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-64405352]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-64405352]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-64405352]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-64405352]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-64405352]{margin:0 %?30?%;background:#ff9a8c;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-64405352]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-64405352]{height:%?90?%}.foot_button[data-v-64405352]{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_buy[data-v-64405352]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-64405352]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-64405352]{background-color:#fb6451}uni-button[data-v-64405352]:after{border:none}.foot_box_text[data-v-64405352] img{width:100%}.foot_box_text[data-v-64405352] .img{line-height:0}body.?%PAGE?%[data-v-64405352]{background-color:#fb6451}',""])},ff94:function(t,e,i){var a=i("e18e");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("dd12cc52",a,!0,{sourceMap:!1,shadowMode:!1})}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-GiftPackBuy.a7cf4328.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackBuy"],{"0203":function(t,e,n){"use strict";n.r(e);var i=n("f995"),o=n("89bc");for(var a in o)"default"!==a&&function(t){n.d(e,t,function(){return o[t]})}(a);n("7047");var r,c=n("f0c5"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"5edcbd7c",null,!1,i["a"],r);e["default"]=s.exports},2350:function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===typeof btoa){var a=i(o),r=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[n].concat(r).concat([a]).join("\n")}return[n].join("\n")}function i(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 i=n(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var i={},o=0;o<this.length;o++){var a=this[o][0];"number"===typeof a&&(i[a]=!0)}for(o=0;o<t.length;o++){var r=t[o];"number"===typeof r[0]&&i[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 i,o=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)},a=[];n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return i})},"4f06":function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},o=0;o<e.length;o++){var a=e[o],r=a[0],c=a[1],s=a[2],d=a[3],u={id:t+":"+o,css:c,media:s,sourceMap:d};i[r]?i[r].parts.push(u):n.push(i[r]={id:r,parts:[u]})}return n}n.r(e),n.d(e,"default",function(){return b});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 a={},r=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,s=0,d=!1,u=function(){},l=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function b(t,e,n,o){d=n,l=o||{};var r=i(t,e);return g(r),function(e){for(var n=[],o=0;o<r.length;o++){var c=r[o],s=a[c.id];s.refs--,n.push(s)}e?(r=i(t,e),g(r)):r=[];for(o=0;o<n.length;o++){s=n[o];if(0===s.refs){for(var d=0;d<s.parts.length;d++)s.parts[d]();delete a[s.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],i=a[n.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](n.parts[o]);for(;o<n.parts.length;o++)i.parts.push(m(n.parts[o]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var r=[];for(o=0;o<n.parts.length;o++)r.push(m(n.parts[o]));a[n.id]={id:n.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function m(t){var e,n,i=document.querySelector("style["+f+'~="'+t.id+'"]');if(i){if(d)return u;i.parentNode.removeChild(i)}if(p){var o=s++;i=c||(c=v()),e=y.bind(null,i,o,!1),n=y.bind(null,i,o,!0)}else i=v(),e=_.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var h=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,i){var o=n?"":S(i.css);if(t.styleSheet)t.styleSheet.cssText=h(e,o);else{var a=document.createTextNode(o),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(a,r[e]):t.appendChild(a)}}function _(t,e){var n=S(e.css),i=e.media,o=e.sourceMap;if(i&&t.setAttribute("media",i),l.ssrId&&t.setAttribute(f,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,x=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,I=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,T=/var\(--window-top\)/gi,G=/var\(--window-bottom\)/gi;function S(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(T,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(G,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var n=M();if(!uni.canIUse("css.var")){var i=$();t=t.replace(C,"0px").replace(T,i.top+"px").replace(G,i.bottom+"px")}return t.replace(k,n).replace(x,"").replace(I,"body."+n+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function M(){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}}},6447:function(t,e,n){var i=n("7bf1");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("e8132bde",i,!0,{sourceMap:!1,shadowMode:!1})},7047:function(t,e,n){"use strict";var i=n("a85d"),o=n.n(i);o.a},"793c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={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=i},"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}',""])},"89bc":function(t,e,n){"use strict";n.r(e);var i=n("acf7"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,function(){return i[t]})}(a);e["default"]=o.a},"8b7c":function(t,e,n){"use strict";n.r(e);var i=n("3a9c"),o=n("aea3");for(var a in o)"default"!==a&&function(t){n.d(e,t,function(){return o[t]})}(a);n("a66d");var r,c=n("f0c5"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"9a2b4550",null,!1,i["a"],r);e["default"]=s.exports},"95cc":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 */uni-page-body[data-v-5edcbd7c]{background-color:#fb7454}.top_img[data-v-5edcbd7c]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-5edcbd7c]{width:100%}.top_title[data-v-5edcbd7c]{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-5edcbd7c]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-5edcbd7c]{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-5edcbd7c]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-5edcbd7c]{font-size:%?30?%;color:#000}.content_box[data-v-5edcbd7c]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-5edcbd7c]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-5edcbd7c]{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-5edcbd7c]{width:100%;height:%?230?%}.content_box_title[data-v-5edcbd7c]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-5edcbd7c]{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-5edcbd7c]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-5edcbd7c]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-5edcbd7c]{font-size:%?25?%;color:#000;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-5edcbd7c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;position:relative}.box_button_remark[data-v-5edcbd7c]{margin:%?15?% %?0?% %?0?% %?30?%;width:50%;position:absolute;left:%?5?%;bottom:%?15?%}.box_button_remark uni-text[data-v-5edcbd7c]{font-size:%?28?%;color:#b9b5b5}.box_button_buy[data-v-5edcbd7c]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_buy uni-button[data-v-5edcbd7c]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#d41c34;color:#fff;line-height:%?50?%}.box_button_dui[data-v-5edcbd7c]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_dui uni-button[data-v-5edcbd7c]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#fff;color:#000;line-height:%?50?%}.foot_box[data-v-5edcbd7c]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-5edcbd7c]{font-size:%?25?%;color:#fff}.foot_empty[data-v-5edcbd7c]{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-5edcbd7c]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-5edcbd7c]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-5edcbd7c]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-5edcbd7c]{font-size:%?28?%;color:#fff}body.?%PAGE?%[data-v-5edcbd7c]{background-color:#fb7454}',""])},a66d:function(t,e,n){"use strict";var i=n("6447"),o=n.n(i);o.a},a85d:function(t,e,n){var i=n("95cc");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("3c7b8d42",i,!0,{sourceMap:!1,shadowMode:!1})},acf7:function(t,e,n){"use strict";var i=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("8b7c")),a={data:function(){return{getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,isEmpty:!1,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:o.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:{MyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/MyGiftPack?stoid="+this.getStorageID+"&userid="+this.getUserID})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=1&stoid="+this.getStorageID+"&userid="+this.getUserID+"&id="+t})},GetBuyPrice:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定购买该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.showLoading({title:"加载中",mask:!0}),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",giftBagId:t,storeId:n.getStorageID,userId:n.getUserID,buyFrom:"1"},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),console.log(n.$GetInfo.HtmlHttp+"/mobile/Payment/getPay/stoid/"+n.getStorageID+"/order_sn/"+t.data.data.orderSn),window.location.href=n.$GetInfo.HtmlHttp+"/Mobile/Payment/getPay.html?stoid="+n.getStorageID+"&order_sn="+t.data.data.orderSn+"&recharge_type=6"):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg})),uni.hideLoading()}}),setTimeout(function(){uni.hideLoading()},2e3)):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.showLoading({title:"加载中",mask:!0}),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",giftBagId:t,storeId:n.getStorageID,userId:n.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()}}),setTimeout(function(){uni.hideLoading()},2e3)):e.cancel&&console.log("用户点击取消"),uni.hideLoading()}})},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/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(e.data.data.total>0?t.isEmpty=!1:t.isEmpty=!0,0==e.data.data.pageData.length)t.loadingType=2;else{for(var n=0;n<e.data.data.pageData.length;n++)t.wareCard.push(e.data.data.pageData[n]);t.loadingType=0}uni.hideLoading()}}),setTimeout(function(){uni.hideLoading()},2e3)},GetWebHttp:function(){window.location.href=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html"}}};e.default=a},aea3:function(t,e,n){"use strict";n.r(e);var i=n("793c"),o=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,function(){return i[t]})}(a);e["default"]=o.a},f995:function(t,e,n){"use strict";var i,o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"top_img"},[n("v-uni-view",{staticClass:"top_img"},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift00.jpg"}})],1),n("v-uni-view",{staticClass:"top_title"},[n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_redtext"},[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_blacktext",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.MyGift.apply(void 0,arguments)}}},[t._v("我的礼包")])],1)],1),t._l(t.wareCard,function(e,i){return n("v-uni-view",{key:i,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.lbId,e)}}},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.lbUrl}})],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.lbId,e)}}},[t._v(t._s(e.giftTitle))])],1),n("v-uni-view",{staticClass:"content_ware_type"},[e.payMoney>0?n("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),e.payMoney>0&&e.payIntegral>0?n("v-uni-text",[t._v("/")]):t._e(),e.payIntegral>0?n("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):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"},[n("v-uni-text",[t._v("活动结束时间:"+t._s(e.endTime))])],1)],1)],1),n("v-uni-view",{staticClass:"content_box_button"},[n("v-uni-view",{staticClass:"box_button_remark"},[n("v-uni-text",[t._v("已售:"+t._s(e.giftQty)+"件")])],1),e.payMoney>0?n("v-uni-view",{class:e.payMoney>0&e.payIntegral>0?"box_button_dui":"box_button_buy"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyPrice(e.lbId,e)}}},[t._v("立即购买")])],1):t._e(),e.payIntegral>0?n("v-uni-view",{class:(e.payMoney,e.payIntegral,"box_button_buy")},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyIntegral(e.lbId,e)}}},[t._v("立即兑换")])],1):t._e(),0==e.payMoney&0==e.payIntegral?n("v-uni-view",{staticClass:"box_button_dui"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyPrice(e.lbId,e)}}},[t._v("立即购买")])],1):t._e(),0==e.payMoney&0==e.payIntegral?n("v-uni-view",{staticClass:"box_button_buy"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyIntegral(e.lbId,e)}}},[t._v("立即兑换")])],1):t._e()],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.GetWebHttp.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)},a=[];n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"a",function(){return i})}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-GiftPackBuy.bace2d73.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackBuy"],{"0203":function(t,e,n){"use strict";n.r(e);var a=n("e425"),o=n("89bc");for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);n("240b");var r,c=n("f0c5"),s=Object(c["a"])(o["default"],a["b"],a["c"],!1,null,"d79a2bac",null,!1,a["a"],r);e["default"]=s.exports},2350:function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===typeof btoa){var i=a(o),r=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[n].concat(r).concat([i]).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={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(a[i]=!0)}for(o=0;o<t.length;o++){var r=t[o];"number"===typeof r[0]&&a[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),e.push(r))}},e}},"240b":function(t,e,n){"use strict";var a=n("727b"),o=n.n(a);o.a},3200: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 */uni-page-body[data-v-d79a2bac]{background-color:#fb7454}.top_img[data-v-d79a2bac]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-d79a2bac]{width:100%}.top_title[data-v-d79a2bac]{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-d79a2bac]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-d79a2bac]{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-d79a2bac]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-d79a2bac]{font-size:%?30?%;color:#000}.content_box[data-v-d79a2bac]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-d79a2bac]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-d79a2bac]{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-d79a2bac]{width:100%;height:%?230?%}.content_box_title[data-v-d79a2bac]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-d79a2bac]{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-d79a2bac]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-d79a2bac]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-d79a2bac]{font-size:%?25?%;color:#000;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-d79a2bac]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;position:relative}.box_button_remark[data-v-d79a2bac]{margin:%?15?% %?0?% %?0?% %?30?%;width:50%;position:absolute;left:%?5?%;bottom:%?15?%}.box_button_remark uni-text[data-v-d79a2bac]{font-size:%?28?%;color:#b9b5b5}.box_button_buy[data-v-d79a2bac]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_buy uni-button[data-v-d79a2bac]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#d41c34;color:#fff;line-height:%?50?%}.box_button_dui[data-v-d79a2bac]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_dui uni-button[data-v-d79a2bac]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#fff;color:#000;line-height:%?50?%}.foot_box[data-v-d79a2bac]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-d79a2bac]{font-size:%?25?%;color:#fff}.foot_empty[data-v-d79a2bac]{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-d79a2bac]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-d79a2bac]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-d79a2bac]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-d79a2bac]{font-size:%?28?%;color:#fff}body.?%PAGE?%[data-v-d79a2bac]{background-color:#fb7454}',""])},"3a9c":function(t,e,n){"use strict";var a,o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"uni-load-more"},["loading"===t.status&&t.showIcon?n("v-uni-view",{staticClass:"uni-load-more__img"},[n("v-uni-view",{staticClass:"loadingView",style:{color:t.color}},[t._v("")])],1):t._e(),n("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},i=[];n.d(e,"b",function(){return o}),n.d(e,"c",function(){return i}),n.d(e,"a",function(){return a})},"4f06":function(t,e,n){"use strict";function a(t,e){for(var n=[],a={},o=0;o<e.length;o++){var i=e[o],r=i[0],c=i[1],s=i[2],l=i[3],u={id:t+":"+o,css:c,media:s,sourceMap:l};a[r]?a[r].parts.push(u):n.push(a[r]={id:r,parts:[u]})}return n}n.r(e),n.d(e,"default",function(){return b});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 i={},r=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,s=0,l=!1,u=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function b(t,e,n,o){l=n,d=o||{};var r=a(t,e);return g(r),function(e){for(var n=[],o=0;o<r.length;o++){var c=r[o],s=i[c.id];s.refs--,n.push(s)}e?(r=a(t,e),g(r)):r=[];for(o=0;o<n.length;o++){s=n[o];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],a=i[n.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](n.parts[o]);for(;o<n.parts.length;o++)a.parts.push(m(n.parts[o]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(o=0;o<n.parts.length;o++)r.push(m(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function m(t){var e,n,a=document.querySelector("style["+f+'~="'+t.id+'"]');if(a){if(l)return u;a.parentNode.removeChild(a)}if(p){var o=s++;a=c||(c=v()),e=y.bind(null,a,o,!1),n=y.bind(null,a,o,!0)}else a=v(),e=_.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 h=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,a){var o=n?"":S(a.css);if(t.styleSheet)t.styleSheet.cssText=h(e,o);else{var i=document.createTextNode(o),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(i,r[e]):t.appendChild(i)}}function _(t,e){var n=S(e.css),a=e.media,o=e.sourceMap;if(a&&t.setAttribute("media",a),d.ssrId&&t.setAttribute(f,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,x=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,I=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,G=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function S(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(T,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var n=M();if(!uni.canIUse("css.var")){var a=$();t=t.replace(C,"0px").replace(G,a.top+"px").replace(T,a.bottom+"px")}return t.replace(k,n).replace(x,"").replace(I,"body."+n+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function M(){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}}},6447:function(t,e,n){var a=n("7bf1");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("e8132bde",a,!0,{sourceMap:!1,shadowMode:!1})},"727b":function(t,e,n){var a=n("3200");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("4fb84c1c",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}',""])},"89bc":function(t,e,n){"use strict";n.r(e);var a=n("acf7"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,function(){return a[t]})}(i);e["default"]=o.a},"8b7c":function(t,e,n){"use strict";n.r(e);var a=n("3a9c"),o=n("aea3");for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);n("a66d");var r,c=n("f0c5"),s=Object(c["a"])(o["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"),o=n.n(a);o.a},acf7:function(t,e,n){"use strict";var a=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("8b7c")),i={data:function(){return{getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,isEmpty:!1,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:o.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:{MyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/MyGiftPack?stoid="+this.getStorageID+"&userid="+this.getUserID})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=1&stoid="+this.getStorageID+"&userid="+this.getUserID+"&id="+t})},GetBuyPrice:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定购买该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",giftBagId:t,storeId:n.getStorageID,userId:n.getUserID,buyFrom:"1"},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),console.log(n.$GetInfo.HtmlHttp+"/mobile/Payment/getPay/stoid/"+n.getStorageID+"/order_sn/"+t.data.data.orderSn),window.location.href=n.$GetInfo.HtmlHttp+"/Mobile/Payment/getPay.html?stoid="+n.getStorageID+"&order_sn="+t.data.data.orderSn+"&recharge_type=6"):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",giftBagId:t,storeId:n.getStorageID,userId:n.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},getList:function(){var t=this;if(0!=t.loadingType)return!1;t.loadingType=1,uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/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(e.data.data.total>0?t.isEmpty=!1:t.isEmpty=!0,0==e.data.data.pageData.length)t.loadingType=2;else{for(var n=0;n<e.data.data.pageData.length;n++)t.wareCard.push(e.data.data.pageData[n]);t.loadingType=0}}})},GetWebHttp:function(){window.location.href=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html"}}};e.default=i},aea3:function(t,e,n){"use strict";n.r(e);var a=n("793c"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,function(){return a[t]})}(i);e["default"]=o.a},e425:function(t,e,n){"use strict";var a,o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"top_img"},[n("v-uni-view",{staticClass:"top_img"},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift00.jpg"}})],1),n("v-uni-view",{staticClass:"top_title"},[n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_redtext"},[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_blacktext",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.MyGift.apply(void 0,arguments)}}},[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.lbId,e)}}},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.lbUrl}})],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.lbId,e)}}},[t._v(t._s(e.giftTitle))])],1),n("v-uni-view",{staticClass:"content_ware_type"},[e.payMoney>0?n("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),e.payMoney>0&&e.payIntegral>0?n("v-uni-text",[t._v("/")]):t._e(),e.payIntegral>0?n("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):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"},[n("v-uni-text",[t._v("活动结束时间:"+t._s(e.endTime))])],1)],1)],1),n("v-uni-view",{staticClass:"content_box_button"},[n("v-uni-view",{staticClass:"box_button_remark"},[n("v-uni-text",[t._v("已售:"+t._s(e.giftQty)+"件")])],1),e.payMoney>0?n("v-uni-view",{class:e.payMoney>0&e.payIntegral>0?"box_button_dui":"box_button_buy"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyPrice(e.lbId,e)}}},[t._v("立即购买")])],1):t._e(),e.payIntegral>0?n("v-uni-view",{class:(e.payMoney,e.payIntegral,"box_button_buy")},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyIntegral(e.lbId,e)}}},[t._v("立即兑换")])],1):t._e(),0==e.payMoney&0==e.payIntegral?n("v-uni-view",{staticClass:"box_button_dui"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyPrice(e.lbId,e)}}},[t._v("立即购买")])],1):t._e(),0==e.payMoney&0==e.payIntegral?n("v-uni-view",{staticClass:"box_button_buy"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyIntegral(e.lbId,e)}}},[t._v("立即兑换")])],1):t._e()],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.GetWebHttp.apply(void 0,arguments)}}},[t._v("返回首页")])],1)],1):t._e(),n("v-uni-view",{staticClass:"foot_box"},[n("v-uni-text",[t._v("———— 到底了 ————")])],1)],2)},i=[];n.d(e,"b",function(){return o}),n.d(e,"c",function(){return i}),n.d(e,"a",function(){return a})}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-GiftPackList.13450d9f.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackList"],{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.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}))}}):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(){var t=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",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}))}})):e.cancel&&console.log("用户点击取消")}})},GetMyGiftList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,orderSn:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.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,console.log(t.giftState)}})},GetBuyGiftList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,giftBagId:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard}})},GetQrCode:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/gift/goods/verify/code/get",data:{storeId:t.getStorageID,orderSn:t.getGiftID},method:"PUT",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.data),uni.navigateTo({url:"/pages/MyGiftPack/QrCode?number="+t.data.data})):uni.showToast({icon:"none",title:t.data.msg})}})},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}},"4bf1":function(t,e,i){var a=i("7d9f");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("672d6774",a,!0,{sourceMap:!1,shadowMode:!1})},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},o=0;o<e.length;o++){var n=e[o],r=n[0],s=n[1],f=n[2],c=n[3],g={id:t+":"+o,css:s,media:f,sourceMap:c};a[r]?a[r].parts.push(g):i.push(a[r]={id:r,parts:[g]})}return i}i.r(e),i.d(e,"default",function(){return p});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var n={},r=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,f=0,c=!1,g=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){c=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],f=n[s.id];f.refs--,i.push(f)}e?(r=a(t,e),v(r)):r=[];for(o=0;o<i.length;o++){f=i[o];if(0===f.refs){for(var c=0;c<f.parts.length;c++)f.parts[c]();delete n[f.id]}}}}function v(t){for(var e=0;e<t.length;e++){var i=t[e],a=n[i.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](i.parts[o]);for(;o<i.parts.length;o++)a.parts.push(h(i.parts[o]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(o=0;o<i.parts.length;o++)r.push(h(i.parts[o]));n[i.id]={id:i.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+u+'~="'+t.id+'"]');if(a){if(c)return g;a.parentNode.removeChild(a)}if(l){var o=f++;a=s||(s=b()),e=_.bind(null,a,o,!1),i=_.bind(null,a,o,!0)}else a=b(),e=y.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var m=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function _(t,e,i,a){var o=i?"":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}}},"7afd":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})},"7d9f":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-6f7ef33c]{-webkit-align-content:center;align-content:center}.box_top[data-v-6f7ef33c]{width:100%}.box_top uni-image[data-v-6f7ef33c]{width:100%}.box_title[data-v-6f7ef33c]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-6f7ef33c]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-6f7ef33c]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-6f7ef33c]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-6f7ef33c]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-6f7ef33c]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-6f7ef33c]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-6f7ef33c]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-6f7ef33c]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-6f7ef33c]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-6f7ef33c]{width:19%;height:%?110?%;border:#f5f5f5 solid %?1?%}.box_ware_img uni-image[data-v-6f7ef33c]{width:100%;height:100%}.box_ware_item[data-v-6f7ef33c]{width:82%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-6f7ef33c]{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-6f7ef33c]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-6f7ef33c]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-6f7ef33c]{font-size:%?25?%;position:absolute;bottom:%?5?%;left:0}.box_ware_code[data-v-6f7ef33c]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-6f7ef33c]{width:%?40?%;height:%?40?%}.box_ware_code uni-text[data-v-6f7ef33c]{font-size:%?20?%}.foot_box[data-v-6f7ef33c]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-6f7ef33c]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-6f7ef33c]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-6f7ef33c]{height:%?90?%}.foot_button[data-v-6f7ef33c]{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-6f7ef33c]{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-6f7ef33c]{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-6f7ef33c]{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-6f7ef33c]{background:#999}.foot_button_intalge[data-v-6f7ef33c]{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-6f7ef33c]{background-color:#e85f93}.foot_box_remark[data-v-6f7ef33c] img{width:100%}.foot_box_remark[data-v-6f7ef33c] .img{line-height:0}body.?%PAGE?%[data-v-6f7ef33c]{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("7afd"),o=i("916e");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("945b");var r,s=i("f0c5"),f=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"6f7ef33c",null,!1,a["a"],r);e["default"]=f.exports},"945b":function(t,e,i){"use strict";var a=i("4bf1"),o=i.n(a);o.a}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-GiftPackList.a3faecd6.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackList"],{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()}}),setTimeout(function(){uni.hideLoading()},2e3)):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()}}),setTimeout(function(){uni.hideLoading()},2e3)):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)}}),setTimeout(function(){uni.hideLoading()},2e3)},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()}}),setTimeout(function(){uni.hideLoading()},2e3)},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()}}),setTimeout(function(){uni.hideLoading()},2e3)},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}},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},o=0;o<e.length;o++){var n=e[o],r=n[0],s=n[1],f=n[2],d=n[3],g={id:t+":"+o,css:s,media:f,sourceMap:d};a[r]?a[r].parts.push(g):i.push(a[r]={id:r,parts:[g]})}return i}i.r(e),i.d(e,"default",function(){return p});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var n={},r=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,f=0,d=!1,g=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){d=i,u=o||{};var r=a(t,e);return v(r),function(e){for(var i=[],o=0;o<r.length;o++){var s=r[o],f=n[s.id];f.refs--,i.push(f)}e?(r=a(t,e),v(r)):r=[];for(o=0;o<i.length;o++){f=i[o];if(0===f.refs){for(var d=0;d<f.parts.length;d++)f.parts[d]();delete n[f.id]}}}}function v(t){for(var e=0;e<t.length;e++){var i=t[e],a=n[i.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](i.parts[o]);for(;o<i.parts.length;o++)a.parts.push(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(d)return g;a.parentNode.removeChild(a)}if(l){var o=f++;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),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,T=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,I=/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(T,i).replace(x,"").replace(I,"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}}},"699e":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})},"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("699e"),o=i("916e");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("9dba");var r,s=i("f0c5"),f=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"5f68f90a",null,!1,a["a"],r);e["default"]=f.exports},"9dba":function(t,e,i){"use strict";var a=i("d0c1"),o=i.n(a);o.a},c01a: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-5f68f90a]{-webkit-align-content:center;align-content:center}.box_top[data-v-5f68f90a]{width:100%}.box_top uni-image[data-v-5f68f90a]{width:100%}.box_title[data-v-5f68f90a]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-5f68f90a]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-5f68f90a]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-5f68f90a]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-5f68f90a]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-5f68f90a]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-5f68f90a]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-5f68f90a]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-5f68f90a]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-5f68f90a]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-5f68f90a]{width:19%;height:%?110?%;border:#f5f5f5 solid %?1?%}.box_ware_img uni-image[data-v-5f68f90a]{width:100%;height:100%}.box_ware_item[data-v-5f68f90a]{width:82%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-5f68f90a]{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-5f68f90a]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-5f68f90a]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-5f68f90a]{font-size:%?25?%;position:absolute;bottom:%?5?%;left:0}.box_ware_code[data-v-5f68f90a]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-5f68f90a]{width:%?40?%;height:%?40?%}.box_ware_code uni-text[data-v-5f68f90a]{font-size:%?20?%}.foot_box[data-v-5f68f90a]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-5f68f90a]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-5f68f90a]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-5f68f90a]{height:%?90?%}.foot_button[data-v-5f68f90a]{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-5f68f90a]{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-5f68f90a]{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-5f68f90a]{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-5f68f90a]{background:#999}.foot_button_intalge[data-v-5f68f90a]{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-5f68f90a]{background-color:#e85f93}.foot_box_remark[data-v-5f68f90a] img{width:100%}.foot_box_remark[data-v-5f68f90a] .img{line-height:0}body.?%PAGE?%[data-v-5f68f90a]{background-color:#e85f93}',""])},d0c1:function(t,e,i){var a=i("c01a");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("b1537410",a,!0,{sourceMap:!1,shadowMode:!1})}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-MyGiftPack.509f69ef.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-MyGiftPack"],{"0e5c":function(t,e,n){"use strict";var a=n("4bdd"),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}},"2dda":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})},"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})},"4bdd":function(t,e,n){var a=n("d387");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("e39247fe",a,!0,{sourceMap:!1,shadowMode:!1})},"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("2dda"),i=n("f38c");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("0e5c");var r,c=n("f0c5"),s=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"6194e9c7",null,!1,a["a"],r);e["default"]=s.exports},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},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()}}),setTimeout(function(){uni.hideLoading()},2e3)},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},d387: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-6194e9c7]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-6194e9c7]{width:100%}.top_title[data-v-6194e9c7]{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-6194e9c7]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-6194e9c7]{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-6194e9c7]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-6194e9c7]{font-size:%?30?%;color:#000}.content_box[data-v-6194e9c7]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-6194e9c7]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-6194e9c7]{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-6194e9c7]{width:100%;height:%?230?%}.content_box_img_title[data-v-6194e9c7]{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-6194e9c7]{background:#fb6451}.content_box_img_ground2[data-v-6194e9c7]{background:#ffb72d}.content_box_img_ground3[data-v-6194e9c7]{background:#9be0e5}.content_box_img_ground4[data-v-6194e9c7]{background:#4784ef}.content_box_img_title uni-image[data-v-6194e9c7]{width:%?30?%;height:%?30?%}.content_box_img_title uni-text[data-v-6194e9c7]{font-size:%?20?%;color:#fff;line-height:%?25?%;padding-top:%?5?%}.content_box_title[data-v-6194e9c7]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-6194e9c7]{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-6194e9c7]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-6194e9c7]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-6194e9c7]{font-size:%?25?%;color:#c61a34;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-6194e9c7]{text-align:right;margin:%?20?% %?25?% %?20?% %?20?%}.content_box_button uni-button[data-v-6194e9c7]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?25?%;background:#d41c34;color:#fff;line-height:%?50?%}.foot_box[data-v-6194e9c7]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-6194e9c7]{font-size:%?25?%;color:#fff}.foot_empty[data-v-6194e9c7]{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-6194e9c7]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-6194e9c7]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-6194e9c7]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-6194e9c7]{font-size:%?28?%;color:#fff}uni-page-body[data-v-6194e9c7]{background-color:#fb7454}body.?%PAGE?%[data-v-6194e9c7]{background-color:#fb7454}',""])},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 | ... | ... |
vip/static/js/pages-MyGiftPack-MyGiftPack.9136399e.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})},"42e8":function(t,e,n){var a=n("bb27");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("7a272b90",a,!0,{sourceMap:!1,shadowMode:!1})},"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],d=o[3],u={id:t+":"+i,css:c,media:s,sourceMap:d};a[r]?a[r].parts.push(u):n.push(a[r]={id:r,parts:[u]})}return n}n.r(e),n.d(e,"default",function(){return 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,d=!1,u=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){d=n,l=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 d=0;d<s.parts.length;d++)s.parts[d]();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(d)return u;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),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("b6ce"),i=n("f38c");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("869d");var r,c=n("f0c5"),s=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"39f91dde",null,!1,a["a"],r);e["default"]=s.exports},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}',""])},"869d":function(t,e,n){"use strict";var a=n("42e8"),i=n.n(a);i.a},"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},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.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)}})},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},b6ce: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})},bb27: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-39f91dde]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-39f91dde]{width:100%}.top_title[data-v-39f91dde]{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-39f91dde]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-39f91dde]{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-39f91dde]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-39f91dde]{font-size:%?30?%;color:#000}.content_box[data-v-39f91dde]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-39f91dde]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-39f91dde]{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-39f91dde]{width:100%;height:%?230?%}.content_box_img_title[data-v-39f91dde]{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-39f91dde]{background:#fb6451}.content_box_img_ground2[data-v-39f91dde]{background:#ffb72d}.content_box_img_ground3[data-v-39f91dde]{background:#9be0e5}.content_box_img_ground4[data-v-39f91dde]{background:#4784ef}.content_box_img_title uni-image[data-v-39f91dde]{width:%?30?%;height:%?30?%}.content_box_img_title uni-text[data-v-39f91dde]{font-size:%?20?%;color:#fff;line-height:%?25?%;padding-top:%?5?%}.content_box_title[data-v-39f91dde]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-39f91dde]{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-39f91dde]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-39f91dde]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-39f91dde]{font-size:%?25?%;color:#c61a34;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-39f91dde]{text-align:right;margin:%?20?% %?25?% %?20?% %?20?%}.content_box_button uni-button[data-v-39f91dde]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?25?%;background:#d41c34;color:#fff;line-height:%?50?%}.foot_box[data-v-39f91dde]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-39f91dde]{font-size:%?25?%;color:#fff}.foot_empty[data-v-39f91dde]{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-39f91dde]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-39f91dde]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-39f91dde]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-39f91dde]{font-size:%?28?%;color:#fff}uni-page-body[data-v-39f91dde]{background-color:#fb7454}body.?%PAGE?%[data-v-39f91dde]{background-color:#fb7454}',""])},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 |