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.
 
 
 
 
 
huazhiyu/unpackage/dist/build/h5/static/js/pages-Setting-Setting.9b159...

1 lines
14 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Setting-Setting"],{"0ddf":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.page[data-v-cec52970]{position:absolute;left:0;bottom:0;width:100%;height:100%;background-color:#f6f6f6}\r\n/* 用户信息 */.user-info[data-v-cec52970]{width:100%;height:%?300?%;background-color:#fff;border-radius:0 0 %?20?% %?20?%}.user-info .user-data[data-v-cec52970]{display:flex;align-items:center;padding:0 4%;height:%?200?%}.user-info .user-data .portrait-nickname[data-v-cec52970]{display:flex;align-items:center;width:100%;height:90%}.user-info .user-data .portrait-nickname .portrait[data-v-cec52970]{width:%?140?%;height:%?140?%}.user-info .user-data .portrait-nickname .portrait uni-image[data-v-cec52970]{width:100%;height:100%;border-radius:100%}.user-info .user-data .portrait-nickname .nickname[data-v-cec52970]{display:flex;align-items:center;margin-left:%?20?%;height:%?140?%}.user-info .user-data .portrait-nickname .nickname uni-text[data-v-cec52970]{font-size:%?28?%;color:#222}.user-info .user-data .more[data-v-cec52970]{display:flex;align-items:center}.user-info .user-data .more uni-text[data-v-cec52970]{color:#959595;font-size:%?28?%}.user-info .address[data-v-cec52970]{display:flex;align-items:center;justify-content:space-between;padding:0 4%;height:%?100?%;border-top:%?2?% solid #f6f6f6}.user-info .address .title[data-v-cec52970]{display:flex;align-items:center}.user-info .address .title uni-text[data-v-cec52970]{font-size:%?28?%;color:#555}.user-info .address .more[data-v-cec52970]{display:flex;align-items:center}.user-info .address .more uni-text[data-v-cec52970]{color:#959595;font-size:%?28?%}\r\n/* 设置列表 */.setting-list[data-v-cec52970]{padding:0 4%;background-color:#fff;border-radius:%?20?%;margin:%?20?%}.setting-list .list[data-v-cec52970]{display:flex;align-items:center;justify-content:space-between;width:100%;height:%?100?%;border-bottom:%?2?% solid #f6f6f6}.setting-list .list .title[data-v-cec52970]{display:flex;align-items:center}.setting-list .list .title uni-text[data-v-cec52970]{font-size:%?28?%;color:#222}.setting-list .list .more-content[data-v-cec52970]{display:flex;align-items:center}.setting-list .list .more-content .content[data-v-cec52970]{font-size:%?28?%;color:#959595}.setting-list .list .more-content .more[data-v-cec52970]{font-size:%?24?%;color:#959595;margin-left:%?20?%}\r\n/* 退出登录 */.quit-login[data-v-cec52970]{position:fixed;left:0;bottom:%?80?%;display:flex;align-items:center;justify-content:center;margin:%?20?%;width:calc(100% - %?40?%);height:%?80?%;color:#fff;background:#236030;border-radius:%?20?%}.quit-login uni-text[data-v-cec52970]{color:#fff;font-size:%?28?%}.agreeText[data-v-cec52970]{position:fixed;left:0;width:100%;text-align:center;bottom:%?40?%;display:flex;align-items:center;justify-content:center}.agreeText .link[data-v-cec52970]{color:#4d9a5e;font-size:%?24?%}',""]),t.exports=e},2790:function(t,e,i){"use strict";i.r(e);var n=i("c5a9"),r=i("68d5");for(var o in r)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(o);i("6388");var s=i("f0c5"),a=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"cec52970",null,!1,n["a"],void 0);e["default"]=a.exports},6388:function(t,e,i){"use strict";var n=i("8570"),r=i.n(n);r.a},"68d5":function(t,e,i){"use strict";i.r(e);var n=i("f8b1"),r=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=r.a},"78d1":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.userRegister=e.updateUserInfo=e.smsSend=e.smsCheck=e.privacyPolicy=e.payUpGoods=e.orderPay=e.orderDetail=e.logout=e.loginApi=e.getgoodsDetail=e.getWarehouseList=e.getUserProfitStatistic=e.getUserProfitList=e.getUserInfo=e.getUserFansStatistic=e.getUserFansOrderStatistic=e.getUserFansOrderList=e.getUserFansList=e.getUserCommissionStatistic=e.getUserCommissionList=e.getUserCommissionApi=e.getSellerOrderList=e.getGoodsList=e.getBuyerOrderList=e.getArea=e.getAddrList=e.getAddrDesc=e.forgetPsw=e.editAddr=e.deleteAddr=e.createOrder=e.couponList=e.changePassword=e.cancelOrder=e.bindInvitor=e.addAddr=void 0;var n=uni.$u.http;e.smsSend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/api/sms/send",t,e)};e.smsCheck=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/api/sms/check",t,e)};e.userRegister=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/api/user/register",t,e)};e.loginApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/api/user/login",t,e)};e.privacyPolicy=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/addons/shopro/data.richtext/index",t,e)};e.forgetPsw=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/api/user/resetpwd",t,e)};e.getUserInfo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/getUserinfo",t,e)};e.getAddrList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/addons/shopro/user.address/index",t,e)};e.getArea=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/addons/shopro/data.area/index",t,e)};e.addAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/addons/shopro/user.address/add",t,e)};e.editAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/addons/shopro/user.address/edit",t,e)};e.deleteAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/addons/shopro/user.address/delete",t,e)};e.getAddrDesc=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/addons/shopro/user.address/detail",t,e)};e.changePassword=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/addons/shopro/user.user/changePassword",t,e)};e.logout=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/logout",t,e)};e.updateUserInfo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/updateUserInfo",t,e)};e.couponList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/addons/shopro/user.coupon/index",t,e)};e.getUserCommissionStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/getUserCommissionStatistic",t,e)};e.getUserCommissionApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/getUserCommission",t,e)};e.getUserCommissionList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/getUserCommissionList",t,e)};e.getUserFansStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/getUserFansStatistic",t,e)};e.getUserFansList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/getUserFansList",t,e)};e.getUserFansOrderStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/getUserFansOrderStatistic",t,e)};e.getUserFansOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/getUserFansOrderList",t,e)};e.getUserProfitStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/getUserProfitStatistic",t,e)};e.getUserProfitList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/getUserProfitList",t,e)};e.getWarehouseList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/order/getWarehouseList",t,e)};e.getGoodsList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/order/getGoodsList",t,e)};e.getgoodsDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.get("/api/order/goodsDetail",{params:t},e)};e.getBuyerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.get("/api/order/getBuyerOrderList",{params:t},e)};e.getSellerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.get("/api/order/getSellerOrderList",{params:t},e)};e.createOrder=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/order/createOrder",t,e)};e.cancelOrder=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/order/cancelOrder",t,e)};e.orderDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.get("/api/order/orderDetail",{params:t},e)};e.orderPay=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/order/orderPay",t,e)};e.bindInvitor=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/user/bindInvitor",t,e)};e.payUpGoods=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return n.post("/api/order/payUpGoods",t,e)}},8570:function(t,e,i){var n=i("0ddf");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("35cd40f3",n,!0,{sourceMap:!1,shadowMode:!1})},c5a9:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={DialogBox:i("d494").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"setting-list"},[i("v-uni-view",{staticClass:"list",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSetting("account")}}},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",[t._v("账户与安全")])],1),i("v-uni-view",{staticClass:"more-content"},[i("v-uni-text",{staticClass:"iconfont icon-more more"})],1)],1),i("v-uni-view",{staticClass:"list",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goText(3)}}},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",[t._v("关于")])],1),i("v-uni-view",{staticClass:"more-content"},[i("v-uni-text",{staticClass:"iconfont icon-more more"})],1)],1)],1),i("v-uni-view",{staticClass:"quit-login",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onQuitLogin.apply(void 0,arguments)}}},[i("v-uni-text",[t._v("退出登录")])],1),i("v-uni-view",{staticClass:"agreeText"},[i("v-uni-view",{staticClass:"link",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goText(1)}}},[t._v("《合之赢用户协议》")]),i("v-uni-text",[t._v("和")]),i("v-uni-view",{staticClass:"link",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goText(2)}}},[t._v("《合之赢隐私协议》")])],1),i("DialogBox",{ref:"DialogBox"})],1)},o=[]},f8b1:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("6d22"),r=i("78d1"),o={data:function(){return{}},methods:{goText:function(t){uni.navigateTo({url:"/pages/my/richText?id=".concat(t)})},onUserInfo:function(){uni.navigateTo({url:"/pages/Information/Information"})},onAddress:function(){uni.navigateTo({url:"/pages/AddressList/AddressList"})},onSetting:function(t){switch(t){case"account":uni.navigateTo({url:"/pages/AccountSecurity/AccountSecurity"});break;case"pay":uni.navigateTo({url:"/pages/PaymentPassword/PaymentPassword"});break;case"invoice":uni.navigateTo({url:"/pages/InvoiceList/InvoiceList"});break;case"vip":uni.navigateTo({url:"/pages/MyMemberInterest/MyMemberInterest"});break;case"common":uni.navigateTo({url:"/pages/SettingCommon/SettingCommon"});break;case"about":uni.navigateTo({url:"/pages/AboutUs/AboutUs"});break}},onQuitLogin:function(){this.$refs["DialogBox"].confirm({title:"提示",content:"是否要退出登录?",DialogType:"inquiry",animation:0}).then((function(){(0,r.logout)().then((function(t){1==t.code&&((0,n.removeAll)(),uni.switchTab({url:"/pages/home/home"}))}))}))}}};e.default=o}}]);