97 lines
3.5 KiB
JavaScript
97 lines
3.5 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const common_assets = require("../../common/assets.js");
|
|
const _sfc_main = {
|
|
data() {
|
|
return {
|
|
navH: common_vendor.inject("navHeight"),
|
|
contentTop: "",
|
|
otherTop: "",
|
|
activeIndex: 0,
|
|
tabList: ["盈利能力", "每股指标", "成长能力", "资产负债表", "现金流量指标"],
|
|
filterIndex: 0,
|
|
filterList: ["全部", "年报", "中报", "一季度", "三季度"],
|
|
leftList: ["营收增长率%", "净利润增长率%", "扣非净利润增长率%", "归母净利润增长率%", "经营现金流增长率%", "总资产增长率%", "净资产增长率%", "固定"]
|
|
};
|
|
},
|
|
onLoad(e) {
|
|
this.activeIndex = e.index;
|
|
this.contentTop = this.navH + 20 / 750 * common_vendor.inject("windowWidth");
|
|
this.otherTop = this.navH + 204 / 750 * common_vendor.inject("windowWidth");
|
|
},
|
|
methods: {}
|
|
};
|
|
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 {
|
|
a: common_vendor.p({
|
|
leftText: "平安银行(000001)",
|
|
hideNavBg: true
|
|
}),
|
|
b: common_assets._imports_0,
|
|
c: common_vendor.f($data.tabList, (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item),
|
|
b: common_vendor.o(($event) => $data.activeIndex = index, index),
|
|
c: index,
|
|
d: "tab-" + index,
|
|
e: index == $data.tabList.length - 1 ? "0" : "40rpx",
|
|
f: $data.activeIndex == index ? "#2B2B2B" : "#999999",
|
|
g: $data.activeIndex == index ? "28rpx" : "26rpx",
|
|
h: $data.activeIndex == index ? "1rpx solid #F2C369" : "none",
|
|
i: $data.activeIndex == index ? "bold" : "500"
|
|
};
|
|
}),
|
|
d: "tab-" + $data.activeIndex,
|
|
e: common_vendor.f($data.filterList, (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item),
|
|
b: common_vendor.o(($event) => $data.filterIndex = index, index),
|
|
c: index,
|
|
d: $data.filterIndex == index ? "#070707" : "#939393",
|
|
e: $data.filterIndex == index ? "#F2C369" : "#F6F6F6"
|
|
};
|
|
}),
|
|
f: `repeat(${$data.filterList.length}, 110rpx)`,
|
|
g: common_assets._imports_1$12,
|
|
h: common_vendor.s("top:" + $data.contentTop + "px;"),
|
|
i: common_vendor.f($data.leftList, (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item),
|
|
b: index,
|
|
c: index % 2 == 0 ? "#fff" : "#FAFAFC"
|
|
};
|
|
}),
|
|
j: common_vendor.f(8, (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.f($data.leftList, (item2, index2, i1) => {
|
|
return {
|
|
a: index2,
|
|
b: index2 % 2 == 0 ? "#fff" : "#FAFAFC"
|
|
};
|
|
}),
|
|
b: index
|
|
};
|
|
}),
|
|
k: common_vendor.s("top:" + $data.otherTop + "px;"),
|
|
l: common_vendor.o(($event) => _ctx.sendEventComment()),
|
|
m: _ctx.eventComment,
|
|
n: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
|
|
o: common_assets._imports_2$9,
|
|
p: common_assets._imports_3$7,
|
|
q: common_vendor.o(($event) => _ctx.clickComment()),
|
|
r: common_assets._imports_4$8,
|
|
s: common_vendor.o(($event) => _ctx.clickFollow())
|
|
};
|
|
}
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
wx.createPage(MiniProgramPage);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesStock/stockCenterDetails/cwDetails.js.map
|