diff --git a/components/diy-components/diy-listmenu.js b/components/diy-components/diy-listmenu.js index 0bbbfad..930cd31 100644 --- a/components/diy-components/diy-listmenu.js +++ b/components/diy-components/diy-listmenu.js @@ -1,4 +1,4 @@ -(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy-components/diy-listmenu"],{2313:function(t,n,e){"use strict";e.r(n);var o=e("f030"),r=e("9b4f");for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(i);e("ea8f");var u=e("828b"),a=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=a.exports},"9b4f":function(t,n,e){"use strict";e.r(n);var o=e("a006"),r=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=r.a},a006:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"diy-listmenu",props:{value:{type:Object}},data:function(){return{loading:!0,lang:t.getStorageSync("lang")}},created:function(){},watch:{componentRefresh:function(t){}},computed:{style:function(){var t="";return t+="background-color:"+this.value.contentBgColor+";","round"==this.value.elementAngle&&(t+="border-top-left-radius:"+2*this.value.topElementAroundRadius+"rpx;",t+="border-top-right-radius:"+2*this.value.topElementAroundRadius+"rpx;",t+="border-bottom-left-radius:"+2*this.value.bottomElementAroundRadius+"rpx;",t+="border-bottom-right-radius:"+2*this.value.bottomElementAroundRadius+"rpx;"),this.value.margin.top>0&&(t+="margin-top:"+2*this.value.margin.top+"rpx;"),t}},methods:{redirectTo:function(t){!t.wap_url||"pages/member/index"!=this.$util.getCurrRoute()||this.storeToken?this.$util.diyRedirectTo(t):this.$refs.login.open(t.wap_url)}}};n.default=e}).call(this,e("df3c")["default"])},ea8f:function(t,n,e){"use strict";var o=e("ff6b"),r=e.n(o);r.a},f030:function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return o}));var o={diyIcon:function(){return e.e("components/diy-components/diy-icon").then(e.bind(null,"8ba4"))}},r=function(){var t=this,n=t.$createElement,e=(t._self._c,t.__map(t.value.list,(function(n,e){var o=t.__get_orig(n),r="img"==n.iconType?t.$util.img(n.imageUrl):null;return{$orig:o,g0:r}})));t.$mp.data=Object.assign({},{$root:{l0:e}})},i=[]},ff6b:function(t,n,e){}}]); +(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy-components/diy-listmenu"],{2313:function(t,n,e){"use strict";e.r(n);var o=e("f030"),r=e("9b4f");for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(i);e("ea8f");var u=e("828b"),a=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=a.exports},"9b4f":function(t,n,e){"use strict";e.r(n);var o=e("a006"),r=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=r.a},a006:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"diy-listmenu",props:{value:{type:Object}},data:function(){return{loading:!0,lang:t.getStorageSync("lang")}},created:function(){},watch:{componentRefresh:function(t){}},computed:{style:function(){var t="";return t+="background-color:"+this.value.contentBgColor+";","round"==this.value.elementAngle&&(t+="border-top-left-radius:"+2*this.value.topElementAroundRadius+"rpx;",t+="border-top-right-radius:"+2*this.value.topElementAroundRadius+"rpx;",t+="border-bottom-left-radius:"+2*this.value.bottomElementAroundRadius+"rpx;",t+="border-bottom-right-radius:"+2*this.value.bottomElementAroundRadius+"rpx;"),this.value.margin.top>0&&(t+="margin-top:"+2*this.value.margin.top+"rpx;"),t}},methods:{redirectTo:function(t){!t.wap_url||"pages/member/index"!=this.$util.getCurrRoute()||this.storeToken?this.$util.diyRedirectTo(t):this.$refs.login.open(t.wap_url)}}};n.default=e}).call(this,e("df3c")["default"])},ea8f:function(t,n,e){"use strict";var o=e("ff6b"),r=e.n(o);r.a},f030:function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return o}));var o={diyIcon:function(){return e.e("components/diy-components/diy-icon").then(e.bind(null,"8ba4"))},nsLogin:function(){return Promise.all([e.e("common/vendor"),e.e("components/ns-login/ns-login")]).then(e.bind(null,"17d0"))}},r=function(){var t=this,n=t.$createElement,e=(t._self._c,t.__map(t.value.list,(function(n,e){var o=t.__get_orig(n),r="img"==n.iconType?t.$util.img(n.imageUrl):null;return{$orig:o,g0:r}})));t.$mp.data=Object.assign({},{$root:{l0:e}})},i=[]},ff6b:function(t,n,e){}}]); ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'components/diy-components/diy-listmenu-create-component', { diff --git a/components/diy-components/diy-listmenu.json b/components/diy-components/diy-listmenu.json index cf84e73..f66799a 100644 --- a/components/diy-components/diy-listmenu.json +++ b/components/diy-components/diy-listmenu.json @@ -1 +1 @@ -{"component":true,"usingComponents":{"diy-icon":"/components/diy-components/diy-icon"}} \ No newline at end of file +{"component":true,"usingComponents":{"diy-icon":"/components/diy-components/diy-icon","ns-login":"/components/ns-login/ns-login"}} \ No newline at end of file diff --git a/components/diy-components/diy-listmenu.wxml b/components/diy-components/diy-listmenu.wxml index 0ef4501..e951972 100644 --- a/components/diy-components/diy-listmenu.wxml +++ b/components/diy-components/diy-listmenu.wxml @@ -1 +1 @@ -{{item.$orig.title}}{{lang=='en-us'?'view':'查看'}} \ No newline at end of file +{{item.$orig.title}}{{lang=='en-us'?'view':'查看'}} \ No newline at end of file diff --git a/components/ns-login/ns-login.json b/components/ns-login/ns-login.json index 97024b4..1f246cf 100644 --- a/components/ns-login/ns-login.json +++ b/components/ns-login/ns-login.json @@ -1 +1 @@ -{"component":true,"usingComponents":{"uni-popup":"/components/uni-popup/uni-popup","register-reward":"/components/register-reward/register-reward"}} \ No newline at end of file +{"component":true,"usingComponents":{"uni-popup":"/components/uni-popup/uni-popup","register-reward":"/components/register-reward/register-reward","privacy-popup":"/components/wx-privacy-popup/privacy-popup"}} \ No newline at end of file