You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
7.0 KiB
1 line
7.0 KiB
2 years ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-views-setting-index"],{"0926":function(t,e,o){"use strict";var n=o("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o("a8b2"),i=n(o("963e")),c=getApp(),l={data:function(){return{themeColor:{},colorModal:!1,themeList:c.globalData.config}},components:{itemCell:i.default},props:{},onLoad:function(t){var e=(0,a.getConfig)();this.setData({themeColor:e})},onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){},methods:{showColorModal:function(){this.setData({colorModal:!0})},closeColor:function(){this.setData({colorModal:!1})},SetColor:function(t){(0,a.setConfig)(t),this.setData({themeColor:t,colorModal:!1}),c.globalData.newColor=t.color},onexit:function(){uni.showModal({cancelColor:"#999",content:"确认要退出登录吗?",confirmColor:this.themeColor.color,success:function(t){t.confirm&&((0,a.removeToken)(),(0,a.removeUserInfo)(),uni.showToast({title:"退出成功",icon:"none"}),setTimeout((function(){uni.switchTab({url:"../tabBar/home"})}),1500))}})}}};e.default=l},"1ec3":function(t,e,o){"use strict";o.r(e);var n=o("84f1"),a=o.n(n);for(var i in n)"default"!==i&&function(t){o.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},2717:function(t,e,o){"use strict";var n=o("9833"),a=o.n(n);a.a},"3d84":function(t,e,o){"use strict";var n;o.d(e,"b",(function(){return a})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"item_cell"},[o("v-uni-view",[t._v(t._s(t.cellname))]),o("v-uni-image",{attrs:{src:"/static/images/home/right.png"}})],1)},i=[]},7211:function(t,e,o){"use strict";var n=o("ef7a"),a=o.n(n);a.a},"84f1":function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},components:{},props:{cellname:{type:String},linkUrl:{type:String}},methods:{}};e.default=n},"963e":function(t,e,o){"use strict";o.r(e);var n=o("3d84"),a=o("1ec3");for(var i in a)"default"!==i&&function(t){o.d(e,t,(function(){return a[t]}))}(i);o("c3df");var c,l=o("f0c5"),s=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"fa475f34",null,!1,n["a"],c);e["default"]=s.exports},9833:function(t,e,o){var n=o("f6ba");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=o("4f06").default;a("c41bfd38",n,!0,{sourceMap:!1,shadowMode:!1})},b0d5:function(t,e,o){"use strict";var n;o.d(e,"b",(function(){return a})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"setting"},[o("v-uni-view",{staticClass:"cell_box"},[o("item-cell",{attrs:{cellname:"关于商城"}}),o("item-cell",{attrs:{cellname:"站点帮助"}}),o("item-cell",{attrs:{cellname:"意见反馈"}})],1),o("v-uni-view",{staticClass:"cu-list menu sm-border card-menu"},[o("v-uni-view",{staticClass:"cu-item"},[o("v-uni-view",{staticClass:"content flex align-center"},[o("v-uni-text",{class:"cuIcon-colorlens text-"+t.themeColor.name}),o("v-uni-view",{class:"padding solid radius shadow-blur bg-"+t.themeColor.name}),o("v-uni-view",{staticClass:"title"},[t._v("主题色:"),o("v-uni-text",{class:"text-"+t.themeColor.name},[t._v(t._s(t.themeColor.title))])],1)],1),o("v-uni-view",{staticClass:"action"},[o("v-uni-button",{class:"cu-btn round shadow bg-"+t.themeColor.name,on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showColorModal.apply(void 0,arguments)}}},[o("v-uni-text",{staticClass:"cuIcon-colorlens"}),t._v("选择主题")],1)],1)],1)],1),o("v-uni-view",{class:"cu-modal "+(1==t.colorModal?"show":"")},[o("v-uni-view",{staticClass:"cu-dialog"},[o("v-uni-view",{staticClass:"cu-bar justify-end solid-bottom"},[o("v-uni-view",{staticClass:"content"},[t._v("选择颜色")]),o("v-uni-view",{staticClass:"action",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeColor.apply(void
|