pages-Login-index.d750b778.js
6.25 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Login-index"],{"202d":function(e,t,i){"use strict";var n=i("288e");i("28a5"),i("c5f6");var a=n(i("f499"));i("3b2b"),i("a481"),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,o,s,c,r){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=(0,a.default)(i));var u="";if(n=void 0===n?t.expires:n,n&&0!=n)switch(n.constructor){case Number:u=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 d=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":u="; max-age="+2592e3*+d;break;case"d":u="; max-age="+86400*+d;break;case"h":u="; max-age="+3600*+d;break;case"min":u="; max-age="+60*+d;break;case"s":u="; max-age="+d;break;case"y":u="; max-age="+31104e3*+d;break;default:new Error("unknown exception of 'set operation'")}}else u="; expires="+n;break;case Date:u="; expires="+n.toUTCString();break}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(i)+u+(s?"; domain="+s:t.domain)+(o?"; path="+o:t.path)+(void 0===c?t.secure:c?"; Secure":"")+(void 0===r?t.sameSite:r?"; SameSite="+r:""),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},"48e1":function(e,t,i){var n=i("bfab");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("1b79021f",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},bfab:function(e,t,i){t=e.exports=i("2350")(!1),t.push([e.i,".fist_box[data-v-80c4107c]{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-80c4107c]{font-size:%?40?%}",""])},d58b:function(e,t,i){"use strict";i.r(t);var n=i("d982"),a=i("2740");for(var o in a)"default"!==o&&function(e){i.d(t,e,function(){return a[e]})}(o);i("f059");var s,c=i("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"80c4107c",null,!1,n["a"],s);t["default"]=r.exports},d982: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})},f059:function(e,t,i){"use strict";var n=i("48e1"),a=i.n(n);a.a}}]);