1.14 概念中心模块调整,战略分析模块界面完善

This commit is contained in:
尚政杰
2026-01-14 18:48:02 +08:00
parent 27dc03940b
commit 6ee8ce42ed
888 changed files with 96307 additions and 247 deletions

View File

@@ -89,6 +89,8 @@ const _sfc_main = {
],
sortType: "change_pct",
//选择的排序方式
sortTypeStr: "涨跌幅",
//选择的排序方式
weekList: ["一", "二", "三", "四", "五", "六", "日"],
monthDateList: [],
selectMonthIndex: 0,
@@ -324,6 +326,7 @@ const _sfc_main = {
*/
clickSortListItem(item) {
this.sortType = item.key;
this.sortTypeStr = item.name;
this.clickSearch();
this.$refs["sortTypePopup"].close();
},
@@ -478,6 +481,15 @@ const _sfc_main = {
clickUpgradeAtOnce() {
this.clickLater();
},
/**
* 点击查看相关概念
*/
clickConceptItem(name) {
let md5 = common_vendor.CryptoJS.MD5(name).toString();
common_vendor.index.navigateTo({
url: "/pages/index/conceptDetails/conceptDetails?name=" + md5
});
},
/**
* 点击查看更多个股
*/
@@ -606,54 +618,50 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
g: common_vendor.o(($event) => $options.clickRank()),
h: common_vendor.t($data.newestPriceDate),
i: common_assets._imports_2$3,
j: common_assets._imports_3,
k: common_vendor.o(($event) => $options.clickSortType()),
l: common_assets._imports_4$3,
m: common_assets._imports_3,
n: common_vendor.o(($event) => $options.clickTransactionDate()),
o: common_vendor.s("top: " + $data.navH + "px;"),
p: common_vendor.f($data.conceptList, (item, index, i0) => {
j: common_vendor.t($data.sortTypeStr),
k: common_assets._imports_3,
l: common_vendor.o(($event) => $options.clickSortType()),
m: common_assets._imports_4$3,
n: common_assets._imports_3,
o: common_vendor.o(($event) => $options.clickTransactionDate()),
p: common_vendor.s("top: " + $data.navH + "px;"),
q: common_vendor.f($data.conceptList, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.concept),
b: item.price_info
b: common_vendor.o(($event) => $options.clickConceptItem(item.concept), index),
c: item.price_info
}, item.price_info ? {
c: common_vendor.t($data.getChgRateStr(item.price_info.avg_change_pct)),
d: common_vendor.n("chg " + ($data.getRateUpOrDown(item.price_info.avg_change_pct) ? "down" : "up"))
d: common_vendor.t($data.getChgRateStr(item.price_info.avg_change_pct)),
e: common_vendor.n("chg " + ($data.getRateUpOrDown(item.price_info.avg_change_pct) ? "down" : "up"))
} : {}, {
e: item.price_info
f: item.price_info
}, item.price_info ? {
f: common_vendor.t(item.stock_count),
g: common_vendor.n("stockNum " + ($data.getRateUpOrDown(item.price_info.avg_change_pct) ? "down" : "up"))
g: common_vendor.t(item.stock_count),
h: common_vendor.n("stockNum " + ($data.getRateUpOrDown(item.price_info.avg_change_pct) ? "down" : "up"))
} : {}, {
h: common_vendor.t(item.description)
}, $data.memberInfo && $data.memberInfo.is_member && $data.memberInfo.subscription_type == "pro" ? {
i: common_vendor.f(item.stocks.slice(0, 3), (sitem, sindex, i1) => {
i: common_vendor.t(item.description),
j: common_vendor.o(($event) => $options.clickConceptItem(item.concept), index),
k: common_vendor.f(item.stocks.slice(0, 3), (sitem, sindex, i1) => {
return {
a: common_vendor.t(sitem.stock_name),
a: common_vendor.t(sitem.name),
b: sindex
};
}),
j: common_vendor.t(item.stock_count - 3),
k: common_vendor.o(($event) => $options.clickStockMore(item), index)
} : {
l: common_assets._imports_1$3,
m: common_vendor.t(item.stock_count),
n: common_vendor.o(($event) => $options.clickNotVip(), index)
}, {
o: common_vendor.t(item.price_info ? item.price_info.trade_date : ""),
p: common_vendor.o(($event) => $options.clickHistoricalTimeline(item), index),
q: index
l: common_vendor.t(item.stock_count - 3),
m: common_vendor.o(($event) => $options.clickStockMore(item), index),
n: common_vendor.t(item.price_info ? item.price_info.trade_date : ""),
o: common_vendor.o(($event) => $options.clickHistoricalTimeline(item), index),
p: index
});
}),
q: $data.memberInfo && $data.memberInfo.is_member && $data.memberInfo.subscription_type == "pro",
r: common_assets._imports_1$2,
s: common_vendor.s("top: " + $data.listTop + "px;"),
t: $data.isRefreshing,
v: common_vendor.o(($event) => $options.pullDownRefresh()),
w: common_vendor.o(($event) => $options.loadMoreData()),
x: common_assets._imports_11$1,
x: common_assets._imports_13$2,
y: common_vendor.o(($event) => $options.clickRankClose()),
z: common_assets._imports_8$1,
z: common_assets._imports_7,
A: common_vendor.t($data.startDateStr),
B: common_vendor.t($data.endDateStr),
C: common_vendor.f($data.cycleList, (item, index, i0) => {
@@ -690,53 +698,54 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: index == 0
}, index == 0 ? {
b: common_assets._imports_9
b: common_assets._imports_8$1
} : {}, {
c: index == 1
}, index == 1 ? {
d: common_assets._imports_10$1
d: common_assets._imports_9
} : {}, {
e: index == 2
}, index == 2 ? {
f: common_assets._imports_11$2
f: common_assets._imports_10$1
} : {}, {
g: index > 2
}, index > 2 ? {
h: common_vendor.t(index + 1)
} : {}, {
i: common_vendor.t(item.name)
i: common_vendor.t(item.name),
j: common_vendor.o(($event) => $options.clickConceptItem(item.name), index)
}, $data.selectTab == 3 || $data.selectTab == 4 ? common_vendor.e({
j: $data.selectTab == 3
k: $data.selectTab == 3
}, $data.selectTab == 3 ? {
k: common_vendor.t(item.avg_change)
l: common_vendor.t(item.avg_change)
} : {}, {
l: $data.selectTab == 4
m: $data.selectTab == 4
}, $data.selectTab == 4 ? {
m: common_vendor.t(item.total_change)
n: common_vendor.t(item.total_change)
} : {}) : common_vendor.e({
n: $data.selectTab == 0 || $data.selectTab == 1
o: $data.selectTab == 0 || $data.selectTab == 1
}, $data.selectTab == 0 || $data.selectTab == 1 ? {
o: common_assets._imports_12$2,
p: common_vendor.t(item.news_count)
p: common_assets._imports_11$1,
q: common_vendor.t(item.news_count)
} : {}, {
q: common_assets._imports_13$2,
r: common_vendor.t(item.news_count),
s: $data.selectTab == 2
r: common_assets._imports_12$2,
s: common_vendor.t(item.news_count),
t: $data.selectTab == 2
}, $data.selectTab == 2 ? {
t: common_assets._imports_14$1,
v: common_vendor.t(item.report_count)
v: common_assets._imports_13$3,
w: common_vendor.t(item.report_count)
} : {}), $data.selectTab == 0 ? {
w: common_vendor.t(item.change_pct)
} : {}, $data.selectTab == 1 ? {
x: common_vendor.t(item.change_pct)
} : {}, $data.selectTab == 1 ? {
y: common_vendor.t(item.change_pct)
} : {}, $data.selectTab == 2 ? {
y: common_vendor.t(item.total_mentions)
z: common_vendor.t(item.total_mentions)
} : {}, $data.selectTab == 3 ? {
z: common_vendor.t(item.volatility)
A: common_vendor.t(item.volatility)
} : {}, $data.selectTab == 4 ? {
A: common_vendor.t(item.consecutive_days)
B: common_vendor.t(item.consecutive_days)
} : {}, {
B: index
C: index
});
}),
L: $data.selectTab == 3 || $data.selectTab == 4,

