1.28 更换echarts文件
This commit is contained in:
130
unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.js
vendored
Normal file
130
unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.js
vendored
Normal file
@@ -0,0 +1,130 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const request_api = require("../../request/api.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
memberInfo: null,
|
||||
//会员信息
|
||||
privilegeList: [
|
||||
"事件关联股票深度分析",
|
||||
"历史事件智能对比复盘",
|
||||
"事件概念关联与挖掘",
|
||||
"概念板块个股追踪",
|
||||
"概念深深度研报与解读",
|
||||
"个股异动实时预警",
|
||||
"事件传导链路智能分析",
|
||||
"概念演变时间轴追溯",
|
||||
"个股全方位深度研究",
|
||||
"价小前投研助手无限使用",
|
||||
"新功能优先体验权",
|
||||
"专属客服一对一服务"
|
||||
]
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.getMemberStatus();
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击加入vip
|
||||
*/
|
||||
clickJoinVip() {
|
||||
if (!this.memberInfo.is_member) {
|
||||
common_vendor.index.showModal({
|
||||
content: "请点击下方按钮复制链接并在浏览器中打开以完成会员购买流程",
|
||||
showCancel: false,
|
||||
confirmText: "复制",
|
||||
success(res) {
|
||||
if (res.confirm) {
|
||||
common_vendor.index.setClipboardData({
|
||||
data: "https://valuefrontier.cn/home/pages/account/subscription"
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 获取会员状态
|
||||
*/
|
||||
getMemberStatus() {
|
||||
request_api.membershipStatus().then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.memberInfo = res.data;
|
||||
} else
|
||||
common_vendor.index.showToast({
|
||||
title: res.message,
|
||||
icon: "none"
|
||||
});
|
||||
}).catch((error) => {
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
leftText: "会员中心"
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: $data.memberInfo
|
||||
}, $data.memberInfo ? common_vendor.e({
|
||||
d: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
e: common_assets._imports_1$12
|
||||
} : {
|
||||
f: common_assets._imports_2$9
|
||||
}, {
|
||||
g: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
h: common_vendor.t($data.memberInfo.subscription_type),
|
||||
i: common_vendor.t($data.memberInfo.member_expire_date)
|
||||
} : {}, {
|
||||
j: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
k: common_assets._imports_3$9
|
||||
} : {
|
||||
l: common_assets._imports_4$8
|
||||
}, {
|
||||
m: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
n: common_assets._imports_5$5
|
||||
} : {
|
||||
o: common_assets._imports_6$1
|
||||
}, {
|
||||
p: common_vendor.f($data.privilegeList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item),
|
||||
b: index > 5
|
||||
}, index > 5 ? {
|
||||
c: common_assets._imports_7$3
|
||||
} : {
|
||||
d: common_assets._imports_8$3
|
||||
}, {
|
||||
e: index
|
||||
});
|
||||
}),
|
||||
q: common_assets._imports_8$3,
|
||||
r: common_vendor.n("privilegeList " + ($data.memberInfo.is_member ? "vip" : "")),
|
||||
s: common_vendor.s("margin-top:" + $data.navH + "px;")
|
||||
}) : {}, {
|
||||
t: $data.memberInfo
|
||||
}, $data.memberInfo ? {
|
||||
v: common_vendor.t($data.memberInfo.is_member ? "您已是年度VIP" : "立即加入年度VIP"),
|
||||
w: common_vendor.o(($event) => $options.clickJoinVip())
|
||||
} : {});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesMine/vipMeal/vipMeal.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="2f528ea3-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view wx:if="{{c}}" class="vipC" style="{{s}}"><view class="vipInfoC relative"><image wx:if="{{d}}" class="bg" src="{{e}}" mode="widthFix"></image><image wx:else class="bg" src="{{f}}" mode="widthFix"></image><view wx:if="{{g}}" class="infoC vip absolute"><view class="title">尊贵的{{h}}VIP会员</view><view class="tips">会员有效期至:{{i}}</view></view><view wx:else class="infoC absolute"><view class="title">价值前沿</view><view class="tips">您还不是会员 加入尊享N项服务</view></view></view><view class="privilegeCompareC relative"><view class="titleC flexCenter"><image wx:if="{{j}}" class="icon" src="{{k}}" mode="widthFix"></image><image wx:else class="icon" src="{{l}}" mode="widthFix"></image><view class="title">特权对比</view><image wx:if="{{m}}" class="icon" src="{{n}}" mode="widthFix"></image><image wx:else class="icon" src="{{o}}" mode="widthFix"></image></view><view class="{{r}}"><view class="header flex"><view class="privilege item">专属特权</view><view class="item free">pro会员</view><view class="item vip">max会员</view></view><view class="list"><view wx:for="{{p}}" wx:for-item="item" wx:key="e" class="item flex"><view class="optionItem privilege flex">{{item.a}}</view><view class="optionItem free flexCenter"><block wx:if="{{item.b}}"><image class="notContain" src="{{item.c}}" mode="widthFix"></image></block><block wx:else><image class="contain" src="{{item.d}}" mode="widthFix"></image></block></view><view class="optionItem vip flexCenter"><image class="contain" src="{{q}}" mode="widthFix"></image></view></view></view></view></view></view><view wx:if="{{t}}" class="joinVipC fixed" bindtap="{{w}}">{{v}}</view></view>
|
||||
124
unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.wxss
vendored
Normal file
124
unpackage/dist/dev/mp-weixin/pagesMine/vipMeal/vipMeal.wxss
vendored
Normal file
@@ -0,0 +1,124 @@
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.vipC {
|
||||
padding-bottom: calc(180rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
.vipC .vipInfoC {
|
||||
margin: 0 25rpx;
|
||||
}
|
||||
.vipC .vipInfoC .bg {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .vipInfoC .infoC {
|
||||
top: 130rpx;
|
||||
left: 38rpx;
|
||||
}
|
||||
.vipC .vipInfoC .infoC .title {
|
||||
font-size: 40rpx;
|
||||
font-weight: bold;
|
||||
color: #556B87;
|
||||
}
|
||||
.vipC .vipInfoC .infoC .tips {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #65758A;
|
||||
}
|
||||
.vipC .vipInfoC .infoC.vip .title {
|
||||
color: #AB3D1A;
|
||||
}
|
||||
.vipC .vipInfoC .infoC.vip .tips {
|
||||
color: #AB3D1A;
|
||||
}
|
||||
.vipC .privilegeCompareC {
|
||||
background-color: white;
|
||||
margin-top: -70rpx;
|
||||
padding-top: 40rpx;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
}
|
||||
.vipC .privilegeCompareC .titleC .icon {
|
||||
width: 54rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .privilegeCompareC .titleC .title {
|
||||
margin: 0 20rpx;
|
||||
font-size: 50rpx;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList {
|
||||
margin: 0 25rpx;
|
||||
padding: 0 30rpx;
|
||||
box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .header {
|
||||
margin-top: 50rpx;
|
||||
padding-top: 14rpx;
|
||||
border-bottom: solid 1rpx #F3F4F6;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .header .item {
|
||||
line-height: 90rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #555;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .header .item.privilege {
|
||||
padding-left: 24rpx;
|
||||
width: 300rpx;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .header .item.free {
|
||||
width: 174rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .header .item.vip {
|
||||
width: 160rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .item .optionItem {
|
||||
height: 90rpx;
|
||||
border-bottom: solid 1rpx #F3F4F6;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .item .optionItem .contain {
|
||||
width: 21rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .item .optionItem .notContain {
|
||||
width: 17rpx;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .optionItem.privilege {
|
||||
width: 300rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #222;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .optionItem.free {
|
||||
width: 174rpx;
|
||||
font-size: 20rpx;
|
||||
color: #555;
|
||||
text-align: center;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList .list .optionItem.vip {
|
||||
width: 160rpx;
|
||||
}
|
||||
.vipC .privilegeCompareC .privilegeList.vip {
|
||||
box-shadow: 0px 0px 9px 0px rgba(249, 115, 22, 0.4);
|
||||
}
|
||||
.joinVipC {
|
||||
background-color: #F97316;
|
||||
margin: 0 25rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: calc(20rpx + env(safe-area-inset-bottom));
|
||||
line-height: 80rpx;
|
||||
border-radius: 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user