Commit ce051a0a06bb2301163b456eb806e149476c1125
Merge branch 'dev' into 'test'
添加延时时间和接口连接失败的提示 See merge request !59
Showing
19 changed files
with
10 additions
and
20 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.5c9086f8.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.288d8fb3.js></script></body></html> | |
7 | 7 | \ No newline at end of file | ... | ... |
vip/static/css/HolidayGift.css
... | ... | @@ -193,16 +193,6 @@ |
193 | 193 | width: 100%; |
194 | 194 | } |
195 | 195 | |
196 | -.top_box_image button { | |
197 | - margin: 15upx 95upx 0upx 95upx; | |
198 | - background: #fe6a6a; | |
199 | - border-radius: 50upx; | |
200 | - line-height: 60upx; | |
201 | - height: 60upx; | |
202 | - color: white; | |
203 | - font-size: 30upx; | |
204 | -} | |
205 | - | |
206 | 196 | .foot_box { |
207 | 197 | margin: 0 30upx 40upx 30upx; |
208 | 198 | background: #FFFFFF; | ... | ... |
vip/static/js/index.5c9086f8.js renamed to vip/static/js/index.288d8fb3.js
1 | -(function(e){function n(n){for(var t,r,c=n[0],s=n[1],g=n[2],u=0,l=[];u<c.length;u++)r=c[u],i[r]&&l.push(i[r][0]),i[r]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[t]=s[t]);f&&f(n);while(l.length)l.shift()();return o.push.apply(o,g||[]),a()}function a(){for(var e,n=0;n<o.length;n++){for(var a=o[n],t=!0,r=1;r<a.length;r++){var s=a[r];0!==i[s]&&(t=!1)}t&&(o.splice(n--,1),e=c(c.s=a[0]))}return e}var t={},i={index:0},o=[];function r(e){return c.p+"static/js/"+({"pages-GiftPackage-AssistanceAct":"pages-GiftPackage-AssistanceAct","pages-GiftPackage-AssistanceDismantle":"pages-GiftPackage-AssistanceDismantle","pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode":"pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode","pages-GiftPackage-AssistanceList":"pages-GiftPackage-AssistanceList","pages-MyGiftPack-QrCode":"pages-MyGiftPack-QrCode","pages-GiftPackage-BirthdayGift":"pages-GiftPackage-BirthdayGift","pages-GiftPackage-EvaluateGift":"pages-GiftPackage-EvaluateGift","pages-GiftPackage-HolidayGift":"pages-GiftPackage-HolidayGift","pages-GiftPackage-NewVipGift":"pages-GiftPackage-NewVipGift","pages-Login-index":"pages-Login-index","pages-MyGiftPack-GiftPackBuy":"pages-MyGiftPack-GiftPackBuy","pages-MyGiftPack-GiftPackList":"pages-MyGiftPack-GiftPackList","pages-MyGiftPack-MyGiftPack":"pages-MyGiftPack-MyGiftPack"}[e]||e)+"."+{"pages-GiftPackage-AssistanceAct":"62380835","pages-GiftPackage-AssistanceDismantle":"6fa13dd3","pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode":"a8edebbe","pages-GiftPackage-AssistanceList":"d2ba8d68","pages-MyGiftPack-QrCode":"7fed0648","pages-GiftPackage-BirthdayGift":"a9616eac","pages-GiftPackage-EvaluateGift":"b3ec5c47","pages-GiftPackage-HolidayGift":"d87f9cac","pages-GiftPackage-NewVipGift":"afd08df4","pages-Login-index":"7666b50f","pages-MyGiftPack-GiftPackBuy":"195522fe","pages-MyGiftPack-GiftPackList":"c0f7ad39","pages-MyGiftPack-MyGiftPack":"bfa652b7"}[e]+".js"}function c(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,c),a.l=!0,a.exports}c.e=function(e){var n=[],a=i[e];if(0!==a)if(a)n.push(a[2]);else{var t=new Promise(function(n,t){a=i[e]=[n,t]});n.push(a[2]=t);var o,s=document.createElement("script");s.charset="utf-8",s.timeout=120,c.nc&&s.setAttribute("nonce",c.nc),s.src=r(e),o=function(n){s.onerror=s.onload=null,clearTimeout(g);var a=i[e];if(0!==a){if(a){var t=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src,r=new Error("Loading chunk "+e+" failed.\n("+t+": "+o+")");r.type=t,r.request=o,a[1](r)}i[e]=void 0}};var g=setTimeout(function(){o({type:"timeout",target:s})},12e4);s.onerror=s.onload=o,document.head.appendChild(s)}return Promise.all(n)},c.m=e,c.c=t,c.d=function(e,n,a){c.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:a})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,n){if(1&n&&(e=c(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(c.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)c.d(a,t,function(n){return e[n]}.bind(null,t));return a},c.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="/webapp/vip/",c.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],g=s.push.bind(s);s.push=n,s=s.slice();for(var u=0;u<s.length;u++)n(s[u]);var f=g;o.push([0,"chunk-vendors"]),a()})({0:function(e,n,a){e.exports=a("f2e3")},"03ee":function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};n.default=t},1488:function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={imgHttp:"https://mshopimg.yolipai.net",ApiHttp:"https://qa-weshop.yolipai.net",HtmlHttp:"https://qa-mshop.yolipai.net"};n.default=t},"14cf":function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={appid:"__UNI__59B0F7D"};n.default=t},"1d88":function(e,n,a){"use strict";(function(e){var n=a("288e"),t=n(a("5176")),i=n(a("e143"));e["____59B0F7D____"]=!0,delete e["____59B0F7D____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.router={mode:"hash",base:"/webapp/vip/"},e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:3e3},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e3,connectSocket:6e3,uploadFile:6e3,downloadFile:6e3},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},i.default.component("pages-Login-index",function(e){var n={component:a.e("pages-Login-index").then(function(){return e(a("d58b"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-NewVipGift",function(e){var n={component:a.e("pages-GiftPackage-NewVipGift").then(function(){return e(a("be2b"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-EvaluateGift",function(e){var n={component:a.e("pages-GiftPackage-EvaluateGift").then(function(){return e(a("15d0"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-BirthdayGift",function(e){var n={component:a.e("pages-GiftPackage-BirthdayGift").then(function(){return e(a("a685"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-HolidayGift",function(e){var n={component:a.e("pages-GiftPackage-HolidayGift").then(function(){return e(a("a444"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-MyGiftPack",function(e){var n={component:a.e("pages-MyGiftPack-MyGiftPack").then(function(){return e(a("57c6"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackBuy",function(e){var n={component:a.e("pages-MyGiftPack-GiftPackBuy").then(function(){return e(a("0203"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackList",function(e){var n={component:a.e("pages-MyGiftPack-GiftPackList").then(function(){return e(a("91fb"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-QrCode",function(e){var n={component:Promise.all([a.e("pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode"),a.e("pages-MyGiftPack-QrCode")]).then(function(){return e(a("94f2"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-AssistanceAct",function(e){var n={component:a.e("pages-GiftPackage-AssistanceAct").then(function(){return e(a("42dd"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-AssistanceList",function(e){var n={component:Promise.all([a.e("pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode"),a.e("pages-GiftPackage-AssistanceList")]).then(function(){return e(a("dbf5"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-AssistanceDismantle",function(e){var n={component:a.e("pages-GiftPackage-AssistanceDismantle").then(function(){return e(a("9b56"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),e.__uniRoutes=[{path:"/",alias:"/pages/Login/index",component:{render:function(e){return e("Page",{props:(0,t.default)({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationBarTitleText:"主界面",navigationStyle:"custom"})},[e("pages-Login-index",{slot:"page"})])}},meta:{id:1,name:"pages-Login-index",isNVue:!1,pagePath:"pages/Login/index",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/GiftPackage/NewVipGift",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"新人礼",navigationStyle:"custom"})},[e("pages-GiftPackage-NewVipGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-NewVipGift",isNVue:!1,pagePath:"pages/GiftPackage/NewVipGift",windowTop:0}},{path:"/pages/GiftPackage/EvaluateGift",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"评价有礼",navigationStyle:"custom"})},[e("pages-GiftPackage-EvaluateGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-EvaluateGift",isNVue:!1,pagePath:"pages/GiftPackage/EvaluateGift",windowTop:0}},{path:"/pages/GiftPackage/BirthdayGift",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"生日礼包",navigationStyle:"custom"})},[e("pages-GiftPackage-BirthdayGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-BirthdayGift",isNVue:!1,pagePath:"pages/GiftPackage/BirthdayGift",windowTop:0}},{path:"/pages/GiftPackage/HolidayGift",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"节日礼包",navigationStyle:"custom"})},[e("pages-GiftPackage-HolidayGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-HolidayGift",isNVue:!1,pagePath:"pages/GiftPackage/HolidayGift",windowTop:0}},{path:"/pages/MyGiftPack/MyGiftPack",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"我的礼包",navigationStyle:"custom"})},[e("pages-MyGiftPack-MyGiftPack",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-MyGiftPack",isNVue:!1,pagePath:"pages/MyGiftPack/MyGiftPack",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackBuy",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包列表",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackBuy",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackBuy",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackBuy",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackList",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包详情",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackList",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackList",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackList",windowTop:0}},{path:"/pages/MyGiftPack/QrCode",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"核销码",navigationStyle:"custom"})},[e("pages-MyGiftPack-QrCode",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-QrCode",isNVue:!1,pagePath:"pages/MyGiftPack/QrCode",windowTop:0}},{path:"/pages/GiftPackage/AssistanceAct",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"助力活动",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceAct",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceAct",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceAct",windowTop:0}},{path:"/pages/GiftPackage/AssistanceList",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"助力详情",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceList",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceList",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceList",windowTop:0}},{path:"/pages/GiftPackage/AssistanceDismantle",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceDismantle",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceDismantle",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceDismantle",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}]}).call(this,a("c8ba"))},6982:function(e,n,a){"use strict";a.r(n);var t=a("03ee"),i=a.n(t);for(var o in t)"default"!==o&&function(e){a.d(n,e,function(){return t[e]})}(o);n["default"]=i.a},7499:function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={pages:{"pages/Login/index":{navigationBarTitleText:"主界面",navigationStyle:"custom"},"pages/GiftPackage/NewVipGift":{navigationBarTitleText:"新人礼",navigationStyle:"custom"},"pages/GiftPackage/EvaluateGift":{navigationBarTitleText:"评价有礼",navigationStyle:"custom"},"pages/GiftPackage/BirthdayGift":{navigationBarTitleText:"生日礼包",navigationStyle:"custom"},"pages/GiftPackage/HolidayGift":{navigationBarTitleText:"节日礼包",navigationStyle:"custom"},"pages/MyGiftPack/MyGiftPack":{navigationBarTitleText:"我的礼包",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackBuy":{navigationBarTitleText:"礼包列表",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackList":{navigationBarTitleText:"礼包详情",navigationStyle:"custom"},"pages/MyGiftPack/QrCode":{navigationBarTitleText:"核销码",navigationStyle:"custom"},"pages/GiftPackage/AssistanceAct":{navigationBarTitleText:"助力活动",navigationStyle:"custom"},"pages/GiftPackage/AssistanceList":{navigationBarTitleText:"助力详情",navigationStyle:"custom"},"pages/GiftPackage/AssistanceDismantle":{navigationBarTitleText:"好友助力",navigationStyle:"custom"}},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}};n.default=t},c4f6:function(e,n,a){"use strict";a.r(n);var t=a("f008"),i=a("6982");for(var o in i)"default"!==o&&function(e){a.d(n,e,function(){return i[e]})}(o);var r,c=a("f0c5"),s=Object(c["a"])(i["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],r);n["default"]=s.exports},f008:function(e,n,a){"use strict";var t,i=function(){var e=this,n=e.$createElement,a=e._self._c||n;return a("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},o=[];a.d(n,"b",function(){return i}),a.d(n,"c",function(){return o}),a.d(n,"a",function(){return t})},f2e3:function(e,n,a){"use strict";var t=a("288e"),i=t(a("cebc"));a("cadf"),a("551c"),a("097d"),a("1d88"),a("1c31"),a("921b");var o=t(a("e143")),r=t(a("c4f6")),c=t(a("1488"));o.default.config.productionTip=!1,o.default.prototype.$GetInfo=c.default,r.default.mpType="app";var s=new o.default((0,i.default)({},r.default));s.$mount()}}); | |
2 | 1 | \ No newline at end of file |
2 | +(function(e){function n(n){for(var t,r,c=n[0],s=n[1],g=n[2],u=0,l=[];u<c.length;u++)r=c[u],i[r]&&l.push(i[r][0]),i[r]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[t]=s[t]);f&&f(n);while(l.length)l.shift()();return o.push.apply(o,g||[]),a()}function a(){for(var e,n=0;n<o.length;n++){for(var a=o[n],t=!0,r=1;r<a.length;r++){var s=a[r];0!==i[s]&&(t=!1)}t&&(o.splice(n--,1),e=c(c.s=a[0]))}return e}var t={},i={index:0},o=[];function r(e){return c.p+"static/js/"+({"pages-GiftPackage-AssistanceAct":"pages-GiftPackage-AssistanceAct","pages-GiftPackage-AssistanceDismantle":"pages-GiftPackage-AssistanceDismantle","pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode":"pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode","pages-GiftPackage-AssistanceList":"pages-GiftPackage-AssistanceList","pages-MyGiftPack-QrCode":"pages-MyGiftPack-QrCode","pages-GiftPackage-BirthdayGift":"pages-GiftPackage-BirthdayGift","pages-GiftPackage-EvaluateGift":"pages-GiftPackage-EvaluateGift","pages-GiftPackage-HolidayGift":"pages-GiftPackage-HolidayGift","pages-GiftPackage-NewVipGift":"pages-GiftPackage-NewVipGift","pages-Login-index":"pages-Login-index","pages-MyGiftPack-GiftPackBuy":"pages-MyGiftPack-GiftPackBuy","pages-MyGiftPack-GiftPackList":"pages-MyGiftPack-GiftPackList","pages-MyGiftPack-MyGiftPack":"pages-MyGiftPack-MyGiftPack"}[e]||e)+"."+{"pages-GiftPackage-AssistanceAct":"62380835","pages-GiftPackage-AssistanceDismantle":"6fa13dd3","pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode":"a8edebbe","pages-GiftPackage-AssistanceList":"d2ba8d68","pages-MyGiftPack-QrCode":"7fed0648","pages-GiftPackage-BirthdayGift":"315797ac","pages-GiftPackage-EvaluateGift":"c2a3a0bb","pages-GiftPackage-HolidayGift":"8727663b","pages-GiftPackage-NewVipGift":"9e5af2f6","pages-Login-index":"b1ea103f","pages-MyGiftPack-GiftPackBuy":"cf76459c","pages-MyGiftPack-GiftPackList":"b190ab30","pages-MyGiftPack-MyGiftPack":"451b011a"}[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:1e4,connectSocket:6e3,uploadFile:1e4,downloadFile:6e3},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},i.default.component("pages-Login-index",function(e){var n={component:a.e("pages-Login-index").then(function(){return e(a("d58b"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-NewVipGift",function(e){var n={component:a.e("pages-GiftPackage-NewVipGift").then(function(){return e(a("be2b"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-EvaluateGift",function(e){var n={component:a.e("pages-GiftPackage-EvaluateGift").then(function(){return e(a("15d0"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-BirthdayGift",function(e){var n={component:a.e("pages-GiftPackage-BirthdayGift").then(function(){return e(a("a685"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-HolidayGift",function(e){var n={component:a.e("pages-GiftPackage-HolidayGift").then(function(){return e(a("a444"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-MyGiftPack",function(e){var n={component:a.e("pages-MyGiftPack-MyGiftPack").then(function(){return e(a("57c6"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackBuy",function(e){var n={component:a.e("pages-MyGiftPack-GiftPackBuy").then(function(){return e(a("0203"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackList",function(e){var n={component:a.e("pages-MyGiftPack-GiftPackList").then(function(){return e(a("91fb"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-QrCode",function(e){var n={component:Promise.all([a.e("pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode"),a.e("pages-MyGiftPack-QrCode")]).then(function(){return e(a("94f2"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-AssistanceAct",function(e){var n={component:a.e("pages-GiftPackage-AssistanceAct").then(function(){return e(a("42dd"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-AssistanceList",function(e){var n={component:Promise.all([a.e("pages-GiftPackage-AssistanceList~pages-MyGiftPack-QrCode"),a.e("pages-GiftPackage-AssistanceList")]).then(function(){return e(a("dbf5"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-AssistanceDismantle",function(e){var n={component:a.e("pages-GiftPackage-AssistanceDismantle").then(function(){return e(a("9b56"))}.bind(null,a)).catch(a.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),e.__uniRoutes=[{path:"/",alias:"/pages/Login/index",component:{render:function(e){return e("Page",{props:(0,t.default)({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationBarTitleText:"主界面",navigationStyle:"custom"})},[e("pages-Login-index",{slot:"page"})])}},meta:{id:1,name:"pages-Login-index",isNVue:!1,pagePath:"pages/Login/index",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/GiftPackage/NewVipGift",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"新人礼",navigationStyle:"custom"})},[e("pages-GiftPackage-NewVipGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-NewVipGift",isNVue:!1,pagePath:"pages/GiftPackage/NewVipGift",windowTop:0}},{path:"/pages/GiftPackage/EvaluateGift",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"评价有礼",navigationStyle:"custom"})},[e("pages-GiftPackage-EvaluateGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-EvaluateGift",isNVue:!1,pagePath:"pages/GiftPackage/EvaluateGift",windowTop:0}},{path:"/pages/GiftPackage/BirthdayGift",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"生日礼包",navigationStyle:"custom"})},[e("pages-GiftPackage-BirthdayGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-BirthdayGift",isNVue:!1,pagePath:"pages/GiftPackage/BirthdayGift",windowTop:0}},{path:"/pages/GiftPackage/HolidayGift",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"节日礼包",navigationStyle:"custom"})},[e("pages-GiftPackage-HolidayGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-HolidayGift",isNVue:!1,pagePath:"pages/GiftPackage/HolidayGift",windowTop:0}},{path:"/pages/MyGiftPack/MyGiftPack",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"我的礼包",navigationStyle:"custom"})},[e("pages-MyGiftPack-MyGiftPack",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-MyGiftPack",isNVue:!1,pagePath:"pages/MyGiftPack/MyGiftPack",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackBuy",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包列表",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackBuy",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackBuy",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackBuy",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackList",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包详情",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackList",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackList",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackList",windowTop:0}},{path:"/pages/MyGiftPack/QrCode",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"核销码",navigationStyle:"custom"})},[e("pages-MyGiftPack-QrCode",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-QrCode",isNVue:!1,pagePath:"pages/MyGiftPack/QrCode",windowTop:0}},{path:"/pages/GiftPackage/AssistanceAct",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"助力活动",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceAct",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceAct",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceAct",windowTop:0}},{path:"/pages/GiftPackage/AssistanceList",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"助力详情",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceList",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceList",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceList",windowTop:0}},{path:"/pages/GiftPackage/AssistanceDismantle",component:{render:function(e){return e("Page",{props:(0,t.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceDismantle",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceDismantle",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceDismantle",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}]}).call(this,a("c8ba"))},6982:function(e,n,a){"use strict";a.r(n);var t=a("03ee"),i=a.n(t);for(var o in t)"default"!==o&&function(e){a.d(n,e,function(){return t[e]})}(o);n["default"]=i.a},7499:function(e,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={pages:{"pages/Login/index":{navigationBarTitleText:"主界面",navigationStyle:"custom"},"pages/GiftPackage/NewVipGift":{navigationBarTitleText:"新人礼",navigationStyle:"custom"},"pages/GiftPackage/EvaluateGift":{navigationBarTitleText:"评价有礼",navigationStyle:"custom"},"pages/GiftPackage/BirthdayGift":{navigationBarTitleText:"生日礼包",navigationStyle:"custom"},"pages/GiftPackage/HolidayGift":{navigationBarTitleText:"节日礼包",navigationStyle:"custom"},"pages/MyGiftPack/MyGiftPack":{navigationBarTitleText:"我的礼包",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackBuy":{navigationBarTitleText:"礼包列表",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackList":{navigationBarTitleText:"礼包详情",navigationStyle:"custom"},"pages/MyGiftPack/QrCode":{navigationBarTitleText:"核销码",navigationStyle:"custom"},"pages/GiftPackage/AssistanceAct":{navigationBarTitleText:"助力活动",navigationStyle:"custom"},"pages/GiftPackage/AssistanceList":{navigationBarTitleText:"助力详情",navigationStyle:"custom"},"pages/GiftPackage/AssistanceDismantle":{navigationBarTitleText:"好友助力",navigationStyle:"custom"}},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}};n.default=t},c4f6:function(e,n,a){"use strict";a.r(n);var t=a("f008"),i=a("6982");for(var o in i)"default"!==o&&function(e){a.d(n,e,function(){return i[e]})}(o);var r,c=a("f0c5"),s=Object(c["a"])(i["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],r);n["default"]=s.exports},f008:function(e,n,a){"use strict";var t,i=function(){var e=this,n=e.$createElement,a=e._self._c||n;return a("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},o=[];a.d(n,"b",function(){return i}),a.d(n,"c",function(){return o}),a.d(n,"a",function(){return t})},f2e3:function(e,n,a){"use strict";var t=a("288e"),i=t(a("cebc"));a("cadf"),a("551c"),a("097d"),a("1d88"),a("1c31"),a("921b");var o=t(a("e143")),r=t(a("c4f6")),c=t(a("1488"));o.default.config.productionTip=!1,o.default.prototype.$GetInfo=c.default,r.default.mpType="app";var s=new o.default((0,i.default)({},r.default));s.$mount()}}); | |
3 | 3 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-BirthdayGift.315797ac.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-BirthdayGift"],{"0264":function(t,e,i){"use strict";var a=i("2670"),n=i.n(a);n.a},"04af":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})},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}},2670:function(t,e,i){var a=i("44bf");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("0bcbe06b",a,!0,{sourceMap:!1,shadowMode:!1})},"44bf":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-520eb8ef]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-520eb8ef]{width:100%;height:%?690?%}.top[data-v-520eb8ef]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-520eb8ef]{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-520eb8ef]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-520eb8ef]{color:#9be0e5;font-size:%?40?%}.top_item[data-v-520eb8ef]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-520eb8ef]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-520eb8ef]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-520eb8ef]{float:left;width:64%}.top_item_center_title[data-v-520eb8ef]{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-520eb8ef]{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-520eb8ef]{float:right;font-size:%?25?%;color:#9be0e5;padding-right:%?10?%}.top_card[data-v-520eb8ef]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-520eb8ef]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-520eb8ef]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-520eb8ef]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-520eb8ef]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-520eb8ef]{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-520eb8ef]{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-520eb8ef]{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-520eb8ef]{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-520eb8ef]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-520eb8ef]{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-520eb8ef]{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-520eb8ef]{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-520eb8ef]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-520eb8ef]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-520eb8ef]{margin:%?15?% %?95?% %?0?% %?95?%;background:#61d3dd;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-520eb8ef]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-520eb8ef]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-520eb8ef]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-520eb8ef]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-520eb8ef]{margin:0 %?30?%;background:#61d3dd;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-520eb8ef]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-520eb8ef]{height:%?90?%}.foot_button[data-v-520eb8ef]{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-520eb8ef]{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-520eb8ef]{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-520eb8ef]{background-color:#9be0e5}uni-button[data-v-520eb8ef]:after{border:none}.foot_box_text[data-v-520eb8ef] img{width:100%}.foot_box_text[data-v-520eb8ef] .img{line-height:0}body.?%PAGE?%[data-v-520eb8ef]{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],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(){},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){d=i,l=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["+p+'~="'+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),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,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.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};e.default=a},a685:function(t,e,i){"use strict";i.r(e);var a=i("04af"),n=i("1824");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("0264");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"520eb8ef",null,!1,a["a"],r);e["default"]=c.exports}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-BirthdayGift.a9616eac.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-BirthdayGift"],{"0db9":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})},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}},4201:function(t,e,i){var a=i("b273");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("7226545c",a,!0,{sourceMap:!1,shadowMode:!1})},"43ff":function(t,e,i){"use strict";var a=i("4201"),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],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 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,i,n){d=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],c=o[s.id];c.refs--,i.push(c)}e?(r=a(t,e),v(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 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["+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 _=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.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()}})},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()}})}}};e.default=a},a685:function(t,e,i){"use strict";i.r(e);var a=i("0db9"),n=i("1824");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("43ff");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"369f924e",null,!1,a["a"],r);e["default"]=c.exports},b273: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-369f924e]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-369f924e]{width:100%;height:%?690?%}.top[data-v-369f924e]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-369f924e]{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-369f924e]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-369f924e]{color:#9be0e5;font-size:%?40?%}.top_item[data-v-369f924e]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-369f924e]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-369f924e]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-369f924e]{float:left;width:64%}.top_item_center_title[data-v-369f924e]{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-369f924e]{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-369f924e]{float:right;font-size:%?25?%;color:#9be0e5;padding-right:%?10?%}.top_card[data-v-369f924e]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-369f924e]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-369f924e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-369f924e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-369f924e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-369f924e]{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-369f924e]{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-369f924e]{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-369f924e]{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-369f924e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-369f924e]{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-369f924e]{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-369f924e]{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-369f924e]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-369f924e]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-369f924e]{margin:%?15?% %?95?% %?0?% %?95?%;background:#61d3dd;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-369f924e]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-369f924e]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-369f924e]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-369f924e]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-369f924e]{margin:0 %?30?%;background:#61d3dd;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-369f924e]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-369f924e]{height:%?90?%}.foot_button[data-v-369f924e]{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-369f924e]{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-369f924e]{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-369f924e]{background-color:#9be0e5}uni-button[data-v-369f924e]:after{border:none}.foot_box_text[data-v-369f924e] img{width:100%}.foot_box_text[data-v-369f924e] .img{line-height:0}body.?%PAGE?%[data-v-369f924e]{background-color:#9be0e5}',""])}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-GiftPackage-EvaluateGift.b3ec5c47.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-EvaluateGift"],{"15d0":function(t,e,i){"use strict";i.r(e);var a=i("44d6"),n=i("1d95");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("c477");var r,s=i("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6e8d7a34",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}},2853:function(t,e,i){var a=i("cbee");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("53a32228",a,!0,{sourceMap:!1,shadowMode:!1})},"44d6":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})},"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,l="data-vue-ssr-id",f="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["+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,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}}},"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.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.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()}})},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()}})}}};e.default=a},c477:function(t,e,i){"use strict";var a=i("2853"),n=i.n(a);n.a},cbee: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-6e8d7a34]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-6e8d7a34]{width:100%;height:%?690?%}.top[data-v-6e8d7a34]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-6e8d7a34]{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-6e8d7a34]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-6e8d7a34]{color:#5b98f5;font-size:%?40?%}.top_item[data-v-6e8d7a34]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-6e8d7a34]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-6e8d7a34]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-6e8d7a34]{float:left;width:64%}.top_item_center_title[data-v-6e8d7a34]{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-6e8d7a34]{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-6e8d7a34]{float:right;font-size:%?25?%;color:#5d93f5;padding-right:%?10?%}.top_card[data-v-6e8d7a34]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-6e8d7a34]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-6e8d7a34]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-6e8d7a34]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-6e8d7a34]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-6e8d7a34]{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-6e8d7a34]{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-6e8d7a34]{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-6e8d7a34]{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-6e8d7a34]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-6e8d7a34]{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-6e8d7a34]{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-6e8d7a34]{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-6e8d7a34]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-6e8d7a34]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-6e8d7a34]{margin:%?15?% %?95?% %?0?% %?95?%;background:#5d93f5;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-6e8d7a34]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-6e8d7a34]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-6e8d7a34]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-6e8d7a34]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-6e8d7a34]{margin:0 %?30?%;background:#6d9ef6;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-6e8d7a34]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-6e8d7a34]{height:%?90?%}.foot_button[data-v-6e8d7a34]{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-6e8d7a34]{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-6e8d7a34]{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-6e8d7a34]{background-color:#4784ef}uni-button[data-v-6e8d7a34]:after{border:none}.foot_box_text[data-v-6e8d7a34] img{width:100%}.foot_box_text[data-v-6e8d7a34] .img{line-height:0}body.?%PAGE?%[data-v-6e8d7a34]{background-color:#4784ef}',""])}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-GiftPackage-EvaluateGift.c2a3a0bb.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-EvaluateGift"],{"15d0":function(t,e,i){"use strict";i.r(e);var a=i("3ef7"),n=i("1d95");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("a5aa");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4234744c",null,!1,a["a"],r);e["default"]=c.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}},"3ef7":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})},"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 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,i,n){d=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],c=o[s.id];c.refs--,i.push(c)}e?(r=a(t,e),v(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 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["+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 _=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,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}}},"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.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.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};e.default=a},a083: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-4234744c]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-4234744c]{width:100%;height:%?690?%}.top[data-v-4234744c]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-4234744c]{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-4234744c]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-4234744c]{color:#5b98f5;font-size:%?40?%}.top_item[data-v-4234744c]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-4234744c]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-4234744c]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-4234744c]{float:left;width:64%}.top_item_center_title[data-v-4234744c]{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-4234744c]{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-4234744c]{float:right;font-size:%?25?%;color:#5d93f5;padding-right:%?10?%}.top_card[data-v-4234744c]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-4234744c]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-4234744c]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-4234744c]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-4234744c]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-4234744c]{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-4234744c]{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-4234744c]{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-4234744c]{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-4234744c]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-4234744c]{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-4234744c]{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-4234744c]{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-4234744c]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-4234744c]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-4234744c]{margin:%?15?% %?95?% %?0?% %?95?%;background:#5d93f5;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-4234744c]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-4234744c]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-4234744c]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-4234744c]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-4234744c]{margin:0 %?30?%;background:#6d9ef6;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-4234744c]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-4234744c]{height:%?90?%}.foot_button[data-v-4234744c]{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-4234744c]{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-4234744c]{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-4234744c]{background-color:#4784ef}uni-button[data-v-4234744c]:after{border:none}.foot_box_text[data-v-4234744c] img{width:100%}.foot_box_text[data-v-4234744c] .img{line-height:0}body.?%PAGE?%[data-v-4234744c]{background-color:#4784ef}',""])},a5aa:function(t,e,i){"use strict";var a=i("d330"),n=i.n(a);n.a},d330:function(t,e,i){var a=i("a083");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("059692cd",a,!0,{sourceMap:!1,shadowMode:!1})}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-HolidayGift.8727663b.js
0 → 100644
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.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,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.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};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}},"3f45":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})},"4bad":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-ce4370b8]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-ce4370b8]{width:100%;height:%?690?%}.top[data-v-ce4370b8]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-ce4370b8]{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-ce4370b8]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_item[data-v-ce4370b8]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-ce4370b8]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-ce4370b8]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-ce4370b8]{float:left;width:64%}.top_item_center_title[data-v-ce4370b8]{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-ce4370b8]{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-ce4370b8]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-ce4370b8]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-ce4370b8]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-ce4370b8]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-ce4370b8]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-ce4370b8]{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-ce4370b8]{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-ce4370b8]{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-ce4370b8]{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-ce4370b8]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-ce4370b8]{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-ce4370b8]{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-ce4370b8]{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-ce4370b8]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-ce4370b8]{height:%?216?%;width:100%}.foot_box[data-v-ce4370b8]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-ce4370b8]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-ce4370b8]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-ce4370b8]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button_text[data-v-ce4370b8]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-ce4370b8]{height:%?90?%}.foot_button[data-v-ce4370b8]{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-ce4370b8]{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-ce4370b8]{background-color:#ffb72d}uni-button[data-v-ce4370b8]:after{border:none}.top_box_text uni-text[data-v-ce4370b8]{color:#ffb72d;font-size:%?40?%}.top_item_center_title uni-text[data-v-ce4370b8]{color:#ffb72d}.button[data-v-ce4370b8]{margin:0 %?30?%;background:#ffdb97;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.top_item_number[data-v-ce4370b8]{float:right;font-size:%?25?%;color:#ffb72d;padding-right:%?10?%}.top_box_image uni-button[data-v-ce4370b8]{margin:%?15?% %?95?% %?0?% %?95?%;background:#ffb72d;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_button_buy[data-v-ce4370b8]{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-ce4370b8] img{width:100%}.foot_box_text[data-v-ce4370b8] .img{line-height:0}body.?%PAGE?%[data-v-ce4370b8]{background-color:#ffb72d}',""])},"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(){},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){d=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],c=o[s.id];c.refs--,i.push(c)}e?(r=a(t,e),v(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 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(d)return u;a.parentNode.removeChild(a)}if(f){var n=c++;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,T=/var\(--window-top\)/gi,I=/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(T,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(I,"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(T,a.top+"px").replace(I,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("3f45"),n=i("84a3");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("ea60");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"ce4370b8",null,!1,a["a"],r);e["default"]=c.exports},b44f:function(t,e,i){var a=i("4bad");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("252181b0",a,!0,{sourceMap:!1,shadowMode:!1})},ea60:function(t,e,i){"use strict";var a=i("b44f"),n=i.n(a);n.a}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-HolidayGift.d87f9cac.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.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.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()}})},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()}})}}};e.default=a},1328:function(t,e,i){"use strict";var a=i("4022"),n=i.n(a);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}},"2e45":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-271cea95]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-271cea95]{width:100%;height:%?690?%}.top[data-v-271cea95]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-271cea95]{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-271cea95]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_item[data-v-271cea95]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-271cea95]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-271cea95]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-271cea95]{float:left;width:64%}.top_item_center_title[data-v-271cea95]{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-271cea95]{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-271cea95]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-271cea95]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-271cea95]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-271cea95]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-271cea95]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-271cea95]{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-271cea95]{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-271cea95]{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-271cea95]{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-271cea95]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-271cea95]{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-271cea95]{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-271cea95]{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-271cea95]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-271cea95]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-271cea95]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-271cea95]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-271cea95]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-271cea95]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-271cea95]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button_text[data-v-271cea95]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-271cea95]{height:%?90?%}.foot_button[data-v-271cea95]{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-271cea95]{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-271cea95]{background-color:#ffb72d}uni-button[data-v-271cea95]:after{border:none}.top_box_text uni-text[data-v-271cea95]{color:#ffb72d;font-size:%?40?%}.button[data-v-271cea95]{margin:0 %?30?%;background:#ffdb97;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.top_item_number[data-v-271cea95]{float:right;font-size:%?25?%;color:#ffb72d;padding-right:%?10?%}.foot_button_buy[data-v-271cea95]{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-271cea95] img{width:100%}.foot_box_text[data-v-271cea95] .img{line-height:0}body.?%PAGE?%[data-v-271cea95]{background-color:#ffb72d}',""])},4022:function(t,e,i){var a=i("2e45");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("cca6c6ee",a,!0,{sourceMap:!1,shadowMode:!1})},4747: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})},"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(){},l=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,i,n){d=i,l=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["+p+'~="'+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),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},a444:function(t,e,i){"use strict";i.r(e);var a=i("4747"),n=i("84a3");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("1328");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"271cea95",null,!1,a["a"],r);e["default"]=c.exports}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-GiftPackage-NewVipGift.9e5af2f6.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-NewVipGift"],{"0d90":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-11f3091e]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-11f3091e]{width:100%;height:%?690?%}.top[data-v-11f3091e]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-11f3091e]{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-11f3091e]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-11f3091e]{color:#fb6451;font-size:%?40?%}.top_item[data-v-11f3091e]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-11f3091e]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-11f3091e]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-11f3091e]{float:left;width:64%}.top_item_center_title[data-v-11f3091e]{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-11f3091e]{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-11f3091e]{float:right;font-size:%?25?%;color:#e4010c;padding-right:%?10?%}.top_card[data-v-11f3091e]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-11f3091e]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-11f3091e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-11f3091e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-11f3091e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-11f3091e]{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-11f3091e]{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-11f3091e]{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-11f3091e]{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-11f3091e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-11f3091e]{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-11f3091e]{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-11f3091e]{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-11f3091e]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-11f3091e]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-11f3091e]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-11f3091e]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-11f3091e]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-11f3091e]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-11f3091e]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-11f3091e]{margin:0 %?30?%;background:#ff9a8c;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-11f3091e]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-11f3091e]{height:%?90?%}.foot_button[data-v-11f3091e]{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-11f3091e]{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-11f3091e]{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-11f3091e]{background-color:#fb6451}uni-button[data-v-11f3091e]:after{border:none}.foot_box_text[data-v-11f3091e] img{width:100%}.foot_box_text[data-v-11f3091e] .img{line-height:0}body.?%PAGE?%[data-v-11f3091e]{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.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",timeout:"15000",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.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})}}};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 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,f="data-vue-ssr-id",l="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(t,e,i,n){d=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],c=o[s.id];c.refs--,i.push(c)}e?(r=a(t,e),v(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 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(d)return u;a.parentNode.removeChild(a)}if(l){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 _=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,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}}},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("c8b7"),n=i("8167");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("c1f6");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"11f3091e",null,!1,a["a"],r);e["default"]=c.exports},c1f6:function(t,e,i){"use strict";var a=i("e61b"),n=i.n(a);n.a},c8b7: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})},e61b:function(t,e,i){var a=i("0d90");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("7c0e81a8",a,!0,{sourceMap:!1,shadowMode:!1})}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-NewVipGift.afd08df4.js deleted
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.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()}})},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()}})}}};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,f="data-vue-ssr-id",l="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["+f+'~="'+t.id+'"]');if(a){if(d)return u;a.parentNode.removeChild(a)}if(l){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(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,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}}},"80ae":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-d21f4a8e]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-d21f4a8e]{width:100%;height:%?690?%}.top[data-v-d21f4a8e]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-d21f4a8e]{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-d21f4a8e]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-d21f4a8e]{color:#fb6451;font-size:%?40?%}.top_item[data-v-d21f4a8e]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-d21f4a8e]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-d21f4a8e]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-d21f4a8e]{float:left;width:64%}.top_item_center_title[data-v-d21f4a8e]{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-d21f4a8e]{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-d21f4a8e]{float:right;font-size:%?25?%;color:#e4010c;padding-right:%?10?%}.top_card[data-v-d21f4a8e]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-d21f4a8e]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-d21f4a8e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-d21f4a8e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-d21f4a8e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-d21f4a8e]{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-d21f4a8e]{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-d21f4a8e]{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-d21f4a8e]{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-d21f4a8e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-d21f4a8e]{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-d21f4a8e]{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-d21f4a8e]{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-d21f4a8e]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-d21f4a8e]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-d21f4a8e]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-d21f4a8e]{margin:0 %?30?% %?40?% %?30?%;background:#fff;border-radius:%?20?%}.foot_box_title[data-v-d21f4a8e]{font-size:%?43?%;color:#000;padding:%?20?% %?30?% %?20?% %?30?%}.foot_box_text[data-v-d21f4a8e]{font-size:%?30?%;color:#000;line-height:%?48?%;padding:%?20?% %?35?% %?50?% %?30?%}.button_box[data-v-d21f4a8e]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-d21f4a8e]{margin:0 %?30?%;background:#ff9a8c;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-d21f4a8e]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-d21f4a8e]{height:%?90?%}.foot_button[data-v-d21f4a8e]{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-d21f4a8e]{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-d21f4a8e]{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-d21f4a8e]{background-color:#fb6451}uni-button[data-v-d21f4a8e]:after{border:none}.foot_box_text[data-v-d21f4a8e] img{width:100%}.foot_box_text[data-v-d21f4a8e] .img{line-height:0}body.?%PAGE?%[data-v-d21f4a8e]{background-color:#fb6451}',""])},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},"8bcc":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})},"9ec2":function(t,e,i){var a=i("80ae");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("006958c2",a,!0,{sourceMap:!1,shadowMode:!1})},be2b:function(t,e,i){"use strict";i.r(e);var a=i("8bcc"),n=i("8167");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("cf81");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"d21f4a8e",null,!1,a["a"],r);e["default"]=c.exports},cf81:function(t,e,i){"use strict";var a=i("9ec2"),n=i.n(a);n.a}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-Login-index.7666b50f.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Login-index"],{"06e9":function(t,e,n){"use strict";var a=n("a7b4"),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 r=a(i),o=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(o).concat([r]).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 r=this[i][0];"number"===typeof r&&(a[r]=!0)}for(i=0;i<t.length;i++){var o=t[i];"number"===typeof o[0]&&a[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},2740:function(t,e,n){"use strict";n.r(e);var a=n("a8c9"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,function(){return a[t]})}(r);e["default"]=i.a},"4f06":function(t,e,n){"use strict";function a(t,e){for(var n=[],a={},i=0;i<e.length;i++){var r=e[i],o=r[0],u=r[1],s=r[2],c=r[3],d={id:t+":"+i,css:u,media:s,sourceMap:c};a[o]?a[o].parts.push(d):n.push(a[o]={id:o,parts:[d]})}return n}n.r(e),n.d(e,"default",function(){return v});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 r={},o=i&&(document.head||document.getElementsByTagName("head")[0]),u=null,s=0,c=!1,d=function(){},f=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,n,i){c=n,f=i||{};var o=a(t,e);return g(o),function(e){for(var n=[],i=0;i<o.length;i++){var u=o[i],s=r[u.id];s.refs--,n.push(s)}e?(o=a(t,e),g(o)):o=[];for(i=0;i<n.length;i++){s=n[i];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete r[s.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],a=r[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(b(n.parts[i]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(b(n.parts[i]));r[n.id]={id:n.id,refs:1,parts:o}}}}function h(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function b(t){var e,n,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(c)return d;a.parentNode.removeChild(a)}if(p){var i=s++;a=u||(u=h()),e=m.bind(null,a,i,!1),n=m.bind(null,a,i,!0)}else a=h(),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 y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function m(t,e,n,a){var i=n?"":E(a.css);if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var r=document.createTextNode(i),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function w(t,e){var n=E(e.css),a=e.media,i=e.sourceMap;if(a&&t.setAttribute("media",a),f.ssrId&&t.setAttribute(l,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,I=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,G=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,T=/var\(--status-bar-height\)/gi,C=/var\(--window-top\)/gi,_=/var\(--window-bottom\)/gi;function E(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(T,e+"(safe-area-inset-top)").replace(C,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(_,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var n=$();if(!uni.canIUse("css.var")){var a=B();t=t.replace(T,"0px").replace(C,a.top+"px").replace(_,a.bottom+"px")}return t.replace(k,n).replace(I,"").replace(G,"body."+n+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function $(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function B(){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}}},a7b4:function(t,e,n){var a=n("b1f6");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("1337ed59",a,!0,{sourceMap:!1,shadowMode:!1})},a8c9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{}},onLoad:function(){},onShow:function(){},methods:{NewVip:function(){uni.navigateTo({url:"../GiftPackage/NewVipGift?actId=40&actType=1&giftBagId=80&storeId=39&userId=1032493"})},Birthday:function(){uni.navigateTo({url:"../GiftPackage/BirthdayGift?actId=21&actType=1&giftBagId=30&storeId=1&userId=5682130"})},Evaluate:function(){uni.navigateTo({url:"../GiftPackage/EvaluateGift?actId=4&actType=2&giftBagId=30&storeId=1&userId=5682277&orderNumber=1006561&orderType=1&orderGoodsId=000"})},Holiday:function(){uni.navigateTo({url:"../GiftPackage/HolidayGift?actId=4&actType=2&giftBagId=30&storeId=1&userId=5682277&orderNumber=1006561&orderType=1&orderGoodsId=000"})},Assistance:function(){uni.navigateTo({url:"../GiftPackage/AssistanceAct"})},MyGiftPack:function(){uni.navigateTo({url:"../MyGiftPack/MyGiftPack?stoid=1&userid=5682130"})}}};e.default=a},b1f6:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".fist_box[data-v-43133dea]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?40?%}.fist_box uni-text[data-v-43133dea]{font-size:%?40?%}",""])},c3eb: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",[n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.NewVip.apply(void 0,arguments)}}},[t._v("新人有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Birthday.apply(void 0,arguments)}}},[t._v("生日有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Evaluate.apply(void 0,arguments)}}},[t._v("评价有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Holiday.apply(void 0,arguments)}}},[t._v("节日有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Assistance.apply(void 0,arguments)}}},[t._v("助力活动")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.MyGiftPack.apply(void 0,arguments)}}},[t._v("我的礼包")])],1)],1)},r=[];n.d(e,"b",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"a",function(){return a})},d58b:function(t,e,n){"use strict";n.r(e);var a=n("c3eb"),i=n("2740");for(var r in i)"default"!==r&&function(t){n.d(e,t,function(){return i[t]})}(r);n("06e9");var o,u=n("f0c5"),s=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"43133dea",null,!1,a["a"],o);e["default"]=s.exports}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-Login-index.b1ea103f.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Login-index"],{"0de8":function(t,e,n){"use strict";var a=n("f6d7"),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 r=a(i),o=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(o).concat([r]).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 r=this[i][0];"number"===typeof r&&(a[r]=!0)}for(i=0;i<t.length;i++){var o=t[i];"number"===typeof o[0]&&a[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},2740:function(t,e,n){"use strict";n.r(e);var a=n("a8c9"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,function(){return a[t]})}(r);e["default"]=i.a},"4f06":function(t,e,n){"use strict";function a(t,e){for(var n=[],a={},i=0;i<e.length;i++){var r=e[i],o=r[0],u=r[1],s=r[2],c=r[3],d={id:t+":"+i,css:u,media:s,sourceMap:c};a[o]?a[o].parts.push(d):n.push(a[o]={id:o,parts:[d]})}return n}n.r(e),n.d(e,"default",function(){return v});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 r={},o=i&&(document.head||document.getElementsByTagName("head")[0]),u=null,s=0,c=!1,d=function(){},f=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,n,i){c=n,f=i||{};var o=a(t,e);return g(o),function(e){for(var n=[],i=0;i<o.length;i++){var u=o[i],s=r[u.id];s.refs--,n.push(s)}e?(o=a(t,e),g(o)):o=[];for(i=0;i<n.length;i++){s=n[i];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete r[s.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],a=r[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(y(n.parts[i]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(y(n.parts[i]));r[n.id]={id:n.id,refs:1,parts:o}}}}function h(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function y(t){var e,n,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(c)return d;a.parentNode.removeChild(a)}if(p){var i=s++;a=u||(u=h()),e=m.bind(null,a,i,!1),n=m.bind(null,a,i,!0)}else a=h(),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 b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function m(t,e,n,a){var i=n?"":E(a.css);if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var r=document.createTextNode(i),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function w(t,e){var n=E(e.css),a=e.media,i=e.sourceMap;if(a&&t.setAttribute("media",a),f.ssrId&&t.setAttribute(l,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,k=/\.\?%PAGE\?%/g,I=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,C=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,G=/var\(--status-bar-height\)/gi,T=/var\(--window-top\)/gi,_=/var\(--window-bottom\)/gi;function E(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(G,e+"(safe-area-inset-top)").replace(T,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(_,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var n=$();if(!uni.canIUse("css.var")){var a=M();t=t.replace(G,"0px").replace(T,a.top+"px").replace(_,a.bottom+"px")}return t.replace(I,n).replace(k,"").replace(C,"body."+n+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function $(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function M(){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}}},"5d0d":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".fist_box[data-v-4284c954]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?40?%}.fist_box uni-text[data-v-4284c954]{font-size:%?40?%}",""])},a8a6: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",[n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.NewVip.apply(void 0,arguments)}}},[t._v("新人有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Birthday.apply(void 0,arguments)}}},[t._v("生日有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Evaluate.apply(void 0,arguments)}}},[t._v("评价有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Holiday.apply(void 0,arguments)}}},[t._v("节日有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Assistance.apply(void 0,arguments)}}},[t._v("助力活动")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.MyGiftPack.apply(void 0,arguments)}}},[t._v("我的礼包")])],1)],1)},r=[];n.d(e,"b",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"a",function(){return a})},a8c9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{}},onLoad:function(){},onShow:function(){},methods:{NewVip:function(){uni.navigateTo({url:"../GiftPackage/NewVipGift?actId=13&actType=3&giftBagId=80&storeId=1&userId=1433390"})},Birthday:function(){uni.navigateTo({url:"../GiftPackage/BirthdayGift?actId=13&actType=3&giftBagId=30&storeId=1&userId=1433390"})},Evaluate:function(){uni.navigateTo({url:"../GiftPackage/EvaluateGift?actId=13&actType=3&giftBagId=30&storeId=1&userId=1433390&orderNumber=1006561&orderType=1&orderGoodsId=000"})},Holiday:function(){uni.navigateTo({url:"../GiftPackage/HolidayGift?actId=13&actType=3&storeId=1&userId=1433390"})},Assistance:function(){uni.navigateTo({url:"../GiftPackage/AssistanceAct"})},MyGiftPack:function(){uni.navigateTo({url:"../MyGiftPack/MyGiftPack?stoid=1&userid=5682130"})}}};e.default=a},d58b:function(t,e,n){"use strict";n.r(e);var a=n("a8a6"),i=n("2740");for(var r in i)"default"!==r&&function(t){n.d(e,t,function(){return i[t]})}(r);n("0de8");var o,u=n("f0c5"),s=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"4284c954",null,!1,a["a"],o);e["default"]=s.exports},f6d7:function(t,e,n){var a=n("5d0d");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("cd24b54c",a,!0,{sourceMap:!1,shadowMode:!1})}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-GiftPackBuy.195522fe.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackBuy"],{"0203":function(t,e,n){"use strict";n.r(e);var i=n("2e7f"),o=n("89bc");for(var a in o)"default"!==a&&function(t){n.d(e,t,function(){return o[t]})}(a);n("8681");var r,s=n("f0c5"),c=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"669639e4",null,!1,i["a"],r);e["default"]=c.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}},"2df5":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-669639e4]{background-color:#fb7454}.top_img[data-v-669639e4]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-669639e4]{width:100%}.top_title[data-v-669639e4]{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-669639e4]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-669639e4]{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-669639e4]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-669639e4]{font-size:%?30?%;color:#000}.content_box[data-v-669639e4]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-669639e4]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-669639e4]{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-669639e4]{width:100%;height:%?230?%}.content_box_title[data-v-669639e4]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-669639e4]{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-669639e4]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-669639e4]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-669639e4]{font-size:%?25?%;color:#000;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-669639e4]{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-669639e4]{margin:%?15?% %?0?% %?0?% %?30?%;width:50%;position:absolute;left:%?5?%;bottom:%?15?%}.box_button_remark uni-text[data-v-669639e4]{font-size:%?28?%;color:#b9b5b5}.box_button_buy[data-v-669639e4]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_buy uni-button[data-v-669639e4]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#d41c34;color:#fff;line-height:%?50?%}.box_button_dui[data-v-669639e4]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_dui uni-button[data-v-669639e4]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#fff;color:#000;line-height:%?50?%}.foot_box[data-v-669639e4]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-669639e4]{font-size:%?25?%;color:#fff}.foot_empty[data-v-669639e4]{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-669639e4]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-669639e4]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-669639e4]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-669639e4]{font-size:%?28?%;color:#fff}body.?%PAGE?%[data-v-669639e4]{background-color:#fb7454}',""])},"2e77":function(t,e,n){var i=n("2df5");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("c56e71e6",i,!0,{sourceMap:!1,shadowMode:!1})},"2e7f":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})},"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],s=a[1],c=a[2],u=a[3],l={id:t+":"+o,css:s,media:c,sourceMap:u};i[r]?i[r].parts.push(l):n.push(i[r]={id:r,parts:[l]})}return n}n.r(e),n.d(e,"default",function(){return g});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]),s=null,c=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,o){u=n,d=o||{};var r=i(t,e);return v(r),function(e){for(var n=[],o=0;o<r.length;o++){var s=r[o],c=a[s.id];c.refs--,n.push(c)}e?(r=i(t,e),v(r)):r=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete a[c.id]}}}}function v(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 b(){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(u)return l;i.parentNode.removeChild(i)}if(p){var o=c++;i=s||(s=b()),e=y.bind(null,i,o,!1),n=y.bind(null,i,o,!0)}else i=b(),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),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 i=$();t=t.replace(C,"0px").replace(G,i.top+"px").replace(T,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})},"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}',""])},8681:function(t,e,n){"use strict";var i=n("2e77"),o=n.n(i);o.a},"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,s=n("f0c5"),c=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"9a2b4550",null,!1,i["a"],r);e["default"]=c.exports},a66d:function(t,e,n){"use strict";var i=n("6447"),o=n.n(i);o.a},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()}})):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()}})):e.cancel&&console.log("用户点击取消")}})},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()}})},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}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-GiftPackBuy.cf76459c.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("2730"),o=n("89bc");for(var a in o)"default"!==a&&function(t){n.d(e,t,function(){return o[t]})}(a);n("614e");var r,s=n("f0c5"),c=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"0c6e2058",null,!1,i["a"],r);e["default"]=c.exports},"0548":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-0c6e2058]{background-color:#fb7454}.top_img[data-v-0c6e2058]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-0c6e2058]{width:100%}.top_title[data-v-0c6e2058]{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-0c6e2058]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-0c6e2058]{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-0c6e2058]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-0c6e2058]{font-size:%?30?%;color:#000}.content_box[data-v-0c6e2058]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-0c6e2058]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-0c6e2058]{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-0c6e2058]{width:100%;height:%?230?%}.content_box_title[data-v-0c6e2058]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-0c6e2058]{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-0c6e2058]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-0c6e2058]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-0c6e2058]{font-size:%?25?%;color:#000;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-0c6e2058]{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-0c6e2058]{margin:%?15?% %?0?% %?0?% %?30?%;width:50%;position:absolute;left:%?5?%;bottom:%?15?%}.box_button_remark uni-text[data-v-0c6e2058]{font-size:%?28?%;color:#b9b5b5}.box_button_buy[data-v-0c6e2058]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_buy uni-button[data-v-0c6e2058]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#d41c34;color:#fff;line-height:%?50?%}.box_button_dui[data-v-0c6e2058]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_dui uni-button[data-v-0c6e2058]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#fff;color:#000;line-height:%?50?%}.foot_box[data-v-0c6e2058]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-0c6e2058]{font-size:%?25?%;color:#fff}.foot_empty[data-v-0c6e2058]{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-0c6e2058]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-0c6e2058]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-0c6e2058]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-0c6e2058]{font-size:%?28?%;color:#fff}body.?%PAGE?%[data-v-0c6e2058]{background-color:#fb7454}',""])},"0e8a":function(t,e,n){var i=n("0548");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("6da7f548",i,!0,{sourceMap:!1,shadowMode:!1})},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}},2730: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})},"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],s=a[1],c=a[2],u=a[3],l={id:t+":"+o,css:s,media:c,sourceMap:u};i[r]?i[r].parts.push(l):n.push(i[r]={id:r,parts:[l]})}return n}n.r(e),n.d(e,"default",function(){return g});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]),s=null,c=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,o){u=n,d=o||{};var r=i(t,e);return v(r),function(e){for(var n=[],o=0;o<r.length;o++){var s=r[o],c=a[s.id];c.refs--,n.push(c)}e?(r=i(t,e),v(r)):r=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete a[c.id]}}}}function v(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 b(){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(u)return l;i.parentNode.removeChild(i)}if(p){var o=c++;i=s||(s=b()),e=y.bind(null,i,o,!1),n=y.bind(null,i,o,!0)}else i=b(),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),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,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}}},"614e":function(t,e,n){"use strict";var i=n("0e8a"),o=n.n(i);o.a},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})},"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,s=n("f0c5"),c=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"9a2b4550",null,!1,i["a"],r);e["default"]=c.exports},a66d:function(t,e,n){"use strict";var i=n("6447"),o=n.n(i);o.a},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()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})):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()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},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()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-GiftPackList.b190ab30.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()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(){var t=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",giftBagId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg})),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},GetMyGiftList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,orderSn:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftstarTime=e.data.data.starTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,t.giftState=e.data.data.goodsUseState,uni.hideLoading(),console.log(t.giftState)},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},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()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},GetQrCode:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/gift/goods/verify/code/get",data:{storeId:t.getStorageID,orderSn:t.getGiftID},method:"PUT",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.data),uni.navigateTo({url:"/pages/MyGiftPack/QrCode?number="+t.data.data})):uni.showToast({icon:"none",title:t.data.msg}),uni.hideLoading()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},GetWebHttp:function(t){0==t&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/User/coupon/stoid/"+this.getStorageID+"/user_id/"+this.getUserID+".html"),1==t&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/Yyservice/service_items_list/stoid/"+this.getStorageID+"/user_id/"+this.getUserID+".html"),window.location.href=this.getUrl},TimeToDate:function(t){var e=new Date(1e3*t),i=e.getFullYear(),a=e.getMonth()+1;a=a<10?"0"+a:a;var o=e.getDate();o=o<10?"0"+o:o;var n=e.getHours();n=n<10?"0"+n:n;var s=e.getMinutes();s=s<10?"0"+s:s;var r=e.getSeconds();return r=r<10?"0"+r:r,i+"-"+a+"-"+o+" "+n+":"+s+":"+r},DateToTime:function(t){var e=new Date(t);return e.getTime()}}};e.default=a},2350:function(t,e){function i(t,e){var i=t[1]||"",o=t[3];if(!o)return i;if(e&&"function"===typeof btoa){var n=a(o),s=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[i].concat(s).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 s=t[o];"number"===typeof s[0]&&a[s[0]]||(i&&!s[2]?s[2]=i:i&&(s[2]="("+s[2]+") and ("+i+")"),e.push(s))}},e}},"464b":function(t,e,i){"use strict";var a=i("473f"),o=i.n(a);o.a},"473f":function(t,e,i){var a=i("7d64");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("32e561a2",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],s=n[0],r=n[1],f=n[2],d=n[3],g={id:t+":"+o,css:r,media:f,sourceMap:d};a[s]?a[s].parts.push(g):i.push(a[s]={id:s,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={},s=o&&(document.head||document.getElementsByTagName("head")[0]),r=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 s=a(t,e);return v(s),function(e){for(var i=[],o=0;o<s.length;o++){var r=s[o],f=n[r.id];f.refs--,i.push(f)}e?(s=a(t,e),v(s)):s=[];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 s=[];for(o=0;o<i.parts.length;o++)s.push(b(i.parts[o]));n[i.id]={id:i.id,refs:1,parts:s}}}}function h(){var t=document.createElement("style");return t.type="text/css",s.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=r||(r=h()),e=_.bind(null,a,o,!1),i=_.bind(null,a,o,!0)}else a=h(),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 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),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(n,s[e]):t.appendChild(n)}}function w(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 y=/%\?([+-]?\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(y,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}}},"7d64":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-997afa94]{-webkit-align-content:center;align-content:center}.box_top[data-v-997afa94]{width:100%}.box_top uni-image[data-v-997afa94]{width:100%}.box_title[data-v-997afa94]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-997afa94]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-997afa94]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-997afa94]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-997afa94]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-997afa94]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-997afa94]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-997afa94]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-997afa94]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-997afa94]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-997afa94]{width:19%;height:%?110?%;border:#f5f5f5 solid %?1?%}.box_ware_img uni-image[data-v-997afa94]{width:100%;height:100%}.box_ware_item[data-v-997afa94]{width:82%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-997afa94]{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-997afa94]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-997afa94]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-997afa94]{font-size:%?25?%;position:absolute;bottom:%?5?%;left:0}.box_ware_code[data-v-997afa94]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-997afa94]{width:%?40?%;height:%?40?%}.box_ware_code uni-text[data-v-997afa94]{font-size:%?20?%}.foot_box[data-v-997afa94]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-997afa94]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-997afa94]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-997afa94]{height:%?90?%}.foot_button[data-v-997afa94]{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-997afa94]{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-997afa94]{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-997afa94]{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-997afa94]{background:#999}.foot_button_intalge[data-v-997afa94]{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-997afa94]{background-color:#e85f93}.foot_box_remark[data-v-997afa94] img{width:100%}.foot_box_remark[data-v-997afa94] .img{line-height:0}body.?%PAGE?%[data-v-997afa94]{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("f4d9"),o=i("916e");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("464b");var s,r=i("f0c5"),f=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"997afa94",null,!1,a["a"],s);e["default"]=f.exports},f4d9: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,"/"))&this.getDate<t.DateToTime(this.giftDate.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("立即使用")])],1):t._e(),0==this.giftState&this.getDate<t.DateToTime(this.giftstarTime.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("兑换时间未开始")])],1):t._e(),0==this.giftState&this.getDate>t.DateToTime(this.giftDate.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("商品兑换时间已过")])],1):t._e(),1==this.giftState?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("商品已核销")])],1):t._e(),2==this.giftState?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("无核销商品")])],1):t._e()],1):t._e()],1)},n=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return a})}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-GiftPackList.c0f7ad39.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.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",giftBagId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),console.log(t.$GetInfo.HtmlHttp+"/mobile/Payment/getPay/stoid/"+t.getStorageID+"/order_sn/"+e.data.data.orderSn),window.location.href=t.$GetInfo.HtmlHttp+"/Mobile/Payment/getPay.html?stoid="+t.getStorageID+"&order_sn="+e.data.data.orderSn+"&recharge_type=6"):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg})),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(){var t=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",giftBagId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg})),uni.hideLoading()}})):e.cancel&&console.log("用户点击取消")}})},GetMyGiftList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,orderSn:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftstarTime=e.data.data.starTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,t.giftState=e.data.data.goodsUseState,uni.hideLoading(),console.log(t.giftState)}})},GetBuyGiftList:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,giftBagId:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,uni.hideLoading()}})},GetQrCode:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/gift/goods/verify/code/get",data:{storeId:t.getStorageID,orderSn:t.getGiftID},method:"PUT",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.data),uni.navigateTo({url:"/pages/MyGiftPack/QrCode?number="+t.data.data})):uni.showToast({icon:"none",title:t.data.msg}),uni.hideLoading()}})},GetWebHttp:function(t){0==t&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/User/coupon/stoid/"+this.getStorageID+"/user_id/"+this.getUserID+".html"),1==t&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/Yyservice/service_items_list/stoid/"+this.getStorageID+"/user_id/"+this.getUserID+".html"),window.location.href=this.getUrl},TimeToDate:function(t){var e=new Date(1e3*t),i=e.getFullYear(),a=e.getMonth()+1;a=a<10?"0"+a:a;var o=e.getDate();o=o<10?"0"+o:o;var n=e.getHours();n=n<10?"0"+n:n;var r=e.getMinutes();r=r<10?"0"+r:r;var s=e.getSeconds();return s=s<10?"0"+s:s,i+"-"+a+"-"+o+" "+n+":"+r+":"+s},DateToTime:function(t){var e=new Date(t);return e.getTime()}}};e.default=a},"1d5f":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-19427ac4]{-webkit-align-content:center;align-content:center}.box_top[data-v-19427ac4]{width:100%}.box_top uni-image[data-v-19427ac4]{width:100%}.box_title[data-v-19427ac4]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-19427ac4]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-19427ac4]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-19427ac4]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-19427ac4]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-19427ac4]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-19427ac4]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-19427ac4]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-19427ac4]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-19427ac4]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-19427ac4]{width:19%;height:%?110?%;border:#f5f5f5 solid %?1?%}.box_ware_img uni-image[data-v-19427ac4]{width:100%;height:100%}.box_ware_item[data-v-19427ac4]{width:82%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-19427ac4]{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-19427ac4]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-19427ac4]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-19427ac4]{font-size:%?25?%;position:absolute;bottom:%?5?%;left:0}.box_ware_code[data-v-19427ac4]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-19427ac4]{width:%?40?%;height:%?40?%}.box_ware_code uni-text[data-v-19427ac4]{font-size:%?20?%}.foot_box[data-v-19427ac4]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-19427ac4]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-19427ac4]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-19427ac4]{height:%?90?%}.foot_button[data-v-19427ac4]{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-19427ac4]{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-19427ac4]{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-19427ac4]{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-19427ac4]{background:#999}.foot_button_intalge[data-v-19427ac4]{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-19427ac4]{background-color:#e85f93}.foot_box_remark[data-v-19427ac4] img{width:100%}.foot_box_remark[data-v-19427ac4] .img{line-height:0}body.?%PAGE?%[data-v-19427ac4]{background-color:#e85f93}',""])},2350:function(t,e){function i(t,e){var i=t[1]||"",o=t[3];if(!o)return i;if(e&&"function"===typeof btoa){var n=a(o),r=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[i].concat(r).concat([n]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},o=0;o<this.length;o++){var n=this[o][0];"number"===typeof n&&(a[n]=!0)}for(o=0;o<t.length;o++){var r=t[o];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},3937:function(t,e,i){var a=i("1d5f");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("6f9b61ae",a,!0,{sourceMap:!1,shadowMode:!1})},"40b3":function(t,e,i){"use strict";var a=i("3937"),o=i.n(a);o.a},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},o=0;o<e.length;o++){var n=e[o],r=n[0],s=n[1],c=n[2],g=n[3],d={id:t+":"+o,css:s,media:c,sourceMap:g};a[r]?a[r].parts.push(d):i.push(a[r]={id:r,parts:[d]})}return i}i.r(e),i.d(e,"default",function(){return p});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var n={},r=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,g=!1,d=function(){},f=null,u="data-vue-ssr-id",l="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,i,o){g=i,f=o||{};var r=a(t,e);return v(r),function(e){for(var i=[],o=0;o<r.length;o++){var s=r[o],c=n[s.id];c.refs--,i.push(c)}e?(r=a(t,e),v(r)):r=[];for(o=0;o<i.length;o++){c=i[o];if(0===c.refs){for(var g=0;g<c.parts.length;g++)c.parts[g]();delete n[c.id]}}}}function v(t){for(var e=0;e<t.length;e++){var i=t[e],a=n[i.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](i.parts[o]);for(;o<i.parts.length;o++)a.parts.push(b(i.parts[o]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(o=0;o<i.parts.length;o++)r.push(b(i.parts[o]));n[i.id]={id:i.id,refs:1,parts:r}}}}function h(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function b(t){var e,i,a=document.querySelector("style["+u+'~="'+t.id+'"]');if(a){if(g)return d;a.parentNode.removeChild(a)}if(l){var o=c++;a=s||(s=h()),e=_.bind(null,a,o,!1),i=_.bind(null,a,o,!0)}else a=h(),e=y.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var m=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function _(t,e,i,a){var o=i?"":D(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var n=document.createTextNode(o),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(n,r[e]):t.appendChild(n)}}function y(t,e){var i=D(e.css),a=e.media,o=e.sourceMap;if(a&&t.setAttribute("media",a),f.ssrId&&t.setAttribute(u,e.id),o&&(i+="\n/*# sourceURL="+o.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,x=/\.\?%PAGE\?%/g,I=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,T=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,k=/var\(--status-bar-height\)/gi,G=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi;function D(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(k,e+"(safe-area-inset-top)").replace(G,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(C,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var i=P();if(!uni.canIUse("css.var")){var a=$();t=t.replace(k,"0px").replace(G,a.top+"px").replace(C,a.bottom+"px")}return t.replace(I,i).replace(x,"").replace(T,"body."+i+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function P(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function $(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"916e":function(t,e,i){"use strict";i.r(e);var a=i("1735"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=o.a},"91fb":function(t,e,i){"use strict";i.r(e);var a=i("d815"),o=i("916e");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("40b3");var r,s=i("f0c5"),c=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"19427ac4",null,!1,a["a"],r);e["default"]=c.exports},d815: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,"/"))&this.getDate<t.DateToTime(this.giftDate.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("立即使用")])],1):t._e(),0==this.giftState&this.getDate<t.DateToTime(this.giftstarTime.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("兑换时间未开始")])],1):t._e(),0==this.giftState&this.getDate>t.DateToTime(this.giftDate.replace(/-/g,"/"))?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("商品兑换时间已过")])],1):t._e(),1==this.giftState?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("商品已核销")])],1):t._e(),2==this.giftState?i("v-uni-view",{staticClass:"foot_button_buy foot_button_buy_font"},[i("v-uni-text",[t._v("无核销商品")])],1):t._e()],1):t._e()],1)},n=[];i.d(e,"b",function(){return o}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return a})}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-MyGiftPack.451b011a.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-MyGiftPack"],{"0fba":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})},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})},"41ce":function(t,e,n){var a=n("ddd5");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("16a6e9b4",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],d={id:t+":"+i,css:c,media:s,sourceMap:u};a[r]?a[r].parts.push(d):n.push(a[r]={id:r,parts:[d]})}return n}n.r(e),n.d(e,"default",function(){return g});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=i&&(document.head||document.getElementsByTagName("head")[0]),c=null,s=0,u=!1,d=function(){},l=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(t,e,n,i){u=n,l=i||{};var r=a(t,e);return v(r),function(e){for(var n=[],i=0;i<r.length;i++){var 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 d;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("0fba"),i=n("f38c");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("ea7f");var r,c=n("f0c5"),s=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"06c1dc64",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()},fail:function(t){uni.showToast({icon:"none",title:"网络繁忙,请重试!"}),uni.hideLoading()}})},TimeToDate:function(t){var e=new Date(1e3*t),n=e.getFullYear(),a=e.getMonth()+1;a=a<10?"0"+a:a;var i=e.getDate();i=i<10?"0"+i:i;var o=e.getHours();o=o<10?"0"+o:o;var r=e.getMinutes();r=r<10?"0"+r:r;var c=e.getSeconds();return c=c<10?"0"+c:c,n+"-"+a+"-"+i+" "+o+":"+r+":"+c},DateToTime:function(t){var e=new Date(t);return e.getTime()}}};e.default=o},ddd5: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-06c1dc64]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-06c1dc64]{width:100%}.top_title[data-v-06c1dc64]{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-06c1dc64]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-06c1dc64]{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-06c1dc64]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-06c1dc64]{font-size:%?30?%;color:#000}.content_box[data-v-06c1dc64]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-06c1dc64]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-06c1dc64]{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-06c1dc64]{width:100%;height:%?230?%}.content_box_img_title[data-v-06c1dc64]{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-06c1dc64]{background:#fb6451}.content_box_img_ground2[data-v-06c1dc64]{background:#ffb72d}.content_box_img_ground3[data-v-06c1dc64]{background:#9be0e5}.content_box_img_ground4[data-v-06c1dc64]{background:#4784ef}.content_box_img_title uni-image[data-v-06c1dc64]{width:%?30?%;height:%?30?%}.content_box_img_title uni-text[data-v-06c1dc64]{font-size:%?20?%;color:#fff;line-height:%?25?%;padding-top:%?5?%}.content_box_title[data-v-06c1dc64]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-06c1dc64]{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-06c1dc64]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-06c1dc64]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-06c1dc64]{font-size:%?25?%;color:#c61a34;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-06c1dc64]{text-align:right;margin:%?20?% %?25?% %?20?% %?20?%}.content_box_button uni-button[data-v-06c1dc64]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?25?%;background:#d41c34;color:#fff;line-height:%?50?%}.foot_box[data-v-06c1dc64]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-06c1dc64]{font-size:%?25?%;color:#fff}.foot_empty[data-v-06c1dc64]{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-06c1dc64]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-06c1dc64]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-06c1dc64]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-06c1dc64]{font-size:%?28?%;color:#fff}uni-page-body[data-v-06c1dc64]{background-color:#fb7454}body.?%PAGE?%[data-v-06c1dc64]{background-color:#fb7454}',""])},ea7f:function(t,e,n){"use strict";var a=n("41ce"),i=n.n(a);i.a},f38c:function(t,e,n){"use strict";n.r(e);var a=n("b028"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-MyGiftPack.bfa652b7.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-MyGiftPack"],{"0896":function(t,e,n){"use strict";var a=n("67f8"),i=n.n(a);i.a},2350:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"===typeof btoa){var o=a(i),r=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(r).concat([o]).join("\n")}return[n].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=n(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},i=0;i<this.length;i++){var o=this[i][0];"number"===typeof o&&(a[o]=!0)}for(i=0;i<t.length;i++){var r=t[i];"number"===typeof r[0]&&a[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),e.push(r))}},e}},"3a9c":function(t,e,n){"use strict";var a,i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"uni-load-more"},["loading"===t.status&&t.showIcon?n("v-uni-view",{staticClass:"uni-load-more__img"},[n("v-uni-view",{staticClass:"loadingView",style:{color:t.color}},[t._v("")])],1):t._e(),n("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},o=[];n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return a})},"4f06":function(t,e,n){"use strict";function a(t,e){for(var n=[],a={},i=0;i<e.length;i++){var o=e[i],r=o[0],s=o[1],c=o[2],u=o[3],d={id:t+":"+i,css:s,media:c,sourceMap:u};a[r]?a[r].parts.push(d):n.push(a[r]={id:r,parts:[d]})}return n}n.r(e),n.d(e,"default",function(){return g});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,d=function(){},l=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(t,e,n,i){u=n,l=i||{};var r=a(t,e);return v(r),function(e){for(var n=[],i=0;i<r.length;i++){var s=r[i],c=o[s.id];c.refs--,n.push(c)}e?(r=a(t,e),v(r)):r=[];for(i=0;i<n.length;i++){c=n[i];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],a=o[n.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](n.parts[i]);for(;i<n.parts.length;i++)a.parts.push(_(n.parts[i]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(i=0;i<n.parts.length;i++)r.push(_(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function _(t){var e,n,a=document.querySelector("style["+f+'~="'+t.id+'"]');if(a){if(u)return d;a.parentNode.removeChild(a)}if(p){var i=c++;a=s||(s=b()),e=h.bind(null,a,i,!1),n=h.bind(null,a,i,!0)}else a=b(),e=w.bind(null,a),n=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function h(t,e,n,a){var i=n?"":I(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,i);else{var o=document.createTextNode(i),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var n=I(e.css),a=e.media,i=e.sourceMap;if(a&&t.setAttribute("media",a),l.ssrId&&t.setAttribute(f,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,T=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,G=/var\(--window-top\)/gi,D=/var\(--window-bottom\)/gi;function I(t){var e="";e=uni.canIUse("css.constant")?"constant":e,e=uni.canIUse("css.env")?"env":e,e&&(t=t.replace(C,e+"(safe-area-inset-top)").replace(G,"calc(var(--window-top) + "+e+"(safe-area-inset-top))").replace(D,"calc(var(--window-bottom) + "+e+"(safe-area-inset-bottom))"));var n=S();if(!uni.canIUse("css.var")){var a=z();t=t.replace(C,"0px").replace(G,a.top+"px").replace(D,a.bottom+"px")}return t.replace(k,n).replace(y,"").replace(T,"body."+n+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function S(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function z(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"57c6":function(t,e,n){"use strict";n.r(e);var a=n("5bed"),i=n("f38c");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("0896");var r,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"b248f4d4",null,!1,a["a"],r);e["default"]=c.exports},"5bed":function(t,e,n){"use strict";var a,i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"top_img"},[n("v-uni-view",{staticClass:"top_img"},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift00.jpg?v=20191228"}})],1),n("v-uni-view",{staticClass:"top_title"},[n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_blacktext",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BuyGift.apply(void 0,arguments)}}},[t._v("礼包列表")])],1),n("v-uni-view",{staticClass:"top_title_box_S"}),n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_redtext"},[t._v("我的礼包")])],1)],1),t._l(t.wareCard,function(e,a){return n("v-uni-view",{key:a,staticClass:"content_box"},[n("v-uni-view",{staticClass:"content_box_ware"},[n("v-uni-view",{staticClass:"content_box_img",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.lbUrl}}),0!=e.actType?n("v-uni-view",{class:1==e.actType?"content_box_img_title content_box_img_ground1":2==e.actType?"content_box_img_title content_box_img_ground2":4==e.actType?"content_box_img_title content_box_img_ground3":"content_box_img_title content_box_img_ground4"},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift01.png"}}),1==e.actType?n("v-uni-text",[t._v("新人有礼")]):t._e(),2==e.actType?n("v-uni-text",[t._v("评价有礼")]):t._e(),3==e.actType?n("v-uni-text",[t._v("节日营销")]):t._e(),4==e.actType?n("v-uni-text",[t._v("生日营销")]):t._e(),5==e.actType?n("v-uni-text",[t._v("助力礼包")]):t._e()],1):t._e()],1),n("v-uni-view",{staticClass:"content_box_title"},[n("v-uni-view",{staticClass:"content_ware_title"},[n("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[t._v(t._s(e.giftTitle))])],1),n("v-uni-view",{staticClass:"content_ware_type"},[0==e.actType&e.payMoney>0?n("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),0==e.actType&e.payIntegral>0?n("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):t._e(),1==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),2==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),3==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),4==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),5==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e()],1),n("v-uni-view",{staticClass:"content_ware_price"},[n("v-uni-text",[t._v("原价:¥"+t._s(e.giftPosPrice))])],1),n("v-uni-view",{staticClass:"content_ware_time"},[t.getDate>t.DateToTime(e.starTime.replace(/-/g,"/"))?n("v-uni-text",[t._v("兑换截至日期:"+t._s(e.endTime))]):t._e(),t.getDate<t.DateToTime(e.starTime.replace(/-/g,"/"))?n("v-uni-text",[t._v("距兑换开始时间: "+t._s(e.starTime))]):t._e()],1)],1)],1),n("v-uni-view",{staticClass:"content_box_button"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[t._v("立即使用")])],1)],1)}),1==this.isEmpty?n("v-uni-view",{staticClass:"foot_empty"},[n("v-uni-view",[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift07.png"}})],1),n("v-uni-view",[n("v-uni-text",[t._v("当前暂无礼包")])],1),n("v-uni-view",{staticClass:"foot_empty_button"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BuyGift.apply(void 0,arguments)}}},[t._v("去获取")])],1)],1):t._e(),n("v-uni-view",{staticClass:"foot_box"},[n("v-uni-text",[t._v("———— 到底了 ————")])],1)],2)},o=[];n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return a})},6447:function(t,e,n){var a=n("7bf1");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("e8132bde",a,!0,{sourceMap:!1,shadowMode:!1})},"67f8":function(t,e,n){var a=n("aed8");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("06872535",a,!0,{sourceMap:!1,shadowMode:!1})},"793c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"uLi-load-more",props:{status:{type:String,default:"loading"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=a},"7bf1":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1288772_8nmx02hevxl.ttf) format("truetype")}.loadingView[data-v-9a2b4550]{font-family:iconfont;line-height:1;font-size:%?40?%;-webkit-animation:rotate-data-v-9a2b4550 3s linear infinite;animation:rotate-data-v-9a2b4550 3s linear infinite}@-webkit-keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.uni-load-more[data-v-9a2b4550]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-9a2b4550]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-9a2b4550]{height:24px;width:24px;margin-right:10px;line-height:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}',""])},"8b7c":function(t,e,n){"use strict";n.r(e);var a=n("3a9c"),i=n("aea3");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("a66d");var r,s=n("f0c5"),c=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"9a2b4550",null,!1,a["a"],r);e["default"]=c.exports},a66d:function(t,e,n){"use strict";var a=n("6447"),i=n.n(a);i.a},aea3:function(t,e,n){"use strict";n.r(e);var a=n("793c"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a},aed8:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-11-12\r\n */.top_img[data-v-b248f4d4]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-b248f4d4]{width:100%}.top_title[data-v-b248f4d4]{display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;height:%?85?%;border-radius:%?10?% %?10?% %?0?% %?0?%;margin:%?0?% %?20?% %?0?% %?20?%;-webkit-align-content:center;align-content:center}.top_title_box[data-v-b248f4d4]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-b248f4d4]{width:1%;-webkit-align-content:center;align-content:center;text-align:center;margin:%?20?% %?0?% %?20?% %?0?%;border-left:#000 solid %?3?%}.top_title_redtext[data-v-b248f4d4]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-b248f4d4]{font-size:%?30?%;color:#000}.content_box[data-v-b248f4d4]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-b248f4d4]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-b248f4d4]{margin:%?20?% %?20?% %?20?% %?25?%;width:35%;display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?8?%;position:relative}.content_box_img uni-image[data-v-b248f4d4]{width:100%;height:%?230?%}.content_box_img_title[data-v-b248f4d4]{position:absolute;background:#d01119;display:-webkit-box;display:-webkit-flex;display:flex;padding:%?8?%;border-radius:%?0?% %?0?% %?10?% %?0?%}.content_box_img_ground1[data-v-b248f4d4]{background:#fb6451}.content_box_img_ground2[data-v-b248f4d4]{background:#ffb72d}.content_box_img_ground3[data-v-b248f4d4]{background:#9be0e5}.content_box_img_ground4[data-v-b248f4d4]{background:#4784ef}.content_box_img_title uni-image[data-v-b248f4d4]{width:%?30?%;height:%?30?%}.content_box_img_title uni-text[data-v-b248f4d4]{font-size:%?20?%;color:#fff;line-height:%?25?%;padding-top:%?5?%}.content_box_title[data-v-b248f4d4]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-b248f4d4]{font-size:%?30?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.content_ware_type[data-v-b248f4d4]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-b248f4d4]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-b248f4d4]{font-size:%?25?%;color:#c61a34;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-b248f4d4]{text-align:right;margin:%?20?% %?25?% %?20?% %?20?%}.content_box_button uni-button[data-v-b248f4d4]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?25?%;background:#d41c34;color:#fff;line-height:%?50?%}.foot_box[data-v-b248f4d4]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-b248f4d4]{font-size:%?25?%;color:#fff}.foot_empty[data-v-b248f4d4]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%;text-align:center;padding:%?150?% %?0?% %?300?% %?0?%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.foot_empty uni-image[data-v-b248f4d4]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-b248f4d4]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-b248f4d4]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-b248f4d4]{font-size:%?28?%;color:#fff}uni-page-body[data-v-b248f4d4]{background-color:#fb7454}body.?%PAGE?%[data-v-b248f4d4]{background-color:#fb7454}',""])},b028:function(t,e,n){"use strict";var a=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("386d"),n("4917"),n("3b2b");var i=a(n("8b7c")),o={data:function(){return{getDate:(new Date).getTime(),getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,isEmpty:!1,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:i.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid,this.page=1,this.pageSize=10,this.loadingType=0,this.getList()},onShow:function(){},onReachBottom:function(){0==this.loadingType&&(this.page++,this.getList())},methods:{getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(e);return null!=n?unescape(n[2]):null},BuyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/GiftPackBuy?stoid="+this.getStorageID+"&userid="+this.getUserID})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=0&stoid="+this.getStorageID+"&userid="+this.getUserID+"&id="+t})},getList:function(){var t=this;if(0!=t.loadingType)return!1;t.loadingType=1,uni.showLoading({title:"加载中",mask:!0}),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/page",data:{storeId:t.getStorageID,userId:t.getUserID,page:t.page,pageSize:t.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){if(0==e.data.code)if(console.log(e.data.data),e.data.data.total>0?t.isEmpty=!1:t.isEmpty=!0,0==e.data.data.pageData.length)t.loadingType=2;else{console.log(t.wareCard.length),console.log(e.data.data.pageData.length);for(var n=0;n<e.data.data.pageData.length;n++)t.wareCard.push(e.data.data.pageData[n]);t.loadingType=0}else console.log(e.data.msg);uni.hideLoading()}})},TimeToDate:function(t){var e=new Date(1e3*t),n=e.getFullYear(),a=e.getMonth()+1;a=a<10?"0"+a:a;var i=e.getDate();i=i<10?"0"+i:i;var o=e.getHours();o=o<10?"0"+o:o;var r=e.getMinutes();r=r<10?"0"+r:r;var s=e.getSeconds();return s=s<10?"0"+s:s,n+"-"+a+"-"+i+" "+o+":"+r+":"+s},DateToTime:function(t){var e=new Date(t);return e.getTime()}}};e.default=o},f38c:function(t,e,n){"use strict";n.r(e);var a=n("b028"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a}}]); | |
2 | 0 | \ No newline at end of file |