2.4 组件结构调整,调整会员权限判断

This commit is contained in:
尚政杰
2026-02-04 17:43:41 +08:00
parent eeca65538c
commit 995ee7f220
274 changed files with 7191 additions and 2186 deletions

View File

@@ -250,6 +250,15 @@ const _sfc_main = {
this.selectDateStr = monthAgoYear + "-" + (monthAgoMonth > 9 ? monthAgoMonth : "0" + monthAgoMonth) + "-" + (monthAgoDay > 9 ? monthAgoDay : "0" + monthAgoDay);
}
},
/**
* 点击股票名称查看个股详情
* @param {Object} code
*/
clickStockName(code) {
common_vendor.index.navigateTo({
url: "/pagesStock/stockCenterDetails/stockCenterDetails?code=" + code
});
},
/**
* 获取概念相关个股数据
*/
@@ -265,7 +274,6 @@ const _sfc_main = {
return item.code;
return "";
});
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:383", codes);
request_api.conceptOtherDetails(this.conceptId, {
days: 1,
codes,
@@ -277,10 +285,10 @@ const _sfc_main = {
}
return item;
});
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:397", "===============");
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:398", this.stockList);
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:406", "===============");
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:407", this.stockList);
}).catch((error) => {
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:400", "=-=-=-=-=-=-=-=-=");
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:409", "=-=-=-=-=-=-=-=-=");
});
}).catch((error) => {
});
@@ -305,29 +313,30 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}),
b: common_assets._imports_0,
c: common_vendor.t($data.conceptName),
d: common_assets._imports_1$9,
d: common_assets._imports_1$8,
e: common_vendor.o(($event) => $options.clickDateScreen()),
f: common_vendor.s("top:" + $data.navH + "px;"),
g: common_vendor.f($data.stockList, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.name),
b: common_vendor.t(item.code),
c: item.change_percent
c: common_vendor.o(($event) => $options.clickStockName(item.code), index),
d: item.change_percent
}, item.change_percent ? {
d: common_vendor.t(item.change_percent >= 0 ? "+" + item.change_percent : item.change_percent)
e: common_vendor.t(item.change_percent >= 0 ? "+" + item.change_percent : item.change_percent)
} : {}, {
e: item.isExpand
f: item.isExpand
}, item.isExpand ? {
f: common_assets._imports_2$7
g: common_assets._imports_2$8
} : {
g: common_assets._imports_3$6
h: common_assets._imports_3$6
}, {
h: common_vendor.o(($event) => $options.clickExpandOrRetract(index), index),
i: item.isExpand
i: common_vendor.o(($event) => $options.clickExpandOrRetract(index), index),
j: item.isExpand
}, item.isExpand ? {
j: common_vendor.t(item.reason)
k: common_vendor.t(item.reason)
} : {}, {
k: index
l: index
});
}),
h: common_vendor.s("top:" + $data.listTop + "px;"),
@@ -337,7 +346,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
l: common_vendor.o(($event) => $options.clickPreMonth()),
m: common_vendor.t($data.selectMonth),
n: common_vendor.o((...args) => $options.monthChange && $options.monthChange(...args)),
o: common_assets._imports_1$2,
o: common_assets._imports_2$3,
p: common_vendor.o(($event) => $options.clickNextMonth()),
q: common_vendor.f($data.weekList, (item, index, i0) => {
return {

View File

@@ -1 +1 @@
<view><nav-bar wx:if="{{a}}" u-i="0dffb7e7-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="titleScreenC fixed flex" style="{{f}}"><view class="title flex1">{{c}} - 相关个股</view><view class="screenC flex" bindtap="{{e}}"><view>时间筛选</view><image class="arrow" src="{{d}}" mode="widthFix"></image></view></view><scroll-view scroll-y class="stockList fixed" style="{{h}}"><view class="list"><view wx:for="{{g}}" wx:for-item="item" wx:key="k" class="item"><view class="stockInfoC flex" bindtap="{{item.h}}"><view class="titleCodeC"><view class="title">{{item.a}}</view><view class="code">{{item.b}}</view></view><view wx:if="{{item.c}}" class="chg flex1">{{item.d}}%</view><view wx:else class="chg flex1">-</view><view class="reasonProjectC flex"><view>REASON/项目</view><image wx:if="{{item.e}}" class="arrow expand" src="{{item.f}}" mode="widthFix"></image><image wx:else class="arrow" src="{{item.g}}" mode="widthFix"></image></view></view><view wx:if="{{item.i}}" class="reasonProjectContentC"><view class="reasonC"><text class="title">REASON</text><text>{{item.j}}</text></view><view class="projectC"><text class="title">项目:</text><text>已进入芥末味夏威夷果仁/黑金蒜香茉莉翡翠豆两款产品</text></view></view></view></view></scroll-view><uni-popup wx:if="{{v}}" class="r" u-s="{{['d']}}" u-r="datePopup" u-i="0dffb7e7-1" bind:__l="__l" u-p="{{v}}"><view class="datePopup"><view class="btnTitleC flex"><view class="btn cancel" bindtap="{{i}}">取消</view><view class="title flex1">交易日期</view><view class="btn confirm" bindtap="{{j}}">确认</view></view><view class="yearMonthC flex"><view class="btn" bindtap="{{l}}"><image class="icon" src="{{k}}" mode="widthFix"></image></view><view class="yearMonth flex1"><picker mode="date" fields="month" bindchange="{{n}}"><view>{{m}}</view></picker></view><view class="btn" bindtap="{{p}}"><image class="icon" src="{{o}}" mode="widthFix"></image></view></view><view class="weekList flex"><view wx:for="{{q}}" wx:for-item="item" wx:key="b" class="item flex1">{{item.a}}</view></view><view class="monthDateList flexWrap"><view wx:for="{{r}}" wx:for-item="item" wx:key="f" class="item flexColumnCenter" bindtap="{{item.g}}"><block wx:if="{{item.a}}"><view class="date select">{{item.b}}</view></block><block wx:else><block wx:if="{{item.c}}"><view class="date notCurrentMonth">{{item.d}}</view></block><block wx:else><view class="date">{{item.e}}</view></block></block></view></view><view class="quickTimeC flexCenter"><view wx:for="{{s}}" wx:for-item="item" wx:key="b" class="item" bindtap="{{item.c}}">{{item.a}}</view></view></view></uni-popup></view>
<view><nav-bar wx:if="{{a}}" u-i="0dffb7e7-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="titleScreenC fixed flex" style="{{f}}"><view class="title flex1">{{c}} - 相关个股</view><view class="screenC flex" bindtap="{{e}}"><view>时间筛选</view><image class="arrow" src="{{d}}" mode="widthFix"></image></view></view><scroll-view scroll-y class="stockList fixed" style="{{h}}"><view class="list"><view wx:for="{{g}}" wx:for-item="item" wx:key="l" class="item"><view class="stockInfoC flex" bindtap="{{item.i}}"><view class="titleCodeC" catchtap="{{item.c}}"><view class="title">{{item.a}}</view><view class="code">{{item.b}}</view></view><view wx:if="{{item.d}}" class="chg flex1">{{item.e}}%</view><view wx:else class="chg flex1">-</view><view class="reasonProjectC flex"><view>REASON</view><image wx:if="{{item.f}}" class="arrow expand" src="{{item.g}}" mode="widthFix"></image><image wx:else class="arrow" src="{{item.h}}" mode="widthFix"></image></view></view><view wx:if="{{item.j}}" class="reasonProjectContentC"><view class="reasonC"><text class="title">REASON</text><text>{{item.k}}</text></view></view></view></view></scroll-view><uni-popup wx:if="{{v}}" class="r" u-s="{{['d']}}" u-r="datePopup" u-i="0dffb7e7-1" bind:__l="__l" u-p="{{v}}"><view class="datePopup"><view class="btnTitleC flex"><view class="btn cancel" bindtap="{{i}}">取消</view><view class="title flex1">交易日期</view><view class="btn confirm" bindtap="{{j}}">确认</view></view><view class="yearMonthC flex"><view class="btn" bindtap="{{l}}"><image class="icon" src="{{k}}" mode="widthFix"></image></view><view class="yearMonth flex1"><picker mode="date" fields="month" bindchange="{{n}}"><view>{{m}}</view></picker></view><view class="btn" bindtap="{{p}}"><image class="icon" src="{{o}}" mode="widthFix"></image></view></view><view class="weekList flex"><view wx:for="{{q}}" wx:for-item="item" wx:key="b" class="item flex1">{{item.a}}</view></view><view class="monthDateList flexWrap"><view wx:for="{{r}}" wx:for-item="item" wx:key="f" class="item flexColumnCenter" bindtap="{{item.g}}"><block wx:if="{{item.a}}"><view class="date select">{{item.b}}</view></block><block wx:else><block wx:if="{{item.c}}"><view class="date notCurrentMonth">{{item.d}}</view></block><block wx:else><view class="date">{{item.e}}</view></block></block></view></view><view class="quickTimeC flexCenter"><view wx:for="{{s}}" wx:for-item="item" wx:key="b" class="item" bindtap="{{item.c}}">{{item.a}}</view></view></view></uni-popup></view>