chunk-0a87134c.d6f6a721.js 3.7 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0a87134c"],{4232:function(t,e,i){t.exports=i.p+"img/post.bafd5f9a.png"},"66b9":function(t,e,i){"use strict";i("68ef")},b650:function(t,e,i){"use strict";var s=i("fe7e");e["a"]=Object(s["a"])({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i(t.tag,{tag:"component",class:t.b([t.type,t.size,{block:t.block,plain:t.plain,round:t.round,square:t.square,loading:t.loading,disabled:t.disabled,unclickable:t.disabled||t.loading,"bottom-action":t.bottomAction}]),attrs:{type:t.nativeType,disabled:t.disabled},on:{click:t.onClick}},[t.loading?i("loading",{attrs:{size:"20px",color:"default"===t.type?void 0:""}}):i("span",{class:t.b("text")},[t._t("default",[t._v(t._s(t.text))])],2)],1)},name:"button",props:{text:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,disabled:Boolean,nativeType:String,bottomAction:Boolean,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"}},methods:{onClick:function(t){this.loading||this.disabled||this.$emit("click",t)}}})},d239:function(t,e,i){"use strict";var s=i("ded8"),a=i.n(s);a.a},ded8:function(t,e,i){},ea1a:function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticStyle:{position:"relative"}},[t._v("\n "+t._s(t.testresult)+"\n "),i("div",{on:{click:t.testSaveGoods}},[t._v(" 点击测试货品保存testSaveGoods")]),i("div",{on:{click:t.testReadGoods}},[t._v(" 点击测试货品数据读取 testReadGoods")]),i("div",{on:{click:t.testSaveReview}},[t._v(" 点击测试货品数据读取testSaveReview")]),i("div",{on:{click:t.testSaveWxid}},[t._v(" 点击测试货品数据读取testSaveWxid")]),i("div",{on:{click:t.testReadWxid}},[t._v(" 点击测试WxID读取testReadWxid")]),i("div",{on:{click:t.testSaveStorage}},[t._v(" 点击写入frontend-userid testSaveStorage")]),i("div",{on:{click:t.testReadStorage}},[t._v(" 点击读取frontend-userid testReadStorage")])]),i("van-button",{attrs:{size:"large",type:"primary"},on:{click:t.Toindex}},[t._v("返回首页")])],1)},a=[],o=i("ade3"),n=(i("7f7f"),i("66b9"),i("b650")),d=i("6ef9"),c={name:"share",components:Object(o["a"])({},n["a"].name,n["a"]),data:function(){return{testresult:"正在测试,请稍后",active:0,share:i("4232")}},methods:{testSaveGoods:function(){window.testvuepage=this,d["a"].get_data("smartGoods/save",function(t){if("10000"!==t.ret){if(t.model.list.length>0&&"1"===t.model)return void this.testSuccess();this.testFailed()}else this.testFailed()})},testReadGoods:function(){window.testvuepage=this,d["a"].get_data("smartGoods/list",function(t){"10000"!==t.ret&&t.model.list.length>0&&void 0!=t.model.list[0]["goodId"]?this.testSuccess():this.testFailed()})},testSaveReview:function(){window.testvuepage=this,d["a"].get_data("/list",function(t){return"10000"!==t.ret?void this.testSuccess():void this.testFailed()})},testSaveWxid:function(){window.testvuepage=this,d["a"].get_data("/list",function(t){return"10000"!==t.ret?void this.testSuccess():void this.testFailed()})},testReadWxid:function(){window.testvuepage=this,d["a"].get_data("/list",function(t){return"10000"!==t.ret?void this.testSuccess():void this.testFailed()})},testSaveStorage:function(){localStorage.setItem("xxx","333"),this.testSuccess()},testReadStorage:function(){window.testvuepage=this,localStorage.getItem("xxx"),this.testSuccess()},testSuccess:function(){Toast.success("测试成功",4e3)},testFail:function(){Toast.fail("测试失败",4e3)},Toindex:function(){this.$router.push("index")}}},l=c,u=(i("d239"),i("2877")),r=Object(u["a"])(l,s,a,!1,null,"4c0fa4a9",null);r.options.__file="beTest.vue";e["default"]=r.exports}}]);
  2. //# sourceMappingURL=chunk-0a87134c.d6f6a721.js.map