12.17 事件详情相关概念,概念中心增加下拉刷新,分页加载,增加新闻详情展示
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:77", params);
|
||||
common_vendor.index.__f__("log", "at pages/index/stockDetails/stockDetails.vue:89", 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;
|
||||
}
|
||||
@@ -361,19 +361,36 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
})
|
||||
} : {}, {
|
||||
e: $data.type == 1 && $data.tradeData
|
||||
}, $data.type == 1 && $data.tradeData ? {
|
||||
f: common_vendor.t($data.tradeData.volume),
|
||||
g: common_vendor.t($data.tradeData.amount)
|
||||
} : {}, {
|
||||
h: $data.type == 1
|
||||
}, $data.type == 1 && $data.tradeData ? common_vendor.e({
|
||||
f: $data.tradeData.volume > 1e8
|
||||
}, $data.tradeData.volume > 1e8 ? {
|
||||
g: common_vendor.t(($data.tradeData.volume / 1e8).toFixed(2))
|
||||
} : common_vendor.e({
|
||||
h: $data.tradeData.volume > 1e4
|
||||
}, $data.tradeData.volume > 1e4 ? {
|
||||
i: common_vendor.t(($data.tradeData.volume / 1e4).toFixed(2))
|
||||
} : {
|
||||
j: common_vendor.t($data.tradeData.volume)
|
||||
}), {
|
||||
k: $data.tradeData.amount > 1e8
|
||||
}, $data.tradeData.amount > 1e8 ? {
|
||||
l: common_vendor.t(($data.tradeData.amount / 1e8).toFixed(2))
|
||||
} : common_vendor.e({
|
||||
m: $data.tradeData.amount > 1e4
|
||||
}, $data.tradeData.amount > 1e4 ? {
|
||||
n: common_vendor.t(($data.tradeData.amount / 1e4).toFixed(2))
|
||||
} : {
|
||||
o: common_vendor.t($data.tradeData.amount)
|
||||
})) : {}, {
|
||||
p: $data.type == 1
|
||||
}, $data.type == 1 ? {
|
||||
i: common_vendor.sr("chartRef", "42054871-1")
|
||||
q: common_vendor.sr("chartRef", "42054871-1")
|
||||
} : {}, {
|
||||
j: common_vendor.t($data.relatedDesc),
|
||||
k: common_vendor.s("margin-top:" + $data.contentTop + "px;"),
|
||||
l: $data.type == 1 && $data.sourceList.length > 0
|
||||
r: common_vendor.t($data.relatedDesc),
|
||||
s: common_vendor.s("margin-top:" + $data.contentTop + "px;"),
|
||||
t: $data.type == 1 && $data.sourceList.length > 0
|
||||
}, $data.type == 1 && $data.sourceList.length > 0 ? {
|
||||
m: common_vendor.f($data.sourceList, (item, index, i0) => {
|
||||
v: common_vendor.f($data.sourceList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.sentences),
|
||||
b: common_vendor.t(item.report_title),
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="42054871-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="chartDesC relative" style="{{k}}"><view wx:if="{{c}}" class="tabC"><view wx:for="{{d}}" wx:for-item="item" wx:key="d" class="{{item.c}}" bindtap="{{item.e}}">{{item.a}} <view wx:if="{{item.b}}" class="line absolute"></view></view></view><view wx:if="{{e}}" class="volumeAmountC flex"><text class="volume">成交量:{{f}}</text><text class="amount">成交金额:{{g}}</text></view><view wx:if="{{h}}" style="width:700rpx;height:400rpx"><l-echart class="r" u-r="chartRef" u-i="42054871-1" bind:__l="__l"></l-echart></view><view class="section">关联描述</view><view class="des">{{j}}<text class="ai">(AI合成)</text></view><view class="riskTips"> 【风险提示:解析内容由价值前沿人工采集整理自新闻、公告、研报等公开信息,团队辛苦编写,未经许可严禁转载。本产品内容内容均不构成投资建议,请投资者注意风险,独立审慎决策。】 </view></view><view wx:if="{{l}}" class="infoSourceC"><view class="section">信息来源</view><view class="list"><view wx:for="{{m}}" wx:for-item="item" wx:key="e" class="item"><view class="content">{{item.a}}</view><view class="article">——《{{item.b}}》</view><view class="authorDateC flex"><view class="author flex1">{{item.c}}</view><view class="date">{{item.d}}</view></view></view></view></view></view>
|
||||
<view><nav-bar wx:if="{{a}}" u-i="42054871-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="chartDesC relative" style="{{s}}"><view wx:if="{{c}}" class="tabC"><view wx:for="{{d}}" wx:for-item="item" wx:key="d" class="{{item.c}}" bindtap="{{item.e}}">{{item.a}} <view wx:if="{{item.b}}" class="line absolute"></view></view></view><view wx:if="{{e}}" class="volumeAmountC flex"><block wx:if="{{f}}"><text class="volume">成交量:{{g}}亿</text></block><block wx:else><text wx:if="{{h}}" class="volume">成交量:{{i}}万</text><text wx:else class="volume">成交量:{{j}}</text></block><block wx:if="{{k}}"><text class="amount">成交金额:{{l}}亿元</text></block><block wx:else><text wx:if="{{m}}" class="amount">成交金额:{{n}}万元</text><text wx:else class="amount">成交金额:{{o}}元</text></block></view><view wx:if="{{p}}" style="width:700rpx;height:400rpx"><l-echart class="r" u-r="chartRef" u-i="42054871-1" bind:__l="__l"></l-echart></view><view class="section">关联描述</view><view class="des">{{r}}<text class="ai">(AI合成)</text></view><view class="riskTips"> 【风险提示:解析内容由价值前沿人工采集整理自新闻、公告、研报等公开信息,团队辛苦编写,未经许可严禁转载。本产品内容内容均不构成投资建议,请投资者注意风险,独立审慎决策。】 </view></view><view wx:if="{{t}}" class="infoSourceC"><view class="section">信息来源</view><view class="list"><view wx:for="{{v}}" wx:for-item="item" wx:key="e" class="item"><view class="content">{{item.a}}</view><view class="article">——《{{item.b}}》</view><view class="authorDateC flex"><view class="author flex1">{{item.c}}</view><view class="date">{{item.d}}</view></view></view></view></view></view>
|
||||
Reference in New Issue
Block a user