# Conflicts:
#	unpackage/dist/dev/.sourcemap/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.js.map
#	unpackage/dist/dev/mp-weixin/common/vendor.js
This commit is contained in:
zw199166
2026-01-22 14:35:57 +08:00
779 changed files with 5 additions and 42373 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,10 +0,0 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {
"nav-bar": "../../components/navBar/navBar",
"ua-markdown": "../../components/ua-markdown/ua-markdown",
"zui-progress-circle": "../../uni_modules/zui-progress-circle/components/zui-progress-circle/zui-progress-circle",
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js"),o=require("../../../utils/util.js"),c=require("../../../common/assets.js"),i={data:()=>({navH:e.inject("navHeight"),eventId:"",contentTop:"",investDetails:null,former:"",categoryList:["背景","推演","相关股票"],selectCategory:0,stockCategoryList:[{title:"全部股票",num:0,bgColor:"#D82A2A",color:"white"},{title:"大周期",num:0,bgColor:"#3A5D9C",color:"white"},{title:"TMT板块",num:0,bgColor:"#FFBF00",color:"white"},{title:"大金融地产",num:0,bgColor:"#FFF4D3"},{title:"大消费",num:0,bgColor:"#CDEEEE"},{title:"公共产业板块",num:0,bgColor:"#DEEBF7"}],accMul:o.accMul}),onLoad(t){this.contentTop=this.navH+.136*e.inject("windowWidth"),t.id&&(this.eventId=t.id,this.getEventDetailsData())},methods:{clickCategoryItem(e){this.selectCategory!=e&&(this.selectCategory=e)},clickLookRelatedStockItem(t){e.index.navigateTo({url:"/pages/index/stockDetails/stockDetails?type=2&code="+t.code+"&des="+t.description+"&name="+t.name})},getEventDetailsData(){t.investEventDetails(this.eventId).then((t=>{if(200==t.code){let e=t.data.detail;for(let t of this.stockCategoryList)t.num=e.sector_stats[t.title];this.investDetails=e,this.former=e.former.replace("<answer>","").replace("</answer>","")}else e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){(e.resolveComponent("navBar")+e.resolveComponent("ua-markdown"))()}Math||((()=>"../../../components/navBar/navBar.js")+(()=>"../../../components/ua-markdown/ua-markdown.js"))();const s=e._export_sfc(i,[["render",function(t,o,i,s,r,a){return e.e({a:e.p({leftText:"事件详情",hideNavBg:!0}),b:c._imports_0,c:e.f(r.categoryList,((t,o,c)=>({a:e.t(t),b:e.n("item relative "+(r.selectCategory==o?"select":"")),c:o,d:e.o((e=>a.clickCategoryItem(o)),o)}))),d:e.s("top:"+r.navH+"px;"),e:r.investDetails},r.investDetails?e.e({f:0==r.selectCategory},0==r.selectCategory?{g:e.p({source:r.former})}:{},{h:1==r.selectCategory},1==r.selectCategory?{i:e.p({source:r.investDetails.forecast})}:{},{j:2==r.selectCategory},2==r.selectCategory?{k:e.f(r.stockCategoryList,((t,o,c)=>({a:e.t(t.num),b:e.t(t.title),c:e.s("background-color:"+t.bgColor+";color:"+t.color+";"),d:o}))),l:e.f(r.investDetails.related_stocks,((t,o,c)=>e.e({a:e.t(t.code+" "+t.name),b:e.t(t.score),c:t.sw_primary_sector},t.sw_primary_sector?{d:e.t(t.sw_primary_sector)}:{},{e:e.t(t.description),f:o,g:e.o((e=>a.clickLookRelatedStockItem(t)),o)})))}:{},{m:3==r.selectCategory},3==r.selectCategory?{n:e.f(t.conceptList,((o,c,i)=>e.e({a:e.t(o.concept),b:o.price_info},o.price_info?{c:e.t(t.getChgRateStr(o.price_info.avg_change_pct)),d:e.n("chg "+(t.getRateUpOrDown(o.price_info.avg_change_pct)?"down":"up"))}:{},{e:o.price_info},o.price_info?{f:e.t(o.stock_count),g:e.n("stockNum "+(t.getRateUpOrDown(o.price_info.avg_change_pct)?"down":"up"))}:{},{h:e.t(o.description),i:e.f(o.stocks.slice(0,3),((t,o,c)=>({a:e.t(t.stock_name),b:o}))),j:e.t(o.stock_count-3),k:e.o((e=>t.clickStockMore(o)),c),l:e.t(o.price_info?o.price_info.trade_date:""),m:e.o((e=>t.clickHistoricalTimeline(o)),c),n:c}))),o:c._imports_1$3}:{},{p:e.s("top:"+r.contentTop+"px;")}):{})}]]);wx.createPage(s);

View File

@@ -1,7 +0,0 @@
{
"navigationBarTitleText": "",
"usingComponents": {
"nav-bar": "../../../components/navBar/navBar",
"ua-markdown": "../../../components/ua-markdown/ua-markdown"
}
}

View File

@@ -1 +0,0 @@
<view><nav-bar wx:if="{{a}}" u-i="18050982-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="categoryC fixed" style="{{d}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view wx:if="{{e}}" class="contentC fixed" style="{{p}}"><view wx:if="{{f}}" class="former"><ua-markdown wx:if="{{g}}" u-i="18050982-1" bind:__l="__l" u-p="{{g}}"/><text class="ai">AI合成</text></view><view wx:if="{{h}}" class="former"><ua-markdown wx:if="{{i}}" u-i="18050982-2" bind:__l="__l" u-p="{{i}}"/></view><view wx:if="{{j}}" class="stockC"><view class="stockCategoryList flexWrap"><view wx:for="{{k}}" wx:for-item="item" wx:key="d" class="item flexColumnCenter" style="{{item.c}}"><view class="num">{{item.a}}</view><view class="title">{{item.b}}</view></view></view><view class="stockList"><view wx:for="{{l}}" wx:for-item="item" wx:key="f" class="item" bindtap="{{item.g}}"><view class="titleCorrelationC flex"><view class="title flex1">{{item.a}}</view><view class="correlation">相关度: {{item.b}}%</view></view><view wx:if="{{item.c}}" class="category">{{item.d}}</view><view class="content">{{item.e}}</view></view></view></view><view wx:if="{{m}}"><view class="conceptList"><view wx:for="{{n}}" wx:for-item="item" wx:key="n" class="item"><view class="titleChgStockNumC flex"><view class="title">{{item.a}}</view><view wx:if="{{item.b}}" class="{{item.d}}">{{item.c}}%</view><view wx:if="{{item.e}}" class="{{item.g}}">{{item.f}} 只股票</view></view><view class="content">{{item.h}}</view><view class="hotStockC flex"><view class="title">热门个股</view><view class="stockList flex"><view wx:for="{{item.i}}" wx:for-item="sitem" wx:key="b" class="stockItem">{{sitem.a}}</view><view class="more" bindtap="{{item.k}}">+{{item.j}}更多</view></view></view><view class="transactionDateHistoryTimeC flex"><view class="transactionDate flex1">交易时间:{{item.l}}</view><view class="historyTimeC flex" bindtap="{{item.m}}"><image class="icon" src="{{o}}" mode="widthFix"></image><view>历史时间轴</view></view></view></view></view></view></view></view>

View File

@@ -1 +0,0 @@
page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.categoryC{margin-top:10rpx;padding:20rpx 10rpx 0;left:0;right:0;border-radius:20rpx 20rpx 0 0}.categoryC .item{display:inline-block;padding:0 30rpx;line-height:76rpx;font-size:27rpx;font-weight:500;color:#939393}.categoryC .item.select{font-weight:700;color:#f3c368}.contentC{background:linear-gradient(-30deg,#fff6f0,#fefefe);left:0;right:0;bottom:env(safe-area-inset-bottom);margin:0 25rpx;border-radius:10rpx;overflow-y:scroll}.contentC .former{padding:40rpx 25rpx}.contentC .former .ai{font-size:28rpx;color:#c00000}.contentC .stockCategoryList{margin-top:30rpx;padding:0 20rpx}.contentC .stockCategoryList .item{margin:0 30rpx 20rpx 0;width:calc((100% - 60rpx)/3);height:100rpx;border-radius:10rpx}.contentC .stockCategoryList .item .num{font-size:36rpx;font-weight:700}.contentC .stockCategoryList .item .title{font-size:24rpx;font-weight:500}.contentC .stockCategoryList .item:nth-child(3n){margin-right:0}.contentC .stockList{padding:22rpx 25rpx 30rpx}.contentC .stockList .item{padding:22rpx 0 30rpx;border-bottom:solid 1rpx #E4E4E4}.contentC .stockList .item .title{font-size:30rpx;font-weight:700;color:#222}.contentC .stockList .item .correlation{background-color:rgba(249,115,22,.1);padding:0 13rpx;line-height:40rpx;border-radius:5rpx;font-size:24rpx;font-weight:500;color:#f97316}.contentC .stockList .item .category{display:inline-block;padding:0 10rpx;line-height:28rpx;border:solid 1rpx #F6604A;font-size:20rpx;font-weight:500;color:#f6604a;border-radius:5rpx}.contentC .stockList .item .content{margin-top:18rpx;font-size:24rpx;font-weight:500;color:#666;line-height:1.2rem}.contentC .conceptList{padding:30rpx 25rpx}.contentC .conceptList .item{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin-bottom:24rpx;border-radius:10rpx}.contentC .conceptList .item .titleChgStockNumC{padding:24rpx 18rpx 0}.contentC .conceptList .item .titleChgStockNumC .title{margin-right:20rpx;font-size:30rpx;font-weight:700;color:#3d3d3d}.contentC .conceptList .item .titleChgStockNumC .chg{margin-right:20rpx;padding:0 13rpx;line-height:40rpx;border-radius:20rpx;font-size:22rpx;font-weight:700;color:#fff}.contentC .conceptList .item .titleChgStockNumC .chg.up{background-color:#ec3440}.contentC .conceptList .item .titleChgStockNumC .chg.down{background-color:#355422}.contentC .conceptList .item .titleChgStockNumC .stockNum{padding:0 16rpx;line-height:36rpx;border-radius:20rpx;font-size:22rpx;font-weight:700}.contentC .conceptList .item .titleChgStockNumC .stockNum.up{color:#ec3440;border:solid 2rpx #EC3440}.contentC .conceptList .item .titleChgStockNumC .stockNum.down{color:#355422;border:solid 2rpx #355422}.contentC .conceptList .item .content{margin-top:26rpx;padding:0 22rpx;font-size:24rpx;font-weight:500;color:#71675d;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.contentC .conceptList .item .hotStockC{margin-top:30rpx;padding:0 20rpx}.contentC .conceptList .item .hotStockC .title{margin-right:10rpx;font-size:24rpx;font-weight:700;color:#936e5c}.contentC .conceptList .item .hotStockC .stockList{font-size:22rpx}.contentC .conceptList .item .hotStockC .stockList .stockItem{background-color:#3d3d3d;margin-right:10rpx;padding:0 8rpx;line-height:36rpx;border-radius:5rpx 20rpx;color:#efddd1}.contentC .conceptList .item .hotStockC .stockList .more{color:#936e5c;line-height:36rpx}.contentC .conceptList .item .hotStockC .notVipC{background-color:#3d3d3d;padding:0 21rpx 0 16rpx;line-height:36rpx;border-radius:5rpx;font-size:22rpx;color:#f3c368}.contentC .conceptList .item .hotStockC .notVipC .icon{margin-right:9rpx;width:15rpx;height:auto}.contentC .conceptList .item .transactionDateHistoryTimeC{padding:20rpx 22rpx 30rpx}.contentC .conceptList .item .transactionDateHistoryTimeC .transactionDate{font-size:20rpx;font-weight:500;color:#666}.contentC .conceptList .item .transactionDateHistoryTimeC .historyTimeC{background-color:#f3c368;padding:0 10rpx 0 15rpx;line-height:36rpx;border-radius:10rpx;font-size:22rpx;font-weight:500;color:#101213}.contentC .conceptList .item .transactionDateHistoryTimeC .historyTimeC .icon{margin-right:7rpx;width:20rpx;height:auto}