12.12 页面风格改版,增加事件详情相关概念网页跳转,增加绑定手机号功能
This commit is contained in:
@@ -35,7 +35,7 @@ const _sfc_main = {
|
||||
type: "cross"
|
||||
},
|
||||
formatter: function(params) {
|
||||
common_vendor.index.__f__("log", "at pages/index/stockDetails/stockDetails.vue:74", params);
|
||||
common_vendor.index.__f__("log", "at pages/index/stockDetails/stockDetails.vue:77", params);
|
||||
let res = "日期:" + params[0].name + "\n开盘价:" + params[0].data[1] + "\n收盘价:" + params[0].data[2] + "\n最低价:" + params[0].data[3] + "\n最高价:" + params[0].data[4];
|
||||
return res;
|
||||
}
|
||||
@@ -159,7 +159,7 @@ const _sfc_main = {
|
||||
if (e.code) {
|
||||
this.type = e.type;
|
||||
if (e.type == 1) {
|
||||
this.contentTop = this.navH + (60 + 8) / 750 * common_vendor.inject("windowWidth");
|
||||
this.contentTop = this.navH + 20 / 750 * common_vendor.inject("windowWidth");
|
||||
this.eventId = e.id;
|
||||
this.stockCode = e.code;
|
||||
this.getStockDetailsData();
|
||||
@@ -343,7 +343,8 @@ if (!Math) {
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
leftText: $data.navTitle
|
||||
leftText: $data.navTitle,
|
||||
hideNavBg: true
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: $data.type == 1
|
||||
@@ -357,21 +358,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => $options.clickCategoryItem(index), index)
|
||||
});
|
||||
}),
|
||||
e: common_vendor.s("top:" + $data.navH + "px;")
|
||||
})
|
||||
} : {}, {
|
||||
f: $data.type == 1 && $data.tradeData
|
||||
e: $data.type == 1 && $data.tradeData
|
||||
}, $data.type == 1 && $data.tradeData ? {
|
||||
g: common_vendor.t($data.tradeData.volume),
|
||||
h: common_vendor.t($data.tradeData.amount)
|
||||
f: common_vendor.t($data.tradeData.volume),
|
||||
g: common_vendor.t($data.tradeData.amount)
|
||||
} : {}, {
|
||||
i: $data.type == 1
|
||||
h: $data.type == 1
|
||||
}, $data.type == 1 ? {
|
||||
j: common_vendor.sr("chartRef", "42054871-1")
|
||||
i: common_vendor.sr("chartRef", "42054871-1")
|
||||
} : {}, {
|
||||
k: common_vendor.t($data.relatedDesc),
|
||||
j: common_vendor.t($data.relatedDesc),
|
||||
k: common_vendor.s("margin-top:" + $data.contentTop + "px;"),
|
||||
l: $data.type == 1 && $data.sourceList.length > 0
|
||||
}, $data.type == 1 && $data.sourceList.length > 0 ? {} : {}, {
|
||||
}, $data.type == 1 && $data.sourceList.length > 0 ? {
|
||||
m: common_vendor.f($data.sourceList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.sentences),
|
||||
@@ -380,10 +381,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.t($data.getLocalDate(item.declare_date)),
|
||||
e: index
|
||||
};
|
||||
}),
|
||||
n: common_vendor.n("contentC fixed " + ($data.type == 2 ? "radius" : "")),
|
||||
o: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
});
|
||||
})
|
||||
} : {});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
|
||||
Reference in New Issue
Block a user