8.28 修改事件详情相关概念模块样式,增加股票详情信息来源展示
This commit is contained in:
59
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
59
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
@@ -12,28 +12,31 @@ const _sfc_main = {
|
||||
menuList: [
|
||||
{
|
||||
icon: "/static/icon/mine/aboutUs.png",
|
||||
title: "关于我们"
|
||||
title: "关于我们",
|
||||
url: "/pages/mine/web/web?type=1"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/serviceTerm.png",
|
||||
title: "服务条款"
|
||||
title: "服务条款",
|
||||
url: "/pages/mine/web/web?type=2"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/privacyProtocol.png",
|
||||
title: "隐私协议"
|
||||
title: "隐私协议",
|
||||
url: "/pages/mine/web/web?type=3"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/feedback.png",
|
||||
title: "意见反馈",
|
||||
url: "/pages/mine/feedback/feedback"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/accountSetting.png",
|
||||
title: "账户设置"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/customerService.png",
|
||||
title: "联系客服"
|
||||
},
|
||||
{
|
||||
icon: "/static/icon/mine/logout.png",
|
||||
title: "退出登录"
|
||||
}
|
||||
]
|
||||
};
|
||||
@@ -58,7 +61,7 @@ const _sfc_main = {
|
||||
*/
|
||||
clickVip() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/mine/vip/vip"
|
||||
url: "/pagesMine/vip/vip"
|
||||
});
|
||||
},
|
||||
/**
|
||||
@@ -79,11 +82,23 @@ const _sfc_main = {
|
||||
url: "/pages/mine/myLike/myLike"
|
||||
});
|
||||
},
|
||||
clickMenuItem(url) {
|
||||
clickMenuItem(url, index) {
|
||||
if (url) {
|
||||
common_vendor.index.navigateTo({
|
||||
url
|
||||
});
|
||||
} else if (index == this.menuList.length - 1) {
|
||||
common_vendor.index.showModal({
|
||||
title: "您确定要退出登录么",
|
||||
success(res) {
|
||||
if (res.confirm) {
|
||||
common_vendor.index.removeStorageSync("token");
|
||||
common_vendor.index.switchTab({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -115,22 +130,28 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
h: common_vendor.s("margin-top:" + $data.infoTop + "px;"),
|
||||
i: common_vendor.o(($event) => $options.clickPersonalInfo())
|
||||
} : {}, {
|
||||
j: common_vendor.o(($event) => $options.clickNumItem(0)),
|
||||
k: common_vendor.o(($event) => $options.clickNumItem(1)),
|
||||
l: common_vendor.o(($event) => $options.clickNumItem(2)),
|
||||
m: common_assets._imports_2$4,
|
||||
n: common_vendor.o(($event) => $options.clickVip()),
|
||||
o: common_vendor.f($data.menuList, (item, index, i0) => {
|
||||
j: $data.userInfo
|
||||
}, $data.userInfo ? {
|
||||
k: common_vendor.t($data.userInfo.statistics.total_comments),
|
||||
l: common_vendor.o(($event) => $options.clickNumItem(0)),
|
||||
m: common_vendor.t($data.userInfo.statistics.follows_count),
|
||||
n: common_vendor.o(($event) => $options.clickNumItem(1)),
|
||||
o: common_vendor.t($data.userInfo.statistics.likes_count),
|
||||
p: common_vendor.o(($event) => $options.clickNumItem(2))
|
||||
} : {}, {
|
||||
q: common_assets._imports_2$4,
|
||||
r: common_vendor.o(($event) => $options.clickVip()),
|
||||
s: common_vendor.f($data.menuList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.icon,
|
||||
b: common_vendor.t(item.title),
|
||||
c: index == $data.menuList.length - 1
|
||||
}, index == $data.menuList.length - 1 ? {} : {}, {
|
||||
c: index == $data.menuList.length - 2
|
||||
}, index == $data.menuList.length - 2 ? {} : {}, {
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickMenuItem(item.url), index)
|
||||
e: common_vendor.o(($event) => $options.clickMenuItem(item.url, index), index)
|
||||
});
|
||||
}),
|
||||
p: common_assets._imports_3$3
|
||||
t: common_assets._imports_3$3
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
|
||||
Reference in New Issue
Block a user