6.30 版本提交

This commit is contained in:
尚政杰
2025-06-30 19:02:44 +08:00
commit c4267a0e27
338 changed files with 27942 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const common_assets = require("../../../common/assets.js");
const _sfc_main = {
data() {
return {
navH: common_vendor.inject("navHeight")
};
},
methods: {}
};
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 {
a: common_vendor.p({
leftText: "相关概念详情"
}),
b: common_assets._imports_0,
c: 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/index/conceptDetails/conceptDetails.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="5d0be61e-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="conceptDetailsC fixed" style="{{c}}"><view class="title">外骨骼机器人(250501)</view><view class="time">2025-05-08 08:43</view><view class="content">四部门联合启动的人力资源服务业与制造业融合发展试点,主要目的是推动人力资源服务向高端制造渗透,促进产业升级。而外骨骼机器人属于高端制造领域的重要创新产品之一,其发展需要人力资源服务业的支持,例如技术人才的输送、产业工人培训等。同时,外骨骼机器人在消费级市场的推广和应用也符合制造业与服务业融合发展的方向。因此,该政策试点对外骨骼机器人行业具有潜在利好影响。</view></view></view>

View File

@@ -0,0 +1,32 @@
.topBg {
top: 0;
left: 0;
width: 100%;
height: auto;
}
.conceptDetailsC {
background-color: white;
margin-top: 10rpx;
padding: 20rpx 25rpx;
left: 0;
right: 0;
bottom: 0;
border-radius: 20rpx 20rpx 0 0;
}
.conceptDetailsC .title {
font-size: 30rpx;
font-weight: bold;
color: #222;
}
.conceptDetailsC .time {
margin-top: 10rpx;
font-size: 22rpx;
font-weight: 500;
color: #AAA;
}
.conceptDetailsC .content {
margin-top: 30rpx;
font-size: 26rpx;
font-weight: 500;
color: #666;
}

View File

@@ -0,0 +1,126 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const request_api = require("../../../request/api.js");
const common_assets = require("../../../common/assets.js");
const _sfc_main = {
data() {
return {
navH: common_vendor.inject("navHeight"),
eventId: "",
//事件id
categoryList: ["相关标的", "相关概念", "历史事件", "时间传导链分析", "关联数据"],
selectCategory: 0,
headingList: ["名称代码", "分时图", "开盘价", "最新价", "涨跌幅"]
};
},
onLoad(e) {
if (e.id) {
this.eventId = e.id;
this.getEventDetailsData();
}
},
methods: {
/**
* 点击切换分类
*/
clickCategoryItem(index) {
if (this.selectCategory != index) {
this.selectCategory = index;
}
},
/**
* 点击查看股票详情
*/
clickStockItem() {
common_vendor.index.navigateTo({
url: "/pages/index/stockDetails/stockDetails"
});
},
/**
* 点击查看相关概念
*/
clickConceptItem() {
common_vendor.index.navigateTo({
url: "/pages/index/conceptDetails/conceptDetails"
});
},
/**
* 点击评论
*/
clickComment() {
this.$refs["popup"].open();
},
closeCommentPopup() {
this.$refs["popup"].close();
},
/**
* 获取事件详情数据
*/
getEventDetailsData() {
let eventId = this.eventId;
request_api.eventDetails(eventId).then((res) => {
}).catch((error) => {
});
}
}
};
if (!Array) {
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
(_easycom_navBar2 + _easycom_uni_popup2)();
}
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
const _easycom_uni_popup = () => "../../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
if (!Math) {
(_easycom_navBar + _easycom_uni_popup)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_vendor.p({
leftText: "事件详情"
}),
b: common_assets._imports_0,
c: common_vendor.f($data.categoryList, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item),
b: $data.selectCategory == index
}, $data.selectCategory == index ? {} : {}, {
c: common_vendor.n("item relative " + ($data.selectCategory == index ? "select" : "")),
d: index,
e: common_vendor.o(($event) => $options.clickCategoryItem(index), index)
});
}),
d: $data.selectCategory == 0
}, $data.selectCategory == 0 ? {
e: common_vendor.f($data.headingList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
})
} : {}, {
f: $data.selectCategory == 0
}, $data.selectCategory == 0 ? {} : {}, {
g: $data.selectCategory == 1
}, $data.selectCategory == 1 ? {
h: common_vendor.o(($event) => $options.clickConceptItem())
} : {}, {
i: common_vendor.s("top:" + $data.navH + "px;"),
j: common_assets._imports_1$1,
k: common_assets._imports_2$1,
l: common_vendor.o(($event) => $options.clickComment()),
m: common_assets._imports_3$1,
n: common_assets._imports_4$2,
o: common_vendor.o(($event) => $options.closeCommentPopup()),
p: common_assets._imports_5$2,
q: common_assets._imports_6,
r: common_assets._imports_5$2,
s: common_vendor.sr("popup", "6e1a61f1-1"),
t: common_vendor.p({
type: "bottom"
})
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/index/eventDetails/eventDetails.js.map

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "",
"usingComponents": {
"nav-bar": "../../../components/navBar/navBar",
"uni-popup": "../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@@ -0,0 +1 @@
<view><nav-bar wx:if="{{a}}" u-i="6e1a61f1-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="eventDetailsC fixed" style="{{i}}"><view class="categoryTitleC"><view class="category">政策</view><text class="title">四部门联合启动人力资源服务业与制造业融合发展试点</text></view><view class="time">2025-05-08 08:43</view><view class="eventContent">人社部、工信部等四部门印发通知明确在30个城市开展3年期试点培育人力资源服务与制造业协同机构打造融合平台和创新模式。政策</view><scroll-view scroll-x class="categoryList"><view wx:for="{{c}}" 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></scroll-view><view wx:if="{{d}}" class="headingList flex"><view wx:for="{{e}}" wx:for-item="item" wx:key="b" class="item flex1">{{item.a}}</view></view><view wx:if="{{f}}" class="targetList"><view class="item"><view class="nameCodePriceC flex"><view class="flex1"><view class="name">科锐国际</view><view class="code">300662.SZ</view></view><view class="flex1"></view><view class="price flex1">30.04</view><view class="price flex1">30.15</view><view class="chg flex1">+0.37%</view></view><view class="content"> 科锐国际作为灵活用工龙头企业其业务高度契合政策推动的制造业高端人才引育方向。公司技术研发类岗位占比达70%,直接匹配政策要求 </view></view></view><view wx:if="{{g}}" class="conceptList"><view class="item relative" bindtap="{{h}}"><image class="cover" src="{{''}}" mode="aspectFill"></image><view class="infoC absolute"><view class="title">布鲁可IP衍生品(250109)</view><view class="content"> 四部门联合启动的人力资源服务业与制造业融合发展试点,主要目的是推动 人力资源服务... <text class="lookDetails">查看详情</text></view></view></view></view></view><view class="bottomC fixed flex"><view class="inputC flex1"><input type="text" placeholder="我来说两句..." placeholder-style="color:#666"/></view><view class="commentLikeNumC flex"><view class="item"><image class="icon" src="{{j}}" mode="widthFix"></image><view>64</view></view><view class="item" bindtap="{{l}}"><image class="icon" src="{{k}}" mode="widthFix"></image><view>28</view></view><view class="item"><image class="icon" src="{{m}}" mode="widthFix"></image><view>128</view></view></view></view><uni-popup wx:if="{{t}}" class="r" u-s="{{['d']}}" u-r="popup" u-i="6e1a61f1-1" bind:__l="__l" u-p="{{t}}"><view class="popup"><view class="titleCloseC flex"><view class="title flex1">全部回复</view><view class="closeC" bindtap="{{o}}"><image class="icon" src="{{n}}" mode="widthFix"></image></view></view><view class="list"><view class="item"><view class="originComment"><image class="avatar" src="{{''}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">逸尘破晓</view><view class="content">四部门联合启动的人力资源服务业与制造业融合发展点,主要目的是推动人力资源服务向高端制造渗透。</view><view class="timeReplyLikeC flex between"><view class="timeReplyC flex"><view class="time">15:37</view><view class="reply">回复</view></view><view class="likeC flex"><image class="icon" src="{{p}}" mode="widthFix"></image><view class="num">85</view></view></view><view class="totalCommentNumC flex"><view class="line"></view> 全部34条评论 <image class="arrow" src="{{q}}" mode="widthFix"></image></view></view></view><view class="replyList"><view class="replyItem"><image class="avatar" src="{{''}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">逸尘破晓</view><view class="content">四部门联合启动的人力资源服务业与制造业融合发展点,主要目的是推动人力资源服务向高端制造渗透。</view><view class="timeReplyLikeC flex between"><view class="timeReplyC flex"><view class="time">15:37</view><view class="reply">回复</view></view><view class="likeC flex"><image class="icon" src="{{r}}" mode="widthFix"></image><view class="num">85</view></view></view></view></view></view></view></view><view class="popBottomC"><view class="inputC"><input type="text" placeholder="我来说两句..." placeholder-style="color:#666"/></view></view></view></uni-popup></view>

View File

@@ -0,0 +1,334 @@
.topBg {
top: 0;
left: 0;
width: 100%;
height: auto;
}
.eventDetailsC {
background-color: white;
margin-top: 10rpx;
padding: 20rpx 0 0;
left: 0;
right: 0;
bottom: calc(20rpx + 70rpx + 20rpx + env(safe-area-inset-bottom));
border-radius: 20rpx 20rpx 0 0;
overflow-y: hidden;
}
.eventDetailsC .categoryTitleC {
padding: 0 25rpx;
}
.eventDetailsC .categoryTitleC .category {
background-color: #FD9A14;
margin-right: 12rpx;
display: inline-block;
padding: 0 11rpx;
line-height: 40rpx;
border-radius: 8rpx;
font-size: 22rpx;
font-weight: bold;
color: white;
}
.eventDetailsC .categoryTitleC .title {
font-size: 30rpx;
font-weight: bold;
color: #222;
}
.eventDetailsC .time {
margin: 20rpx 25rpx 0;
font-size: 22rpx;
font-weight: 500;
color: #aaa;
}
.eventDetailsC .eventContent {
margin: 22rpx 24rpx 0;
font-size: 24rpx;
font-weight: 500;
color: #666;
line-height: 1.2rem;
}
.eventDetailsC .categoryList {
white-space: nowrap;
margin-top: 10rpx;
}
.eventDetailsC .categoryList .item {
display: inline-block;
line-height: 60rpx;
padding: 0 18rpx;
font-size: 28rpx;
font-weight: 500;
color: #42485B;
}
.eventDetailsC .categoryList .item.select {
font-weight: bold;
color: #F97316;
}
.eventDetailsC .categoryList .item.select .line {
background-color: #F97316;
left: calc((100% - 50rpx)/2);
bottom: 0;
width: 50rpx;
height: 2rpx;
}
.eventDetailsC .headingList {
background-color: #F3F6F9;
margin: 28rpx 25rpx 0;
}
.eventDetailsC .headingList .item {
line-height: 55rpx;
font-size: 24rpx;
font-weight: 500;
color: #999;
text-align: center;
}
.eventDetailsC .targetList {
padding: 0 25rpx;
}
.eventDetailsC .targetList .item {
padding-bottom: 20rpx;
border-bottom: solid 1rpx #E4E4E4;
}
.eventDetailsC .targetList .item .nameCodePriceC {
padding: 20rpx 0;
font-size: 28rpx;
font-weight: bold;
color: #222;
}
.eventDetailsC .targetList .item .nameCodePriceC .code {
font-size: 20rpx;
font-weight: 500;
color: #888;
}
.eventDetailsC .targetList .item .nameCodePriceC .price {
font-size: 28rpx;
font-weight: bold;
color: #222;
text-align: center;
}
.eventDetailsC .targetList .item .nameCodePriceC .chg {
color: #FF2929;
}
.eventDetailsC .targetList .item .content {
font-size: 20rpx;
font-weight: 500;
color: #666;
}
.eventDetailsC .conceptList {
padding: 30rpx 25rpx;
}
.eventDetailsC .conceptList .item .cover {
background-color: red;
display: block;
width: 100%;
height: 350rpx;
border-radius: 10rpx;
}
.eventDetailsC .conceptList .item .infoC {
background: linear-gradient(to bottom, #00000080, #000);
padding: 20rpx 23rpx;
left: 0;
width: 100%;
bottom: 0;
color: white;
}
.eventDetailsC .conceptList .item .infoC .title {
font-size: 26rpx;
font-weight: bold;
}
.eventDetailsC .conceptList .item .infoC .content {
margin-top: 10rpx;
font-size: 20rpx;
font-weight: 500;
line-height: 1.2rem;
}
.eventDetailsC .conceptList .item .infoC .content .lookDetails {
color: #F97316;
}
.bottomC {
padding: 20rpx 25rpx calc(20rpx + env(safe-area-inset-bottom));
left: 0;
right: 0;
bottom: 0;
box-shadow: 0px -1rpx 0px 0px #EEEEEE;
}
.bottomC .inputC {
background-color: #F0F0F0;
margin-right: 20rpx;
padding: 0 33rpx;
height: 70rpx;
border-radius: 35rpx;
}
.bottomC .inputC input {
height: 100%;
font-size: 26rpx;
font-weight: 500;
}
.bottomC .commentLikeNumC .item {
padding: 0 20rpx;
font-size: 26rpx;
font-weight: bold;
color: #666;
}
.bottomC .commentLikeNumC .item .icon {
width: 35rpx;
height: auto;
}
.popup {
background-color: white;
}
.popup .titleCloseC {
padding-left: 25rpx;
font-size: 32rpx;
font-weight: bold;
color: #222;
}
.popup .titleCloseC .closeC {
padding: 28rpx;
}
.popup .titleCloseC .closeC .icon {
width: 28rpx;
height: auto;
}
.popup .list {
margin: 0 25rpx;
border-top: solid 1rpx #E4E4E4;
max-height: 1200rpx;
}
.popup .list .item {
padding-top: 30rpx;
border-bottom: solid 1rpx #E4E4E4;
}
.popup .list .item .originComment {
display: flex;
}
.popup .list .item .originComment .avatar {
background-color: red;
margin-right: 23rpx;
width: 80rpx;
height: 80rpx;
border-radius: 50%;
}
.popup .list .item .originComment .nickname {
font-size: 28rpx;
font-weight: bold;
color: #111;
}
.popup .list .item .originComment .content {
margin-top: 10rpx;
line-height: 1.2rem;
font-size: 24rpx;
font-weight: 500;
color: #666;
}
.popup .list .item .originComment .timeReplyLikeC .time {
margin-right: 36rpx;
font-size: 26rpx;
font-weight: 500;
color: #aaa;
}
.popup .list .item .originComment .timeReplyLikeC .reply {
font-size: 26rpx;
font-weight: 500;
color: #F97316;
}
.popup .list .item .originComment .timeReplyLikeC .likeC {
padding: 14rpx 0;
font-size: 28rpx;
font-weight: bold;
color: #999;
}
.popup .list .item .originComment .timeReplyLikeC .likeC .icon {
margin-right: 12rpx;
width: 27rpx;
height: auto;
}
.popup .list .item .originComment .timeReplyLikeC .likeC.like {
color: #F97316;
}
.popup .list .item .originComment .totalCommentNumC {
padding: 14rpx 0 22rpx;
font-size: 26rpx;
font-weight: 500;
color: #999;
}
.popup .list .item .originComment .totalCommentNumC .line {
background-color: #aaa;
margin-right: 18rpx;
width: 30rpx;
height: 2rpx;
}
.popup .list .item .originComment .totalCommentNumC .arrow {
margin-left: 14rpx;
width: 13rpx;
height: auto;
}
.popup .list .item .replyList {
margin-left: 60rpx;
border-top: solid 1rpx #E4E4E4;
}
.popup .list .item .replyList .replyItem {
display: flex;
padding: 22rpx 0;
border-bottom: solid 1rpx #E4E4E4;
}
.popup .list .item .replyList .replyItem .avatar {
background-color: red;
margin-right: 23rpx;
width: 80rpx;
height: 80rpx;
border-radius: 50%;
}
.popup .list .item .replyList .replyItem .nickname {
font-size: 28rpx;
font-weight: bold;
color: #111;
}
.popup .list .item .replyList .replyItem .content {
margin-top: 10rpx;
line-height: 1.2rem;
font-size: 24rpx;
font-weight: 500;
color: #666;
}
.popup .list .item .replyList .replyItem .timeReplyLikeC .time {
margin-right: 36rpx;
font-size: 26rpx;
font-weight: 500;
color: #aaa;
}
.popup .list .item .replyList .replyItem .timeReplyLikeC .reply {
font-size: 26rpx;
font-weight: 500;
color: #F97316;
}
.popup .list .item .replyList .replyItem .timeReplyLikeC .likeC {
padding: 14rpx 0;
font-size: 28rpx;
font-weight: bold;
color: #999;
}
.popup .list .item .replyList .replyItem .timeReplyLikeC .likeC .icon {
margin-right: 12rpx;
width: 27rpx;
height: auto;
}
.popup .list .item .replyList .replyItem .timeReplyLikeC .likeC.like {
color: #F97316;
}
.popup .list .item .replyList .replyItem:last-child {
border: none;
}
.popup .popBottomC {
padding: 22rpx 25rpx calc(22rpx + env(safe-area-inset-bottom));
}
.popup .popBottomC .inputC {
background-color: #F0F0F0;
padding: 0 33rpx;
height: 70rpx;
border-radius: 35rpx;
}
.popup .popBottomC .inputC input {
height: 100%;
font-size: 26rpx;
font-weight: 500;
color: #333;
}

View File

@@ -0,0 +1,631 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const request_api = require("../../request/api.js");
const utils_util = require("../../utils/util.js");
const common_assets = require("../../common/assets.js");
const echarts = require("../../uni_modules/lime-echart/static/echarts.min.js");
const _sfc_main = {
data() {
return {
menuTop: common_vendor.inject("menuTop"),
menuH: common_vendor.inject("menuHeight"),
navH: common_vendor.inject("navHeight"),
contentTop: "",
listTop: "",
sortListTop: "",
keywords: "",
//关键词
sortList: [],
timeCategoryList: [],
selectTimeCategory: 0,
topCategoryList: ["全部", "大周期", "大消费", "大金融地产", "TMT板块", "公共产业板块"],
selectTopCategory: 0,
secondCategoryList: ["全部", "石油石化", "煤炭", "有色金属", "钢铁", "基础化工", "建筑材料"],
selectSecondCategory: 0,
screenCategoryList: ["日期范围", "行业分类", "重要性"],
selectYearMonth: "",
//选择的年月日
startDate: "",
//选择开始日期
startTimeStamp: "",
//开始日期时间戳
endDate: "",
//选择结束日期
endTimeStamp: "",
//结束日期时间戳
weekList: ["一", "二", "三", "四", "五", "六", "日"],
monthDateList: [],
selectMonthIndex: 0,
//选中月份下标
selectMonth: "",
//选中年月
industryTopCategoryList: ["巨潮行业分类", "新财富行业分类", "申银万国行业分类", "证监会行业分类"],
selectScreenCategory: 0,
importanceList: [],
//重要性数组
selectImportanceIndex: 0,
//选择重要性下标
option: {
tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow"
},
confine: true
},
grid: {
left: "0%",
right: "0%",
top: "0%",
bottom: "20%"
},
xAxis: [
{
type: "category",
data: ["跌停", "跌停~5%", "5~1%", "1~0%", "平盘", "0~1%", "1~5%", "5%~涨停", "涨停"],
axisTick: {
show: false
},
axisLine: {
show: false
},
axisLabel: {
fontSize: 10,
interval: "0",
textStyle: {
color: function(value, index) {
return index == 0 ? "#355422" : index == 8 ? "#C00000" : "#515151";
}
}
}
}
],
yAxis: [
{
type: "value",
show: false,
axisTick: { show: false }
}
],
series: [
{
name: "热度",
type: "bar",
label: {
show: true,
position: "top",
fontSize: 12
},
data: [
{
value: 0,
itemStyle: { color: "#355422" },
label: {
textStyle: { color: "#355422" }
}
},
{
value: 44,
itemStyle: { color: "#35542299" },
label: {
textStyle: { color: "#355422" }
}
},
{
value: 315,
itemStyle: { color: "#355422CC" },
label: {
textStyle: { color: "#355422" }
}
},
{
value: 1264,
itemStyle: { color: "#355422" },
label: {
textStyle: { color: "#355422" }
}
},
{
value: 1064,
itemStyle: { color: "#ACB0C0" },
label: {
textStyle: { color: "#666" }
}
},
{
value: 1809,
itemStyle: { color: "#C00000" },
label: {
textStyle: { color: "#C00000" }
}
},
{
value: 602,
itemStyle: { color: "#C00000CC" },
label: {
textStyle: { color: "#C00000" }
}
},
{
value: 44,
itemStyle: { color: "#C0000099" },
label: {
textStyle: { color: "#C00000" }
}
},
{
value: 0,
itemStyle: { color: "#C00000" },
label: {
textStyle: { color: "#C00000" }
}
}
]
}
]
},
eventList: [],
page: 1,
loadAll: false,
getRateStr: utils_util.getRateStr,
getRateUpOrDown: utils_util.getRateUpOrDown,
getLocaleTime: utils_util.getLocaleTime
};
},
onLoad() {
this.contentTop = this.navH + (75 + 20) / 750 * common_vendor.inject("windowWidth");
this.listTop = this.contentTop + (22 + 80 + 72 + 44 + 44) / 750 * common_vendor.inject("windowWidth");
this.sortListTop = this.navH + (22 + 80 + 80) / 750 * common_vendor.inject("windowWidth");
this.getEventFilterListData();
this.getEventListData();
let currentDate = /* @__PURE__ */ new Date();
let currentYear = currentDate.getFullYear();
let currentMonth = currentDate.getMonth() + 1;
let currentDay = currentDate.getDate();
let monthDateList = [];
this.selectMonthIndex = 20 * 12 + currentMonth - 1;
this.selectMonth = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth);
for (var i = currentYear - 20; i < currentYear + 20; i++) {
for (var j = 0; j < 12; j++) {
let date = new Date(i, j + 1, 0);
let firstDayOfMonth = new Date(i, j + 1, 0);
firstDayOfMonth.setDate(1);
let currentMonthDay = date.getDate();
let firstDayWeek = firstDayOfMonth.getDay() || 7;
let daysOfMonth = [];
for (var k = 1; k <= currentMonthDay; k++) {
let newDate = new Date(i, j + 1, 0);
newDate.setDate(k);
let newMonth = newDate.getMonth() + 1;
let newDay = newDate.getDate();
let time = newDate.getTime();
let date2 = i + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
daysOfMonth.push({ date: date2, year: i, month: newMonth, day: newDay, isToday: i == currentYear && newMonth == currentMonth && newDay == currentDay ? true : false, isCurrentMonth: true, timestamp: time });
}
for (var k = 0; k < firstDayWeek - 1; k++) {
let year = i;
let month = j;
if (j < 1) {
year = i - 1;
month = 12;
}
let lastMonthDay = new Date(year, month, 0).getDate();
let newDate = new Date(year, month - 1, lastMonthDay - k);
let newMonth = newDate.getMonth() + 1;
let newDay = newDate.getDate();
let time = newDate.getTime();
let date2 = year + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
daysOfMonth.unshift({ date: date2, year, month: newMonth, day: newDay, isToday: false, isCurrentMonth: false, timestamp: time });
}
let nextMonthFirstDay = new Date(i, j + 1, 1);
let lastDayOfMonth = new Date(nextMonthFirstDay - 24 * 60 * 60 * 1e3);
let lastDayWeek = lastDayOfMonth.getDay() || 7;
for (var k = 1; k < 8 - lastDayWeek; k++) {
let year = i;
let month = j;
if (month > 11) {
month = 0;
year++;
}
let newDate = new Date(year, month + 1, k);
let newMonth = newDate.getMonth() + 1;
let newDay = newDate.getDate();
let time = newDate.getTime();
let date2 = year + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
daysOfMonth.push({ date: date2, year, month: newMonth, day: newDay, isToday: false, isCurrentMonth: false, timestamp: time });
}
monthDateList.push(daysOfMonth);
}
}
this.monthDateList = monthDateList;
},
onPullDownRefresh() {
this.page = 1;
this.getEventListData();
},
methods: {
loadMoreData() {
if (!this.loadAll) {
this.page++;
this.getEventListData();
}
},
async init() {
const chart = await this.$refs.chartRef.init(echarts);
chart.setOption(this.option);
},
/**
* 点击搜索
*/
clickSearch() {
this.page = 1;
this.getEventListData();
},
/**
* 点击事件筛选
* @param {Object} index
*/
clickTimeCategoryItem(index) {
if (this.selectTimeCategory != index) {
this.selectTimeCategory = index;
}
},
/**
* 点击排序
*/
clickSortItem() {
this.$refs["sortPopup"].open();
},
/**
* 点击筛选
*/
clickScreenItem() {
this.$refs["screenPopup"].open();
},
/**
* 点击筛选弹窗取消
*/
clickCancel() {
this.$refs["screenPopup"].close();
},
/**
* 点击筛选弹窗确定
*/
clickCertain() {
this.clickCancel();
this.clickSearch();
},
/**
* 点击筛选分类
* @param {Object} index
*/
clickScreenCategoryItem(index) {
if (this.selectScreenCategory != index) {
this.selectScreenCategory = index;
}
},
/**
* 点击选择一级分类
* @param {Object} index
*/
clickTopCategoryItem(index) {
if (this.selectTopCategory != index) {
this.selectTopCategory = index;
}
},
/**
* 点击选择二级分类
* @param {Object} index
*/
clickSecondCategoryItem(index) {
if (this.selectSecondCategory != index) {
this.selectSecondCategory = index;
}
},
/**
* 点击上个月
*/
clickPreMonth() {
if (this.selectMonthIndex > 0) {
this.selectMonthIndex--;
let monthList = this.monthDateList[this.selectMonthIndex];
let month = "";
for (let item of monthList) {
if (item.isCurrentMonth) {
month = item.month;
break;
}
}
this.selectMonth = this.monthDateList[this.selectMonthIndex][0].year + "-" + (month > 9 ? month : "0" + month);
}
},
/**
* 点击下个月
*/
clickNextMonth() {
if (this.selectMonthIndex < this.monthDateList.length - 1) {
this.selectMonthIndex++;
let monthList = this.monthDateList[this.selectMonthIndex];
let month = "";
for (let item of monthList) {
if (item.isCurrentMonth) {
month = item.month;
break;
}
}
this.selectMonth = this.monthDateList[this.selectMonthIndex][0].year + "-" + (month > 9 ? month : "0" + month);
}
},
/**
* 点击选择开始日期和结束日期
* @param {Object} item
*/
clickSelectDate(item) {
if (this.startDate) {
let date1 = new Date(this.startDate);
let date2 = new Date(item.date);
if (date1 > date2) {
this.endDate = this.startDate;
this.endTimeStamp = this.startTimeStamp;
this.startDate = item.date;
this.startTimeStamp = item.timestamp;
} else {
this.endDate = item.date;
this.endTimeStamp = item.timestamp;
}
} else {
this.startDate = item.date;
this.startTimeStamp = item.timestamp;
}
},
/**
* 点击选择重要性
*/
clickImportanceItem(index) {
if (this.selectImportanceIndex != index) {
this.selectImportanceIndex = index;
}
},
/**
* 查看事件详情
*/
clickEventItem(id) {
common_vendor.index.navigateTo({
url: "/pages/index/eventDetails/eventDetails?id=" + id
});
},
/**
* 获取事件筛选项
*/
getEventFilterListData() {
request_api.eventFilterList().then((res) => {
let timeList = [...res.data.available_sorts];
this.timeCategoryList = timeList.splice(0, 2);
let sortList = [...res.data.available_sorts];
for (let item of sortList) {
if (item.name == "最新") {
item.icon = "/static/icon/home/new.png";
}
if (item.name == "热门") {
item.icon = "/static/icon/home/hot.png";
}
if (item.name == "收益率") {
item.icon = "/static/icon/home/yield.png";
}
}
this.sortList = res.data.available_sorts.splice(0, 3);
this.importanceList = res.data.available_importance_levels;
this.importanceList.unshift({ desc: "全部", key: "all", name: "全部" });
}).catch((error) => {
});
},
/**
* 获取事件列表数据
*/
getEventListData() {
let param = { page: this.page, keywords: this.keywords };
if (this.startDate) {
param.start_date = this.startDate;
}
if (this.endDate) {
param.end_date = this.endDate;
}
if (this.selectImportanceIndex > 0) {
param.importance = this.importanceList[this.selectImportanceIndex].key;
}
request_api.eventList(param).then((res) => {
if (res.success) {
if (this.page == 1) {
this.eventList = res.data.events;
} else
this.eventList = this.eventList.concat(res.data.events);
}
}).catch((error) => {
});
}
}
};
if (!Array) {
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
_easycom_uni_popup2();
}
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
if (!Math) {
_easycom_uni_popup();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_assets._imports_0,
b: common_vendor.s("top:" + $data.menuTop + "px;line-height:" + $data.menuH + "px;"),
c: common_assets._imports_1,
d: $data.keywords,
e: common_vendor.o(($event) => $data.keywords = $event.detail.value),
f: common_vendor.o(($event) => $options.clickSearch()),
g: common_vendor.s("top:" + $data.navH + "px;"),
h: common_vendor.f($data.timeCategoryList, (item, index, i0) => {
return {
a: common_vendor.t(item.name),
b: common_vendor.n("item " + ($data.selectTimeCategory == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickTimeCategoryItem(index), index)
};
}),
i: common_assets._imports_2,
j: common_vendor.o(($event) => $options.clickSortItem()),
k: common_assets._imports_3,
l: common_vendor.o(($event) => $options.clickScreenItem()),
m: common_vendor.f($data.topCategoryList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: common_vendor.n("item relative " + ($data.selectTopCategory == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickTopCategoryItem(index), index)
};
}),
n: common_vendor.f($data.secondCategoryList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: common_vendor.n("item " + ($data.selectSecondCategory == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickSecondCategoryItem(index), index)
};
}),
o: common_vendor.s("top:" + $data.contentTop + "px"),
p: common_vendor.f($data.eventList, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.importance),
b: common_vendor.n("level " + item.importance),
c: common_vendor.t(item.title),
d: common_vendor.t(item.description),
e: $data.getRateUpOrDown(item.related_avg_chg)
}, $data.getRateUpOrDown(item.related_avg_chg) ? {
f: common_assets._imports_4
} : {
g: common_assets._imports_5
}, {
h: common_vendor.t($data.getRateStr(item.related_avg_chg)),
i: common_vendor.n("rateItem " + ($data.getRateUpOrDown(item.related_avg_chg) ? "down" : "up")),
j: $data.getRateUpOrDown(item.related_max_chg)
}, $data.getRateUpOrDown(item.related_max_chg) ? {
k: common_assets._imports_4
} : {
l: common_assets._imports_5
}, {
m: common_vendor.t($data.getRateStr(item.related_max_chg)),
n: common_vendor.n("rateItem " + ($data.getRateUpOrDown(item.related_max_chg) ? "down" : "up")),
o: $data.getRateUpOrDown(item.related_week_chg)
}, $data.getRateUpOrDown(item.related_week_chg) ? {
p: common_assets._imports_4
} : {
q: common_assets._imports_5
}, {
r: common_vendor.t($data.getRateStr(item.related_week_chg)),
s: common_vendor.n("rateItem " + ($data.getRateUpOrDown(item.related_week_chg) ? "down" : "up")),
t: common_vendor.t($data.getLocaleTime(item.created_at)),
v: common_vendor.t(item.view_count),
w: common_vendor.t(item.post_count),
x: common_vendor.t(item.follower_count),
y: common_vendor.o(($event) => $options.clickEventItem(item.id), index),
z: index
});
}),
q: common_assets._imports_1$1,
r: common_assets._imports_2$1,
s: common_assets._imports_3$1,
t: common_vendor.s("top:" + $data.listTop + "px"),
v: common_vendor.o(($event) => $options.loadMoreData()),
w: common_assets._imports_9,
x: common_vendor.f($data.sortList, (item, index, i0) => {
return {
a: item.icon,
b: common_vendor.t(item.name),
c: index
};
}),
y: common_vendor.s("margin-top:" + $data.sortListTop + "px;"),
z: common_vendor.sr("sortPopup", "9dfd58d8-0"),
A: common_vendor.p({
type: "top",
["mask-background-color"]: "transparent"
}),
B: common_assets._imports_2$2,
C: common_vendor.s("height:" + $data.menuH + "px;"),
D: common_vendor.f($data.screenCategoryList, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item),
b: $data.selectScreenCategory == index
}, $data.selectScreenCategory == index ? {} : {}, {
c: common_vendor.n("item relative " + ($data.selectScreenCategory == index ? "select" : "")),
d: index,
e: common_vendor.o(($event) => $options.clickScreenCategoryItem(index), index)
});
}),
E: $data.selectScreenCategory == 0
}, $data.selectScreenCategory == 0 ? {
F: common_vendor.t($data.startDate),
G: common_vendor.t($data.endDate),
H: common_assets._imports_11,
I: common_vendor.o(($event) => $options.clickPreMonth()),
J: common_vendor.t($data.selectMonth),
K: common_assets._imports_12,
L: common_vendor.o(($event) => $options.clickNextMonth()),
M: common_vendor.f($data.weekList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
N: common_vendor.f($data.monthDateList[$data.selectMonthIndex], (item, index, i0) => {
return common_vendor.e({
a: item.isToday || item.date == $data.startDate || item.date == $data.endDate
}, item.isToday || item.date == $data.startDate || item.date == $data.endDate ? {
b: common_vendor.t(item.day)
} : common_vendor.e({
c: item.timestamp > $data.startTimeStamp && item.timestamp < $data.endTimeStamp
}, item.timestamp > $data.startTimeStamp && item.timestamp < $data.endTimeStamp ? {
d: common_vendor.t(item.day)
} : common_vendor.e({
e: !item.isCurrentMonth
}, !item.isCurrentMonth ? {
f: common_vendor.t(item.day)
} : {
g: common_vendor.t(item.day)
})), {
h: index,
i: common_vendor.o(($event) => $options.clickSelectDate(item), index)
});
})
} : {}, {
O: $data.selectScreenCategory == 1
}, $data.selectScreenCategory == 1 ? {
P: common_vendor.f($data.industryTopCategoryList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
Q: common_assets._imports_1
} : {}, {
R: $data.selectScreenCategory == 2
}, $data.selectScreenCategory == 2 ? {
S: common_vendor.f($data.importanceList, (item, index, i0) => {
return {
a: common_vendor.t(item.name),
b: common_vendor.n("item " + ($data.selectImportanceIndex == index ? "select" : "")),
c: index,
d: common_vendor.o(($event) => $options.clickImportanceItem(index), index)
};
})
} : {}, {
T: common_vendor.o(($event) => $options.clickCancel()),
U: common_vendor.o(($event) => $options.clickCertain()),
V: common_vendor.s("padding-top:" + $data.menuTop + "px;"),
W: common_vendor.sr("screenPopup", "9dfd58d8-1"),
X: common_vendor.p({
type: "top"
})
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "uni-app",
"enablePullDownRefresh": true,
"usingComponents": {
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,468 @@
.topBg {
top: 0;
left: 0;
width: 100%;
height: auto;
}
.navTitle {
left: 0;
margin: 0 23rpx;
font-size: 36rpx;
font-weight: bold;
color: white;
}
.searchC {
background-color: white;
left: 0;
right: 0;
margin: 20rpx 25rpx 0;
padding: 0 20rpx;
height: 75rpx;
border-radius: 20rpx;
font-size: 26rpx;
font-weight: 500;
}
.searchC .icon {
margin-right: 16rpx;
width: 30rpx;
height: auto;
}
.searchC input {
height: 100%;
}
.searchC .line {
background-color: #E1E1E1;
width: 1rpx;
height: 40rpx;
}
.searchC .search {
padding: 0 25rpx;
color: #F97316;
}
.screenCategoryC {
background-color: white;
margin-top: 22rpx;
left: 0;
right: 0;
border-radius: 20rpx 20rpx 0 0;
}
.screenCategoryC .sortScreenC {
font-weight: 500;
}
.screenCategoryC .sortScreenC .timeCategoryC .item {
display: inline-block;
padding: 0 26rpx;
line-height: 80rpx;
font-size: 32rpx;
color: #42485B;
}
.screenCategoryC .sortScreenC .timeCategoryC .item.select {
font-weight: bold;
color: #F97316;
}
.screenCategoryC .sortScreenC .sortC {
padding: 0 14rpx;
font-size: 24rpx;
color: #999;
}
.screenCategoryC .sortScreenC .sortC .icon {
margin-right: 4rpx;
width: 22rpx;
height: auto;
}
.screenCategoryC .sortScreenC .line {
background-color: #999;
width: 1rpx;
height: 25rpx;
}
.screenCategoryC .sortScreenC .screenC {
padding: 0 14rpx;
font-size: 24rpx;
color: #999;
}
.screenCategoryC .sortScreenC .screenC .icon {
margin-right: 5rpx;
width: 24rpx;
height: auto;
}
.screenCategoryC .topCategoryC {
white-space: nowrap;
border-bottom: solid 1rpx #E4E4E4;
}
.screenCategoryC .topCategoryC .item {
display: inline-block;
line-height: 72rpx;
padding: 0 28rpx;
font-size: 27rpx;
font-weight: 500;
color: #42485B;
}
.screenCategoryC .topCategoryC .item.select {
font-weight: bold;
color: black;
}
.screenCategoryC .topCategoryC .item.select .line {
background-color: #F97316;
left: calc((100% - 50rpx)/2);
width: 50rpx;
height: 2rpx;
bottom: 0;
}
.screenCategoryC .secondCategoryC {
white-space: nowrap;
padding: 21rpx 20rpx;
}
.screenCategoryC .secondCategoryC .item {
display: inline-block;
line-height: 44rpx;
padding: 0 11rpx;
font-size: 24rpx;
font-weight: 500;
color: #42485B;
}
.screenCategoryC .secondCategoryC .item.select {
background-color: #FFF6F0;
color: #F97316;
border-radius: 5rpx;
}
.eventListC {
background-color: white;
left: 0;
right: 0;
bottom: calc(55px + env(safe-area-inset-bottom));
overflow-y: scroll;
}
.eventListC .list {
padding: 0 25rpx;
}
.eventListC .list .item {
padding: 30rpx 0;
border-bottom: solid 1rpx #E4E4E4;
}
.eventListC .list .item .level {
margin-right: 16rpx;
width: 50rpx;
line-height: 40rpx;
border-radius: 10rpx;
font-size: 30rpx;
font-weight: bold;
color: white;
text-align: center;
}
.eventListC .list .item .level.S {
background-color: #CC4C02;
}
.eventListC .list .item .level.A {
background-color: #EC7014;
}
.eventListC .list .item .level.B {
background-color: #FB9A29;
}
.eventListC .list .item .level.C {
background-color: #FEC44F;
}
.eventListC .list .item .title {
font-size: 30rpx;
font-weight: bold;
color: #222;
}
.eventListC .list .item .content {
margin-top: 20rpx;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
text-overflow: ellipsis;
overflow: hidden;
font-size: 24rpx;
font-weight: 500;
color: #666;
}
.eventListC .list .item .increaseRateList {
white-space: nowrap;
margin-top: 24rpx;
}
.eventListC .list .item .increaseRateList .rateItem {
display: inline-block;
margin-right: 15rpx;
line-height: 44rpx;
padding: 0 14rpx;
border-radius: 10rpx;
font-size: 22rpx;
font-weight: bold;
color: white;
}
.eventListC .list .item .increaseRateList .rateItem .arrow {
width: 15rpx;
height: auto;
}
.eventListC .list .item .increaseRateList .rateItem.up {
background-color: #C00000;
}
.eventListC .list .item .increaseRateList .rateItem.down {
background-color: #355422;
}
.eventListC .list .item .stockList {
white-space: nowrap;
margin-top: 20rpx;
}
.eventListC .list .item .stockList .stockItem {
background-color: #F8F8F8;
display: inline-block;
padding: 0 20rpx;
line-height: 60rpx;
border-radius: 10rpx;
font-size: 30rpx;
font-weight: bold;
color: #222;
}
.eventListC .list .item .timeToolBarC {
margin-top: 20rpx;
}
.eventListC .list .item .timeToolBarC .time {
font-size: 22rpx;
font-weight: 500;
color: #aaa;
}
.eventListC .list .item .timeToolBarC .toolBarC .toolItem {
padding: 0 20rpx;
font-size: 26rpx;
font-weight: bold;
color: #666;
}
.eventListC .list .item .timeToolBarC .toolBarC .toolItem .icon {
margin-right: 13rpx;
width: 29rpx;
height: auto;
}
.eventListC .list .item .timeToolBarC .toolBarC .toolItem:first-child .icon {
margin-right: 15rpx;
width: 33rpx;
height: auto;
}
.sortPopup {
background-color: white;
margin-left: calc(100% - (170rpx + 54rpx));
width: 170rpx;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 10rpx;
}
.sortPopup .arrow {
top: -13rpx;
left: 38rpx;
width: 26rpx;
height: auto;
}
.sortPopup .list .item {
padding: 20rpx;
font-size: 24rpx;
font-weight: 500;
color: #444;
}
.sortPopup .list .item .icon {
margin-right: 11rpx;
width: 20rpx;
height: 20rpx;
}
.screenPopup {
background-color: white;
border-radius: 0 0 20rpx 20rpx;
overflow: hidden;
}
.screenPopup .navC {
padding: 0 25rpx;
font-size: 36rpx;
font-weight: bold;
}
.screenPopup .navC .icon {
margin-right: 12rpx;
width: 32rpx;
height: auto;
}
.screenPopup .screenCategoryList {
background-color: #F8F7FD;
width: 175rpx;
}
.screenPopup .screenCategoryList .item {
padding: 0 23rpx;
line-height: 90rpx;
font-size: 28rpx;
font-weight: 500;
color: #333;
}
.screenPopup .screenCategoryList .item.select {
background-color: white;
font-weight: bold;
color: #F97316;
}
.screenPopup .screenCategoryList .item.select .line {
background-color: #F97316;
top: calc((100% - 25rpx)/2);
left: 0;
width: 8rpx;
height: 25rpx;
border-radius: 0 5rpx 5rpx 0;
}
.screenPopup .screenContentC {
padding: 30rpx 0 60rpx;
max-height: 1100rpx;
overflow-y: scroll;
}
.screenPopup .screenContentC .section {
padding: 0 20rpx;
font-size: 30rpx;
font-weight: 500;
color: #222;
}
.screenPopup .screenContentC .dateC {
background-color: #F6F6F6;
margin: 30rpx 20rpx 0;
height: 70rpx;
border-radius: 5rpx;
font-size: 28rpx;
font-weight: 500;
color: #B0B0B0;
}
.screenPopup .screenContentC .dateC .start {
text-align: right;
}
.screenPopup .screenContentC .dateC .and {
margin: 0 20rpx;
}
.screenPopup .screenContentC .yearMonthC {
margin-top: 30rpx;
padding: 0 30rpx;
}
.screenPopup .screenContentC .yearMonthC .yearMonth {
text-align: center;
font-size: 24rpx;
}
.screenPopup .screenContentC .yearMonthC .btn {
background-color: #f8f8f8;
width: 40rpx;
height: 40rpx;
border-radius: 50%;
}
.screenPopup .screenContentC .yearMonthC .btn .icon {
display: block;
width: 24rpx;
height: auto;
}
.screenPopup .screenContentC .weekList {
margin-top: 20rpx;
padding: 0 30rpx;
}
.screenPopup .screenContentC .weekList .item {
line-height: 40rpx;
font-size: 24rpx;
color: #a1a1a1;
text-align: center;
}
.screenPopup .screenContentC .monthDateList {
padding: 0 30rpx;
}
.screenPopup .screenContentC .monthDateList .item {
margin-bottom: 10rpx;
width: calc(100%/7);
}
.screenPopup .screenContentC .monthDateList .item .date {
background-color: #f8f8f8;
width: calc(100% - 10rpx);
line-height: 64rpx;
border-radius: 15rpx;
font-size: 24rpx;
font-weight: bold;
color: #333;
text-align: center;
}
.screenPopup .screenContentC .monthDateList .item .date.today {
background-color: #FF7E1A;
color: white;
}
.screenPopup .screenContentC .monthDateList .item .date.inRange {
background-color: #FFF2EB;
}
.screenPopup .screenContentC .monthDateList .item .date.notCurrentMonth {
background-color: #fdfdfd;
color: #c3c3c3;
}
.screenPopup .screenContentC .monthDateList .item .eventNum {
margin-top: 12rpx;
width: 80rpx;
height: 30rpx;
line-height: 30rpx;
border-radius: 5rpx;
font-size: 16rpx;
font-weight: 500;
color: white;
text-align: center;
}
.screenPopup .screenContentC .industryCategoryC {
margin: 14rpx 20rpx 0;
padding-bottom: 20rpx;
border-bottom: solid 1rpx #E4E4E4;
}
.screenPopup .screenContentC .industryCategoryC .item {
background-color: #F6F6F6;
margin: 0 20rpx 20rpx 0;
padding: 0 30rpx;
line-height: 70rpx;
border-radius: 10rpx;
font-size: 26rpx;
font-weight: 500;
color: #666;
}
.screenPopup .screenContentC .industryCategoryC .item.select {
background-color: #F97316;
color: white;
}
.screenPopup .screenContentC .industrySearchC {
background-color: #F6F6F6;
margin: 28rpx 22rpx 0;
padding: 0 22rpx;
height: 75rpx;
border: solid 1rpx #DBDBDB;
border-radius: 10rpx;
font-size: 26rpx;
font-weight: 500;
}
.screenPopup .screenContentC .industrySearchC .icon {
margin-right: 16rpx;
width: 30rpx;
height: auto;
}
.screenPopup .screenContentC .importanceList {
margin-top: 16rpx;
padding: 0 20rpx;
}
.screenPopup .screenContentC .importanceList .item {
background-color: #F6F6F6;
margin: 0 20rpx 20rpx 0;
width: 150rpx;
line-height: 70rpx;
border-radius: 10rpx;
font-size: 28rpx;
color: #666;
text-align: center;
}
.screenPopup .screenContentC .importanceList .item.select {
background-color: #F97316;
color: white;
}
.screenPopup .btnC {
overflow: hidden;
}
.screenPopup .btnC .btn {
line-height: 100rpx;
font-size: 28rpx;
text-align: center;
}
.screenPopup .btnC .btn.cancel {
background-color: #F8F7FD;
font-weight: 500;
color: #999;
}
.screenPopup .btnC .btn.certain {
background-color: #F97316;
font-weight: bold;
color: white;
}

View File

@@ -0,0 +1,28 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const common_assets = require("../../../common/assets.js");
const _sfc_main = {
data() {
return {};
},
methods: {}
};
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 {
a: common_vendor.p({
leftText: "科锐国际(300662.SZ)"
}),
b: common_assets._imports_0
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/index/stockDetails/stockDetails.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="42054871-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image></view>

View File

@@ -0,0 +1,6 @@
.topBg {
top: 0;
left: 0;
width: 100%;
height: auto;
}