个股中心

This commit is contained in:
zw199166
2026-01-26 15:34:26 +08:00
parent 30d2ec5823
commit 08db2fd33b
82 changed files with 1741 additions and 151 deletions

View File

@@ -105,14 +105,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
c: common_vendor.f($data.bkList, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: common_vendor.o(($event) => $data.activeIndex = index, index),
c: index,
d: $data.activeIndex == index ? "#2B2B2B" : "#999999",
e: $data.activeIndex == index ? "1rpx solid #F2C369" : "none",
f: $data.activeIndex == index ? "28rpx" : "26rpx"
b: "tab-" + index,
c: common_vendor.o(($event) => $data.activeIndex = index, index),
d: index,
e: $data.activeIndex == index ? "#2B2B2B" : "#999999",
f: $data.activeIndex == index ? "1rpx solid #F2C369" : "none",
g: $data.activeIndex == index ? "28rpx" : "26rpx"
};
}),
d: common_vendor.f($data.bkFilters, (item, index, i0) => {
d: "tab-" + $data.activeIndex,
e: common_vendor.f($data.bkFilters, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: common_vendor.o(($event) => $data.filterIndex = index, index),
@@ -122,20 +124,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: index
};
}),
e: common_vendor.f(["名称", "涨幅", "连板", "板块"], (item, index, i0) => {
f: common_vendor.f(["名称", "涨幅", "连板", "板块"], (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index,
c: index == 0 ? "left" : "center"
};
}),
f: common_vendor.f(30, (item, index, i0) => {
g: common_vendor.f(30, (item, index, i0) => {
return {
a: index % 2 == 0 ? "#fff" : "#FAFAFC"
};
}),
g: common_assets._imports_1$10,
h: common_vendor.s("top:" + $data.contentTop + "px;")
h: common_assets._imports_1$10,
i: common_vendor.s("top:" + $data.contentTop + "px;")
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);

View File

@@ -1 +1 @@
<view><nav-bar wx:if="{{a}}" u-i="c81f2840-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="stockDetailsC fixed" style="{{'background-color:white;border-radius:10rpx;overflow:hidden;margin:25rpx' + ';' + h}}"><view style="height:86rpx"><scroll-view scroll-x style="white-space:nowrap;height:100%"><view style="display:flex;align-items:center;height:100%;font-weight:500"><view wx:for="{{c}}" wx:for-item="item" wx:key="c" bindtap="{{item.b}}" style="{{'display:flex;align-items:center;justify-content:center;line-height:85rpx;margin:0 20rpx' + ';' + ('color:' + item.d + ';' + ('border-bottom:' + item.e) + ';' + ('font-size:' + item.f))}}">{{item.a}}</view></view></scroll-view></view><view style="height:1rpx;background-color:#E7E7E7;margin:0 20rpx"></view><view style="height:48rpx;display:grid;grid-template-columns:repeat(3, 1fr);gap:10rpx;margin:23rpx 40rpx"><view wx:for="{{d}}" wx:for-item="item" wx:key="f" bindtap="{{item.b}}" style="{{'height:45rpx;display:flex;align-items:center;justify-content:center;color:#939393;font-size:24rpx;font-weight:500;border-radius:5rpx' + ';' + ('color:' + item.c + ';' + ('border:' + item.d) + ';' + ('background-color:' + item.e))}}">{{item.a}}</view></view><view style="margin:0 20rpx;background-color:#FAFAFC;display:grid;grid-template-columns:35% 20% 20% 25%"><view wx:for="{{e}}" wx:for-item="item" wx:key="b" style="{{'font-size:22rpx;color:#666666;padding:0 15rpx;box-sizing:border-box;font-weight:500;line-height:60rpx' + ';' + ('text-align:' + item.c)}}">{{item.a}}</view></view><scroll-view scroll-y style="position:absolute;top:241rpx;left:0;right:0;bottom:0;font-size:20rpx;font-weight:500"><view wx:for="{{f}}" wx:for-item="item" style="{{'margin:0 20rpx;display:grid;grid-template-columns:35% 20% 20% 25%' + ';' + ('background-color:' + item.a)}}"><view style="display:flex;align-items:center;color:#666666;height:60rpx"><view style="display:flex;align-items:center;background-color:#FFF0E6;border-radius:5rpx;padding:0 10rpx;margin-left:14rpx"><image style="width:15rpx;height:17rpx" src="{{g}}" mode="widthFix"></image><view style="color:#F97316;margin-left:5rpx">跟风</view></view><view style="margin-left:10rpx">康强电子</view></view><view style="display:flex;align-items:center;justify-content:center"><view style="font-size:24rpx;color:#EC3440;font-weight:bold">+10.00%</view></view><view style="display:flex;align-items:center;justify-content:center"><view style="color:#F3B800;padding:0 10rpx;border-radius:5rpx;background-color:#FFF9E6;border:1rpx solid #F3B800;display:flex;align-items:center;justify-content:center">2连板</view></view><view style="display:flex;align-items:center;justify-content:center"><view style="background-color:#F4EFFF;border-radius:5rpx;padding:0 10rpx;color:#8B5CF6">芯片(封装材料)</view></view></view></scroll-view></view></view>
<view><nav-bar wx:if="{{a}}" u-i="c81f2840-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="stockDetailsC fixed" style="{{'background-color:white;border-radius:10rpx;overflow:hidden' + ';' + i}}"><view style="height:86rpx"><scroll-view scroll-x style="white-space:nowrap;height:100%;padding:0 20rpx;box-sizing:border-box" scroll-with-animation scroll-into-view="{{d}}"><view style="display:flex;align-items:center;height:100%;font-weight:500"><view wx:for="{{c}}" wx:for-item="item" wx:key="d" id="{{item.b}}" bindtap="{{item.c}}" style="{{'display:flex;align-items:center;justify-content:center;line-height:85rpx;margin:0 20rpx' + ';' + ('color:' + item.e + ';' + ('border-bottom:' + item.f) + ';' + ('font-size:' + item.g))}}">{{item.a}}</view></view></scroll-view></view><view style="height:1rpx;background-color:#E7E7E7;margin:0 20rpx"></view><view style="height:48rpx;display:grid;grid-template-columns:repeat(3, 1fr);gap:10rpx;margin:23rpx 40rpx"><view wx:for="{{e}}" wx:for-item="item" wx:key="f" bindtap="{{item.b}}" style="{{'height:45rpx;display:flex;align-items:center;justify-content:center;color:#939393;font-size:24rpx;font-weight:500;border-radius:5rpx' + ';' + ('color:' + item.c + ';' + ('border:' + item.d) + ';' + ('background-color:' + item.e))}}">{{item.a}}</view></view><view style="margin:0 20rpx;background-color:#FAFAFC;display:grid;grid-template-columns:35% 20% 20% 25%"><view wx:for="{{f}}" wx:for-item="item" wx:key="b" style="{{'font-size:22rpx;color:#666666;padding:0 15rpx;box-sizing:border-box;font-weight:500;line-height:60rpx' + ';' + ('text-align:' + item.c)}}">{{item.a}}</view></view><scroll-view scroll-y style="position:absolute;top:241rpx;left:0;right:0;bottom:0;font-size:20rpx;font-weight:500"><view wx:for="{{g}}" wx:for-item="item" style="{{'margin:0 20rpx;display:grid;grid-template-columns:35% 20% 20% 25%' + ';' + ('background-color:' + item.a)}}"><view style="display:flex;align-items:center;color:#666666;height:60rpx"><view style="display:flex;align-items:center;background-color:#FFF0E6;border-radius:5rpx;padding:0 10rpx;margin-left:14rpx"><image style="width:15rpx;height:17rpx" src="{{h}}" mode="widthFix"></image><view style="color:#F97316;margin-left:5rpx">跟风</view></view><view style="margin-left:10rpx">康强电子</view></view><view style="display:flex;align-items:center;justify-content:center"><view style="font-size:24rpx;color:#EC3440;font-weight:bold">+10.00%</view></view><view style="display:flex;align-items:center;justify-content:center"><view style="color:#F3B800;padding:0 10rpx;border-radius:5rpx;background-color:#FFF9E6;border:1rpx solid #F3B800;display:flex;align-items:center;justify-content:center">2连板</view></view><view style="display:flex;align-items:center;justify-content:center"><view style="background-color:#F4EFFF;border-radius:5rpx;padding:0 10rpx;color:#8B5CF6">芯片(封装材料)</view></view></view></scroll-view></view></view>

View File

@@ -8,7 +8,8 @@ page {
height: auto;
}
.stockDetailsC {
left: 0;
right: 0;
left: 25rpx;
right: 25rpx;
width: calc(100vw - 50rpx);
bottom: env(safe-area-inset-bottom);
}

View File

@@ -85,9 +85,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
m: _ctx.eventComment,
n: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
o: common_assets._imports_2$9,
p: common_assets._imports_3$8,
p: common_assets._imports_3$7,
q: common_vendor.o(($event) => _ctx.clickComment()),
r: common_assets._imports_4$7,
r: common_assets._imports_4$8,
s: common_vendor.o(($event) => _ctx.clickFollow())
};
}

View File

@@ -183,8 +183,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: common_vendor.o(($event) => $data.keywords = $event.detail.value),
g: common_vendor.s("top:" + $data.navH + "px;"),
h: common_assets._imports_2$10,
i: common_assets._imports_3$9,
j: common_assets._imports_4$8,
i: common_assets._imports_3$8,
j: common_assets._imports_4$9,
k: common_assets._imports_5$3,
l: common_vendor.f($data.tabList, (item, index, i0) => {
return {
@@ -277,9 +277,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
Q: _ctx.eventComment,
R: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
S: common_assets._imports_2$9,
T: common_assets._imports_3$8,
T: common_assets._imports_3$7,
U: common_vendor.o(($event) => _ctx.clickComment()),
V: common_assets._imports_4$7,
V: common_assets._imports_4$8,
W: common_vendor.o(($event) => _ctx.clickFollow()),
X: common_assets._imports_13$1,
Y: common_assets._imports_8$2,

View File

@@ -162,8 +162,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
}),
k: common_assets._imports_1$10,
l: common_assets._imports_5$4,
m: common_assets._imports_5$4,
l: common_assets._imports_5$5,
m: common_assets._imports_5$5,
n: common_vendor.s("top:" + $data.contentTop + "px;")
};
}