pages-Login-index.0f0142b0.js
6.24 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Login-index"],{"202d":function(e,t,i){i("a9e3"),i("4d63"),i("ac1f"),i("25f0"),i("5319"),i("1276"),function(){var t={expires:"1d",path:"; path=/",domain:"",secure:"",sameSite:""},i={install:function(e){e.prototype.$cookies=this,e.$cookies=this},config:function(e,i,n,a,o){t.expires=e||"1d",t.path=i?"; path="+i:"; path=/",t.domain=n?"; domain="+n:"",t.secure=a?"; Secure":"",t.sameSite=o?"; SameSite="+o:""},get:function(e){var t=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(t&&"{"===t.substring(0,1)&&"}"===t.substring(t.length-1,t.length))try{t=JSON.parse(t)}catch(i){return t}return t},set:function(e,i,n,a,o,s,c){if(!e)throw new Error("Cookie name is not find in first argument.");if(/^(?:expires|max\-age|path|domain|secure|SameSite)$/i.test(e))throw new Error("Cookie key name illegality, Cannot be set to ['expires','max-age','path','domain','secure','SameSite']\t current key name: "+e);i&&i.constructor===Object&&(i=JSON.stringify(i));var r="";if(n=void 0===n?t.expires:n,n&&0!=n)switch(n.constructor){case Number:r=n===1/0||-1===n?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+n;break;case String:if(/^(?:\d{1,}(y|m|d|h|min|s))$/i.test(n)){var u=n.replace(/^(\d{1,})(?:y|m|d|h|min|s)$/i,"$1");switch(n.replace(/^(?:\d{1,})(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":r="; max-age="+2592e3*+u;break;case"d":r="; max-age="+86400*+u;break;case"h":r="; max-age="+3600*+u;break;case"min":r="; max-age="+60*+u;break;case"s":r="; max-age="+u;break;case"y":r="; max-age="+31104e3*+u;break;default:new Error("unknown exception of 'set operation'")}}else r="; expires="+n;break;case Date:r="; expires="+n.toUTCString();break}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(i)+r+(o?"; domain="+o:t.domain)+(a?"; path="+a:t.path)+(void 0===s?t.secure:s?"; Secure":"")+(void 0===c?t.sameSite:c?"; SameSite="+c:""),this},remove:function(e,i,n){return!(!e||!this.isKey(e))&&(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(n?"; domain="+n:t.domain)+(i?"; path="+i:t.path),this)},isKey:function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){if(!document.cookie)return[];for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),t=0;t<e.length;t++)e[t]=decodeURIComponent(e[t]);return e}};e.exports=i,"undefined"!==typeof window&&(window.$cookies=i)}()},2740:function(e,t,i){"use strict";i.r(t);var n=i("a8c9"),a=i.n(n);for(var o in n)"default"!==o&&function(e){i.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a},"8d15":function(e,t,i){var n=i("c54e");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("3f02b38a",n,!0,{sourceMap:!1,shadowMode:!1})},a8c9:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;i("202d");var n={data:function(){return{userid:"5682278"}},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?stoid=1&userid=5682277"})},MyGiftPack:function(){uni.navigateTo({url:"../MyGiftPack/MyGiftPack?stoid=1&userid=5682130"})},ToCookise:function(){$cookies.set("user_id",this.userid),uni.showToast({icon:"none",title:"默认成功"+this.userid})}}};t.default=n},c54e:function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,".fist_box[data-v-24622760]{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-24622760]{font-size:%?40?%}",""]),e.exports=t},d58b:function(e,t,i){"use strict";i.r(t);var n=i("dcb6"),a=i("2740");for(var o in a)"default"!==o&&function(e){i.d(t,e,(function(){return a[e]}))}(o);i("de6c");var s,c=i("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"24622760",null,!1,n["a"],s);t["default"]=r.exports},dcb6:function(e,t,i){"use strict";var n,a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-view",{staticClass:"fist_box"},[i("v-uni-text",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.NewVip.apply(void 0,arguments)}}},[e._v("新人有礼")])],1),i("v-uni-view",{staticClass:"fist_box"},[i("v-uni-text",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.Birthday.apply(void 0,arguments)}}},[e._v("生日有礼")])],1),i("v-uni-view",{staticClass:"fist_box"},[i("v-uni-text",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.Evaluate.apply(void 0,arguments)}}},[e._v("评价有礼")])],1),i("v-uni-view",{staticClass:"fist_box"},[i("v-uni-text",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.Holiday.apply(void 0,arguments)}}},[e._v("节日有礼")])],1),i("v-uni-view",{staticClass:"fist_box"},[i("v-uni-text",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.Assistance.apply(void 0,arguments)}}},[e._v("助力活动")])],1),i("v-uni-view",{staticClass:"fist_box"},[i("v-uni-text",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.MyGiftPack.apply(void 0,arguments)}}},[e._v("我的礼包")])],1),i("v-uni-view",{staticClass:"fist_box"},[i("v-uni-input",{staticClass:"input",attrs:{type:"text",placeholder:"用户"},model:{value:e.userid,callback:function(t){e.userid=t},expression:"userid"}}),i("v-uni-text",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.ToCookise.apply(void 0,arguments)}}},[e._v("默认COOKISE")])],1)],1)},o=[];i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return n}))},de6c:function(e,t,i){"use strict";var n=i("8d15"),a=i.n(n);a.a}}]);