File diff suppressed because one or more lines are too long

View File

@@ -403,7 +403,7 @@ page {
}
.transactionDatePopup {
background-color: white;
padding-bottom: env(safe-area-inset-bottom);
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
border-radius: 20rpx 20rpx 0 0;
}
.transactionDatePopup .btnTitleC .btn {

View File

@@ -29,6 +29,8 @@ const _sfc_main = {
//新闻数据
reportList: [],
//研报数据
selectNewsOrReport: 0,
//0新闻1研报
getRateUpOrDown: utils_util.getRateUpOrDown,
getChgRateStr: utils_util.getChgRateStr
};
@@ -208,13 +210,31 @@ const _sfc_main = {
this.getReportData();
}
},
/**
* 点击切换新闻或研报
* @param {Object} index
*/
clickNewsOrReportItem(index) {
if (this.selectNewsOrReport != index) {
this.selectNewsOrReport = index;
}
},
/**
* 点击查看新闻详情
* @param {Object} item
*/
clickNewsItem(item) {
common_vendor.index.navigateTo({
url: "/pages/concept/conceptNewsDetails/conceptNewsDetails?info=" + encodeURIComponent(JSON.stringify(item))
url: "/pages/concept/newsDetails/newsDetails?info=" + encodeURIComponent(JSON.stringify(item))
});
},
/**
* 点击查看研报详情
* @param {Object} item
*/
clickReportItem(item) {
common_vendor.index.navigateTo({
url: "/pages/concept/reportDetails/reportDetails?info=" + encodeURIComponent(JSON.stringify(item))
});
},
/**
@@ -260,6 +280,9 @@ const _sfc_main = {
getReportData() {
let param = { query: this.conceptName, start_date: this.selectDateStr, mode: "text", exact_match: 1 };
request_api.conceptReport(param).then((res) => {
for (let item of res.data.results) {
item.content = item.content.replace(/'/g, '"');
}
this.reportList = res.data.results;
}).catch((error) => {
});
@@ -337,22 +360,32 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}) : {}, {
v: common_assets._imports_5$4,
w: common_vendor.t($data.newsList.length),
x: common_vendor.t($data.reportList.length),
y: common_vendor.f($data.newsList, (item, index, i0) => {
x: common_vendor.n("num " + ($data.selectNewsOrReport == 0 ? "select" : "")),
y: common_vendor.o(($event) => $options.clickNewsOrReportItem(0)),
z: common_vendor.t($data.reportList.length),
A: common_vendor.n("num " + ($data.selectNewsOrReport == 1 ? "select" : "")),
B: common_vendor.o(($event) => $options.clickNewsOrReportItem(1)),
C: $data.selectNewsOrReport == 0
}, $data.selectNewsOrReport == 0 ? {
D: common_vendor.f($data.newsList, (item, index, i0) => {
return {
a: common_vendor.t(item.title),
b: common_vendor.t(item.detail),
c: index,
d: common_vendor.o(($event) => $options.clickNewsItem(item), index)
};
}),
z: common_vendor.f($data.reportList, (item, index, i0) => {
})
} : {
E: common_vendor.f($data.reportList, (item, index, i0) => {
return {
a: common_vendor.t(item.report_title),
b: index
b: common_vendor.t(JSON.parse(item.content).content),
c: index,
d: common_vendor.o(($event) => $options.clickReportItem(item), index)
};
}),
A: common_vendor.s("top: " + $data.contentTop + "px;")
})
}, {
F: 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="adc20db2-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="timelineTitle fixed" style="{{d}}">{{c}}- 历史时间轴</view><view class="dateStatisticsC fixed" style="{{A}}"><view class="dateC"><view class="yearMonthC flex"><view class="btn" bindtap="{{f}}"><image class="icon" src="{{e}}" mode="widthFix"></image></view><view class="yearMonth flex1"><picker mode="date" fields="month" bindchange="{{h}}">{{g}}</picker></view><view class="btn" bindtap="{{j}}"><image class="icon" src="{{i}}" mode="widthFix"></image></view></view><view class="weekList flex"><view wx:for="{{k}}" wx:for-item="item" wx:key="b" class="item flex1">{{item.a}}</view></view><view class="monthDateList flexWrap"><view wx:for="{{l}}" wx:for-item="item" wx:key="m" class="item flexColumnCenter" bindtap="{{item.n}}"><block wx:if="{{item.a}}"><view class="{{item.e}}">{{item.b}} <view wx:if="{{item.c}}" class="chg">{{item.d}}%</view></view></block><block wx:else><block wx:if="{{item.f}}"><view class="date notCurrentMonth">{{item.g}}</view></block><block wx:else><view class="{{item.l}}">{{item.h}} <view wx:if="{{item.i}}" class="{{item.k}}">{{item.j}}%</view></view></block></block></view></view></view><view class="statisticsC"><view class="date">{{m}}统计</view><view wx:if="{{n}}" class="chgStockNumC flex"><view class="chgC flex flex1"><view class="title">涨跌幅</view><image wx:if="{{o}}" class="icon" src="{{p}}" mode="widthFix"></image><image wx:else class="icon" src="{{q}}" mode="widthFix"></image><view class="{{s}}">{{r}}%</view></view><view class="stockNumC flex flex1"><view class="title">统计股票</view><view class="stockNum">{{t}} 只股票</view></view></view><view class="newsReportC flex"><image class="icon" src="{{v}}" mode="widthFix"></image><text class="news">{{w}} 条新闻 · </text><text class="report" decode> {{x}} 份研报</text></view><view class="list"><view wx:for="{{y}}" wx:for-item="item" wx:key="c" class="item" bindtap="{{item.d}}"><view class="flex"><view class="type news">新闻</view><view class="title flex1">{{item.a}}</view></view><view class="content">{{item.b}}</view></view><view wx:for="{{z}}" wx:for-item="item" wx:key="b" class="item"><view class="flex"><view class="type report">研报</view><view class="title flex1">{{item.a}}</view></view><view class="content">坚定看好锂电材料,建议继续加配坚定六氟、添加剂,关注隔膜更加坚定的看好六氟:下游传导如期</view></view></view></view></view></view>
<view><nav-bar wx:if="{{a}}" u-i="adc20db2-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="timelineTitle fixed" style="{{d}}">{{c}}- 历史时间轴</view><view class="dateStatisticsC fixed" style="{{F}}"><view class="dateC"><view class="yearMonthC flex"><view class="btn" bindtap="{{f}}"><image class="icon" src="{{e}}" mode="widthFix"></image></view><view class="yearMonth flex1"><picker mode="date" fields="month" bindchange="{{h}}">{{g}}</picker></view><view class="btn" bindtap="{{j}}"><image class="icon" src="{{i}}" mode="widthFix"></image></view></view><view class="weekList flex"><view wx:for="{{k}}" wx:for-item="item" wx:key="b" class="item flex1">{{item.a}}</view></view><view class="monthDateList flexWrap"><view wx:for="{{l}}" wx:for-item="item" wx:key="m" class="item flexColumnCenter" bindtap="{{item.n}}"><block wx:if="{{item.a}}"><view class="{{item.e}}">{{item.b}} <view wx:if="{{item.c}}" class="chg">{{item.d}}%</view></view></block><block wx:else><block wx:if="{{item.f}}"><view class="date notCurrentMonth">{{item.g}}</view></block><block wx:else><view class="{{item.l}}">{{item.h}} <view wx:if="{{item.i}}" class="{{item.k}}">{{item.j}}%</view></view></block></block></view></view></view><view class="statisticsC"><view class="date">{{m}}统计</view><view wx:if="{{n}}" class="chgStockNumC flex"><view class="chgC flex flex1"><view class="title">涨跌幅</view><image wx:if="{{o}}" class="icon" src="{{p}}" mode="widthFix"></image><image wx:else class="icon" src="{{q}}" mode="widthFix"></image><view class="{{s}}">{{r}}%</view></view><view class="stockNumC flex flex1"><view class="title">统计股票</view><view class="stockNum">{{t}} 只股票</view></view></view><view class="newsReportC flex"><image class="icon" src="{{v}}" mode="widthFix"></image><text class="{{x}}" bindtap="{{y}}">{{w}} 条新闻 · </text><text class="{{A}}" decode bindtap="{{B}}"> {{z}} 份研报</text></view><view class="list"><block wx:if="{{C}}"><view wx:for="{{D}}" wx:for-item="item" wx:key="c" class="item" bindtap="{{item.d}}"><view class="flex"><view class="type news">新闻</view><view class="title flex1">{{item.a}}</view></view><view class="content">{{item.b}}</view></view></block><block wx:else><view wx:for="{{E}}" wx:for-item="item" wx:key="c" class="item" bindtap="{{item.d}}"><view class="flex"><view class="type report">研报</view><view class="title flex1">{{item.a}}</view></view><view class="content">{{item.b}}</view></view></block></view></view></view></view>

View File

@@ -158,12 +158,12 @@ page {
width: 24rpx;
height: auto;
}
.dateStatisticsC .statisticsC .newsReportC .news {
color: #FF7723;
}
.dateStatisticsC .statisticsC .newsReportC .report {
.dateStatisticsC .statisticsC .newsReportC .num {
color: #333;
}
.dateStatisticsC .statisticsC .newsReportC .num.select {
color: #FF7723;
}
.dateStatisticsC .statisticsC .list .item {
padding: 30rpx 0;
border-bottom: solid 1rpx #EDEDED;

View File

@@ -262,8 +262,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
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.stock_name),
b: common_vendor.t(item.stock_code),
a: common_vendor.t(item.name),
b: common_vendor.t(item.code),
c: item.isExpand
}, item.isExpand ? {
d: common_assets._imports_2$7

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 direction="vertical" class="stockList fixed" style="{{h}}"><view class="list"><view wx:for="{{g}}" wx:for-item="item" wx:key="i" class="item"><view class="stockInfoC flex" bindtap="{{item.f}}"><view class="titleCodeC"><view class="title">{{item.a}}</view><view class="code">{{item.b}}</view></view><view class="chg flex1">+4.04%</view><view class="industry flex1">食品行业</view><view class="reasonProjectC flex"><view>REASON/项目</view><image wx:if="{{item.c}}" class="arrow expand" src="{{item.d}}" mode="widthFix"></image><image wx:else class="arrow" src="{{item.e}}" mode="widthFix"></image></view></view><view wx:if="{{item.g}}" class="reasonProjectContentC"><view class="reasonC"><text class="title">REASON</text><text>{{item.h}}</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="i" class="item"><view class="stockInfoC flex" bindtap="{{item.f}}"><view class="titleCodeC"><view class="title">{{item.a}}</view><view class="code">{{item.b}}</view></view><view class="chg flex1">+4.04%</view><view class="industry flex1">食品行业</view><view class="reasonProjectC flex"><view>REASON/项目</view><image wx:if="{{item.c}}" class="arrow expand" src="{{item.d}}" mode="widthFix"></image><image wx:else class="arrow" src="{{item.e}}" mode="widthFix"></image></view></view><view wx:if="{{item.g}}" class="reasonProjectContentC"><view class="reasonC"><text class="title">REASON</text><text>{{item.h}}</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 File

@@ -112,7 +112,7 @@ page {
}
.datePopup {
background-color: white;
padding-bottom: env(safe-area-inset-bottom);
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
border-radius: 20rpx 20rpx 0 0;
}
.datePopup .btnTitleC .btn {

View File

@@ -43,4 +43,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/concept/conceptNewsDetails/conceptNewsDetails.js.map
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/concept/newsDetails/newsDetails.js.map

View File

@@ -1 +1 @@
<view><nav-bar wx:if="{{a}}" u-i="279e50b2-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view wx:if="{{c}}" class="contentC fixed" style="{{g}}"><view class="title">{{d}}</view><view class="labelTimeC"><text class="time">{{e}}</text></view><view class="content"><ua-markdown wx:if="{{f}}" u-i="279e50b2-1" bind:__l="__l" u-p="{{f}}"/></view></view></view>
<view><nav-bar wx:if="{{a}}" u-i="07f56b32-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view wx:if="{{c}}" class="contentC fixed" style="{{g}}"><view class="title">{{d}}</view><view class="labelTimeC"><text class="time">{{e}}</text></view><view class="content"><ua-markdown wx:if="{{f}}" u-i="07f56b32-1" bind:__l="__l" u-p="{{f}}"/></view></view></view>

View File

@@ -0,0 +1,46 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const utils_util = require("../../../utils/util.js");
const common_assets = require("../../../common/assets.js");
const _sfc_main = {
data() {
return {
navH: common_vendor.inject("navHeight"),
reportInfo: null,
getLocalTime: utils_util.getLocaleTime,
content: ""
};
},
onLoad(e) {
this.reportInfo = JSON.parse(decodeURIComponent(e.info));
this.reportInfo.content = this.reportInfo.content.replace(/'/g, '"');
common_vendor.index.__f__("log", "at pages/concept/reportDetails/reportDetails.vue:34", JSON.parse(this.reportInfo.content));
this.content = JSON.parse(this.reportInfo.content).content;
}
};
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 common_vendor.e({
a: common_vendor.p({
leftText: "历史时间轴",
hideNavBg: true
}),
b: common_assets._imports_0,
c: $data.reportInfo
}, $data.reportInfo ? {
d: common_vendor.t($data.reportInfo.report_title),
e: common_vendor.t($data.getLocalTime($data.reportInfo.declare_date)),
f: common_vendor.t($data.content),
g: common_vendor.s("top: " + $data.navH + "px;")
} : {});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/concept/reportDetails/reportDetails.js.map

View File

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

View File

@@ -0,0 +1 @@
<view><nav-bar wx:if="{{a}}" u-i="d1d5b3b6-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view wx:if="{{c}}" class="contentC fixed" style="{{g}}"><view class="title">{{d}}</view><view class="labelTimeC"><text class="time">{{e}}</text></view><view class="content"><text>{{f}}</text></view></view></view>

View File

@@ -0,0 +1,36 @@
page {
background-color: #070707;
}
.topBg {
top: 0;
left: 0;
width: 100%;
height: auto;
}
.contentC {
background-color: #FFF9F5;
margin: 20rpx 25rpx 0;
padding: 28rpx 30rpx;
left: 0;
right: 0;
bottom: 100rpx;
border-radius: 10rpx;
overflow-y: scroll;
}
.contentC .title {
margin: 0 10rpx;
font-size: 30rpx;
font-weight: bold;
color: #2B2B2B;
}
.contentC .labelTimeC {
margin: 0 10rpx;
}
.contentC .labelTimeC .time {
font-size: 24rpx;
font-weight: 500;
color: #666;
}
.contentC .content {
margin-top: 30rpx;
}

View File

@@ -9,7 +9,7 @@ const _sfc_main = {
},
onLoad(e) {
if (e.name) {
this.url = "https://valuefrontier.cn/htmls/" + e.name + ".html";
this.url = "https://valuefrontier.cn/htmls/concept/" + e.name + "/";
}
},
methods: {}

View File

@@ -206,8 +206,9 @@ const _sfc_main = {
* 点击查看相关概念
*/
clickConceptItem(name) {
let md5 = common_vendor.CryptoJS.MD5(name).toString();
common_vendor.index.navigateTo({
url: "/pages/index/conceptDetails/conceptDetails?name=" + name
url: "/pages/index/conceptDetails/conceptDetails?name=" + md5
});
},
/**
@@ -515,7 +516,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
j: common_vendor.t(item.stock_count - 3),
k: common_vendor.o(($event) => $options.clickStockMore(item), index)
} : {
l: common_assets._imports_1$3,
l: common_assets._imports_1$5,
m: common_vendor.t(item.stock_count),
n: common_vendor.o(($event) => $options.clickNotVip(), index)
}, {
@@ -576,7 +577,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
I: common_vendor.t($data.eventDetails.follower_count),
J: common_vendor.o(($event) => $options.clickFollow())
} : {}, {
K: common_assets._imports_11$1,
K: common_assets._imports_13$2,
L: common_vendor.o(($event) => $options.closeCommentPopup()),
M: common_vendor.f($data.commentList, (item, index, i0) => {
return {
@@ -607,7 +608,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
["mask-background-color"]: "transparent",
animation: false
}),
Y: common_assets._imports_11$1,
Y: common_assets._imports_13$2,
Z: common_vendor.o(($event) => $options.closeRelatedStockPopup()),
aa: common_vendor.f($data.historyEventRelatedStockList, (item, index, i0) => {
return common_vendor.e({

View File

@@ -249,10 +249,10 @@ const _sfc_main = {
clickSearch() {
this.loadAll = false;
this.page = 1;
if (this.selectTimeCategory == 0) {
this.getEventListData();
} else
if (this.selectTimeCategory == 1) {
this.getHotEventListData();
} else
this.getEventListData();
},
/**
* 点击事件筛选
@@ -729,8 +729,8 @@ const _sfc_main = {
if (arr.length > 0) {
param.importance = arr.join(",");
}
if (this.selectSortKey) {
param.sort = this.selectSortKey;
if (this.selectTimeCategory != 1) {
param.sort = this.timeCategoryList[this.selectTimeCategory].key;
}
request_api.eventList(param).then((res) => {
this.isRefreshing = false;

View File

@@ -172,7 +172,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}),
b: common_assets._imports_0,
c: $data.avatar ? $data.avatar : $data.avatarUrl,
d: common_assets._imports_1$5,
d: common_assets._imports_1$4,
e: common_vendor.o((...args) => $options.chooseAvatar && $options.chooseAvatar(...args)),
f: common_vendor.s("top:" + $data.avatarTop + "px;"),
g: $data.nickname,

View File

@@ -225,7 +225,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}),
b: common_assets._imports_0,
c: $data.avatar ? $data.avatar : $data.avatarUrl,
d: common_assets._imports_1$5,
d: common_assets._imports_1$4,
e: common_vendor.o((...args) => $options.chooseAvatar && $options.chooseAvatar(...args)),
f: common_vendor.s("top:" + $data.avatarTop + "px;"),
g: common_vendor.f($data.investPreferenceList, (item, index, i0) => {

View File

@@ -165,7 +165,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}, $data.memberInfo && $data.memberInfo.is_member ? {
h: common_vendor.t($data.memberInfo.subscription_type)
} : {}, {
i: common_assets._imports_1$4,
i: common_assets._imports_1$3,
j: common_vendor.s("margin-top:" + $data.infoTop + "px;"),
k: common_vendor.o(($event) => $options.clickPersonalInfo())
}) : {}, {