1.31 财务分析,财务数据模块完善,产业链桑基图展示
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/concept/concept.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/concept.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
unpackage/dist/build/mp-weixin/pages/concept/concept.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/concept/concept.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../components/navBar/navBar",
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/concept.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/concept.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/concept/concept.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/concept.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.wxml
vendored
Normal file
@@ -0,0 +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="{{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>
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/historicalTimeline/historicalTimeline.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.timelineTitle{background-color:#fff9f5;left:0;right:0;margin:0 25rpx;padding:30rpx 27rpx 0;border-radius:10rpx 10rpx 0 0;font-size:28rpx;font-weight:700;color:#2b2b2b}.dateStatisticsC{background-color:#fff9f5;left:0;right:0;bottom:86rpx;margin:0 25rpx;padding:24rpx 25rpx 0;border-radius:0 0 10rpx 10rpx;overflow-y:scroll}.dateStatisticsC .dateC{background-color:#fff;box-shadow:0 5rpx 10rpx rgba(127,127,127,.1);border-radius:10rpx;padding:30rpx 25rpx 0}.dateStatisticsC .dateC .yearMonthC{background-color:#f7f7f7;height:70rpx;border-radius:35rpx}.dateStatisticsC .dateC .yearMonthC .btn{padding:0 52rpx}.dateStatisticsC .dateC .yearMonthC .btn .icon{width:13rpx;height:auto}.dateStatisticsC .dateC .yearMonthC .yearMonth{font-size:32rpx;font-weight:500;color:#070707;text-align:center}.dateStatisticsC .dateC .weekList .item{margin-right:13rpx;line-height:72rpx;font-size:26rpx;font-weight:500;color:#a7a7a7;text-align:center}.dateStatisticsC .dateC .monthDateList .item{margin-bottom:12rpx;width:calc(100%/7)}.dateStatisticsC .dateC .monthDateList .item .date{background-color:#f8f8f8;padding:4rpx 0;width:calc(100% - 10rpx);height:72rpx;border-radius:10rpx;font-size:26rpx;font-weight:700;color:#2a2a2a;text-align:center}.dateStatisticsC .dateC .monthDateList .item .date .chg{font-size:18rpx}.dateStatisticsC .dateC .monthDateList .item .date .chg.up{color:#ec3440}.dateStatisticsC .dateC .monthDateList .item .date .chg.down{color:#38a169}.dateStatisticsC .dateC .monthDateList .item .date.up{background-color:#ffd6d9}.dateStatisticsC .dateC .monthDateList .item .date.down{background-color:#cef1de}.dateStatisticsC .dateC .monthDateList .item .date.select.up{background-color:#ec3440;color:#fff}.dateStatisticsC .dateC .monthDateList .item .date.select.up .chg{color:#fff}.dateStatisticsC .dateC .monthDateList .item .date.select.down{background-color:#38a169;color:#fff}.dateStatisticsC .dateC .monthDateList .item .date.select.down .chg{color:#fff}.dateStatisticsC .dateC .monthDateList .item .date.notCurrentMonth{background-color:#fcfcfc;color:#999}.dateStatisticsC .statisticsC{background-color:#fff;margin-top:20rpx;padding:28rpx 20rpx 0;border-radius:10rpx}.dateStatisticsC .statisticsC .date{font-size:30rpx;font-weight:500;text-align:center}.dateStatisticsC .statisticsC .chgStockNumC{margin-top:36rpx;padding:0 13rpx 28rpx;border-bottom:solid 1rpx #EDEDED;font-size:26rpx}.dateStatisticsC .statisticsC .chgStockNumC .title{margin-right:18rpx;font-weight:500;color:#94979c}.dateStatisticsC .statisticsC .chgStockNumC .chgC .icon{margin-right:9rpx;width:17rpx;height:auto}.dateStatisticsC .statisticsC .chgStockNumC .chgC .chg{font-weight:700}.dateStatisticsC .statisticsC .chgStockNumC .chgC .chg.up{color:#ec3440}.dateStatisticsC .statisticsC .chgStockNumC .chgC .chg.down{color:#38a169}.dateStatisticsC .statisticsC .chgStockNumC .stockNum{font-weight:700;color:#070707}.dateStatisticsC .statisticsC .newsReportC{padding-top:20rpx;font-size:28rpx;font-weight:700}.dateStatisticsC .statisticsC .newsReportC .icon{margin-right:20rpx;width:24rpx;height:auto}.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}.dateStatisticsC .statisticsC .list .item .type{margin-right:18rpx;padding:0 9rpx;line-height:40rpx;border-radius:5rpx;font-size:22rpx;font-weight:500}.dateStatisticsC .statisticsC .list .item .type.news{background-color:#f2c367;color:#070707}.dateStatisticsC .statisticsC .list .item .type.report{background-color:#3d3f3c;color:#f2c367}.dateStatisticsC .statisticsC .list .item .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:26rpx;font-weight:700;color:#070707}.dateStatisticsC .statisticsC .list .item .content{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#333;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar",
|
||||
"uni-popup": "../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.wxml
vendored
Normal file
@@ -0,0 +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>
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/hotStock/hotStock.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.titleScreenC{background-color:#fff9f5;left:0;right:0;margin:0 25rpx;padding:22rpx 25rpx 0;border-radius:10rpx 10rpx 0 0}.titleScreenC .title{font-size:28rpx;font-weight:700;color:#2b2b2b}.titleScreenC .screenC{padding:0 20rpx;line-height:42rpx;border-radius:23rpx;border:solid 2rpx #F3C368;font-size:22rpx;color:#e3aa3d}.titleScreenC .screenC .arrow{margin-left:7rpx;width:12rpx;height:auto}.stockList{background-color:#fff9f5;left:0;width:calc(100% - 50rpx);bottom:62rpx;margin:0 25rpx;border-radius:0 0 10rpx 10rpx}.stockList .list{padding:16rpx 25rpx}.stockList .list .item{background-color:#fff;box-shadow:0 5rpx 10rpx rgba(127,127,127,.08);margin-bottom:20rpx;padding:0 20rpx;border-radius:10rpx}.stockList .list .item .stockInfoC{padding:16rpx 0}.stockList .list .item .stockInfoC .titleCodeC .title{font-size:26rpx;font-weight:700;color:#222}.stockList .list .item .stockInfoC .titleCodeC .code{font-size:20rpx;font-weight:500;color:#888}.stockList .list .item .stockInfoC .chg{font-size:24rpx;font-weight:700;text-align:center}.stockList .list .item .stockInfoC .chg.up{color:#ec3440}.stockList .list .item .stockInfoC .chg.down{color:#38a169}.stockList .list .item .stockInfoC .industry{font-size:24rpx;font-weight:500;color:#333;text-align:center}.stockList .list .item .stockInfoC .reasonProjectC{font-size:24rpx;font-weight:500;color:#da9000}.stockList .list .item .stockInfoC .reasonProjectC .arrow{margin-left:10rpx;width:10rpx;height:auto}.stockList .list .item .stockInfoC .reasonProjectC .arrow.expand{margin-left:6rpx;width:14rpx;height:auto}.stockList .list .item .reasonProjectContentC{margin:0 5rpx;border-top:solid 1rpx #F0F0F0;padding:12rpx 9rpx 22rpx;font-size:24rpx;font-weight:500;color:#666}.stockList .list .item .reasonProjectContentC .title{color:#da9000}.stockList .list .item .reasonProjectContentC .projectC{margin-top:6rpx}.datePopup{background-color:#fff;padding-bottom:calc(20rpx + env(safe-area-inset-bottom));border-radius:20rpx 20rpx 0 0}.datePopup .btnTitleC .btn{padding:20rpx 26rpx;font-size:28rpx;font-weight:500}.datePopup .btnTitleC .btn.cancel{color:#727a8e}.datePopup .btnTitleC .btn.confirm{color:#d79412}.datePopup .btnTitleC .title{font-size:36rpx;font-weight:700;text-align:center}.datePopup .yearMonthC{background-color:#f7f7f7;margin:0 25rpx;height:70rpx;border-radius:35rpx}.datePopup .yearMonthC .btn{padding:0 52rpx}.datePopup .yearMonthC .btn .icon{width:13rpx;height:auto}.datePopup .yearMonthC .yearMonth{font-size:32rpx;font-weight:500;color:#070707;text-align:center}.datePopup .weekList{padding:0 38rpx}.datePopup .weekList .item{margin-right:13rpx;line-height:72rpx;font-size:26rpx;font-weight:500;color:#a7a7a7;text-align:center}.datePopup .monthDateList{padding:0 38rpx}.datePopup .monthDateList .item{margin-bottom:12rpx;width:calc(100%/7)}.datePopup .monthDateList .item .date{background-color:#f8f8f8;width:calc(100% - 10rpx);line-height:64rpx;border-radius:15rpx;font-size:24rpx;font-weight:700;color:#2a2a2a;text-align:center}.datePopup .monthDateList .item .date.select{background-color:#f2c367;color:#fff}.datePopup .monthDateList .item .date.notCurrentMonth{background-color:#fcfcfc;color:#999}.datePopup .quickTimeC{margin-top:16rpx}.datePopup .quickTimeC .item{margin-right:25rpx;width:120rpx;line-height:56rpx;border-radius:30rpx;border:solid 2rpx #4E4E4E;font-size:24rpx;font-weight:500;color:#4e4e4e;text-align:center}.datePopup .quickTimeC .item:last-child{margin-right:0}
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),n=require("../../../utils/util.js"),o=require("../../../common/assets.js"),t={data:()=>({navH:e.inject("navHeight"),newsInfo:null,getLocalTime:n.getLocaleTime}),onLoad(e){this.newsInfo=JSON.parse(decodeURIComponent(e.info))}};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(t,[["render",function(n,t,s,a,r,i){return e.e({a:e.p({leftText:"历史时间轴",hideNavBg:!0}),b:o._imports_0,c:r.newsInfo},r.newsInfo?{d:e.t(r.newsInfo.title),e:e.t(r.getLocalTime(r.newsInfo.published_time)),f:e.p({source:r.newsInfo.detail}),g:e.s("top: "+r.navH+"px;")}:{})}]]);wx.createPage(s);
|
||||
7
unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar",
|
||||
"ua-markdown": "../../../components/ua-markdown/ua-markdown"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<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>
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/newsDetails/newsDetails.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
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:700;color:#2b2b2b}.contentC .labelTimeC{margin:0 10rpx}.contentC .labelTimeC .time{font-size:24rpx;font-weight:500;color:#666}.contentC .content{margin-top:30rpx}
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../utils/util.js"),o=require("../../../common/assets.js"),n={data:()=>({navH:e.inject("navHeight"),reportInfo:null,getLocalTime:t.getLocaleTime,content:""}),onLoad(e){this.reportInfo=JSON.parse(decodeURIComponent(e.info)),this.reportInfo.content=this.reportInfo.content.replace(/'/g,'"'),console.log(JSON.parse(this.reportInfo.content)),this.content=JSON.parse(this.reportInfo.content).content}};if(!Array){e.resolveComponent("navBar")()}Math;const r=e._export_sfc(n,[["render",function(t,n,r,c,s,a){return e.e({a:e.p({leftText:"历史时间轴",hideNavBg:!0}),b:o._imports_0,c:s.reportInfo},s.reportInfo?{d:e.t(s.reportInfo.report_title),e:e.t(s.getLocalTime(s.reportInfo.declare_date)),f:e.t(s.content?s.content:s.reportInfo.content),g:e.s("top: "+s.navH+"px;")}:{})}]]);wx.createPage(r);
|
||||
6
unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.wxml
vendored
Normal 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>
|
||||
1
unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/concept/reportDetails/reportDetails.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
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:700;color:#2b2b2b}.contentC .labelTimeC{margin:0 10rpx}.contentC .labelTimeC .time{font-size:24rpx;font-weight:500;color:#666}.contentC .content{margin-top:30rpx}
|
||||
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../common/vendor.js"),e=require("../../request/api.js"),a=require("../../common/assets.js"),i={data:()=>({navH:t.inject("navHeight"),contentTop:"",allStockData:[],filteredData:[],currentDate:"",topLists:[{title:"超大盘股",value:"(>1000亿)"},{title:"大盘股",value:"(500-1000亿)"},{title:"中盘股",value:"(100-500亿)"}],list2Index:0}),onLoad(e){this.currentDate=e.currentDate,this.contentTop=this.navH+115/750*t.inject("windowWidth"),this.marketHeatmap()},methods:{handleTypeClick(t){this.list2Index=t,this.marketHeatmap()},getTableItem(t){const e=t.market_cap?t.market_cap.toFixed(2):"0.00",a=t.amount?t.amount.toFixed(2):"0.00",i=t.change_percent?Number(t.change_percent):0;let r="",s="";return i>0?(r=`+${i}%`,s="positive"):i<0?(r=`${i}%`,s="negative"):(r="0%",s="zero"),[[t.stock_name,t.stock_code],[r,"",s],[`${e}亿元`],[`${a}亿元`],[t.industry||"暂无"]]},marketHeatmap(){let t={limit:500,date:this.currentDate};e.marketHeatmap(t).then((t=>{this.allStockData=t.data||[],this.filterStockByMarketCap()})).catch((t=>{}))},filterStockByMarketCap(){const{list2Index:t,allStockData:e}=this;let a=[];switch(t){case 0:a=e.filter((t=>t.market_cap>1e3));break;case 1:a=e.filter((t=>t.market_cap>=500&&t.market_cap<=1e3));break;case 2:a=e.filter((t=>t.market_cap>=100&&t.market_cap<=500));break;default:a=e}this.filteredData=a},itemDetails(e){t.index.navigateTo({url:"/pagesStock/stockCenterDetails/stockCenterDetails?code="+e.stock_code})}}};if(!Array){t.resolveComponent("navBar")()}Math;const r=t._export_sfc(i,[["render",function(e,i,r,s,o,c){return{a:t.p({leftText:"详情",hideNavBg:!0}),b:a._imports_0,c:a._imports_1,d:t.o((t=>e.clickSearch())),e:e.keywords,f:t.o((t=>e.keywords=t.detail.value)),g:t.s("top:"+o.navH+"px;"),h:t.f(o.topLists,((e,a,i)=>({a:t.t(e.title),b:o.list2Index==a?"#BB8520":"#070707",c:t.t(e.value),d:o.list2Index==a?"#BB8520":"#070707",e:t.o((t=>c.handleTypeClick(a)),a),f:a,g:o.list2Index==a?"1rpx solid #F2C369":"none"}))),i:t.f(["股票名称","涨跌幅","市值","成交额","行业"],((e,a,i)=>({a:t.t(e),b:a}))),j:t.f(o.filteredData,((e,a,i)=>({a:t.f(c.getTableItem(e),((e,a,i)=>t.e({a:t.t(e[0]),b:0==a},0==a?{c:t.t(e[1])}:{},{d:a,e:0==a?"#222222":1==a?"positive"===e[2]?"#EC3440":"#01AB5D":"#666666"}))),b:t.o((t=>c.itemDetails(e))),c:a%2==0?"#fff":"#FAFAFC"}))),k:t.s("top:"+o.contentTop+"px;")}}]]);wx.createPage(r);
|
||||
6
unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="1d94e03e-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="searchC fixed flex" style="{{g}}"><image class="icon" src="{{c}}" mode="widthFix"></image><input class="flex1" type="text" placeholder="输入股票代码或名称" placeholder-style="color:#eeeeee" confirm-type="search" bindconfirm="{{d}}" value="{{e}}" bindinput="{{f}}"/></view><scroll-view scroll-y class="stockDetailsC fixed" style="{{k}}"><view><view style="display:grid;grid-template-columns:repeat(3, 1fr);gap:16rpx;margin:0 20rpx"><view wx:for="{{h}}" wx:for-item="item" wx:key="f" bindtap="{{item.e}}" style="{{'padding:12rpx' + ';' + ('border-bottom:' + item.g)}}"><view style="{{'font-size:24rpx;color:#070707;font-weight:bold;text-align:center' + ';' + ('color:' + item.b)}}">{{item.a}}</view><view style="{{'font-size:20rpx;font-weight:400;text-align:center' + ';' + ('color:' + item.d)}}">{{item.c}}</view></view></view><view style="height:1rpx;margin:0 20rpx;background-color:#E7E7E7"></view><view style="display:grid;grid-template-columns:repeat(5, 1fr);gap:10rpx;background-color:#FAFAFC;line-height:60rpx;margin:0 20rpx;margin-top:20rpx"><view wx:for="{{i}}" wx:for-item="item" wx:key="b" style="color:#666666;font-size:20rpx;font-weight:500;text-align:center">{{item.a}}</view></view><view wx:for="{{j}}" wx:for-item="obj" bindtap="{{obj.b}}" style="{{'display:grid;grid-template-columns:repeat(5, 1fr);gap:10rpx;min-height:60rpx;margin:0 20rpx' + ';' + ('background-color:' + obj.c)}}"><view wx:for="{{obj.a}}" wx:for-item="item" wx:key="d" style="{{'padding:10rpx 0;color:#666666;font-size:20rpx;font-weight:500;text-align:center;display:flex;justify-content:center;align-items:center;flex-direction:column' + ';' + ('color:' + item.e)}}"><view>{{item.a}}</view><view wx:if="{{item.b}}" style="color:#666666;font-size:20rpx;font-weight:500">{{item.c}}</view></view></view><view style="height:25rpx"></view></view></scroll-view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/detail.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.searchC{background-color:rgba(41,41,41,.7);left:0;right:0;margin:20rpx 25rpx 0;padding:0 25rpx;height:70rpx;border-radius:35rpx;font-size:22rpx;font-weight:500}.searchC .icon{margin-right:12rpx;width:25rpx;height:auto}.searchC input{height:100%;color:#fff}.stockDetailsC{left:25rpx;width:calc(100vw - 50rpx);bottom:env(safe-area-inset-bottom);background-color:#fff;border-radius:10rpx}
|
||||
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.json
vendored
Normal file
8
unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../components/navBar/navBar",
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup",
|
||||
"l-c-calendar2": "../../components/LCCalendar2/LCCalendar2"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/geGuCenter/geGuCenter.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.searchC{background-color:rgba(41,41,41,.7);left:0;right:0;margin:20rpx 25rpx 0;padding:0 25rpx;height:70rpx;border-radius:35rpx;font-size:22rpx;font-weight:500}.searchC .icon{margin-right:12rpx;width:25rpx;height:auto}.searchC input{height:100%;color:#fff}.stockDetailsC{left:25rpx;width:calc(100vw - 50rpx);bottom:calc(55px + env(safe-area-inset-bottom));background-color:#fff;border-radius:10rpx}.detailPopup{max-height:70%;background-color:#fff;color:red;border-radius:20rpx 20rpx 0 0;padding-bottom:env(safe-area-inset-bottom)}
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),t={data:()=>({navH:e.inject("navHeight"),url:""}),onLoad(e){e.name&&(this.url="https://valuefrontier.cn/htmls/concept/"+e.name+"/")},methods:{}};const n=e._export_sfc(t,[["render",function(e,t,n,r,o,a){return{a:o.url}}]]);wx.createPage(n);
|
||||
6
unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTextStyle": "black",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><web-view src="{{a}}"></web-view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/conceptDetails/conceptDetails.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.topBg{top:0;left:0;width:100%;height:auto}.conceptDetailsC{background-color:#fff;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:700;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}
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.json
vendored
Normal file
8
unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar",
|
||||
"l-echart": "../../../uni_modules/lime-echart/components/l-echart/l-echart",
|
||||
"uni-popup": "../../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/eventDetails/eventDetails.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/index/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/index.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
unpackage/dist/build/mp-weixin/pages/index/index.json
vendored
Normal file
8
unpackage/dist/build/mp-weixin/pages/index/index.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../components/navBar/navBar",
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/index.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/index/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/index.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar",
|
||||
"l-echart": "../../../uni_modules/lime-echart/components/l-echart/l-echart"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.wxml
vendored
Normal 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 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>
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/stockDetails/stockDetails.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.chartDesC{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin:0 25rpx;padding-top:10rpx;border-radius:10rpx}.chartDesC .tabC .item{display:inline-block;padding:0 25rpx;line-height:60rpx;font-size:28rpx;font-weight:500;color:#42485b}.chartDesC .tabC .item.select{font-weight:700;color:#f3c368}.chartDesC .tabC .item.select .line{background-color:#f3c368;left:calc((100% - 50rpx)/2);bottom:0;width:50rpx;height:2rpx}.chartDesC .volumeAmountC{padding:25rpx;font-size:28rpx;font-weight:700;color:#666}.chartDesC .volumeAmountC .volume{margin-right:30rpx}.chartDesC .section{padding:0 25rpx;line-height:80rpx;font-size:32rpx;font-weight:700;color:#222}.chartDesC .des{margin:0 25rpx;line-height:1.4rem;font-size:24rpx;font-weight:500;color:#666}.chartDesC .des .ai{color:#ec3440}.chartDesC .riskTips{margin:20rpx 25rpx 0;padding-bottom:30rpx;line-height:1.2rem;font-size:22rpx;color:#a2a2a1}.infoSourceC .section{padding:0 25rpx;line-height:80rpx;font-size:27rpx;font-weight:700;color:#f3c368}.infoSourceC .list{padding:0 25rpx}.infoSourceC .list .item{background:linear-gradient(-30deg,#fff6f0,#fefefe);margin-bottom:20rpx;padding:30rpx 26rpx;border-radius:10rpx}.infoSourceC .list .item .content{font-size:24rpx;font-weight:500;color:#222}.infoSourceC .list .item .article{margin-top:10rpx;font-size:22rpx;font-weight:500;color:#666;text-align:right}.infoSourceC .list .item .authorDateC{margin-top:30rpx;font-size:22rpx;font-weight:500;color:#aaa}.infoSourceC .list .item .authorDateC .author{margin-right:10rpx}.contentC.radius{margin-top:10rpx;border-radius:20rpx 20rpx 0 0}
|
||||
1
unpackage/dist/build/mp-weixin/pages/invest/invest.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/invest/invest.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
unpackage/dist/build/mp-weixin/pages/invest/invest.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/invest/invest.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/invest/invest.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/invest/invest.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/invest/invest.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/invest/invest.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"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);
|
||||
7
unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar",
|
||||
"ua-markdown": "../../../components/ua-markdown/ua-markdown"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="b7e6c0fc-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="b7e6c0fc-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="b7e6c0fc-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>
|
||||
1
unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/invest/investDetails/investDetails.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
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}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),i=require("../../../request/api.js"),t=require("../../../common/assets.js"),o=getApp(),n={data:()=>({contentTop:"",mobile:"",code:"",isAgree:!1,countdown:0,getCode:!1,timer:null}),onLoad(){this.contentTop=e.inject("navHeight")+230/750*e.inject("windowWidth")},methods:{clickGetCode(){let t=this.mobile;if(!t)return void e.index.showToast({title:"请输入手机号",icon:"none"});if(!o.globalData.mobileReg.test(t))return void e.index.showToast({title:"请输入正确格式的手机号",icon:"none"});if(this.isSubmiting)return;if(this.countdown>0)return;this.isSubmiting=!0;let n={phone:this.mobile,isJson:1},s=this;i.sendSMS(n).then((i=>{e.index.showToast({title:i.message,icon:"none"});let t=60;this.timer=setInterval((()=>{s.isSubmiting=!1,t--,0==t&&clearInterval(s.timer),s.getCode=!0,s.countdown=t}),1e3)})).catch((e=>{this.isSubmiting=!1}))},clickLoginAtOnce(){if(!this.mobile)return void e.index.showToast({title:"请输入手机号",icon:"none"});if(!this.code)return void e.index.showToast({title:"请输入验证码",icon:"none"});if(!this.isAgree)return void e.index.showToast({title:"请阅读并同意我们的《用户服务协议》和《隐私政策》",icon:"none"});let t={phone:this.mobile,code:this.code,isJson:1};i.loginByPhone(t).then((i=>{0==i.code?(e.index.showToast({title:i.message}),e.index.setStorageSync("token",i.token),setTimeout((function(){e.index.switchTab({url:"/pages/index/index"})}),1e3)):e.index.showToast({title:i.message,icon:"none"})})).catch((e=>{}))},clickOneClickLogin(){e.index.navigateBack()},clickAgree(){this.isAgree=!this.isAgree},clickProtocol(i){e.index.navigateTo({url:"/pages/mine/web/web?type="+i})}}};if(!Array){e.resolveComponent("navBar")()}Math;const s=e._export_sfc(n,[["render",function(i,o,n,s,c,r){return e.e({a:e.p({leftText:"登录",hideNavBg:!0,backBlack:!0}),b:e.s("margin-top:"+c.contentTop+"px;"),c:t._imports_0$2,d:t._imports_1$8,e:c.mobile,f:e.o((e=>c.mobile=e.detail.value)),g:t._imports_2$6,h:c.code,i:e.o((e=>c.code=e.detail.value)),j:e.t(c.getCode?c.countdown>0?c.countdown+"s":"重新获取验证码":"获取验证码"),k:e.o((e=>r.clickGetCode())),l:e.o((e=>r.clickLoginAtOnce())),m:e.o((e=>r.clickOneClickLogin())),n:c.isAgree},c.isAgree?{o:t._imports_3$4}:{p:t._imports_4$6},{q:e.o((e=>r.clickAgree()))})}]]);wx.createPage(s);
|
||||
6
unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="426e5c02-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="logo" style="{{b}}" src="{{c}}" mode="widthFix"></image><view class="loginTitle">欢迎登录价值前沿平台</view><view class="inputC mobile flex"><image class="icon" src="{{d}}" mode="widthFix"></image><input class="flex1" type="number" placeholder="请输入手机号" placeholder-style="color: #aaa" maxlength="11" value="{{e}}" bindinput="{{f}}"/></view><view class="inputC code flex"><image class="icon" src="{{g}}" mode="widthFix"></image><input class="flex1" type="number" placeholder="请输入验证码" placeholder-style="color: #aaa" value="{{h}}" bindinput="{{i}}"/><view class="getCode" bindtap="{{k}}">{{j}}</view></view><view class="btn loginAtOnce" bindtap="{{l}}">立即登录</view><view class="btn oneClickLogin" bindtap="{{m}}">授权手机号一键登录</view><view class="agreeProtocolC fixed flexCenter"><view class="agreeC" bindtap="{{q}}"><image wx:if="{{n}}" class="icon" src="{{o}}" mode="widthFix"></image><image wx:else class="icon" src="{{p}}" mode="widthFix"></image></view> 阅读并同意我们的<text class="protocol">《用户服务协议》</text>和<text class="protocol">《隐私政策》</text></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/codeLogin/codeLogin.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.logo{margin-left:calc((100% - 144rpx)/2);width:144rpx;height:auto}.loginTitle{margin:40rpx 80rpx 0;font-size:40rpx;font-weight:700;text-align:center}.inputC{background-color:#f8f8f8;margin:0 75rpx;height:80rpx;border-radius:10rpx}.inputC input{font-size:26rpx;font-weight:500}.inputC.mobile{margin-top:40rpx;padding-left:29rpx}.inputC.mobile .icon{margin-right:13rpx;width:26rpx;height:auto}.inputC.code{margin-top:36rpx;padding-left:27rpx}.inputC.code .icon{margin-right:10rpx;width:26rpx;height:auto}.inputC.code .getCode{padding:0 30rpx;font-size:26rpx;font-weight:500;color:#f97316}.btn{margin:0 75rpx;line-height:80rpx;border-radius:20rpx;font-size:26rpx;font-weight:500;text-align:center}.btn.loginAtOnce{background-color:#f97316;margin-top:60rpx;color:#fff}.btn.oneClickLogin{background-color:#fff1e8;margin-top:28rpx;color:#f97316}.agreeProtocolC{left:0;right:0;bottom:calc(120rpx + env(safe-area-inset-bottom));font-size:26rpx;font-weight:500}.agreeProtocolC .agreeC{padding:14rpx}.agreeProtocolC .agreeC .icon{display:block;width:28rpx;height:auto}.agreeProtocolC .protocol{color:#f97316}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/login.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/login.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../request/api.js"),i=require("../../common/assets.js"),n={data:()=>({contentTop:"",isAgree:!1,isBindPhone:!0}),onLoad(){this.contentTop=e.inject("navHeight")+230/750*e.inject("windowWidth"),this.getIsBindPhoneData()},methods:{getPhoneNumData(i){console.log(i),"getPhoneNumber:ok"==i.detail.errMsg&&e.index.login({provider:"weixin",success(n){console.log(n.code);let t={code:n.code,isJson:1};o.loginByWx(t).then((n=>{if(200==n.code){let t=n.data.token;e.index.setStorageSync("token",t);let s={code:i.detail.code};o.wxBindPhone(s).then((o=>{200==o.code?(e.index.showToast({title:o.message}),setTimeout((function(){e.index.switchTab({url:"/pages/index/index"})}),1e3)):e.index.showToast({title:o.message,icon:"none"})})).catch((e=>{}))}else e.index.showToast({title:n.message,icon:"none"})})).catch((e=>{}))},fail(){}})},clickOneClickLogin(){this.isAgree?e.index.login({provider:"weixin",success(i){console.log(i.code);let n={code:i.code,isJson:1};o.loginByWx(n).then((o=>{if(200==o.code){let i=o.data.token;e.index.setStorageSync("token",i),setTimeout((function(){e.index.switchTab({url:"/pages/index/index"})}),1e3)}else e.index.showToast({title:o.message,icon:"none"})})).catch((e=>{}))},fail(){}}):e.index.showToast({title:"请阅读并同意我们的《用户服务协议》和《隐私政策》",icon:"none"})},clickCodeLogin(){e.index.navigateTo({url:"/pages/login/codeLogin/codeLogin"})},clickAgree(){this.isAgree=!this.isAgree},clickProtocol(o){e.index.navigateTo({url:"/pages/mine/web/web?type="+o})},getIsBindPhoneData(){let i=this;e.index.login({provider:"weixin",success(n){console.log(n.code);let t={code:n.code,isJson:1};o.loginByWx(t).then((o=>{200==o.code?i.isBindPhone=!!o.data.user.phone:e.index.showToast({title:o.message,icon:"none"})})).catch((e=>{}))},fail(){}})}}};if(!Array){e.resolveComponent("navBar")()}Math;const t=e._export_sfc(n,[["render",function(o,n,t,s,c,a){return e.e({a:e.p({leftText:"登录",hideNavBg:!0,backBlack:!0}),b:e.s("margin-top:"+c.contentTop+"px;"),c:i._imports_0$2,d:!c.isBindPhone},c.isBindPhone?{}:{e:e.o(((...e)=>a.getPhoneNumData&&a.getPhoneNumData(...e)))},{f:e.o((e=>c.isBindPhone?a.clickOneClickLogin():"")),g:e.o((e=>a.clickCodeLogin())),h:c.isAgree},c.isAgree?{i:i._imports_3$4}:{j:i._imports_4$6},{k:e.o((e=>a.clickAgree())),l:e.o((e=>a.clickProtocol(2))),m:e.o((e=>a.clickProtocol(3)))})}]]);wx.createPage(t);
|
||||
6
unpackage/dist/build/mp-weixin/pages/login/login.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/login/login.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/login.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/login.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="f90ca6fc-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="logo" style="{{b}}" src="{{c}}" mode="widthFix"></image><view class="loginTitle">欢迎登录价值前沿平台</view><view class="btn oneClickLogin relative" bindtap="{{f}}"> 授权手机号一键登录 <button wx:if="{{d}}" class="absolute" open-type="getPhoneNumber" bindgetphonenumber="{{e}}"></button></view><view class="btn codeLogin" bindtap="{{g}}">使用短信验证登录</view><view class="agreeProtocolC fixed flexCenter"><view class="agreeC" bindtap="{{k}}"><image wx:if="{{h}}" class="icon" src="{{i}}" mode="widthFix"></image><image wx:else class="icon" src="{{j}}" mode="widthFix"></image></view> 阅读并同意我们的<text class="protocol" bindtap="{{l}}">《用户服务协议》</text>和<text class="protocol" bindtap="{{m}}">《隐私政策》</text></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/login.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/login.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.logo{margin-left:calc((100% - 144rpx)/2);width:144rpx;height:auto}.loginTitle{margin:40rpx 80rpx 0;font-size:40rpx;font-weight:700;text-align:center}.btn{margin:0 75rpx;line-height:80rpx;border-radius:20rpx;font-size:26rpx;font-weight:500;text-align:center}.btn.oneClickLogin{background-color:#f97316;margin-top:60rpx;color:#fff}.btn.oneClickLogin button{top:0;left:0;width:100%;height:100%}.btn.codeLogin{background-color:#fff1e8;margin-top:28rpx;color:#f97316}.agreeProtocolC{left:0;right:0;bottom:calc(120rpx + env(safe-area-inset-bottom));font-size:26rpx;font-weight:500}.agreeProtocolC .agreeC{padding:14rpx}.agreeProtocolC .agreeC .icon{display:block;width:28rpx;height:auto}.agreeProtocolC .protocol{color:#f97316}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js");require("../../../request/http.js");const a=require("../../../common/assets.js"),i={data:()=>({avatarTop:"",contentTop:"",avatar:"",avatarUrl:"",nickname:"",mobile:"",sexList:["男","女"],sex:"",profile:""}),onLoad(){this.avatarTop=e.inject("navHeight")+.08*e.inject("windowWidth"),this.contentTop=this.avatarTop+.1*e.inject("windowWidth"),this.getUserInfoData()},methods:{chooseAvatar(e){console.log(e),this.avatar=e.detail.avatarUrl},sexChange(e){console.log(e);let t=e.detail.value;this.sex=this.sexList[t]},getPhoneNumData(a){if(console.log(a),"getPhoneNumber:ok"==a.detail.errMsg){let i={code:a.detail.code};t.wxBindPhone(i).then((t=>{200==t.code?(e.index.showToast({title:t.message}),this.mobile=t.data.phone):e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}},clickFinishOrNext(a){if(this.avatar||this.avatarUrl)if(this.nickname)if(this.sex)if(this.avatar){let i={avatar:this.avatar,nickname:this.nickname,gender:"男"==this.sex?"male":"female",phone:this.mobile,bio:this.profile,isFile:1};t.updateBasicInfo(i).then((t=>{1==a?e.index.navigateTo({url:"/pages/mine/investPreference/investPreference"}):e.index.navigateBack()})).catch((e=>{}))}else{let i={nickname:this.nickname,gender:"男"==this.sex?"male":"female",phone:this.mobile,bio:this.profile};t.updateBasicInfo(i).then((t=>{1==a?e.index.navigateTo({url:"/pages/mine/investPreference/investPreference"}):e.index.navigateBack()})).catch((e=>{}))}else e.index.showToast({title:"请选择性别",icon:"none"});else e.index.showToast({title:"请输入昵称",icon:"none"});else e.index.showToast({title:"请选择头像",icon:"none"})},getUserInfoData(){t.userInfo().then((t=>{200==t.code?(this.avatarUrl=t.data.basic_info.avatar_url,this.nickname=t.data.basic_info.nickname,this.mobile=t.data.basic_info.phone,this.sex="male"==t.data.basic_info.gender?"男":"女",this.profile=t.data.basic_info.bio):e.wx$1.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const n=e._export_sfc(i,[["render",function(t,i,n,o,s,r){return{a:e.p({leftText:"信息完善"}),b:a._imports_0,c:s.avatar?s.avatar:s.avatarUrl,d:a._imports_1$5,e:e.o(((...e)=>r.chooseAvatar&&r.chooseAvatar(...e))),f:e.s("top:"+s.avatarTop+"px;"),g:s.nickname,h:e.o((e=>s.nickname=e.detail.value)),i:e.t(s.mobile),j:e.o(((...e)=>r.getPhoneNumData&&r.getPhoneNumData(...e))),k:e.t(s.sex),l:a._imports_2$5,m:s.sexList,n:e.o(((...e)=>r.sexChange&&r.sexChange(...e))),o:e.s("top:"+s.contentTop+"px;"),p:e.o((e=>r.clickFinishOrNext(0))),q:e.o((e=>r.clickFinishOrNext(1)))}}]]);wx.createPage(n);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="8b6eb184-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="avatarC fixed" style="{{f}}"><image class="avatar" src="{{c}}" mode="aspectFill"></image><image class="icon absolute" src="{{d}}" mode="widthFix"></image><button class="absolute" open-type="chooseAvatar" bindchooseavatar="{{e}}"></button></view><view class="basicInfoC fixed" style="{{o}}"><view class="title">基本信息</view><view class="section">昵称</view><view class="inputC"><input type="nickname" value="{{g}}" bindinput="{{h}}"/></view><view class="section">手机号</view><view class="selectC flex relative">{{i}} <button class="absolute" open-type="getPhoneNumber" bindgetphonenumber="{{j}}"></button></view><view class="section">性别</view><picker mode="selector" range="{{m}}" bindchange="{{n}}"><view class="selectC flex"><view class="flex1">{{k}}</view><image class="arrow" src="{{l}}" mode="widthFix"></image></view></picker></view><view class="bottomC fixed flex"><view class="finish btn" bindtap="{{p}}">完成</view><view class="next btn flex1" bindtap="{{q}}">下一步</view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/basicInfo/basicInfo.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.topBg{top:0;left:0;width:100%;height:auto}.avatarC{left:0;margin-left:calc((100% - 150rpx)/2);width:150rpx;z-index:10}.avatarC .avatar{width:100%;height:150rpx;border-radius:50%;border:solid 2rpx white}.avatarC .icon{right:20rpx;bottom:0;width:40rpx;height:auto}.avatarC button{top:0;left:0;width:100%;height:100%}.basicInfoC{background-color:#fff;left:0;right:0;bottom:170rpx;border-radius:20rpx 20rpx 0 0;overflow-y:scroll}.basicInfoC .title{margin:150rpx 0 0 60rpx;font-size:36rpx;font-weight:700}.basicInfoC .section{margin:0 60rpx;line-height:66rpx;font-size:26rpx;font-weight:700}.basicInfoC .inputC{background-color:#fbfbfd;margin:0 60rpx;padding:0 28rpx;height:78rpx;border:solid 2rpx #EFEFF2;border-radius:10rpx}.basicInfoC .inputC input{height:100%;font-size:24rpx;font-weight:500;color:#555}.basicInfoC .selectC{background-color:#fbfbfd;margin:0 60rpx;padding:0 25rpx 0 28rpx;height:78rpx;border:solid 2rpx #EFEFF2;border-radius:10rpx;font-size:24rpx;font-weight:500;color:#555}.basicInfoC .selectC .arrow{width:16rpx;height:auto}.basicInfoC .selectC button{top:0;left:0;width:100%;height:100%}.basicInfoC .textareaC{background-color:#fbfbfd;margin:0 60rpx;padding:20rpx 0 0 28rpx;border:solid 2rpx #EFEFF2;border-radius:2rpx}.basicInfoC .textareaC textarea{height:200rpx;font-size:24rpx;font-weight:500;color:#555}.bottomC{left:0;right:0;bottom:73rpx;margin:0 25rpx}.bottomC .btn{line-height:80rpx;border-radius:20rpx;font-size:26rpx;text-align:center}.bottomC .finish{background-color:#ffe9d9;width:226rpx;color:#f97316}.bottomC .next{background-color:#f97316;margin-left:20rpx;color:#fff}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),a=require("../../../utils/util.js"),i=require("../../../common/assets.js"),s={data:()=>({navH:t.inject("navHeight"),listTop:"",tabList:["评论我的","我评论的"],selectTab:0,commentList:[],page:1,loadAll:!1,getLocaleMonthDayHourMinte:a.getLocaleMonthDayHourMinte}),onLoad(){this.listTop=this.navH+85/750*t.inject("windowWidth"),this.getCommentListData()},onPullDownRefresh(){this.page=1,this.getCommentListData()},onReachBottom(){this.loadAll||(this.page++,this.getCommentListData())},methods:{clickTabItem(t){this.selectTab!=t&&(this.selectTab=t,this.getCommentListData())},clickEventItem(e){t.index.navigateTo({url:"/pages/index/eventDetails/eventDetails?id="+e})},getCommentListData(){let a={page:this.page,type:0==this.selectTab?"commented":"comments"};e.userActivityList(a).then((e=>{200==e.code?(1==e.data.current_page?this.commentList=e.data.activities:this.commentList=this.followList.concat(e.data.activities),e.data.current_page==e.data.pages&&(this.loadAll=!0)):t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{}))}}};if(!Array){t.resolveComponent("navBar")()}Math;const n=t._export_sfc(s,[["render",function(e,a,s,n,o,c){return t.e({a:t.p({leftText:"评论回复"}),b:i._imports_0,c:t.f(o.tabList,((e,a,i)=>t.e({a:t.t(e),b:o.selectTab==a},(o.selectTab,{}),{c:t.n("item flex1 relative "+(o.selectTab==a?"select":"")),d:a,e:t.o((t=>c.clickTabItem(a)),a)}))),d:t.s("top:"+o.navH+"px;"),e:0==o.selectTab},0==o.selectTab?{f:t.f(o.commentList,((e,a,i)=>({a:t.t(e.event.importance),b:t.t(e.event.title),c:a})))}:{g:t.f(o.commentList,((e,a,i)=>({a:e.commenter.avatar_url,b:t.t(e.commenter.nickname),c:t.t(o.getLocaleMonthDayHourMinte(e.created_at)),d:t.t(e.content),e:t.t(e.event.importance),f:t.t(e.event.title),g:t.t(e.event.description),h:t.o((t=>c.clickEventItem(e.event.id)),a),i:a})))},{h:t.s("top:"+o.listTop+"px;")})}]]);wx.createPage(n);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="dc49bf38-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="tabC fixed flex" style="{{d}}"><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></view><view class="list fixed" style="{{h}}"><block wx:if="{{e}}"><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="commentMeItem"><view class="replyContentC"><view class="flex"><view class="flex1 flex"><image class="avatar" src="{{''}}" mode="aspectFill"></image><view class="flex1"><view class="replyNickname">逸尘破晓</view><view class="time">2-15 15:37</view></view></view><view class="reply">回复</view></view><view class="content"> 回复<text class="originNickname">永不落的梦想</text><text>:四部门联合启动的人力资源服务业与制造业融合发展点。</text></view></view><view class="originalTextC"><view class="originReply"><text class="originNickname">永不落的梦想</text><text>:四部门联合启动的人力资源服务业与制造业融合发展点。</text></view><view class="originEventC"><view class="levelTitleC flex"><view class="level">{{item.a}}</view><view class="title">{{item.b}}</view></view><view class="eventContent">人社部、工信部等四部门印发通知,明确在30个城市开展3年期试点,培育人力资源服务与制造业协同机构...</view></view></view></view></block><block wx:else><view wx:for="{{g}}" wx:for-item="item" wx:key="i" class="myCommentItem"><view class="replyContentC"><view class="flex"><image class="avatar" src="{{item.a}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">{{item.b}}</view><view class="time">{{item.c}}</view></view></view><view class="content">{{item.d}}</view></view><view class="originEventC" catchtap="{{item.h}}"><view class="levelTitleC flex"><view class="level">{{item.e}}</view><view class="title">{{item.f}}</view></view><view class="eventContent">{{item.g}}</view></view></view></block></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/commentReply/commentReply.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.topBg{top:0;left:0;width:100%;height:auto}.tabC{background-color:#fff;left:0;right:0;margin-top:10rpx;border-bottom:solid 1rpx #E4E4E4;border-radius:20rpx 20rpx 0 0}.tabC .item{line-height:74rpx;font-size:28rpx;font-weight:500;color:#42485b;text-align:center}.tabC .item.select{font-weight:700;color:#f97316}.tabC .item.select .line{background-color:#f97316;left:calc((100% - 50rpx)/2);width:50rpx;height:2rpx;bottom:0}.list{background-color:#fff;left:0;right:0;bottom:0;overflow-y:scroll}.list .commentMeItem .replyContentC{padding:40rpx 25rpx 0}.list .commentMeItem .replyContentC .avatar{margin-right:22rpx;width:80rpx;height:80rpx;border-radius:50%}.list .commentMeItem .replyContentC .replyNickname{font-size:28rpx;font-weight:700;color:#111}.list .commentMeItem .replyContentC .time{font-size:26rpx;font-weight:500;color:#aaa}.list .commentMeItem .replyContentC .reply{width:90rpx;height:52rpx;line-height:50rpx;border-radius:26rpx;border:solid 1rpx #DDD;font-size:24rpx;text-align:center}.list .commentMeItem .replyContentC .content{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#444}.list .commentMeItem .replyContentC .content .originNickname{color:#f97316}.list .commentMeItem .originalTextC{background-color:#f7f7f7;margin-top:20rpx;padding:20rpx 25rpx 25rpx}.list .commentMeItem .originalTextC .originReply{font-size:24rpx;font-weight:500;color:#444}.list .commentMeItem .originalTextC .originReply .originNickname{color:#f97316}.list .commentMeItem .originalTextC .originEventC{background-color:#fff;margin-top:20rpx;padding:34rpx 16rpx}.list .commentMeItem .originalTextC .originEventC .levelTitleC{font-size:30rpx;font-weight:700}.list .commentMeItem .originalTextC .originEventC .levelTitleC .level{background-color:#fec44f;margin-right:17rpx;width:50rpx;height:40rpx;border-radius:10rpx;font-size:30rpx;font-weight:700;color:#fff;text-align:center}.list .commentMeItem .originalTextC .originEventC .levelTitleC .title{color:#222}.list .commentMeItem .originalTextC .originEventC .eventContent{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#666}.list .myCommentItem .replyContentC{padding:40rpx 25rpx 0}.list .myCommentItem .replyContentC .avatar{margin-right:22rpx;width:80rpx;height:80rpx;border-radius:50%}.list .myCommentItem .replyContentC .nickname{font-size:28rpx;font-weight:700;color:#111}.list .myCommentItem .replyContentC .time{font-size:26rpx;font-weight:500;color:#aaa}.list .myCommentItem .replyContentC .content{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#444}.list .myCommentItem .originEventC{background-color:#f7f7f7;margin-top:20rpx;padding:20rpx 40rpx}.list .myCommentItem .originEventC .levelTitleC{font-size:30rpx;font-weight:700}.list .myCommentItem .originEventC .levelTitleC .level{background-color:#fec44f;margin-right:17rpx;width:50rpx;height:40rpx;border-radius:10rpx;font-size:30rpx;font-weight:700;color:#fff;text-align:center}.list .myCommentItem .originEventC .levelTitleC .title{color:#222}.list .myCommentItem .originEventC .eventContent{margin-top:20rpx;font-size:24rpx;font-weight:500;color:#666}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js"),n=require("../../../common/assets.js"),o={data:()=>({navH:e.inject("navHeight"),content:""}),onLoad(){},methods:{clickSubmit(){if(!this.content)return void e.index.showToast({title:"请输入您要反馈的问题",icon:"none"});let n={content:this.content,isJson:1};t.feedback(n).then((t=>{200==t.code?(e.index.showToast({title:t.message,icon:"none"}),setTimeout((function(){e.index.navigateBack()}),1e3)):e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const i=e._export_sfc(o,[["render",function(t,o,i,s,c,a){return{a:e.p({leftText:"意见反馈"}),b:n._imports_0,c:c.content,d:e.o((e=>c.content=e.detail.value)),e:e.s("top:"+c.navH+"px;"),f:e.o((e=>a.clickSubmit()))}}]]);wx.createPage(i);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="315da0a4-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="feedbackC fixed" style="{{e}}"><view class="textareaC"><block wx:if="{{r0}}"><textarea placeholder="请输入您要反馈的问题(200 字以内)" placeholder-style="color:#C5C5C5" maxlength="200" value="{{c}}" bindinput="{{d}}"></textarea></block></view></view><view class="submit fixed" bindtap="{{f}}">提交</view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/feedback/feedback.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.topBg{top:0;left:0;width:100%;height:auto}.feedbackC{background-color:#fff;margin-top:10rpx;left:0;right:0;bottom:0;padding:43rpx 25rpx 0;border-radius:20rpx 20rpx 0 0}.feedbackC .textareaC{background-color:#f3f6f9;border-radius:20rpx;padding:20rpx 27rpx}.feedbackC .textareaC textarea{width:100%;height:400rpx;font-size:24rpx;font-weight:500}.submit{background-color:#f97316;left:0;right:0;bottom:73rpx;margin:0 25rpx;line-height:80rpx;border-radius:20rpx;font-size:26rpx;font-weight:500;color:#fff;text-align:center}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js"),a=require("../../../utils/util.js"),o=require("../../../common/assets.js"),l={data:()=>({navH:e.inject("navHeight"),followList:[],page:1,loadAll:!1,getRateStr:a.getRateStr,getRateUpOrDown:a.getRateUpOrDown,getLocaleTime:a.getLocaleTime}),onLoad(){this.getFollowCollectListData()},onPullDownRefresh(){this.page=1,this.getFollowCollectListData()},onReachBottom(){this.loadAll||(this.page++,this.getFollowCollectListData())},methods:{clickLookRelatedStockItem(t,a){e.index.navigateTo({url:"/pages/index/stockDetails/stockDetails?type=1&code="+a+"&id="+t})},clickFollowEvent(a,o){t.followEvent(a).then((t=>{e.index.showToast({title:t.message,icon:"none"}),this.followList.splice(o,1)})).catch((e=>{}))},clickEventItem(t){e.index.navigateTo({url:"/pages/index/eventDetails/eventDetails?id="+t})},getFollowCollectListData(){let a={page:this.page,type:"follows"};t.userActivityList(a).then((t=>{200==t.code?(1==t.data.current_page?this.followList=t.data.activities:this.followList=this.followList.concat(t.data.activities),t.data.current_page==t.data.pages&&(this.loadAll=!0)):e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const i=e._export_sfc(l,[["render",function(t,a,l,i,n,s){return{a:e.p({leftText:"关注收藏"}),b:o._imports_0,c:e.f(n.followList,((t,a,l)=>e.e({a:e.t(t.importance),b:e.n("level "+t.importance),c:e.t(t.event_title),d:e.t(t.event_description),e:n.getRateUpOrDown(t.related_avg_chg)},n.getRateUpOrDown(t.related_avg_chg)?{f:o._imports_1$1}:{g:o._imports_2$1},{h:e.t(n.getRateStr(t.related_avg_chg)),i:e.n("rateItem "+(n.getRateUpOrDown(t.related_avg_chg)?"down":"up")),j:n.getRateUpOrDown(t.related_max_chg)},n.getRateUpOrDown(t.related_max_chg)?{k:o._imports_1$1}:{l:o._imports_2$1},{m:e.t(n.getRateStr(t.related_max_chg)),n:e.n("rateItem "+(n.getRateUpOrDown(t.related_max_chg)?"down":"up")),o:n.getRateUpOrDown(t.related_week_chg)},n.getRateUpOrDown(t.related_week_chg)?{p:o._imports_1$1}:{q:o._imports_2$1},{r:e.t(n.getRateStr(t.related_week_chg)),s:e.n("rateItem "+(n.getRateUpOrDown(t.related_week_chg)?"down":"up")),t:e.f(t.related_stocks,((a,o,l)=>({a:e.t(a.stock_name),b:e.t((n.getRateUpOrDown(a.daily_change)?"":"+")+a.daily_change),c:o,d:e.o((e=>s.clickLookRelatedStockItem(t.event_id,a.stock_code)),o)}))),v:e.t(n.getLocaleTime(t.created_at)),w:e.t(t.view_count),x:e.t(t.follower_count),y:e.o((e=>s.clickFollowEvent(t.event_id,a)),a),z:e.o((e=>s.clickEventItem(t.event_id)),a),A:a}))),d:o._imports_3$1,e:o._imports_4$5,f:e.s("top:"+n.navH+"px;")}}]]);wx.createPage(i);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="340e4710-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="list fixed" style="{{f}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="A" class="item" bindtap="{{item.z}}"><view class="flex"><view class="{{item.b}}">{{item.a}}</view><view class="title">{{item.c}}</view></view><view class="content">{{item.d}}</view><scroll-view scroll-x class="increaseRateList"><view class="{{item.i}}"> 平均涨幅: <image wx:if="{{item.e}}" class="arrow" src="{{item.f}}" mode="widthFix"></image><image wx:else class="arrow" src="{{item.g}}" mode="widthFix"></image> {{item.h}}% </view><view class="{{item.n}}"> 最大涨幅: <image wx:if="{{item.j}}" class="arrow" src="{{item.k}}" mode="widthFix"></image><image wx:else class="arrow" src="{{item.l}}" mode="widthFix"></image> {{item.m}}% </view><view class="{{item.s}}"> 周涨幅: <image wx:if="{{item.o}}" class="arrow" src="{{item.p}}" mode="widthFix"></image><image wx:else class="arrow" src="{{item.q}}" mode="widthFix"></image> {{item.r}}% </view></scroll-view><scroll-view scroll-x class="stockList"><view wx:for="{{item.t}}" wx:for-item="sitem" wx:key="c" class="stockItem" catchtap="{{sitem.d}}">{{sitem.a}} <text class="change">{{sitem.b}}%</text></view></scroll-view><view class="timeToolBarC flex"><view class="time flex1">{{item.v}}</view><view class="toolBarC flex"><view class="toolItem flex"><image class="icon" src="{{d}}" mode="widthFix"></image><text>{{item.w}}</text></view><view class="toolItem flex" catchtap="{{item.y}}"><image class="icon" src="{{e}}" mode="widthFix"></image><text>{{item.x}}</text></view></view></view></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/followCollect/followCollect.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.topBg{top:0;left:0;width:100%;height:auto}.list{background-color:#fff;left:0;right:0;bottom:0;padding:0 25rpx;overflow-y:scroll}.list .item{padding:30rpx 0;border-bottom:solid 1rpx #E4E4E4}.list .item .level{margin-right:16rpx;width:50rpx;line-height:40rpx;border-radius:10rpx;font-size:30rpx;font-weight:700;color:#fff;text-align:center}.list .item .level.S{background-color:#cc4c02}.list .item .level.A{background-color:#ec7014}.list .item .level.B{background-color:#fb9a29}.list .item .level.C{background-color:#fec44f}.list .item .title{font-size:30rpx;font-weight:700;color:#222}.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}.list .item .increaseRateList{white-space:nowrap;margin-top:24rpx}.list .item .increaseRateList .rateItem{display:inline-block;margin-right:15rpx;line-height:44rpx;padding:0 14rpx;border-radius:10rpx;font-size:22rpx;font-weight:700;color:#fff}.list .item .increaseRateList .rateItem .arrow{width:15rpx;height:auto}.list .item .increaseRateList .rateItem.up{background-color:#c00000}.list .item .increaseRateList .rateItem.down{background-color:#355422}.list .item .stockList{white-space:nowrap;margin-top:20rpx}.list .item .stockList .stockItem{background-color:#f8f8f8;margin-right:21rpx;display:inline-block;padding:0 20rpx;line-height:60rpx;border-radius:10rpx;font-size:30rpx;font-weight:700;color:#222}.list .item .stockList .stockItem .change{color:#f97316}.list .item .timeToolBarC{margin-top:20rpx}.list .item .timeToolBarC .time{font-size:22rpx;font-weight:500;color:#aaa}.list .item .timeToolBarC .toolBarC .toolItem{padding:0 20rpx;font-size:26rpx;font-weight:700;color:#666}.list .item .timeToolBarC .toolBarC .toolItem .icon{margin-right:13rpx;width:29rpx;height:auto}.list .item .timeToolBarC .toolBarC .toolItem:first-child .icon{margin-right:15rpx;width:33rpx;height:auto}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js"),s=require("../../../common/assets.js"),i={data:()=>({avatarTop:"",contentTop:"",avatar:"",avatarUrl:"",investPreferenceList:["长期投资","中短期投资","风险控制型"],selectInvestIndex:-1,stockYearList:["新手入门","1年以内","1-3年","3-5年","5-10年","10年以上"],selectYearIndex:-1,riskPreferenceList:["保守型","稳健型","积极型"],selectRiskIndex:-1,investmentScaleList:["50万以下","50-100万","100万以上"],selectScaleIndex:-1,preferredMarketList:[{title:"A股"},{title:"港股"},{title:"美股"},{title:"期货"},{title:"虚拟货币"},{title:"新兴市场"}]}),onLoad(){this.avatarTop=e.inject("navHeight")+.08*e.inject("windowWidth"),this.contentTop=this.avatarTop+.1*e.inject("windowWidth"),this.getUserInfoData()},methods:{chooseAvatar(e){this.avatar=e.detail.avatarUrl},clickInvestItem(e){this.selectInvestIndex!=e&&(this.selectInvestIndex=e)},clickYearItem(e){this.selectYearIndex!=e&&(this.selectYearIndex=e)},clickRiskItem(e){this.selectRiskIndex!=e&&(this.selectRiskIndex=e)},clickScaleItem(e){this.selectScaleIndex!=e&&(this.selectScaleIndex=e)},clickMarketItem(e){this.preferredMarketList[e].select=!this.preferredMarketList[e].select},clickPre(){e.index.navigateBack()},clickFinish(){if(this.selectInvestIndex<0)return void e.index.showToast({title:"请选择投资偏好",icon:"none"});if(this.selectYearIndex<0)return void e.index.showToast({title:"请选择炒股年限",icon:"none"});if(this.selectRiskIndex<0)return void e.index.showToast({title:"请选择风险偏好",icon:"none"});if(this.selectScaleIndex<0)return void e.index.showToast({title:"请选择投资规模",icon:"none"});let t=[];for(let e of this.preferredMarketList)e.select&&t.push(e.title);if(0!=t.length)if(this.avatar){let e={avatar:this.avatar,isFile:1};updateBasicInfo(e).then((e=>{this.uploadInvestPreferenceData()})).catch((e=>{}))}else this.uploadInvestPreferenceData();else e.index.showToast({title:"请选择偏好市场",icon:"none"})},uploadInvestPreferenceData(){let s=[];for(let e of this.preferredMarketList)e.select&&s.push(e.title);let i={trading_experience:this.selectYearIndex,investment_style:this.investPreferenceList[this.selectInvestIndex],risk_preference:this.riskPreferenceList[this.selectRiskIndex],investment_amount:this.investmentScaleList[this.selectScaleIndex],preferred_markets:s};t.updateInvestPreference(i).then((t=>{e.index.navigateBack({delta:2})})).catch((e=>{}))},getUserInfoData(){t.userInfo().then((t=>{if(200==t.code){this.avatarUrl=t.data.basic_info.avatar_url;let e=t.data.investment_preferences;for(var s=0;s<this.investPreferenceList.length;s++){if(this.investPreferenceList[s]==e.investment_style){this.selectInvestIndex=s;break}}this.selectYearIndex=e.trading_experience;for(s=0;s<this.riskPreferenceList.length;s++){if(this.riskPreferenceList[s]==e.risk_preference){this.selectRiskIndex=s;break}}for(s=0;s<this.investmentScaleList.length;s++){if(this.investmentScaleList[s]==e.investment_amount){this.selectScaleIndex=s;break}}for(let t of this.preferredMarketList){JSON.parse(e.preferred_markets)[0].split(",").indexOf(t.title)>-1?t.select=!0:t.select=!1}}else e.wx$1.showToast({title:t.message})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const n=e._export_sfc(i,[["render",function(t,i,n,r,a,c){return{a:e.p({leftText:"信息完善"}),b:s._imports_0,c:a.avatar?a.avatar:a.avatarUrl,d:s._imports_1$5,e:e.o(((...e)=>c.chooseAvatar&&c.chooseAvatar(...e))),f:e.s("top:"+a.avatarTop+"px;"),g:e.f(a.investPreferenceList,((t,s,i)=>({a:e.t(t),b:e.n("item "+(a.selectInvestIndex==s?"select":"")),c:s,d:e.o((e=>c.clickInvestItem(s)),s)}))),h:e.f(a.stockYearList,((t,s,i)=>({a:e.t(t),b:e.n("item "+(a.selectYearIndex==s?"select":"")),c:s,d:e.o((e=>c.clickYearItem(s)),s)}))),i:e.f(a.riskPreferenceList,((t,s,i)=>({a:e.t(t),b:e.n("item "+(a.selectRiskIndex==s?"select":"")),c:s,d:e.o((e=>c.clickRiskItem(s)),s)}))),j:e.f(a.investmentScaleList,((t,s,i)=>({a:e.t(t),b:e.n("item "+(a.selectScaleIndex==s?"select":"")),c:s,d:e.o((e=>c.clickScaleItem(s)),s)}))),k:e.f(a.preferredMarketList,((t,s,i)=>({a:e.t(t.title),b:e.n("item "+(t.select?"select":"")),c:s,d:e.o((e=>c.clickMarketItem(s)),s)}))),l:e.s("top:"+a.contentTop+"px;"),m:e.o((e=>c.clickPre())),n:e.o((e=>c.clickFinish()))}}]]);wx.createPage(n);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="ea3a6ff8-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="avatarC fixed" style="{{f}}"><image class="avatar" src="{{c}}" mode="aspectFill"></image><image class="icon absolute" src="{{d}}" mode="widthFix"></image><button class="absolute" open-type="chooseAvatar" bindchooseavatar="{{e}}"></button></view><view class="preferenceC fixed" style="{{l}}"><view class="title">投资偏好设置</view><view class="section first">投资偏好</view><view class="list flexWrap"><view wx:for="{{g}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view class="section">炒股年限</view><view class="list flexWrap"><view wx:for="{{h}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view class="section">风险偏好</view><view class="list flexWrap"><view wx:for="{{i}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view class="section">投资规模</view><view class="list flexWrap"><view wx:for="{{j}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view class="section">偏好市场(可多选)</view><view class="list flexWrap"><view wx:for="{{k}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view></view><view class="bottomC fixed flex"><view class="pre btn" bindtap="{{m}}">上一步</view><view class="finish btn flex1" bindtap="{{n}}">完成</view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/investPreference/investPreference.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.topBg{top:0;left:0;width:100%;height:auto}.avatarC{left:0;margin-left:calc((100% - 150rpx)/2);width:150rpx;z-index:10}.avatarC .avatar{width:100%;height:150rpx;border-radius:50%;border:solid 2rpx white}.avatarC .icon{right:20rpx;bottom:0;width:40rpx;height:auto}.avatarC button{top:0;left:0;width:100%;height:100%}.preferenceC{background-color:#fff;left:0;right:0;bottom:170rpx;border-radius:20rpx 20rpx 0 0;overflow-y:scroll}.preferenceC .title{margin:150rpx 0 0 60rpx;font-size:36rpx;font-weight:700}.preferenceC .section{margin:10rpx 60rpx 0;line-height:66rpx;font-size:26rpx;font-weight:700}.preferenceC .section.first{margin-top:20rpx}.preferenceC .list{padding:0 60rpx}.preferenceC .list .item{background-color:#fbfbfd;margin:0 14rpx 12rpx 0;width:calc((100% - 28rpx)/3);line-height:76rpx;border:solid 2rpx #EFEFF2;border-radius:10rpx;font-size:24rpx;font-weight:500;color:#555;text-align:center}.preferenceC .list .item.select{background-color:#ffe9d9;border:solid 2rpx #F97316}.preferenceC .list .item:nth-child(3n){margin-right:0}.bottomC{left:0;right:0;bottom:73rpx;margin:0 25rpx}.bottomC .btn{line-height:80rpx;border-radius:20rpx;font-size:26rpx;text-align:center}.bottomC .pre{background-color:#ffe9d9;width:226rpx;color:#f97316}.bottomC .finish{background-color:#f97316;margin-left:20rpx;color:#fff}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/mine.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/mine.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),n=require("../../request/api.js"),i=require("../../common/assets.js"),t={data:()=>({menuTop:e.inject("menuTop"),menuH:e.inject("menuHeight"),infoTop:"",userInfo:null,memberInfo:null,menuList:[{icon:"/static/icon/mine/aboutUs.png",title:"关于我们",url:"/pages/mine/web/web?type=1"},{icon:"/static/icon/mine/serviceTerm.png",title:"服务条款",url:"/pages/mine/web/web?type=2"},{icon:"/static/icon/mine/privacyProtocol.png",title:"隐私协议",url:"/pages/mine/web/web?type=3"},{icon:"/static/icon/mine/feedback.png",title:"意见反馈",url:"/pages/mine/feedback/feedback"},{icon:"/static/icon/mine/customerService.png",title:"联系客服"},{icon:"/static/icon/mine/logout.png",title:"退出登录"}]}),onLoad(){this.infoTop=e.inject("navHeight")+32/750*e.inject("windowWidth")},onShow(){this.getUserInfoData(),this.getMemberStatus()},methods:{clickPersonalInfo(){e.index.navigateTo({url:"/pages/mine/basicInfo/basicInfo"})},clickVip(){e.index.navigateTo({url:"/pagesMine/vip/vip"})},clickNumItem(n){0==n?e.index.navigateTo({url:"/pages/mine/commentReply/commentReply"}):1==n?e.index.navigateTo({url:"/pages/mine/followCollect/followCollect"}):e.index.navigateTo({url:"/pages/mine/myLike/myLike"})},clickMenuItem(n,i){n?e.index.navigateTo({url:n}):i==this.menuList.length-2?this.$refs.popup.open():i==this.menuList.length-1&&e.index.showModal({title:"您确定要退出登录么",success(n){n.confirm&&(e.index.removeStorageSync("token"),e.index.switchTab({url:"/pages/index/index"}))}})},getUserInfoData(){n.userInfo().then((n=>{200==n.code?this.userInfo=n.data:e.wx$1.showToast({title:n.message,icon:"none"})})).catch((e=>{}))},getMemberStatus(){n.membershipStatus().then((n=>{200==n.code?this.memberInfo=n.data:e.index.showToast({title:n.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("uni-popup")()}Math;const o=e._export_sfc(t,[["render",function(n,t,o,s,m,c){return e.e({a:i._imports_0,b:e.s("top:"+m.menuTop+"px;line-height:"+m.menuH+"px;"),c:m.userInfo},m.userInfo?e.e({d:m.userInfo.basic_info.avatar_url,e:e.t(m.userInfo.basic_info.nickname),f:e.t(m.userInfo.basic_info.phone),g:m.memberInfo&&m.memberInfo.is_member},m.memberInfo&&m.memberInfo.is_member?{h:e.t(m.memberInfo.subscription_type)}:{},{i:i._imports_1$4,j:e.s("margin-top:"+m.infoTop+"px;"),k:e.o((e=>c.clickPersonalInfo()))}):{},{l:m.userInfo},m.userInfo?{m:e.t(m.userInfo.statistics.total_comments),n:e.o((e=>c.clickNumItem(0))),o:e.t(m.userInfo.statistics.follows_count),p:e.o((e=>c.clickNumItem(1))),q:e.t(m.userInfo.statistics.likes_count),r:e.o((e=>c.clickNumItem(2)))}:{},{s:m.memberInfo&&!m.memberInfo.is_member},m.memberInfo&&!m.memberInfo.is_member?{t:i._imports_2$4,v:e.o((e=>c.clickVip()))}:{},{w:e.f(m.menuList,((n,i,t)=>({a:n.icon,b:e.t(n.title),c:i,d:e.o((e=>c.clickMenuItem(n.url,i)),i)}))),x:i._imports_3$2,y:i._imports_4$3,z:e.sr("popup","dd5840e4-0"),A:e.p({type:"center"})})}]]);wx.createPage(o);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/mine.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/mine.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><image class="topBg absolute" src="{{a}}" mode="widthFix"></image><view class="navTitle fixed" style="{{b}}">个人中心</view><view wx:if="{{c}}" class="personalInfoC relative flex" style="{{j}}" bindtap="{{k}}"><image class="avatar" src="{{d}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">{{e}}</view><view class="mobile">手机号:{{f}}</view><view wx:if="{{g}}" class="mobile">{{h}}会员</view></view><image class="arrow" src="{{i}}" mode="widthFix"></image></view><view wx:if="{{l}}" class="numList relative flex"><view class="item flex1 flexColumnCenter" bindtap="{{n}}"><view class="num">{{m}}</view><view class="title">评论回复</view></view><view class="item flex1 flexColumnCenter" bindtap="{{p}}"><view class="num">{{o}}</view><view class="title">关注收藏</view></view><view class="item flex1 flexColumnCenter" bindtap="{{r}}"><view class="num">{{q}}</view><view class="title">我的点赞</view></view></view><view wx:if="{{s}}" class="vipC relative" bindtap="{{v}}"><image class="icon" src="{{t}}" mode="widthFix"></image></view><view class="menuList relative"><view class="list"><view wx:for="{{w}}" wx:for-item="item" wx:key="c" class="item relative flex" bindtap="{{item.d}}"><image class="icon" src="{{item.a}}" mode="aspectFit"></image><view class="title flex1">{{item.b}}</view><image class="arrow" src="{{x}}" mode="widthFix"></image></view></view></view><uni-popup wx:if="{{A}}" class="r" u-s="{{['d']}}" u-r="popup" u-i="dd5840e4-0" bind:__l="__l" u-p="{{A}}"><view class="popup"><image class="icon" src="{{y}}" mode="widthFix" show-menu-by-longpress></image><view class="title">企业二维码</view></view></uni-popup></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background-color:#000}.topBg{top:0;left:0;width:100%;height:auto}.navTitle{left:0;margin:0 23rpx;font-size:36rpx;font-weight:700;color:#fff}.personalInfoC{padding:0 25rpx 0 30rpx}.personalInfoC .avatar{margin-right:11rpx;width:130rpx;height:130rpx;border-radius:50%;border:solid 3rpx white}.personalInfoC .nickname{font-size:32rpx;font-weight:700;color:#fff}.personalInfoC .mobile{margin-top:6rpx;font-size:24rpx;font-weight:500;color:#f3c368}.personalInfoC .arrow{width:15rpx;height:auto}.numList .item{padding:25rpx 0}.numList .item .num{font-size:48rpx;font-weight:800;color:#fff}.numList .item .title{font-size:24rpx;font-weight:500;color:#ffecd3}.vipC{margin:0 45rpx}.vipC .icon{display:block;width:100%;height:auto}.menuList{background-color:#fff;margin:0 25rpx;padding:0 20rpx 220rpx;border-radius:20rpx}.menuList .item{height:100rpx;padding:0 18rpx 0 20rpx;border-bottom:solid 1rpx #F7F7F7;font-size:28rpx;color:#222}.menuList .item .icon{margin-right:16rpx;width:44rpx;height:44rpx}.menuList .item .arrow{width:11rpx;height:auto}.menuList .item button{top:0;left:0;width:100%;height:100%}.popup{background-color:#fff}.popup .icon{width:560rpx;height:auto}.popup .title{margin-top:10rpx;border-radius:10rpx;text-align:center}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),i=require("../../../utils/util.js"),a=require("../../../common/assets.js"),s={data:()=>({navH:t.inject("navHeight"),myLikeList:[],page:1,loadAll:!1,getLocaleHourMinute:i.getLocaleHourMinute}),onLoad(){this.getMyLikeListData()},onPullDownRefresh(){this.page=1,this.getMyLikeListData()},onReachBottom(){this.loadAll||(this.page++,this.getMyLikeListData())},methods:{clickLikeComment(i,a){e.likeEventComment(i).then((e=>{t.index.showToast({title:e.message}),this.myLikeList.splice(a,1)})).catch((t=>{}))},getMyLikeListData(){let i={page:this.page,type:"likes"};e.userActivityList(i).then((e=>{200==e.code?(1==e.data.current_page?this.myLikeList=e.data.activities:this.myLikeList=this.myLikeList.concat(e.data.activities),e.data.current_page==e.data.pages&&(this.loadAll=!0)):t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{}))}}};if(!Array){t.resolveComponent("navBar")()}Math;const o=t._export_sfc(s,[["render",function(e,i,s,o,n,r){return{a:t.p({leftText:"我的点赞"}),b:a._imports_0,c:t.f(n.myLikeList,((e,i,a)=>({a:e.author.avatar_url,b:t.t(e.author.nickname),c:e.post_content,d:t.t(n.getLocaleHourMinute(e.like_time)),e:t.o((t=>r.clickLikeComment(e.like_id,i)),i),f:i}))),d:a._imports_1$7,e:t.s("top:"+n.navH+"px;")}}]]);wx.createPage(o);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="005f0838-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="list fixed" style="{{e}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="f" class="item"><image class="avatar" src="{{item.a}}" mode="aspectFill"></image><view class="flex1"><view class="nickname">{{item.b}}</view><rich-text class="content" nodes="{{item.c}}"></rich-text><view class="timeReplyLikeC flex between"><view class="timeReplyC flex"><view class="time">{{item.d}}</view></view><view class="likeC flex" bindtap="{{item.e}}"><image class="icon" src="{{d}}" mode="widthFix"></image></view></view></view></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/myLike/myLike.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.topBg{top:0;left:0;width:100%;height:auto}.list{background-color:#fff;margin-top:10rpx;left:0;right:0;bottom:0;overflow-y:scroll}.list .item{display:flex;padding:30rpx 25rpx;border-bottom:solid 1rpx #E4E4E4}.list .item .avatar{margin-right:23rpx;width:80rpx;height:80rpx;border-radius:50%}.list .item .nickname{font-size:28rpx;font-weight:700;color:#111}.list .item .content{margin-top:10rpx;line-height:1.2rem;font-size:24rpx;font-weight:500;color:#666}.list .item .timeReplyLikeC .time{margin-right:36rpx;font-size:26rpx;font-weight:500;color:#aaa}.list .item .timeReplyLikeC .reply{font-size:26rpx;font-weight:500;color:#f97316}.list .item .timeReplyLikeC .likeC{padding:14rpx 0;font-size:28rpx;font-weight:700;color:#999}.list .item .timeReplyLikeC .likeC .icon{margin-right:12rpx;width:27rpx;height:auto}.list .item .timeReplyLikeC .likeC.like{color:#f97316}.list .item .totalCommentNumC{padding:14rpx 0 22rpx;font-size:26rpx;font-weight:500;color:#999}.list .item .totalCommentNumC .line{background-color:#aaa;margin-right:18rpx;width:30rpx;height:2rpx}.list .item .totalCommentNumC .arrow{margin-left:14rpx;width:13rpx;height:auto}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/web/web.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/web/web.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../../common/vendor.js"),e=require("../../../request/api.js"),n=require("../../../common/assets.js"),s={data:()=>({navH:t.inject("navHeight"),navTitle:"",type:"",webContent:""}),onLoad(t){t.type&&(this.type=t.type,this.getUserInfoData(),1==t.type?this.navTitle="关于我们":2==t.type?this.navTitle="服务条款":3==t.type&&(this.navTitle="隐私协议"))},methods:{getUserInfoData(){e.agreements().then((e=>{200==e.code?1==this.type?this.webContent=e.data.agreements.about_us.content:2==this.type?this.webContent=e.data.agreements.service_terms.content:3==this.type&&(this.webContent=e.data.agreements.privacy_policy.content):t.wx$1.showToast({title:e.message})})).catch((t=>{}))}}};if(!Array){t.resolveComponent("navBar")()}Math;const a=t._export_sfc(s,[["render",function(e,s,a,o,i,r){return{a:t.p({leftText:i.navTitle}),b:n._imports_0,c:t.t(i.webContent),d:t.s("top:"+i.navH+"px;")}}]]);wx.createPage(a);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/web/web.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/web/web.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/web/web.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/web/web.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="0a02672e-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="contentC fixed" style="{{d}}"><text>{{c}}</text></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/web/web.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/web/web.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.topBg{top:0;left:0;width:100%;height:auto}.contentC{background-color:#fff;left:0;right:0;bottom:0;margin-top:10rpx;padding:50rpx 25rpx;overflow-y:scroll}
|
||||
1
unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9
unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "涨停分析",
|
||||
"usingComponents": {
|
||||
"word-cloud": "../../components/WordCloud/WordCloud",
|
||||
"nav-bar": "../../components/navBar/navBar",
|
||||
"l-c-calendar": "../../components/LCCalendar/LCCalendar",
|
||||
"l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/ztfx/ztfx.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background-color:#070707}.topBg{top:0;left:0;width:100%;height:auto}.stockDetailsC{left:0;right:0;bottom:calc(55px + env(safe-area-inset-bottom))}.single-line-ellipsis{max-width:100%;width:120rpx;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.count-text{font-size:22rpx;margin-top:4rpx;text-align:center}
|
||||
Reference in New Issue
Block a user