2.4 组件结构调整,调整会员权限判断
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/cwfx-view/cwfx-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/cwfx-view/cwfx-view.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/cwsj-view/cwsj-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/cwsj-view/cwsj-view.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/cyl-view/cyl-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/cyl-view/cyl-view.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/fzjg-view/fzjg-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/fzjg-view/fzjg-view.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"fzjg-view.js","sources":["pagesStock/components/fzjg-view/fzjg-view.vue","pagesStock/components/fzjg-view/fzjg-view.vue?type=page"],"sourcesContent":["<template>\n\t<view class=\"branchList\">\n\t\t<view class=\"item\" v-for=\"(item,index) in branchList\" :key=\"index\">\n\t\t\t<view class=\"titleStatusC flex\">\n\t\t\t\t<view class=\"title flex1\">{{item.branch_name}}</view>\n\t\t\t\t<view :class=\"'statusC flex '+(item.business_status=='注销'?'logOff':'exist')\">\n\t\t\t\t\t<image v-if=\"item.business_status=='注销'\" class=\"icon\" src=\"/pagesStock/static/icon/logOffStatus.png\" mode=\"widthFix\">\n\t\t\t\t\t</image>\n\t\t\t\t\t<image v-else class=\"icon\" src=\"/pagesStock/static/icon/existStatus.png\" mode=\"widthFix\"></image>\n\t\t\t\t\t<view>{{item.business_status}}</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"infoC topInfo flex\">\n\t\t\t\t<view class=\"infoItem leftInfo flex flex1\">\n\t\t\t\t\t<view class=\"title\">注册资本</view>\n\t\t\t\t\t<view class=\"content flex1\">{{item.register_capital}}</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"infoItem rightInfo flex flex1\">\n\t\t\t\t\t<view class=\"title\">法人代表</view>\n\t\t\t\t\t<view class=\"content flex1\">{{item.legal_person}}</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t\t<view class=\"infoC flex\">\n\t\t\t\t<view class=\"infoItem leftInfo flex flex1\">\n\t\t\t\t\t<view class=\"title\">成立日期</view>\n\t\t\t\t\t<view class=\"content flex1\">{{item.register_date}}</view>\n\t\t\t\t</view>\n\t\t\t\t<view class=\"infoItem rightInfo flex flex1\">\n\t\t\t\t\t<view class=\"title\">关联企业</view>\n\t\t\t\t\t<view class=\"content flex1\">{{item.related_company_count}}家</view>\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tname:\"fzjg-view\",\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t\n\t\t\t};\n\t\t},\n\t\tprops:{\n\t\t\tbranchList:Array\n\t\t}\n\t}\n</script>\n\n<style lang=\"less\">\n.branchList {\r\n\tmargin-top: 38rpx;\r\n\tpadding: 0 20rpx;\r\n\r\n\t.item {\r\n\t\tbackground-color: #FAFAFC;\r\n\t\tmargin-bottom: 20rpx;\r\n\t\tpadding: 20rpx;\r\n\t\tborder-radius: 10rpx;\r\n\r\n\t\t.titleStatusC {\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tfont-weight: bold;\r\n\t\t\tcolor: #2B2B2B;\r\n\r\n\t\t\t.statusC {\r\n\t\t\t\tpadding: 0 10rpx;\r\n\t\t\t\tline-height: 28rpx;\r\n\t\t\t\tborder-radius: 15rpx;\r\n\t\t\t\tfont-size: 20rpx;\r\n\t\t\t\tfont-weight: 500;\n\t\t\t\t.icon {\n\t\t\t\t\tmargin-right: 3rpx;\n\t\t\t\t\twidth: 16rpx;\n\t\t\t\t\theight: auto;\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.statusC.exist {\r\n\t\t\t\tbackground-color: #FFF7E9;\r\n\t\t\t\tborder: solid 1rpx #F2C369;\r\n\t\t\t\tcolor: #F2C369;\r\n\t\t\t}\n\t\t\t\n\t\t\t.statusC.logOff {\n\t\t\t\tbackground-color: #FFF1F1;\n\t\t\t\tborder: solid 1rpx #EF3535;\n\t\t\t\tcolor: #EF3535;\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.infoC {\r\n\t\t\theight: 50rpx;\r\n\r\n\t\t\t.infoItem {\r\n\t\t\t\t.title {\r\n\t\t\t\t\tmargin-right: 16rpx;\r\n\t\t\t\t\tfont-size: 22rpx;\r\n\t\t\t\t\tfont-weight: 500;\r\n\t\t\t\t\tcolor: #999;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.content {\r\n\t\t\t\t\tfont-size: 24rpx;\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\tcolor: #2A2A2A;\r\n\t\t\t\t\ttext-align: right;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t.infoItem.leftInfo {\r\n\t\t\t\tmargin-right: 20rpx;\r\n\t\t\t}\r\n\r\n\t\t\t.infoItem.rightInfo {\r\n\t\t\t\tmargin-left: 20rpx;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.infoC.topInfo {\r\n\t\t\tmargin-top: 10rpx;\r\n\t\t}\r\n\t}\r\n}\n</style>","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pagesStock/components/fzjg-view/fzjg-view.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;AAqCC,MAAK,YAAU;AAAA,EACd,MAAK;AAAA,EACL,OAAO;AACN,WAAO;EAGP;AAAA,EACD,OAAM;AAAA,IACL,YAAW;AAAA,EACZ;AACD;;;;;;;;;;;;;;;;;;;;;;;;AC9CD,GAAG,WAAW,eAAe;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/fzlc-view/fzlc-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/fzlc-view/fzlc-view.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/gltd-view/gltd-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/gltd-view/gltd-view.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/gqjg-view/gqjg-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/gqjg-view/gqjg-view.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/gsxx-view/gsxx-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/gsxx-view/gsxx-view.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"gsxx-view.js","sources":["pagesStock/components/gsxx-view/gsxx-view.vue","pagesStock/components/gsxx-view/gsxx-view.vue?type=page"],"sourcesContent":["<template>\n\t<view v-if=\"stockBasicInfo\" class=\"businessInfoList\">\n\t\t<view class=\"section\">工商信息</view>\n\t\t<view class=\"infoC\">\n\t\t\t<view class=\"infoItem flex\">\n\t\t\t\t<view class=\"title\">统一信用代码</view>\n\t\t\t\t<view class=\"content code flex1 rightAlign\">{{stockBasicInfo.credit_code}}</view>\n\t\t\t</view>\n\t\t\t<view class=\"infoItem flex\">\n\t\t\t\t<view class=\"title\">公司规模</view>\n\t\t\t\t<view class=\"content flex1 rightAlign\">{{stockBasicInfo.company_size}}</view>\n\t\t\t</view>\n\t\t\t<view class=\"infoItem flex\">\n\t\t\t\t<view class=\"title\">注册地址</view>\n\t\t\t\t<view class=\"content flex1 rightAlign\">{{stockBasicInfo.reg_address}}</view>\n\t\t\t</view>\n\t\t\t<view class=\"infoItem flex\">\n\t\t\t\t<view class=\"title\">办公地址</view>\n\t\t\t\t<view class=\"content flex1 rightAlign\">{{stockBasicInfo.office_address}}</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"section\">服务机构</view>\n\t\t<view class=\"infoC\">\n\t\t\t<view class=\"title infoItem\">会计师事务所</view>\n\t\t\t<view class=\"content infoItem\">{{stockBasicInfo.accounting_firm}}</view>\n\t\t\t<view class=\"title infoItem\">律师事务所</view>\n\t\t\t<view class=\"content infoItem\">{{stockBasicInfo.law_firm}}</view>\n\t\t</view>\n\t\t<view class=\"section\">主营业务</view>\n\t\t<view class=\"infoC mainBussiness\">\n\t\t\t<text class=\"title\">{{stockBasicInfo.main_business}}</text>\n\t\t</view>\n\t\t<view class=\"section\">经营范围</view>\n\t\t<view class=\"infoC\">\n\t\t\t<text class=\"title\">{{stockBasicInfo.business_scope}}</text>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tname:\"gsxx-view\",\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\t\n\t\t\t};\n\t\t},\n\t\tprops:{\n\t\t\tstockBasicInfo:Object\n\t\t}\n\t}\n</script>\n\n<style lang=\"less\">\n.businessInfoList {\r\n\tpadding: 0 20rpx;\r\n\r\n\t.section {\r\n\t\tline-height: 72rpx;\r\n\t\tfont-size: 28rpx;\r\n\t\tfont-weight: bold;\r\n\t\tcolor: #2B2B2B;\r\n\t}\r\n\r\n\t.infoC {\r\n\t\tbackground-color: #FAFAFC;\r\n\t\tborder-radius: 10rpx;\r\n\t\tpadding: 12rpx 20rpx;\r\n\r\n\t\t.infoItem {\r\n\t\t\tline-height: 46rpx;\r\n\t\t}\r\n\r\n\t\t.title {\r\n\t\t\tfont-size: 22rpx;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tcolor: #999;\r\n\t\t}\r\n\r\n\t\t.content {\r\n\t\t\tfont-size: 24rpx;\r\n\t\t\tfont-weight: 500;\r\n\t\t\tcolor: #2A2A2A;\r\n\t\t}\r\n\r\n\t\t.content.code {\r\n\t\t\tcolor: #BB8520;\r\n\t\t}\r\n\r\n\t\t.content.rightAlign {\r\n\t\t\ttext-align: right;\r\n\t\t}\r\n\t}\r\n\r\n\t.infoC.mainBussiness {\r\n\t\tpadding: 20rpx;\r\n\t}\r\n}\n</style>","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pagesStock/components/gsxx-view/gsxx-view.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;AAwCC,MAAK,YAAU;AAAA,EACd,MAAK;AAAA,EACL,OAAO;AACN,WAAO;EAGP;AAAA,EACD,OAAM;AAAA,IACL,gBAAe;AAAA,EAChB;AACD;;;;;;;;;;;;;;;;ACjDD,GAAG,WAAW,eAAe;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/news-view/news-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/news-view/news-view.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/ywjg-view/ywjg-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/ywjg-view/ywjg-view.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ywjg-view.js","sources":["pagesStock/components/ywjg-view/ywjg-view.vue","pagesStock/components/ywjg-view/ywjg-view.vue?type=page"],"sourcesContent":["<template>\r\n\t<view class=\"ywjg_list\">\r\n\t\t<view>\n\t\t\t<view style=\"margin: 25rpx 20rpx; color: #2B2B2B; font-size: 28rpx; font-weight: bold;\">业务结构分析</view>\r\n\t\t\t<view v-for=\"(item, index) in businessStructureList\" :key=\"index\" class=\"ywjg_item_1\">\r\n\t\t\t\t<view style=\"display: flex; align-items: center;\">\r\n\t\t\t\t\t<view style=\"font-size: 28rpx; font-weight: bold; margin-right: 10rpx;\">\r\n\t\t\t\t\t\t{{item.business_name}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view v-if=\"item.is_hexin\"\r\n\t\t\t\t\t\tstyle=\"background-color: #F2C369; border-radius: 5rpx; font-size: 20rpx; padding: 0 5rpx;\">\r\n\t\t\t\t\t\t核心业务</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"flex between\" style=\"font-weight: 500;\">\r\n\t\t\t\t\t<view class=\"flex\" style=\"color: #F2C369; font-size: 20rpx;\">\r\n\t\t\t\t\t\t<view style=\"border: 1rpx solid #F2C369; border-radius: 5rpx; padding: 0 10rpx;\">\r\n\t\t\t\t\t\t\t营收占比:{{item.financial_metrics.revenue_ratio}}%</view>\r\n\t\t\t\t\t\t<view v-if=\"item.financial_metrics.gross_margin\"\r\n\t\t\t\t\t\t\tstyle=\"border: 1rpx solid #F2C369; border-radius: 5rpx; padding: 0 10rpx; margin-left: 10rpx;\">\r\n\t\t\t\t\t\t\t毛利率:{{item.financial_metrics.gross_margin}}%</view>\n\t\t\t\t\t\t<view v-else\n\t\t\t\t\t\t\t\tstyle=\"border: 1rpx solid #F2C369; border-radius: 5rpx; padding: 0 10rpx; margin-left: 10rpx;\">\n\t\t\t\t\t\t\t\t毛利率:-</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<view style=\"color: #999999; font-size: 24rpx;\">营业收入</view>\r\n\t\t\t\t\t\t<view style=\"font-weight: bold; font-size: 30rpx; color: #BB8520; margin-top: 10rpx;\">{{item.revenue}}{{item.revenue_unit}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"display: flex;\">\n\t\t\t\t\t<view v-if=\"item.growth_metrics.revenue_growth\" :class=\"'growthRate '+(getRateUpOrDown(item.growth_metrics.revenue_growth)?'down':'up')\">\n\t\t\t\t\t\t增长:{{item.growth_metrics.revenue_growth}}%\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view v-else class=\"growthRate down\">增长:-</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\n\t\t\t<view style=\"margin: 25rpx 20rpx; color: #2B2B2B; font-size: 28rpx; font-weight: bold;\">业务板块详情</view>\r\n\t\t\t<view style=\"font-weight: 500;\">\r\n\t\t\t\t<view v-for=\"(item,index) in businessSegmentList\" :key=\"index\"\r\n\t\t\t\t\tstyle=\"background-color: #FAFAFC; color: #2B2B2B; font-size: 22rpx; margin: 20rpx; background-color: #FAFAFC; border-radius: 10rpx; padding: 25rpx 20rpx;\">\r\n\t\t\t\t\t<view style=\"font-size: 24rpx;\">{{item.segment_name}}</view>\r\n\t\t\t\t\t<view style=\"color: #BB8520; font-weight: bold; margin: 10rpx 0;\">业务描述</view>\r\n\t\t\t\t\t<view style=\"color: #71675D;\">{{item.segment_description}}</view>\n\t\t\t\t\t<view style=\"color: #BB8520; font-weight: bold; margin: 10rpx 0;\">竞争地位</view>\n\t\t\t\t\t<view style=\"color: #71675D;\">{{item.competitive_position}}</view>\n\t\t\t\t\t<view style=\"color: #BB8520; font-weight: bold; margin: 10rpx 0;\">未来潜力</view>\n\t\t\t\t\t<view style=\"color: #71675D;\">{{item.future_potential}}</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\n\timport { getRateUpOrDown } from '@/utils/util';\n\r\n\texport default {\r\n\t\tname: \"ywjg-view\",\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tgetRateUpOrDown:getRateUpOrDown\r\n\t\t\t};\n\t\t\t\r\n\t\t},\n\t\tprops:{\n\t\t\tbusinessStructureList:Array,\t//业务结构分析\n\t\t\tbusinessSegmentList:Array\t\t,//业务板块详情\n\t\t\t\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"less\">\r\n\t.ywjg_list {\r\n\t\tcolor: #2B2B2B;\r\n\r\n\t\t.title {\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tfont-weight: bold;\r\n\t\t}\r\n\r\n\t\t.ywjg_item_1 {\r\n\t\t\tfont-weight: 500;\r\n\t\t\tmargin: 20rpx;\r\n\t\t\tbackground-color: #FAFAFC;\r\n\t\t\tborder-radius: 10rpx;\r\n\t\t\tpadding: 25rpx 20rpx;\r\n\t\t\t.growthRate \n\t\t\t{\n\t\t\t\tpadding: 0 10rpx;\n\t\t\t\tline-height: 30rpx;\n\t\t\t\tborder-radius: 5rpx;\n\t\t\t\tfont-size: 20rpx; \n\t\t\t\tcolor: white; \n\t\t\t}\n\t\t\t.growthRate.up\n\t\t\t{\n\t\t\t\tbackground-color: #EC3440;\n\t\t\t}\n\t\t\t.growthRate.down\n\t\t\t{\n\t\t\t\tbackground-color: #345423; \n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pagesStock/components/ywjg-view/ywjg-view.vue'\nwx.createPage(MiniProgramPage)"],"names":["getRateUpOrDown"],"mappings":";;;AAwDC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AACN,WAAO;AAAA,MACN,iBAAgBA,WAAc;AAAA;EAG/B;AAAA,EACD,OAAM;AAAA,IACL,uBAAsB;AAAA;AAAA,IACtB,qBAAoB;AAAA;AAAA,EAErB;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACpED,GAAG,WAAW,eAAe;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/zlfx-view/zlfx-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/zlfx-view/zlfx-view.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/zysj-view/zysj-view.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pagesStock/components/zysj-view/zysj-view.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
12
unpackage/dist/dev/mp-weixin/app.js
vendored
12
unpackage/dist/dev/mp-weixin/app.js
vendored
@@ -35,6 +35,18 @@ if (!Math) {
|
||||
"./pagesStock/stockCenterDetails/ztfx.js";
|
||||
"./pagesStock/stockCenterDetails/bkydmx.js";
|
||||
"./pagesStock/stockCenterDetails/webView/webView.js";
|
||||
"./pagesStock/components/cwfx-view/cwfx-view.js";
|
||||
"./pagesStock/components/cwsj-view/cwsj-view.js";
|
||||
"./pagesStock/components/cyl-view/cyl-view.js";
|
||||
"./pagesStock/components/fzjg-view/fzjg-view.js";
|
||||
"./pagesStock/components/fzlc-view/fzlc-view.js";
|
||||
"./pagesStock/components/gltd-view/gltd-view.js";
|
||||
"./pagesStock/components/gqjg-view/gqjg-view.js";
|
||||
"./pagesStock/components/gsxx-view/gsxx-view.js";
|
||||
"./pagesStock/components/news-view/news-view.js";
|
||||
"./pagesStock/components/ywjg-view/ywjg-view.js";
|
||||
"./pagesStock/components/zlfx-view/zlfx-view.js";
|
||||
"./pagesStock/components/zysj-view/zysj-view.js";
|
||||
}
|
||||
const _sfc_main = {
|
||||
onLaunch: function() {
|
||||
|
||||
14
unpackage/dist/dev/mp-weixin/app.json
vendored
14
unpackage/dist/dev/mp-weixin/app.json
vendored
@@ -41,7 +41,19 @@
|
||||
"stockCenterDetails/cwDetails",
|
||||
"stockCenterDetails/ztfx",
|
||||
"stockCenterDetails/bkydmx",
|
||||
"stockCenterDetails/webView/webView"
|
||||
"stockCenterDetails/webView/webView",
|
||||
"components/cwfx-view/cwfx-view",
|
||||
"components/cwsj-view/cwsj-view",
|
||||
"components/cyl-view/cyl-view",
|
||||
"components/fzjg-view/fzjg-view",
|
||||
"components/fzlc-view/fzlc-view",
|
||||
"components/gltd-view/gltd-view",
|
||||
"components/gqjg-view/gqjg-view",
|
||||
"components/gsxx-view/gsxx-view",
|
||||
"components/news-view/news-view",
|
||||
"components/ywjg-view/ywjg-view",
|
||||
"components/zlfx-view/zlfx-view",
|
||||
"components/zysj-view/zysj-view"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
332
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
332
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
@@ -1,82 +1,80 @@
|
||||
"use strict";
|
||||
const _imports_0$9 = "/static/image/index/conceptTopBg.png";
|
||||
const _imports_1$j = "/static/icon/home/conceptCenter/search.png";
|
||||
const _imports_3$e = "/static/icon/home/conceptCenter/conceptScreenArrow.png";
|
||||
const _imports_1$i = "/static/icon/home/downArrow.png";
|
||||
const _imports_0$a = "/static/image/index/conceptTopBg.png";
|
||||
const _imports_1$i = "/static/icon/home/conceptCenter/search.png";
|
||||
const _imports_3$d = "/static/icon/home/conceptCenter/conceptScreenArrow.png";
|
||||
const _imports_1$h = "/static/icon/home/downArrow.png";
|
||||
const _imports_2$f = "/static/icon/home/upArrow.png";
|
||||
const _imports_3$d = "/static/icon/home/browser.png";
|
||||
const _imports_3$c = "/static/icon/home/browser.png";
|
||||
const _imports_11$3 = "/static/icon/home/like.png";
|
||||
const _imports_7$3 = "/static/icon/home/collect.png";
|
||||
const _imports_7$2 = "/static/icon/home/collect.png";
|
||||
const _imports_2$e = "/static/icon/backBlack.png";
|
||||
const _imports_9$3 = "/static/icon/home/dateRange.png";
|
||||
const _imports_10$3 = "/static/icon/home/industrySearch.png";
|
||||
const _imports_10$2 = "/static/icon/home/industrySearch.png";
|
||||
const _imports_11$2 = "/static/icon/home/industry_s.png";
|
||||
const _imports_12$3 = "/static/icon/home/level_s.png";
|
||||
const _imports_2$d = "/static/icon/invest/upArrow.png";
|
||||
const _imports_4$c = "/static/icon/invest/downArrow.png";
|
||||
const _imports_4$b = "/static/image/index/noData.png";
|
||||
const _imports_5$6 = "/static/icon/home/monthLeftArrow.png";
|
||||
const _imports_6$1 = "/static/icon/home/monthRightArrow.png";
|
||||
const _imports_4$d = "/static/icon/invest/downArrow.png";
|
||||
const _imports_4$c = "/static/image/index/noData.png";
|
||||
const _imports_5$8 = "/static/icon/home/monthLeftArrow.png";
|
||||
const _imports_6$2 = "/static/icon/home/monthRightArrow.png";
|
||||
const _imports_2$c = "/static/icon/home/conceptCenter/sortType.png";
|
||||
const _imports_4$a = "/static/icon/home/conceptCenter/timeScreenArrow.png";
|
||||
const _imports_1$h = "/static/icon/home/conceptCenter/timeAxis.png";
|
||||
const _imports_8$4 = "/static/icon/home/close.png";
|
||||
const _imports_7$2 = "/static/icon/home/conceptCenter/statistics.png";
|
||||
const _imports_8$3 = "/static/icon/home/conceptCenter/rank1.png";
|
||||
const _imports_9$2 = "/static/icon/home/conceptCenter/rank2.png";
|
||||
const _imports_10$2 = "/static/icon/home/conceptCenter/rank3.png";
|
||||
const _imports_11$1 = "/static/icon/home/conceptCenter/rankChg.png";
|
||||
const _imports_12$2 = "/static/icon/home/conceptCenter/calendar.png";
|
||||
const _imports_13$2 = "/static/icon/home/conceptCenter/browse.png";
|
||||
const _imports_4$b = "/static/icon/home/conceptCenter/transactionDate.png";
|
||||
const _imports_1$g = "/static/icon/home/conceptCenter/lock.png";
|
||||
const _imports_1$f = "/static/icon/home/conceptCenter/timeAxis.png";
|
||||
const _imports_6$1 = "/static/icon/home/close.png";
|
||||
const _imports_8$4 = "/static/icon/home/conceptCenter/statistics.png";
|
||||
const _imports_9$2 = "/static/icon/home/conceptCenter/rank1.png";
|
||||
const _imports_10$1 = "/static/icon/home/conceptCenter/rank2.png";
|
||||
const _imports_11$1 = "/static/icon/home/conceptCenter/rank3.png";
|
||||
const _imports_12$2 = "/static/icon/home/conceptCenter/rankChg.png";
|
||||
const _imports_13$2 = "/static/icon/home/conceptCenter/calendar.png";
|
||||
const _imports_14$2 = "/static/icon/home/conceptCenter/browse.png";
|
||||
const _imports_12$1 = "/static/icon/home/sortArrow.png";
|
||||
const _imports_0$8 = "/static/icon/home/conceptCenter/pre.png";
|
||||
const _imports_1$g = "/static/icon/home/conceptCenter/next.png";
|
||||
const _imports_13$1 = "/static/icon/home/conceptCenter/timeScreenArrow.png";
|
||||
const _imports_14$1 = "/static/icon/home/conceptCenter/timeScreenArrow.png";
|
||||
const _imports_0$9 = "/static/icon/home/conceptCenter/pre.png";
|
||||
const _imports_2$b = "/static/icon/home/conceptCenter/next.png";
|
||||
const _imports_13$1 = "/static/icon/home/conceptCenter/vipPopIcon.png";
|
||||
const _imports_14$1 = "/static/icon/home/conceptCenter/vipPopIcon.png";
|
||||
const _imports_15$1 = "/static/icon/home/conceptCenter/free_s.png";
|
||||
const _imports_16$1 = "/static/icon/home/conceptCenter/pro_s.png";
|
||||
const _imports_1$f = "/static/icon/mine/infoArrow.png";
|
||||
const _imports_2$b = "/static/image/mine/vipBg.png";
|
||||
const _imports_3$c = "/static/icon/mine/menuArrow.png";
|
||||
const _imports_4$9 = "/static/image/mine/service.png";
|
||||
const _imports_1$e = "/static/icon/mine/basicInfo/edit.png";
|
||||
const _imports_2$a = "/static/icon/mine/basicInfo/downArrow.png";
|
||||
const _imports_1$d = "/static/icon/home/conceptCenter/lock.png";
|
||||
const _imports_3$b = "/static/icon/home/expectScore.png";
|
||||
const _imports_4$8 = "/static/icon/home/expectScoreTips.png";
|
||||
const _imports_5$5 = "/static/icon/home/expectScoreDot.png";
|
||||
const _imports_8$2 = "/static/icon/home/eventDetails/like.png";
|
||||
const _imports_1$e = "/static/icon/mine/infoArrow.png";
|
||||
const _imports_2$a = "/static/image/mine/vipBg.png";
|
||||
const _imports_3$b = "/static/icon/mine/menuArrow.png";
|
||||
const _imports_4$a = "/static/image/mine/service.png";
|
||||
const _imports_1$d = "/static/icon/mine/basicInfo/edit.png";
|
||||
const _imports_2$9 = "/static/icon/mine/basicInfo/downArrow.png";
|
||||
const _imports_3$a = "/static/icon/home/expectScore.png";
|
||||
const _imports_4$9 = "/static/icon/home/expectScoreTips.png";
|
||||
const _imports_5$7 = "/static/icon/home/expectScoreDot.png";
|
||||
const _imports_8$3 = "/static/icon/home/eventDetails/like.png";
|
||||
const _imports_9$1 = "/static/icon/home/eventDetails/collect.png";
|
||||
const _imports_4$7 = "/static/icon/home/collect_s.png";
|
||||
const _imports_4$8 = "/static/icon/home/collect_s.png";
|
||||
const _imports_1$c = "/static/icon/home/like_s.png";
|
||||
const _imports_0$7 = "/static/image/login/logo.png";
|
||||
const _imports_3$a = "/static/icon/login/select_s.png";
|
||||
const _imports_4$6 = "/static/icon/login/select.png";
|
||||
const _imports_0$8 = "/static/image/login/logo.png";
|
||||
const _imports_3$9 = "/static/icon/login/select_s.png";
|
||||
const _imports_4$7 = "/static/icon/login/select.png";
|
||||
const _imports_1$b = "/static/icon/login/mobile.png";
|
||||
const _imports_2$9 = "/static/icon/login/code.png";
|
||||
const _imports_3$9 = "/static/icon/home/conceptCenter/chgDown.png";
|
||||
const _imports_4$5 = "/static/icon/home/conceptCenter/chgUp.png";
|
||||
const _imports_5$4 = "/static/icon/home/conceptCenter/newsReport.png";
|
||||
const _imports_2$8 = "/static/icon/login/code.png";
|
||||
const _imports_3$8 = "/static/icon/home/conceptCenter/chgDown.png";
|
||||
const _imports_4$6 = "/static/icon/home/conceptCenter/chgUp.png";
|
||||
const _imports_5$6 = "/static/icon/home/conceptCenter/newsReport.png";
|
||||
const _imports_1$a = "/static/icon/home/conceptCenter/timeScreenArrow.png";
|
||||
const _imports_2$8 = "/static/icon/home/conceptCenter/reasonExpand.png";
|
||||
const _imports_3$8 = "/static/icon/home/conceptCenter/reasonRetract.png";
|
||||
const _imports_3$7 = "/assets/ydjk-icon.9712ef19.png";
|
||||
const _imports_5$3 = "/assets/ydjk-zs.f6ba6c32.png";
|
||||
const _imports_2$7 = "/static/icon/home/conceptCenter/reasonExpand.png";
|
||||
const _imports_3$7 = "/static/icon/home/conceptCenter/reasonRetract.png";
|
||||
const _imports_3$6 = "/assets/ydjk-icon.9712ef19.png";
|
||||
const _imports_5$5 = "/assets/ydjk-zs.f6ba6c32.png";
|
||||
const _imports_1$9 = "/pagesStock/static/icon/ai-icon.png";
|
||||
const _imports_2$7 = "/pagesStock/static/icon/ai-icon-1.png";
|
||||
const _imports_3$6 = "/pagesStock/static/icon/all-icon-3.png";
|
||||
const _imports_1$8 = "/pagesStock/static/icon/all-icon-4.png";
|
||||
const _imports_5$2 = "/pagesStock/static/icon/all-icon-5.png";
|
||||
const _imports_1$7 = "/pagesMine/static/image/vip/vipTopBg.png";
|
||||
const _imports_2$6 = "/pagesMine/static/image/vip/noVipTopBg.png";
|
||||
const _imports_3$5 = "/pagesMine/static/icon/vip/titleLeft_v.png";
|
||||
const _imports_4$4 = "/pagesMine/static/icon/vip/titleLeft.png";
|
||||
const _imports_5$1 = "/pagesMine/static/icon/vip/titleRight_v.png";
|
||||
const _imports_2$6 = "/pagesStock/static/icon/ai-icon-1.png";
|
||||
const _imports_3$5 = "/pagesStock/static/icon/all-icon-3.png";
|
||||
const _imports_1$8 = "/pagesMine/static/image/vip/vipTopBg.png";
|
||||
const _imports_2$5 = "/pagesMine/static/image/vip/noVipTopBg.png";
|
||||
const _imports_3$4 = "/pagesMine/static/icon/vip/titleLeft_v.png";
|
||||
const _imports_4$5 = "/pagesMine/static/icon/vip/titleLeft.png";
|
||||
const _imports_5$4 = "/pagesMine/static/icon/vip/titleRight_v.png";
|
||||
const _imports_6 = "/pagesMine/static/icon/vip/titleRight.png";
|
||||
const _imports_7$1 = "/pagesMine/static/icon/vip/step1_v.png";
|
||||
const _imports_8$1 = "/pagesMine/static/icon/vip/step1.png";
|
||||
const _imports_8$2 = "/pagesMine/static/icon/vip/step1.png";
|
||||
const _imports_9 = "/pagesMine/static/icon/vip/step2_v.png";
|
||||
const _imports_10$1 = "/pagesMine/static/icon/vip/step2.png";
|
||||
const _imports_10 = "/pagesMine/static/icon/vip/step2.png";
|
||||
const _imports_11 = "/pagesMine/static/icon/vip/step3_v.png";
|
||||
const _imports_12 = "/pagesMine/static/icon/vip/step3.png";
|
||||
const _imports_13 = "/pagesMine/static/icon/vip/step4_v.png";
|
||||
@@ -85,72 +83,75 @@ const _imports_15 = "/pagesMine/static/icon/vip/investQuestion.png";
|
||||
const _imports_16 = "/pagesMine/static/icon/vip/industrialResearch.png";
|
||||
const _imports_17 = "/pagesMine/static/icon/vip/operatingDecision.png";
|
||||
const _imports_7 = "/pagesMine/static/icon/vip/notContain.png";
|
||||
const _imports_8 = "/pagesMine/static/icon/vip/contain.png";
|
||||
const _imports_2$5 = "/pagesStock/static/icon/establishedTime.png";
|
||||
const _imports_3$4 = "/pagesStock/static/icon/registeredCapital.png";
|
||||
const _imports_4$3 = "/pagesStock/static/icon/location.png";
|
||||
const _imports_2$4 = "/pagesStock/static/icon/contrast.png";
|
||||
const _imports_3$3 = "/pagesStock/static/icon/optional.png";
|
||||
const _imports_8$1 = "/pagesMine/static/icon/vip/contain.png";
|
||||
const _imports_2$4 = "/pagesStock/static/icon/establishedTime.png";
|
||||
const _imports_3$3 = "/pagesStock/static/icon/registeredCapital.png";
|
||||
const _imports_4$4 = "/pagesStock/static/icon/location.png";
|
||||
const _imports_5$3 = "/pagesStock/static/icon/noData.png";
|
||||
const _imports_1$7 = "/pagesStock/static/icon/existStatus.png";
|
||||
const _imports_8 = "/pagesStock/static/icon/yRightArrow.png";
|
||||
const _imports_4$3 = "/pagesStock/static/icon/all-down-ed.png";
|
||||
const _imports_2$3 = "/pagesStock/static/icon/contrast.png";
|
||||
const _imports_3$2 = "/pagesStock/static/icon/optional.png";
|
||||
const _imports_4$2 = "/pagesStock/static/icon/share.png";
|
||||
const _imports_1$6 = "/pagesStock/static/icon/existStatus.png";
|
||||
const _imports_10 = "/pagesStock/static/icon/yRightArrow.png";
|
||||
const _imports_1$5 = "/pagesStock/static/icon/all-down-ed.png";
|
||||
const _imports_1$4 = "/static/icon/back.png";
|
||||
const _imports_1$3 = "/pagesStock/static/icon/all-icon-2.png";
|
||||
const _imports_2$3 = "/pagesStock/static/icon/downArrow.png";
|
||||
const _imports_3$2 = "/pagesStock/static/icon/upArrow.png";
|
||||
const _imports_0$6 = "/pagesStock/static/icon/female.png";
|
||||
const _imports_1$2 = "/pagesStock/static/icon/male.png";
|
||||
const _imports_2$2 = "/pagesStock/static/icon/lookMoreArrow.png";
|
||||
const _imports_1$6 = "/pagesStock/static/icon/all-icon-4.png";
|
||||
const _imports_5$2 = "/pagesStock/static/icon/all-icon-5.png";
|
||||
const _imports_0$7 = "/pagesStock/static/icon/cwfx-1.png";
|
||||
const _imports_3$1 = "/pagesStock/static/icon/all-icon.png";
|
||||
const _imports_5$1 = "/pagesStock/static/icon/all-down.png";
|
||||
const _imports_4$1 = "/pagesStock/static/icon/cwfx-2.png";
|
||||
const _imports_2$2 = "/pagesStock/static/icon/all-icon-ed.png";
|
||||
const _imports_0$6 = "/pagesStock/static/icon/rightArrow.png";
|
||||
const _imports_0$5 = "/pagesStock/static/icon/logOffStatus.png";
|
||||
const _imports_0$4 = "/pagesStock/static/icon/industryRank.png";
|
||||
const _imports_0$3 = "/pagesStock/static/icon/rightArrow.png";
|
||||
const _imports_0$2 = "/pagesStock/static/icon/shangJiantou.png";
|
||||
const _imports_1$1 = "/pagesStock/static/icon/xiaJiantou.png";
|
||||
const _imports_4$1 = "/pagesStock/static/icon/yuan_shang.png";
|
||||
const _imports_0$4 = "/pagesStock/static/icon/shangJiantou.png";
|
||||
const _imports_1$5 = "/pagesStock/static/icon/xiaJiantou.png";
|
||||
const _imports_0$3 = "/pagesStock/static/icon/downArrow.png";
|
||||
const _imports_1$4 = "/pagesStock/static/icon/upArrow.png";
|
||||
const _imports_4 = "/pagesStock/static/icon/yuan_shang.png";
|
||||
const _imports_5 = "/pagesStock/static/icon/yuan_jiang.png";
|
||||
const _imports_0$1 = "/pagesStock/static/icon/cwfx-1.png";
|
||||
const _imports_2$1 = "/pagesStock/static/icon/all-icon.png";
|
||||
const _imports_3$1 = "/pagesStock/static/icon/all-down.png";
|
||||
const _imports_4 = "/pagesStock/static/icon/cwfx-2.png";
|
||||
const _imports_0 = "/pagesStock/static/icon/news-search.png";
|
||||
const _imports_1 = "/pagesStock/static/icon/newsTime.png";
|
||||
const _imports_0$2 = "/pagesStock/static/icon/female.png";
|
||||
const _imports_1$3 = "/pagesStock/static/icon/male.png";
|
||||
const _imports_2$1 = "/pagesStock/static/icon/lookMoreArrow.png";
|
||||
const _imports_0$1 = "/pagesStock/static/icon/news-search.png";
|
||||
const _imports_1$2 = "/pagesStock/static/icon/newsTime.png";
|
||||
const _imports_2 = "/pagesStock/static/icon/newsEyes.png";
|
||||
const _imports_3 = "/pagesStock/static/icon/newsFire.png";
|
||||
exports._imports_0 = _imports_0$9;
|
||||
exports._imports_0$1 = _imports_0$8;
|
||||
exports._imports_0$2 = _imports_0$7;
|
||||
exports._imports_0$3 = _imports_0$6;
|
||||
exports._imports_0$4 = _imports_0$5;
|
||||
exports._imports_0$5 = _imports_0$4;
|
||||
exports._imports_0$6 = _imports_0$3;
|
||||
exports._imports_0$7 = _imports_0$2;
|
||||
exports._imports_0$8 = _imports_0$1;
|
||||
exports._imports_0$9 = _imports_0;
|
||||
exports._imports_1 = _imports_1$j;
|
||||
exports._imports_1$1 = _imports_1$i;
|
||||
exports._imports_1$10 = _imports_1$9;
|
||||
exports._imports_1$11 = _imports_1$8;
|
||||
exports._imports_1$12 = _imports_1$7;
|
||||
exports._imports_1$13 = _imports_1$6;
|
||||
exports._imports_1$14 = _imports_1$5;
|
||||
exports._imports_1$15 = _imports_1$4;
|
||||
exports._imports_1$16 = _imports_1$3;
|
||||
exports._imports_1$17 = _imports_1$2;
|
||||
exports._imports_1$18 = _imports_1$1;
|
||||
exports._imports_1$19 = _imports_1;
|
||||
exports._imports_1$2 = _imports_1$g;
|
||||
exports._imports_1$3 = _imports_1$h;
|
||||
exports._imports_1$4 = _imports_1$f;
|
||||
exports._imports_1$5 = _imports_1$e;
|
||||
exports._imports_1$6 = _imports_1$d;
|
||||
exports._imports_1$7 = _imports_1$c;
|
||||
exports._imports_1$8 = _imports_1$b;
|
||||
exports._imports_1$9 = _imports_1$a;
|
||||
exports._imports_10 = _imports_10$3;
|
||||
exports._imports_10$1 = _imports_10$2;
|
||||
exports._imports_10$2 = _imports_10$1;
|
||||
exports._imports_10$3 = _imports_10;
|
||||
const _imports_0 = "/pagesStock/static/icon/industryRank.png";
|
||||
const _imports_1$1 = "/static/icon/back.png";
|
||||
const _imports_1 = "/pagesStock/static/icon/all-icon-2.png";
|
||||
exports._imports_0 = _imports_0$a;
|
||||
exports._imports_0$1 = _imports_0$9;
|
||||
exports._imports_0$10 = _imports_0;
|
||||
exports._imports_0$2 = _imports_0$8;
|
||||
exports._imports_0$3 = _imports_0$7;
|
||||
exports._imports_0$4 = _imports_0$6;
|
||||
exports._imports_0$5 = _imports_0$5;
|
||||
exports._imports_0$6 = _imports_0$4;
|
||||
exports._imports_0$7 = _imports_0$3;
|
||||
exports._imports_0$8 = _imports_0$2;
|
||||
exports._imports_0$9 = _imports_0$1;
|
||||
exports._imports_1 = _imports_1$i;
|
||||
exports._imports_1$1 = _imports_1$h;
|
||||
exports._imports_1$10 = _imports_1$8;
|
||||
exports._imports_1$11 = _imports_1$7;
|
||||
exports._imports_1$12 = _imports_1$6;
|
||||
exports._imports_1$13 = _imports_1$5;
|
||||
exports._imports_1$14 = _imports_1$4;
|
||||
exports._imports_1$15 = _imports_1$3;
|
||||
exports._imports_1$16 = _imports_1$2;
|
||||
exports._imports_1$17 = _imports_1$1;
|
||||
exports._imports_1$18 = _imports_1;
|
||||
exports._imports_1$2 = _imports_1$f;
|
||||
exports._imports_1$3 = _imports_1$g;
|
||||
exports._imports_1$4 = _imports_1$e;
|
||||
exports._imports_1$5 = _imports_1$d;
|
||||
exports._imports_1$6 = _imports_1$c;
|
||||
exports._imports_1$7 = _imports_1$b;
|
||||
exports._imports_1$8 = _imports_1$a;
|
||||
exports._imports_1$9 = _imports_1$9;
|
||||
exports._imports_10 = _imports_10$2;
|
||||
exports._imports_10$1 = _imports_10$1;
|
||||
exports._imports_10$2 = _imports_10;
|
||||
exports._imports_11 = _imports_11$3;
|
||||
exports._imports_11$1 = _imports_11$2;
|
||||
exports._imports_11$2 = _imports_11$1;
|
||||
@@ -163,7 +164,8 @@ exports._imports_13 = _imports_13$1;
|
||||
exports._imports_13$1 = _imports_13$2;
|
||||
exports._imports_13$2 = _imports_13;
|
||||
exports._imports_14 = _imports_14$1;
|
||||
exports._imports_14$1 = _imports_14;
|
||||
exports._imports_14$1 = _imports_14$2;
|
||||
exports._imports_14$2 = _imports_14;
|
||||
exports._imports_15 = _imports_15$1;
|
||||
exports._imports_15$1 = _imports_15;
|
||||
exports._imports_16 = _imports_16$1;
|
||||
@@ -171,61 +173,63 @@ exports._imports_16$1 = _imports_16;
|
||||
exports._imports_17 = _imports_17;
|
||||
exports._imports_2 = _imports_2$e;
|
||||
exports._imports_2$1 = _imports_2$f;
|
||||
exports._imports_2$10 = _imports_2$4;
|
||||
exports._imports_2$11 = _imports_2$5;
|
||||
exports._imports_2$10 = _imports_2$5;
|
||||
exports._imports_2$11 = _imports_2$4;
|
||||
exports._imports_2$12 = _imports_2$3;
|
||||
exports._imports_2$13 = _imports_2$2;
|
||||
exports._imports_2$14 = _imports_2$1;
|
||||
exports._imports_2$15 = _imports_2;
|
||||
exports._imports_2$2 = _imports_2$d;
|
||||
exports._imports_2$3 = _imports_2$c;
|
||||
exports._imports_2$4 = _imports_2$b;
|
||||
exports._imports_2$3 = _imports_2$b;
|
||||
exports._imports_2$4 = _imports_2$c;
|
||||
exports._imports_2$5 = _imports_2$a;
|
||||
exports._imports_2$6 = _imports_2$9;
|
||||
exports._imports_2$7 = _imports_2$8;
|
||||
exports._imports_2$8 = _imports_2$7;
|
||||
exports._imports_2$9 = _imports_2$6;
|
||||
exports._imports_3 = _imports_3$e;
|
||||
exports._imports_3$1 = _imports_3$d;
|
||||
exports._imports_3 = _imports_3$d;
|
||||
exports._imports_3$1 = _imports_3$c;
|
||||
exports._imports_3$10 = _imports_3$3;
|
||||
exports._imports_3$11 = _imports_3$4;
|
||||
exports._imports_3$12 = _imports_3$2;
|
||||
exports._imports_3$13 = _imports_3$1;
|
||||
exports._imports_3$14 = _imports_3;
|
||||
exports._imports_3$2 = _imports_3$c;
|
||||
exports._imports_3$3 = _imports_3$b;
|
||||
exports._imports_3$4 = _imports_3$a;
|
||||
exports._imports_3$5 = _imports_3$9;
|
||||
exports._imports_3$6 = _imports_3$8;
|
||||
exports._imports_3$7 = _imports_3$7;
|
||||
exports._imports_3$8 = _imports_3$6;
|
||||
exports._imports_3$9 = _imports_3$5;
|
||||
exports._imports_4 = _imports_4$b;
|
||||
exports._imports_4$1 = _imports_4$c;
|
||||
exports._imports_3$11 = _imports_3$2;
|
||||
exports._imports_3$12 = _imports_3$1;
|
||||
exports._imports_3$13 = _imports_3;
|
||||
exports._imports_3$2 = _imports_3$b;
|
||||
exports._imports_3$3 = _imports_3$a;
|
||||
exports._imports_3$4 = _imports_3$9;
|
||||
exports._imports_3$5 = _imports_3$8;
|
||||
exports._imports_3$6 = _imports_3$7;
|
||||
exports._imports_3$7 = _imports_3$6;
|
||||
exports._imports_3$8 = _imports_3$5;
|
||||
exports._imports_3$9 = _imports_3$4;
|
||||
exports._imports_4 = _imports_4$c;
|
||||
exports._imports_4$1 = _imports_4$d;
|
||||
exports._imports_4$10 = _imports_4$3;
|
||||
exports._imports_4$11 = _imports_4$1;
|
||||
exports._imports_4$12 = _imports_4;
|
||||
exports._imports_4$2 = _imports_4$a;
|
||||
exports._imports_4$3 = _imports_4$9;
|
||||
exports._imports_4$4 = _imports_4$8;
|
||||
exports._imports_4$5 = _imports_4$7;
|
||||
exports._imports_4$6 = _imports_4$6;
|
||||
exports._imports_4$7 = _imports_4$5;
|
||||
exports._imports_4$8 = _imports_4$4;
|
||||
exports._imports_4$9 = _imports_4$2;
|
||||
exports._imports_5 = _imports_5$6;
|
||||
exports._imports_5$1 = _imports_5$5;
|
||||
exports._imports_5$2 = _imports_5$4;
|
||||
exports._imports_5$3 = _imports_5$3;
|
||||
exports._imports_5$4 = _imports_5$2;
|
||||
exports._imports_5$5 = _imports_5$1;
|
||||
exports._imports_5$6 = _imports_5;
|
||||
exports._imports_6 = _imports_6$1;
|
||||
exports._imports_6$1 = _imports_6;
|
||||
exports._imports_7 = _imports_7$3;
|
||||
exports._imports_7$1 = _imports_7$2;
|
||||
exports._imports_7$2 = _imports_7$1;
|
||||
exports._imports_7$3 = _imports_7;
|
||||
exports._imports_4$11 = _imports_4$2;
|
||||
exports._imports_4$12 = _imports_4$1;
|
||||
exports._imports_4$13 = _imports_4;
|
||||
exports._imports_4$2 = _imports_4$b;
|
||||
exports._imports_4$3 = _imports_4$a;
|
||||
exports._imports_4$4 = _imports_4$9;
|
||||
exports._imports_4$5 = _imports_4$8;
|
||||
exports._imports_4$6 = _imports_4$7;
|
||||
exports._imports_4$7 = _imports_4$6;
|
||||
exports._imports_4$8 = _imports_4$5;
|
||||
exports._imports_4$9 = _imports_4$4;
|
||||
exports._imports_5 = _imports_5$8;
|
||||
exports._imports_5$1 = _imports_5$7;
|
||||
exports._imports_5$2 = _imports_5$6;
|
||||
exports._imports_5$3 = _imports_5$5;
|
||||
exports._imports_5$4 = _imports_5$4;
|
||||
exports._imports_5$5 = _imports_5$3;
|
||||
exports._imports_5$6 = _imports_5$2;
|
||||
exports._imports_5$7 = _imports_5$1;
|
||||
exports._imports_5$8 = _imports_5;
|
||||
exports._imports_6 = _imports_6$2;
|
||||
exports._imports_6$1 = _imports_6$1;
|
||||
exports._imports_6$2 = _imports_6;
|
||||
exports._imports_7 = _imports_7$2;
|
||||
exports._imports_7$1 = _imports_7$1;
|
||||
exports._imports_7$2 = _imports_7;
|
||||
exports._imports_8 = _imports_8$4;
|
||||
exports._imports_8$1 = _imports_8$3;
|
||||
exports._imports_8$2 = _imports_8$2;
|
||||
|
||||
@@ -7053,7 +7053,7 @@ function isConsoleWritable() {
|
||||
function initRuntimeSocketService() {
|
||||
const hosts = "127.0.0.1,192.168.2.91";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_geGcgf";
|
||||
const id = "mp-weixin_pBWwaQ";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
||||
@@ -20,8 +20,10 @@ const _sfc_main = {
|
||||
//结束日期
|
||||
selectYear: "",
|
||||
Month: "",
|
||||
calendarApiData: []
|
||||
calendarApiData: [],
|
||||
// 新增:存储接口返回的日历数据
|
||||
selectedDateKey: ""
|
||||
// 新增:选中日期的唯一标识(格式:YYYY-MM-DD)
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@@ -70,8 +72,8 @@ const _sfc_main = {
|
||||
};
|
||||
},
|
||||
/**
|
||||
* 获取当天的item数据(合并接口数据)
|
||||
*/
|
||||
* 获取当天的item数据(合并接口数据)
|
||||
*/
|
||||
getTodayItem(year, month, day) {
|
||||
const targetDate = `${year}-${month > 9 ? month : "0" + month}-${day > 9 ? day : "0" + day}`;
|
||||
const currentMonthList = this.monthDateList[this.selectMonthIndex] || [];
|
||||
@@ -88,30 +90,9 @@ const _sfc_main = {
|
||||
// 示例:炸板率
|
||||
};
|
||||
},
|
||||
/**
|
||||
* 触发日期变更事件(传递包含接口数据的item)
|
||||
*/
|
||||
// emitDateChange(year, month, day, item) {
|
||||
// const yearMonth = `${year}-${month > 9 ? month : '0' + month}`;
|
||||
// const fullDate = `${year}-${month > 9 ? month : '0' + month}-${day > 9 ? day : '0' + day}`;
|
||||
// this.$emit('date-change', {
|
||||
// yearMonth,
|
||||
// fullDate,
|
||||
// item: item || { // 兜底:无item时赋值空对象+默认值
|
||||
// date: fullDate,
|
||||
// year,
|
||||
// month,
|
||||
// day,
|
||||
// zt_count: 0,
|
||||
// top_sector: '-',
|
||||
// zaban_rate: '0%'
|
||||
// },
|
||||
// year,
|
||||
// month,
|
||||
// day
|
||||
// });
|
||||
// },
|
||||
emitDateChange(year, month, day, item, prevItem = { zt_count: 0 }) {
|
||||
emitDateChange(year, month, day, item, prevItem = {
|
||||
zt_count: 0
|
||||
}) {
|
||||
const yearMonth = `${year}-${month > 9 ? month : "0" + month}`;
|
||||
const fullDate = `${year}-${month > 9 ? month : "0" + month}-${day > 9 ? day : "0" + day}`;
|
||||
this.$emit("date-change", {
|
||||
@@ -215,22 +196,14 @@ const _sfc_main = {
|
||||
this.calendarApiData = res.data;
|
||||
if (this.selectDateStr) {
|
||||
const [year, month, day] = this.selectDateStr.split("-").map(Number);
|
||||
this.emitDateChange(
|
||||
year,
|
||||
month,
|
||||
day,
|
||||
this.getTodayItem(year, month, day),
|
||||
this.getPrevDayItem(year, month, day)
|
||||
// 新增上一天数据
|
||||
);
|
||||
}
|
||||
} else {
|
||||
this.calendarApiData = [];
|
||||
common_vendor.index.__f__("warn", "at components/LCCalendar/LCCalendar.vue:330", "日历接口返回数据格式异常", res);
|
||||
common_vendor.index.__f__("warn", "at components/LCCalendar/LCCalendar.vue:316", "日历接口返回数据格式异常", res);
|
||||
}
|
||||
} catch (error) {
|
||||
this.calendarApiData = [];
|
||||
common_vendor.index.__f__("error", "at components/LCCalendar/LCCalendar.vue:334", "获取日历数据失败", error);
|
||||
common_vendor.index.__f__("error", "at components/LCCalendar/LCCalendar.vue:320", "获取日历数据失败", error);
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -328,6 +301,7 @@ const _sfc_main = {
|
||||
*/
|
||||
clickPreMonth() {
|
||||
if (this.selectMonthIndex > 0) {
|
||||
this.selectedDateKey = "";
|
||||
this.selectMonthIndex--;
|
||||
let monthList = this.monthDateList[this.selectMonthIndex];
|
||||
let year = "";
|
||||
@@ -351,8 +325,9 @@ const _sfc_main = {
|
||||
this.endDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + lastDay;
|
||||
this.selectYear = year;
|
||||
this.Month = month;
|
||||
this.selectDateStr = this.startDateStr;
|
||||
this.getCalendarCombinedData();
|
||||
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:469", "点击上个月");
|
||||
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:457", "点击上个月");
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -360,6 +335,7 @@ const _sfc_main = {
|
||||
*/
|
||||
clickNextMonth() {
|
||||
if (this.selectMonthIndex < this.monthDateList.length - 1) {
|
||||
this.selectedDateKey = "";
|
||||
this.selectMonthIndex++;
|
||||
let monthList = this.monthDateList[this.selectMonthIndex];
|
||||
let year = "";
|
||||
@@ -381,12 +357,21 @@ const _sfc_main = {
|
||||
this.selectMonth = year + "年" + month + "月";
|
||||
this.startDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-01";
|
||||
this.endDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + lastDay;
|
||||
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:498", "点击下个月");
|
||||
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:489", "点击下个月");
|
||||
this.selectYear = year;
|
||||
this.Month = month;
|
||||
this.selectDateStr = this.startDateStr;
|
||||
this.getCalendarCombinedData();
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 通用补零函数:确保数字为两位数,不足则前面补0
|
||||
* @param {number|string} num - 需要补零的数字
|
||||
* @returns {string} 补零后的字符串
|
||||
*/
|
||||
padZero(num) {
|
||||
return String(num).padStart(2, "0");
|
||||
},
|
||||
monthChange(e) {
|
||||
let currentDate = /* @__PURE__ */ new Date();
|
||||
let currentYear = currentDate.getFullYear();
|
||||
@@ -411,6 +396,7 @@ const _sfc_main = {
|
||||
if (!item.isCurrentMonth)
|
||||
return;
|
||||
if (this.selectDateStr != item.date) {
|
||||
this.selectedDateKey = item.date;
|
||||
this.selectDateStr = item.date;
|
||||
const apiData = this.getCalendarItemByDate(item.date) || {};
|
||||
const mergedItem = {
|
||||
@@ -451,36 +437,21 @@ const _sfc_main = {
|
||||
this.chgStockData = mergedItem;
|
||||
const [year, month, day] = item.date.split("-").map(Number);
|
||||
this.emitDateChange(year, month, day, mergedItem, prevMergedItem);
|
||||
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:580", "点击某天(含接口数据)", { current: mergedItem, prev: prevMergedItem });
|
||||
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:583", "点击某天(含接口数据)", {
|
||||
current: mergedItem,
|
||||
prev: prevMergedItem
|
||||
});
|
||||
}
|
||||
}
|
||||
// clickSelectDate(item, index) {
|
||||
// if (!item.isCurrentMonth) return
|
||||
// if (this.selectDateStr != item.date) {
|
||||
// this.selectDateStr = item.date
|
||||
// const apiData = this.getCalendarItemByDate(item.date) || {};
|
||||
// const mergedItem = {
|
||||
// ...item,
|
||||
// zt_count: apiData.zt_count || 0,
|
||||
// top_sector: apiData.top_sector || '-',
|
||||
// zaban_rate: apiData.zaban_rate || '0%',
|
||||
// isWeekend: index % 7 === 0 || index % 7 === 6
|
||||
// };
|
||||
// this.chgStockData = mergedItem;
|
||||
// const [year, month, day] = item.date.split('-').map(Number);
|
||||
// this.emitDateChange(year, month, day, mergedItem);
|
||||
// uni.__f__('log','at components/LCCalendar/LCCalendar.vue:602','点击某天(含接口数据)', mergedItem);
|
||||
// }
|
||||
// }
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_assets._imports_0$1,
|
||||
b: common_vendor.o(($event) => $options.clickPreMonth()),
|
||||
c: common_assets._imports_1$16,
|
||||
c: common_assets._imports_1$18,
|
||||
d: common_vendor.t($data.selectDateStr),
|
||||
e: common_assets._imports_1$2,
|
||||
e: common_assets._imports_2$3,
|
||||
f: common_vendor.o(($event) => $options.clickNextMonth()),
|
||||
g: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
return {
|
||||
@@ -503,25 +474,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
g: common_vendor.t(((_e = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _e.top_sector) || "-"),
|
||||
h: $options.getZtCountTextColor((_f = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _f.zt_count)
|
||||
} : {}), {
|
||||
i: common_vendor.n($options.getZtCountBgClass((_g = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _g.zt_count))
|
||||
i: common_vendor.n($options.getZtCountBgClass((_g = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _g.zt_count)),
|
||||
j: common_vendor.n($data.selectedDateKey === item.date ? "selected-border" : "")
|
||||
}) : common_vendor.e({
|
||||
j: !item.isCurrentMonth
|
||||
k: !item.isCurrentMonth
|
||||
}, !item.isCurrentMonth ? {} : common_vendor.e({
|
||||
k: common_vendor.t(item.day),
|
||||
l: index % 7 == 0 || index % 7 == 6 ? "#999999" : "#2A2A2A",
|
||||
m: index % 7 == 0 || index % 7 == 6
|
||||
l: common_vendor.t(item.day),
|
||||
m: index % 7 == 0 || index % 7 == 6 ? "#999999" : "#2A2A2A",
|
||||
n: index % 7 == 0 || index % 7 == 6
|
||||
}, index % 7 == 0 || index % 7 == 6 ? {} : common_vendor.e({
|
||||
n: ((_h = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _h.zt_count) > 0
|
||||
o: ((_h = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _h.zt_count) > 0
|
||||
}, ((_i = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _i.zt_count) > 0 ? {
|
||||
o: common_vendor.t((_j = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _j.zt_count),
|
||||
p: $options.getZtCountTextColor((_k = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _k.zt_count),
|
||||
q: common_vendor.t(((_l = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _l.top_sector) || "-"),
|
||||
r: $options.getZtCountTextColor((_m = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _m.zt_count)
|
||||
p: common_vendor.t((_j = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _j.zt_count),
|
||||
q: $options.getZtCountTextColor((_k = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _k.zt_count),
|
||||
r: common_vendor.t(((_l = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _l.top_sector) || "-"),
|
||||
s: $options.getZtCountTextColor((_m = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _m.zt_count)
|
||||
} : {}), {
|
||||
s: common_vendor.n($options.getZtCountBgClass((_n = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _n.zt_count))
|
||||
t: common_vendor.n($options.getZtCountBgClass((_n = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _n.zt_count)),
|
||||
v: common_vendor.n($data.selectedDateKey === item.date ? "selected-border" : "")
|
||||
})), {
|
||||
t: index,
|
||||
v: common_vendor.o(($event) => $options.clickSelectDate(item), index)
|
||||
w: index,
|
||||
x: common_vendor.o(($event) => $options.clickSelectDate(item, index), index)
|
||||
});
|
||||
})
|
||||
};
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="dateC"><view class="yearMonthC flex"><view class="btn" bindtap="{{b}}"><image class="icon" src="{{a}}" mode="widthFix"></image></view><view class="yearMonth flex1"><picker mode="date" fields="month"><view style="display:flex;align-items:center;justify-content:center"><image style="width:26rpx;height:26rpx;margin-right:10rpx" src="{{c}}" mode="widthFix"></image><view style="color:#2B2B2B;font-size:32rpx;font-weight:bold">{{d}}</view></view></picker></view><view class="btn" bindtap="{{f}}"><image class="icon" src="{{e}}" mode="widthFix"></image></view></view><view style="display:grid;grid-template-columns:repeat(7, 1fr);gap:17rpx;margin:20rpx 0"><view wx:for="{{g}}" wx:for-item="item" wx:key="b" style="display:flex;align-items:center;justify-content:center;font-size:24rpx;color:#292621;font-weight:500">{{item.a}}</view></view><view class="monthDateList" style="display:grid;grid-template-columns:repeat(7, 1fr);gap:17rpx"><view wx:for="{{h}}" wx:for-item="item" wx:key="t" class="item" bindtap="{{item.v}}"><block wx:if="{{item.a}}"><view class="{{['date', 'select', item.i]}}">{{item.b}} <view wx:if="{{item.c}}" style="color:#999999;font-size:18rpx">休市 </view><view wx:else style="text-align:center"><view wx:if="{{item.d}}"><view style="{{'font-size:18rpx' + ';' + ('color:' + item.f)}}">{{item.e}}家 </view><view style="{{'font-size:16rpx' + ';' + ('color:' + item.h)}}">{{item.g}}</view></view></view></view></block><block wx:else><block wx:if="{{item.j}}"></block><block wx:else><view class="{{['date', item.s]}}"><view style="{{'color:' + item.l}}">{{item.k}}</view><view wx:if="{{item.m}}" style="color:#999999;font-size:18rpx">休市 </view><view wx:else style="text-align:center"><view wx:if="{{item.n}}"><view style="{{'font-size:18rpx' + ';' + ('color:' + item.p)}}">{{item.o}}家 </view><view style="{{'font-size:16rpx' + ';' + ('color:' + item.r)}}">{{item.q}}</view></view></view></view></block></block></view></view></view>
|
||||
<view class="dateC"><view class="yearMonthC flex"><view class="btn" bindtap="{{b}}"><image class="icon" src="{{a}}" mode="widthFix"></image></view><view class="yearMonth flex1"><picker mode="date" fields="month"><view style="display:flex;align-items:center;justify-content:center"><image style="width:26rpx;height:26rpx;margin-right:10rpx" src="{{c}}" mode="widthFix"></image><view style="color:#2B2B2B;font-size:32rpx;font-weight:bold">{{d}}</view></view></picker></view><view class="btn" bindtap="{{f}}"><image class="icon" src="{{e}}" mode="widthFix"></image></view></view><view style="display:grid;grid-template-columns:repeat(7, 1fr);gap:17rpx;margin:20rpx 0"><view wx:for="{{g}}" wx:for-item="item" wx:key="b" style="display:flex;align-items:center;justify-content:center;font-size:24rpx;color:#292621;font-weight:500">{{item.a}}</view></view><view class="monthDateList" style="display:grid;grid-template-columns:repeat(7, 1fr);gap:17rpx"><view wx:for="{{h}}" wx:for-item="item" wx:key="w" class="item" bindtap="{{item.x}}"><block wx:if="{{item.a}}"><view class="{{['date', 'select', item.i, item.j]}}">{{item.b}} <view wx:if="{{item.c}}" style="color:#999999;font-size:18rpx">休市 </view><view wx:else style="text-align:center"><view wx:if="{{item.d}}"><view style="{{'font-size:18rpx' + ';' + ('color:' + item.f)}}">{{item.e}}家 </view><view style="{{'font-size:16rpx' + ';' + ('color:' + item.h)}}">{{item.g}}</view></view></view></view></block><block wx:else><block wx:if="{{item.k}}"></block><block wx:else><view class="{{['date', item.t, item.v]}}"><view style="{{'color:' + item.m}}">{{item.l}}</view><view wx:if="{{item.n}}" style="color:#999999;font-size:18rpx">休市 </view><view wx:else style="text-align:center"><view wx:if="{{item.o}}"><view style="{{'font-size:18rpx' + ';' + ('color:' + item.q)}}">{{item.p}}家 </view><view style="{{'font-size:16rpx' + ';' + ('color:' + item.s)}}">{{item.r}}</view></view></view></view></block></block></view></view></view>
|
||||
@@ -49,6 +49,10 @@
|
||||
.dateC .monthDateList .item .date .chg.down {
|
||||
color: #38A169;
|
||||
}
|
||||
.dateC .monthDateList .item .date.selected-border {
|
||||
border: 1px solid #FFCC00;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.dateC .monthDateList .item .date.zt-bg-80 {
|
||||
background-color: #FAEEFF;
|
||||
}
|
||||
|
||||
@@ -228,7 +228,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
b: common_vendor.o(($event) => $options.clickPreMonth()),
|
||||
c: common_vendor.t($data.selectMonth),
|
||||
d: common_vendor.o((...args) => $options.monthChange && $options.monthChange(...args)),
|
||||
e: common_assets._imports_1$2,
|
||||
e: common_assets._imports_2$3,
|
||||
f: common_vendor.o(($event) => $options.clickNextMonth()),
|
||||
g: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
return {
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart"
|
||||
}
|
||||
}
|
||||
@@ -1,400 +0,0 @@
|
||||
"use strict";
|
||||
const utils_util = require("../../utils/util.js");
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const echarts = require("../../uni_modules/lime-echart/static/echarts.min.js");
|
||||
const _sfc_main = {
|
||||
name: "cwsj-view",
|
||||
data() {
|
||||
return {
|
||||
profitabilityIndicatorIndex: 0,
|
||||
profitIndicatorIndex: 0,
|
||||
cashFlowIndicatorIndex: 0,
|
||||
option1: {
|
||||
legend: {
|
||||
show: true,
|
||||
data: ["货币资金", "同比(右)"]
|
||||
},
|
||||
grid: {
|
||||
left: "2%",
|
||||
right: "2%",
|
||||
top: "5%",
|
||||
bottom: "30%"
|
||||
},
|
||||
xAxis: {
|
||||
type: "category",
|
||||
data: [],
|
||||
axisLabel: {
|
||||
rotate: 45,
|
||||
fontSize: 10
|
||||
}
|
||||
},
|
||||
yAxis: [
|
||||
{
|
||||
type: "value",
|
||||
name: "(%)",
|
||||
position: "left",
|
||||
alignTicks: true,
|
||||
axisLine: {
|
||||
onZero: false
|
||||
}
|
||||
},
|
||||
{
|
||||
type: "value",
|
||||
name: "(%)",
|
||||
position: "right",
|
||||
alignTicks: true,
|
||||
axisLine: {
|
||||
onZero: false
|
||||
}
|
||||
}
|
||||
],
|
||||
dataZoom: [{
|
||||
type: "slider"
|
||||
}],
|
||||
series: [
|
||||
{
|
||||
type: "bar",
|
||||
name: "ROE",
|
||||
data: [],
|
||||
yAxisIndex: 0
|
||||
},
|
||||
{
|
||||
type: "line",
|
||||
name: "同比",
|
||||
data: [],
|
||||
yAxisIndex: 1
|
||||
}
|
||||
]
|
||||
},
|
||||
option2: {
|
||||
legend: {
|
||||
show: true,
|
||||
data: ["经营现金流", "同比(右)"]
|
||||
},
|
||||
grid: {
|
||||
left: "2%",
|
||||
right: "2%",
|
||||
top: "5%",
|
||||
bottom: "30%"
|
||||
},
|
||||
xAxis: {
|
||||
type: "category",
|
||||
data: [],
|
||||
axisLabel: {
|
||||
fontSize: 10,
|
||||
rotate: 45
|
||||
}
|
||||
},
|
||||
yAxis: [
|
||||
{
|
||||
type: "value",
|
||||
name: "(亿)",
|
||||
position: "left",
|
||||
alignTicks: true,
|
||||
axisLine: {
|
||||
onZero: false
|
||||
}
|
||||
},
|
||||
{
|
||||
type: "value",
|
||||
name: "(%)",
|
||||
position: "right",
|
||||
alignTicks: true,
|
||||
axisLine: {
|
||||
onZero: false
|
||||
}
|
||||
}
|
||||
],
|
||||
dataZoom: [{
|
||||
type: "slider"
|
||||
}],
|
||||
series: [
|
||||
{
|
||||
type: "bar",
|
||||
name: "经营现金流",
|
||||
data: [],
|
||||
yAxisIndex: 0
|
||||
},
|
||||
{
|
||||
type: "line",
|
||||
name: "同比",
|
||||
data: [],
|
||||
yAxisIndex: 1
|
||||
}
|
||||
]
|
||||
},
|
||||
option3: {
|
||||
legend: {
|
||||
show: true,
|
||||
data: ["净利润", "同比(右)"]
|
||||
},
|
||||
grid: {
|
||||
left: "2%",
|
||||
right: "2%",
|
||||
top: "5%",
|
||||
bottom: "30%"
|
||||
},
|
||||
xAxis: {
|
||||
type: "category",
|
||||
data: [],
|
||||
axisLabel: {
|
||||
rotate: 45,
|
||||
fontSize: 10
|
||||
}
|
||||
},
|
||||
yAxis: [
|
||||
{
|
||||
type: "value",
|
||||
name: "(亿)",
|
||||
position: "left",
|
||||
alignTicks: true,
|
||||
axisLine: {
|
||||
onZero: false
|
||||
}
|
||||
},
|
||||
{
|
||||
type: "value",
|
||||
name: "(%)",
|
||||
position: "right",
|
||||
alignTicks: true,
|
||||
axisLine: {
|
||||
onZero: false
|
||||
}
|
||||
}
|
||||
],
|
||||
dataZoom: [{
|
||||
type: "slider"
|
||||
}],
|
||||
series: [
|
||||
{
|
||||
type: "bar",
|
||||
name: "净利润",
|
||||
data: [],
|
||||
yAxisIndex: 0
|
||||
},
|
||||
{
|
||||
type: "line",
|
||||
name: "同比",
|
||||
data: [],
|
||||
yAxisIndex: 1
|
||||
}
|
||||
]
|
||||
},
|
||||
getNumStr: utils_util.getNumStr,
|
||||
accDiv: utils_util.accDiv,
|
||||
accSub: utils_util.accSub,
|
||||
accMul: utils_util.accMul
|
||||
};
|
||||
},
|
||||
props: {
|
||||
financialBalanceList: Array,
|
||||
//资产负债表
|
||||
cashFlowList: Array,
|
||||
//现金流量表
|
||||
incomeStatementList: Array
|
||||
//利润表
|
||||
},
|
||||
watch: {
|
||||
financialBalanceList(newValue) {
|
||||
let category = [];
|
||||
let data = [];
|
||||
for (let item of newValue) {
|
||||
category.push(item.report_type);
|
||||
if (item.assets.current_assets.cash) {
|
||||
data.push(utils_util.accDiv(item.assets.current_assets.cash, 1e8).toFixed(2));
|
||||
} else
|
||||
data.push(0);
|
||||
}
|
||||
this.option1.xAxis.data = category;
|
||||
this.option1.series[0].data = data;
|
||||
this.profitabilityInit();
|
||||
},
|
||||
cashFlowList(newValue) {
|
||||
let category = [];
|
||||
let data = [];
|
||||
for (let item of newValue) {
|
||||
category.push(item.report_type);
|
||||
if (item.operating_activities.net_flow) {
|
||||
data.push(utils_util.accDiv(item.operating_activities.net_flow, 1e8).toFixed(2));
|
||||
} else
|
||||
data.push(0);
|
||||
}
|
||||
this.option2.xAxis.data = category;
|
||||
this.option2.series[0].data = data;
|
||||
this.cashFlowInit();
|
||||
},
|
||||
incomeStatementList(newValue) {
|
||||
let category = [];
|
||||
let data = [];
|
||||
for (let item of newValue) {
|
||||
category.push(item.report_type);
|
||||
if (item.profit.net_profit) {
|
||||
data.push(utils_util.accDiv(item.profit.net_profit, 1e9).toFixed(2));
|
||||
} else
|
||||
data1.push(0);
|
||||
}
|
||||
this.option3.xAxis.data = category;
|
||||
this.option3.series[0].data = data;
|
||||
this.incomeStatementInit();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async profitabilityInit() {
|
||||
const chart = await this.$refs.chartRef1.init(echarts);
|
||||
chart.setOption(this.option1);
|
||||
},
|
||||
async cashFlowInit() {
|
||||
const chart = await this.$refs.chartRef2.init(echarts);
|
||||
chart.setOption(this.option2);
|
||||
},
|
||||
async incomeStatementInit() {
|
||||
const chart = await this.$refs.chartRef3.init(echarts);
|
||||
chart.setOption(this.option3);
|
||||
},
|
||||
/**
|
||||
* 计算经营性现金流增长率
|
||||
*/
|
||||
caculateOperatingFlowRatio() {
|
||||
let flow1 = this.cashFlowList[0].operating_activities.net_flow;
|
||||
let flow2 = this.cashFlowList[4].operating_activities.net_flow;
|
||||
return utils_util.accMul(utils_util.accDiv(utils_util.accSub(flow1, flow2), flow2), 100).toFixed(2);
|
||||
},
|
||||
/**
|
||||
* 计算合计现金流增长率
|
||||
*/
|
||||
caculateNetIncreaseRatio() {
|
||||
let flow1 = this.cashFlowList[0].cash_changes.net_increase;
|
||||
let flow2 = this.cashFlowList[4].cash_changes.net_increase;
|
||||
return utils_util.accMul(utils_util.accDiv(utils_util.accSub(flow1, flow2), flow2), 100).toFixed(2);
|
||||
},
|
||||
/**
|
||||
* 获取去年
|
||||
*/
|
||||
getLastYearPeriod(list) {
|
||||
list[0].period.split("-")[0];
|
||||
},
|
||||
/**
|
||||
* 点击切换现金流量表指标
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickCashFlowIndicatorItem(index) {
|
||||
if (this.cashFlowIndicatorIndex != index) {
|
||||
this.cashFlowIndicatorIndex = index;
|
||||
let data = [];
|
||||
if (index == 0) {
|
||||
for (let item of this.cashFlowList) {
|
||||
if (item.operating_activities.net_flow) {
|
||||
data.push(utils_util.accDiv(item.operating_activities.net_flow, 1e8).toFixed(2));
|
||||
} else
|
||||
data.push(0);
|
||||
}
|
||||
} else if (index == 1) {
|
||||
for (let item of this.cashFlowList) {
|
||||
if (item.financing_activities.net_flow) {
|
||||
data.push(utils_util.accDiv(item.financing_activities.net_flow, 1e8).toFixed(2));
|
||||
} else
|
||||
data.push(0);
|
||||
}
|
||||
} else if (index == 2) {
|
||||
for (let item of this.cashFlowList) {
|
||||
if (item.investment_activities.net_flow) {
|
||||
data.push(utils_util.accDiv(item.investment_activities.net_flow, 1e8).toFixed(2));
|
||||
} else
|
||||
data.push(0);
|
||||
}
|
||||
}
|
||||
this.option2.series[0].data = data;
|
||||
this.cashFlowInit();
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击切换利润表指标
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickProfitIndicatorItem(index) {
|
||||
if (this.profitIndicatorIndex != index) {
|
||||
this.profitIndicatorIndex = index;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_l_echart2 = common_vendor.resolveComponent("l-echart");
|
||||
_easycom_l_echart2();
|
||||
}
|
||||
const _easycom_l_echart = () => "../../uni_modules/lime-echart/components/l-echart/l-echart.js";
|
||||
if (!Math) {
|
||||
_easycom_l_echart();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_assets._imports_0$8,
|
||||
b: common_assets._imports_1$2,
|
||||
c: common_vendor.f(["货币资金", "所有者权益", "关键指标"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item flexCenter " + ($data.cashFlowIndicatorIndex == index ? "select" : "")),
|
||||
c: index
|
||||
};
|
||||
}),
|
||||
d: common_assets._imports_2$14,
|
||||
e: common_assets._imports_3$13,
|
||||
f: common_vendor.sr("chartRef1", "63ca7cac-0"),
|
||||
g: $props.financialBalanceList.length > 0
|
||||
}, $props.financialBalanceList.length > 0 ? {
|
||||
h: common_vendor.t($data.getNumStr($props.financialBalanceList[0].assets.total)),
|
||||
i: common_vendor.t($data.getNumStr($props.financialBalanceList[0].liabilities.total)),
|
||||
j: common_vendor.t($data.getNumStr($props.financialBalanceList[0].equity.total)),
|
||||
k: common_vendor.t($data.getNumStr($props.financialBalanceList[0].assets.current_assets.cash)),
|
||||
l: common_vendor.t($data.getNumStr($props.financialBalanceList[0].equity.capital_reserve)),
|
||||
m: common_vendor.t($data.getNumStr($props.financialBalanceList[0].equity.surplus_reserve)),
|
||||
n: common_vendor.t($data.getNumStr($props.financialBalanceList[0].equity.undistributed_profit))
|
||||
} : {}, {
|
||||
o: common_assets._imports_0$8,
|
||||
p: common_assets._imports_1$2,
|
||||
q: common_vendor.f(["经营现金流", "筹资现金流", "投资现金流"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item flexCenter " + ($data.cashFlowIndicatorIndex == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickCashFlowIndicatorItem(index), index)
|
||||
};
|
||||
}),
|
||||
r: common_assets._imports_2$14,
|
||||
s: common_assets._imports_3$13,
|
||||
t: common_vendor.sr("chartRef2", "63ca7cac-1"),
|
||||
v: $props.cashFlowList.length > 0
|
||||
}, $props.cashFlowList.length > 0 ? {
|
||||
w: common_vendor.t($data.getNumStr($props.cashFlowList[0].operating_activities.net_flow)),
|
||||
x: common_vendor.t($options.caculateOperatingFlowRatio()),
|
||||
y: common_vendor.t($data.getNumStr($props.cashFlowList[0].investment_activities.net_flow)),
|
||||
z: common_vendor.t($data.getNumStr($props.cashFlowList[0].financing_activities.net_flow)),
|
||||
A: common_vendor.t($data.getNumStr($props.cashFlowList[0].cash_changes.net_increase)),
|
||||
B: common_vendor.t($options.caculateNetIncreaseRatio())
|
||||
} : {}, {
|
||||
C: common_assets._imports_0$8,
|
||||
D: common_assets._imports_1$2,
|
||||
E: common_vendor.f(["净利润", "营业收入", "期间费用"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item flexCenter " + ($data.profitIndicatorIndex == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickProfitIndicatorItem(index), index)
|
||||
};
|
||||
}),
|
||||
F: common_assets._imports_2$14,
|
||||
G: common_assets._imports_3$13,
|
||||
H: common_assets._imports_2$14,
|
||||
I: common_assets._imports_3$13,
|
||||
J: common_vendor.sr("chartRef3", "63ca7cac-2"),
|
||||
K: $props.incomeStatementList.length > 0
|
||||
}, $props.incomeStatementList.length > 0 ? {
|
||||
L: common_vendor.t($data.getNumStr($props.incomeStatementList[0].comprehensive_income.total_comprehensive_income)),
|
||||
M: common_vendor.t($data.getNumStr($props.incomeStatementList[0].revenue.total_operating_revenue)),
|
||||
N: common_vendor.t($data.getNumStr($props.incomeStatementList[0].profit.operating_profit))
|
||||
} : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/cwsj-view/cwsj-view.js.map
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,12 +0,0 @@
|
||||
.indicatorC .item {
|
||||
padding: 10rpx;
|
||||
border: 1rpx solid #D2D2D2;
|
||||
font-size: 20rpx;
|
||||
color: #999999;
|
||||
text-align: center;
|
||||
}
|
||||
.indicatorC .item.select {
|
||||
background-color: #FFFAF1;
|
||||
color: #BB8520;
|
||||
border: 1rpx solid #F2C369;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart"
|
||||
}
|
||||
}
|
||||
@@ -102,7 +102,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
} : {}, {
|
||||
c: !$props.hideBack && !$props.backBlack
|
||||
}, !$props.hideBack && !$props.backBlack ? {
|
||||
d: common_assets._imports_1$15
|
||||
d: common_assets._imports_1$17
|
||||
} : {}, {
|
||||
e: !$props.hideBack && $props.backBlack
|
||||
}, !$props.hideBack && $props.backBlack ? {
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
"use strict";
|
||||
const utils_util = require("../../utils/util.js");
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
name: "news-view",
|
||||
data() {
|
||||
return {
|
||||
showType: 0,
|
||||
getChgRateStr: utils_util.getChgRateStr,
|
||||
getRateUpOrDown: utils_util.getRateUpOrDown
|
||||
};
|
||||
},
|
||||
props: {
|
||||
// 0 新闻动态 1 公司公告
|
||||
type: Number,
|
||||
newsList: Array,
|
||||
//新闻动态数组
|
||||
announcementList: Array
|
||||
//公司公告数组
|
||||
},
|
||||
watch: {
|
||||
type: {
|
||||
handler(newVal, oldVal) {
|
||||
this.showType = newVal;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.showType == 0
|
||||
}, $data.showType == 0 ? {
|
||||
b: common_assets._imports_0$9,
|
||||
c: common_vendor.f($props.newsList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.t(item.view_count),
|
||||
c: common_vendor.t(item.hot_score),
|
||||
d: common_vendor.t(item.event_type),
|
||||
e: common_vendor.t(item.invest_score),
|
||||
f: common_vendor.f(["C级", "金融监管", "资管行业", "自律管理"], (item2, index2, i1) => {
|
||||
return {
|
||||
a: common_vendor.t(item2)
|
||||
};
|
||||
}),
|
||||
g: common_vendor.t(item.description),
|
||||
h: item.related_avg_chg
|
||||
}, item.related_avg_chg ? {} : {}, {
|
||||
i: item.related_avg_chg
|
||||
}, item.related_avg_chg ? {
|
||||
j: common_vendor.t($data.getChgRateStr(item.related_avg_chg)),
|
||||
k: common_vendor.n("chg " + ($data.getRateUpOrDown(item.related_avg_chg) ? "down" : "up")),
|
||||
l: common_vendor.t($data.getChgRateStr(item.related_max_chg)),
|
||||
m: common_vendor.n("chg " + ($data.getRateUpOrDown(item.related_max_chg) ? "down" : "up")),
|
||||
n: common_vendor.t($data.getChgRateStr(item.related_week_chg)),
|
||||
o: common_vendor.n("chg " + ($data.getRateUpOrDown(item.related_week_chg) ? "down" : "up"))
|
||||
} : {}, {
|
||||
p: index
|
||||
});
|
||||
}),
|
||||
d: common_assets._imports_1$19,
|
||||
e: common_assets._imports_2$15,
|
||||
f: common_assets._imports_3$14
|
||||
} : {}, {
|
||||
g: $data.showType == 1
|
||||
}, $data.showType == 1 ? {
|
||||
h: common_vendor.f($props.announcementList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.t(item.announce_date),
|
||||
c: common_vendor.t(item.format),
|
||||
d: common_vendor.t(item.file_size),
|
||||
e: index
|
||||
};
|
||||
})
|
||||
} : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/news-view/news-view.js.map
|
||||
@@ -1 +0,0 @@
|
||||
<view><block wx:if="{{a}}"><view style="padding:20rpx"><view style="background-color:#F3F3F3;display:flex;align-items:center;height:70rpx;border-radius:30rpx;overflow:hidden"><view style="display:flex;align-items:center;justify-content:center;width:62rpx"><image style="width:25rpx;height:24rpx" src="{{b}}" mode="widthFix"></image></view><input style="flex:1;height:100%;font-size:22rpx;color:#999;margin-right:20rpx" type="text" placeholder="搜索相关新闻..."/></view><view class="newsList"><view wx:for="{{c}}" wx:for-item="item" wx:key="p" class="item" style="border:1rpx solid #E7E7E7;border-radius:10rpx;padding:0 27rpx;margin:20rpx 0"><view style="color:#2B2B2B;font-size:26rpx;font-weight:bold;margin-top:20rpx">{{item.a}}</view><view style="display:flex;align-items:center;color:#999999;font-size:22rpx;font-weight:400"><image style="width:20rpx;height:20rpx;margin-right:5rpx" src="{{d}}" mode="widthFix"></image><text>2025/12/16</text><text style="margin:10rpx">|</text><image style="width:18rpx;height:13rpx;margin-right:5rpx" src="{{e}}" mode="widthFix"></image><text>{{item.b}}</text><text style="margin:10rpx">|</text><image style="width:16rpx;height:19rpx;margin-right:5rpx" src="{{f}}" mode="widthFix"></image><text>{{item.c}}</text></view><view class="labelList flexWrap"><view class="label eventType">{{item.d}}</view><view class="label investScore">投资分:{{item.e}}</view><view wx:for="{{item.f}}" wx:for-item="item" style="background-color:#FFFAF0;border-radius:3rpx;padding:2rpx 10rpx;overflow:hidden;font-size:18rpx;color:#E9AE3E;font-weight:400;margin-right:10rpx">{{item.a}}</view></view><view style="margin:20rpx 0;font-size:22rpx;color:#71675D;font-weight:500">{{item.g}}</view><view wx:if="{{item.h}}" style="height:1rpx;background-color:#E7E7E7"></view><view wx:if="{{item.i}}" class="relatedChgC flex"><text style="font-weight:bold;color:#2B2B2B">相关涨跌:</text><text>平均 </text><text class="{{item.k}}">{{item.j}}%</text><text style="margin:0 20rpx">|</text><text>最大 </text><text class="{{item.m}}">{{item.l}}%</text><text style="margin:0 20rpx">|</text><text>周 </text><text class="{{item.o}}">{{item.n}}%</text></view></view></view></view></block><block wx:if="{{g}}"><view wx:for="{{h}}" wx:for-item="item" wx:key="e" style="padding:20rpx"><view style="border:1rpx solid #E7E7E7;border-radius:10rpx;padding:0 27rpx;margin:20rpx 0;display:flex;align-items:center"><view style="flex:1"><view style="color:#2B2B2B;font-size:26rpx;font-weight:bold;margin-top:20rpx">{{item.a}}</view><view style="display:flex;align-items:center;color:#71675D;font-size:22rpx;font-weight:500;margin:20rpx 0"><text style="color:#E9AE3E;font-size:18rpx;background-color:#FFFAF0;border-radius:3rpx;padding:2rpx 10rpx;margin-right:14rpx">公告</text><text>{{item.b}}</text><text style="margin:0 20rpx">|</text><text>{{item.c}}</text><text style="margin:0 20rpx">|</text><text>{{item.d}}KB</text></view></view><view style="padding:4rpx 10rpx;background-color:#F2C369;border-radius:10rpx;color:#2B2B2B;font-size:22rpx;margin-left:10rpx">查看</view></view></view></block></view>
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"l-echart": "../../uni_modules/lime-echart/components/l-echart/l-echart"
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<view><block wx:if="{{a}}"><view class="flex" style="font-size:22rpx;color:#999999;font-weight:500;margin:20rpx;padding:20rpx;box-sizing:border-box;border:1rpx solid #F5F5F5;border-radius:10rpx"><view style="width:195rpx"><view style="font-weight:bold;color:#1DB26F;font-size:30rpx">{{b}}%</view><view style="margin-top:10rpx">利润增长</view></view><view><view class="flex"><text style="font-weight:bold;color:#070707;font-size:26rpx;margin-right:10rpx">成长能力</text><text style="color:#A97F53;font-size:20rpx;padding:2rpx 5rpx;background-color:#F8F4ED;border:1rpx solid #F1E7D8;border-radius:3rpx">增长动力</text></view><view style="margin-top:10rpx"><text>营收增长</text><text style="color:#1DB26F;margin:0 10rpx">{{c}}%</text><text style="color:#F59B38">(稳健增长)</text></view></view></view><view class="flex" style="font-size:22rpx;color:#999999;font-weight:500;margin:20rpx;padding:20rpx;box-sizing:border-box;border:1rpx solid #F5F5F5;border-radius:10rpx"><view style="width:195rpx"><view style="font-weight:bold;color:#F59B38;font-size:30rpx">{{d}}%</view><view style="margin-top:10rpx">ROE</view></view><view><view class="flex"><text style="font-weight:bold;color:#070707;font-size:26rpx;margin-right:10rpx">盈利与回报</text><text style="color:#A97F53;font-size:20rpx;padding:2rpx 5rpx;background-color:#F8F4ED;border:1rpx solid #F1E7D8;border-radius:3rpx">赚钱能力</text></view><view style="margin-top:10rpx"><text style="color:#F59B38">良好</text><text style="margin-left:10rpx">净利率 {{e}}%|毛利率 {{f}}%</text></view></view></view><view wx:if="{{g}}" class="flex" style="font-size:22rpx;color:#999999;font-weight:500;margin:20rpx;padding:20rpx;border:1rpx solid #F5F5F5;border-radius:10rpx"><view style="width:195rpx"><view style="font-weight:bold;color:#EC3440;font-size:30rpx">{{h}}%</view><view style="margin-top:10rpx">资产负债率</view></view><view><view class="flex"><text style="font-weight:bold;color:#070707;font-size:26rpx;margin-right:10rpx">风险与运营</text><text style="color:#A97F53;font-size:20rpx;padding:2rpx 5rpx;background-color:#F8F4ED;border:1rpx solid #F1E7D8;border-radius:3rpx">安全边际</text></view><view style="margin-top:10rpx"><text style="{{j}}">{{i}}</text><text style="margin-left:10rpx">流动比率 {{k}}|研发费用率 {{l}}%</text></view></view></view></block><view style="text-align:center;font-size:26rpx;color:#2B2B2B;font-weight:bold;margin:20rpx"> 营收与利润趋势</view><view style="height:400rpx"><l-echart class="r" u-r="chartRef1" u-i="cf18d1d4-0" bind:__l="__l"></l-echart></view><view style="text-align:left;font-size:26rpx;color:#2B2B2B;font-weight:bold;margin:20rpx">主营业务 </view><view style="height:400rpx"><l-echart class="r" u-r="chartRef2" u-i="cf18d1d4-1" bind:__l="__l"></l-echart></view><view style="text-align:left;font-size:26rpx;color:#2B2B2B;font-weight:bold;margin:20rpx"> 主营业务明细与历史对比</view><view style="display:grid;grid-template-columns:130rpx repeat(4, 1fr);color:#666666;font-size:20rpx;font-weight:500;background-color:#FAFAFC;margin:20rpx;margin-bottom:0;padding:10rpx;box-sizing:border-box"><view wx:for="{{o}}" wx:for-item="item" style="{{'display:flex;align-items:center;justify-content:center;flex-direction:column' + ';' + ('text-align:' + item.e + ';' + ('align-items:' + item.f))}}"><view>{{item.a}}</view><view wx:if="{{item.b}}" style="{{'font-size:18rpx' + ';' + ('text-align:' + item.d)}}">{{item.c}}</view></view></view><block wx:if="{{p}}"><view wx:for="{{q}}" wx:for-item="item" wx:key="f" class="table" style="{{'display:grid;grid-template-columns:130rpx repeat(4, 1fr);margin:0 20rpx;padding:10rpx' + ';' + ('background-color:' + item.g)}}"><view class="item">{{item.a}}</view><view class="item flexCenter">{{item.b}}%</view><view class="item flexCenter">{{item.c}}</view><view class="item flexCenter">{{item.d}}</view><view class="item flexCenter">{{item.e}}</view></view></block><view style="height:80rpx"></view></view>
|
||||
@@ -618,7 +618,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: common_vendor.o(($event) => $data.keywords = $event.detail.value),
|
||||
g: common_vendor.o(($event) => $options.clickRank()),
|
||||
h: common_vendor.t($data.newestPriceDate),
|
||||
i: common_assets._imports_2$3,
|
||||
i: common_assets._imports_2$4,
|
||||
j: common_vendor.t($data.sortTypeStr),
|
||||
k: common_assets._imports_3,
|
||||
l: common_vendor.o(($event) => $options.clickSortType()),
|
||||
@@ -641,7 +641,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
h: common_vendor.n("stockNum " + ($data.getRateUpOrDown(item.price_info.avg_change_pct) ? "down" : "up"))
|
||||
} : {}, {
|
||||
i: common_vendor.t(item.description),
|
||||
j: common_vendor.o(($event) => $options.clickConceptItem(item.concept), index),
|
||||
j: common_vendor.o(($event) => $options.clickConceptItem(item.concept), index)
|
||||
}, $data.memberInfo && $data.memberInfo.is_member && ($data.memberInfo.subscription_type == "pro" || $data.memberInfo.subscription_type == "max") ? {
|
||||
k: common_vendor.f(item.stocks.slice(0, 3), (sitem, sindex, i1) => {
|
||||
return {
|
||||
a: common_vendor.t(sitem.name),
|
||||
@@ -649,23 +650,29 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
};
|
||||
}),
|
||||
l: common_vendor.t(item.stock_count - 3),
|
||||
m: common_vendor.o(($event) => $options.clickStockMore(item), index),
|
||||
n: common_vendor.t(item.price_info ? item.price_info.trade_date : ""),
|
||||
o: common_vendor.o(($event) => $options.clickHistoricalTimeline(item), index),
|
||||
p: index
|
||||
m: common_vendor.o(($event) => $options.clickStockMore(item), index)
|
||||
} : {
|
||||
n: common_assets._imports_1$3,
|
||||
o: common_vendor.t(item.stock_count),
|
||||
p: common_vendor.o(($event) => $options.clickNotVip(), index)
|
||||
}, {
|
||||
q: common_vendor.t(item.price_info ? item.price_info.trade_date : ""),
|
||||
r: common_vendor.o(($event) => $options.clickHistoricalTimeline(item), index),
|
||||
s: index
|
||||
});
|
||||
}),
|
||||
r: common_assets._imports_1$3,
|
||||
s: common_vendor.s("top: " + $data.listTop + "px;"),
|
||||
t: $data.isRefreshing,
|
||||
v: common_vendor.o(($event) => $options.pullDownRefresh()),
|
||||
w: common_vendor.o(($event) => $options.loadMoreData()),
|
||||
x: common_assets._imports_8,
|
||||
y: common_vendor.o(($event) => $options.clickRankClose()),
|
||||
z: common_assets._imports_7$1,
|
||||
A: common_vendor.t($data.startDateStr),
|
||||
B: common_vendor.t($data.endDateStr),
|
||||
C: common_vendor.f($data.cycleList, (item, index, i0) => {
|
||||
r: $data.memberInfo && $data.memberInfo.is_member && ($data.memberInfo.subscription_type == "pro" || $data.memberInfo.subscription_type == "max"),
|
||||
s: common_assets._imports_1$2,
|
||||
t: common_vendor.s("top: " + $data.listTop + "px;"),
|
||||
v: $data.isRefreshing,
|
||||
w: common_vendor.o(($event) => $options.pullDownRefresh()),
|
||||
x: common_vendor.o(($event) => $options.loadMoreData()),
|
||||
y: common_assets._imports_6$1,
|
||||
z: common_vendor.o(($event) => $options.clickRankClose()),
|
||||
A: common_assets._imports_8,
|
||||
B: common_vendor.t($data.startDateStr),
|
||||
C: common_vendor.t($data.endDateStr),
|
||||
D: common_vendor.f($data.cycleList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: common_vendor.n("item " + ($data.selectCycleIndex == index ? "select" : "")),
|
||||
@@ -673,15 +680,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickRankCycleListItem(index), index)
|
||||
};
|
||||
}),
|
||||
D: $data.selectCycleIndex == 3
|
||||
E: $data.selectCycleIndex == 3
|
||||
}, $data.selectCycleIndex == 3 ? {
|
||||
E: common_vendor.t($data.selectStartDateStr),
|
||||
F: common_vendor.o(($event) => $options.clickCustomDateCycle(2)),
|
||||
G: common_vendor.t($data.selectEndDateStr),
|
||||
H: common_vendor.o(($event) => $options.clickCustomDateCycle(3)),
|
||||
I: common_vendor.o(($event) => $options.clickApply())
|
||||
F: common_vendor.t($data.selectStartDateStr),
|
||||
G: common_vendor.o(($event) => $options.clickCustomDateCycle(2)),
|
||||
H: common_vendor.t($data.selectEndDateStr),
|
||||
I: common_vendor.o(($event) => $options.clickCustomDateCycle(3)),
|
||||
J: common_vendor.o(($event) => $options.clickApply())
|
||||
} : {}, {
|
||||
J: common_vendor.f($data.rankTabList, (item, index, i0) => {
|
||||
K: common_vendor.f($data.rankTabList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: $data.selectTab == index
|
||||
}, $data.selectTab == index ? {
|
||||
@@ -695,19 +702,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
g: common_vendor.o(($event) => $options.clickRankTabItem(index), index)
|
||||
});
|
||||
}),
|
||||
K: common_vendor.f($data.rankList, (item, index, i0) => {
|
||||
L: common_vendor.f($data.rankList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: index == 0
|
||||
}, index == 0 ? {
|
||||
b: common_assets._imports_8$1
|
||||
b: common_assets._imports_9$1
|
||||
} : {}, {
|
||||
c: index == 1
|
||||
}, index == 1 ? {
|
||||
d: common_assets._imports_9$1
|
||||
d: common_assets._imports_10$1
|
||||
} : {}, {
|
||||
e: index == 2
|
||||
}, index == 2 ? {
|
||||
f: common_assets._imports_10$1
|
||||
f: common_assets._imports_11$2
|
||||
} : {}, {
|
||||
g: index > 2
|
||||
}, index > 2 ? {
|
||||
@@ -726,14 +733,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
} : {}) : common_vendor.e({
|
||||
o: $data.selectTab == 0 || $data.selectTab == 1
|
||||
}, $data.selectTab == 0 || $data.selectTab == 1 ? {
|
||||
p: common_assets._imports_11$2,
|
||||
p: common_assets._imports_12$2,
|
||||
q: common_vendor.t(item.news_count)
|
||||
} : {}, {
|
||||
r: common_assets._imports_12$2,
|
||||
r: common_assets._imports_13$1,
|
||||
s: common_vendor.t(item.news_count),
|
||||
t: $data.selectTab == 2
|
||||
}, $data.selectTab == 2 ? {
|
||||
v: common_assets._imports_13$1,
|
||||
v: common_assets._imports_14$1,
|
||||
w: common_vendor.t(item.report_count)
|
||||
} : {}), $data.selectTab == 0 ? {
|
||||
x: common_vendor.t(item.change_pct)
|
||||
@@ -749,21 +756,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
C: index
|
||||
});
|
||||
}),
|
||||
L: $data.selectTab == 3 || $data.selectTab == 4,
|
||||
M: common_vendor.n("icon " + ($data.selectTab == 4 ? "continuousRise" : "")),
|
||||
N: $data.rankTabList[$data.selectTab].selectIcon,
|
||||
O: $data.selectTab == 0,
|
||||
P: $data.selectTab == 1,
|
||||
Q: $data.selectTab == 2,
|
||||
R: $data.selectTab == 3,
|
||||
S: $data.selectTab == 4,
|
||||
T: common_vendor.sr("rankPopup", "634c6a80-1"),
|
||||
U: common_vendor.p({
|
||||
M: $data.selectTab == 3 || $data.selectTab == 4,
|
||||
N: common_vendor.n("icon " + ($data.selectTab == 4 ? "continuousRise" : "")),
|
||||
O: $data.rankTabList[$data.selectTab].selectIcon,
|
||||
P: $data.selectTab == 0,
|
||||
Q: $data.selectTab == 1,
|
||||
R: $data.selectTab == 2,
|
||||
S: $data.selectTab == 3,
|
||||
T: $data.selectTab == 4,
|
||||
U: common_vendor.sr("rankPopup", "634c6a80-1"),
|
||||
V: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
}),
|
||||
V: common_assets._imports_12$1,
|
||||
W: common_vendor.f($data.sortTypeList, (item, index, i0) => {
|
||||
W: common_assets._imports_12$1,
|
||||
X: common_vendor.f($data.sortTypeList, (item, index, i0) => {
|
||||
return {
|
||||
a: item.icon,
|
||||
b: common_vendor.t(item.name),
|
||||
@@ -771,29 +778,29 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickSortListItem(item), index)
|
||||
};
|
||||
}),
|
||||
X: common_vendor.s("margin-top:" + $data.sortListTop + "px;"),
|
||||
Y: common_vendor.sr("sortTypePopup", "634c6a80-2"),
|
||||
Z: common_vendor.p({
|
||||
Y: common_vendor.s("margin-top:" + $data.sortListTop + "px;"),
|
||||
Z: common_vendor.sr("sortTypePopup", "634c6a80-2"),
|
||||
aa: common_vendor.p({
|
||||
type: "top",
|
||||
["mask-background-color"]: "transparent",
|
||||
animation: false
|
||||
}),
|
||||
aa: common_vendor.o(($event) => $options.clickCancel()),
|
||||
ab: common_vendor.o(($event) => $options.clickConfirm()),
|
||||
ac: common_assets._imports_0$1,
|
||||
ad: common_vendor.o(($event) => $options.clickPreMonth()),
|
||||
ae: common_vendor.t($data.selectMonth),
|
||||
af: common_vendor.o(() => {
|
||||
ab: common_vendor.o(($event) => $options.clickCancel()),
|
||||
ac: common_vendor.o(($event) => $options.clickConfirm()),
|
||||
ad: common_assets._imports_0$1,
|
||||
ae: common_vendor.o(($event) => $options.clickPreMonth()),
|
||||
af: common_vendor.t($data.selectMonth),
|
||||
ag: common_vendor.o(() => {
|
||||
}),
|
||||
ag: common_assets._imports_1$2,
|
||||
ah: common_vendor.o(($event) => $options.clickNextMonth()),
|
||||
ai: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
ah: common_assets._imports_2$3,
|
||||
ai: common_vendor.o(($event) => $options.clickNextMonth()),
|
||||
aj: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
}),
|
||||
aj: common_vendor.f($data.monthDateList[$data.selectMonthIndex], (item, index, i0) => {
|
||||
ak: common_vendor.f($data.monthDateList[$data.selectMonthIndex], (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.date == $data.selectDateStr
|
||||
}, item.date == $data.selectDateStr ? {
|
||||
@@ -809,29 +816,29 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
g: common_vendor.o(($event) => $options.clickSelectDate(item), index)
|
||||
});
|
||||
}),
|
||||
ak: common_vendor.f($data.quickTimeList, (item, index, i0) => {
|
||||
al: common_vendor.f($data.quickTimeList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index,
|
||||
c: common_vendor.o(($event) => $options.clickQuickTimeItem(index), index)
|
||||
};
|
||||
}),
|
||||
al: common_vendor.sr("transactionDatePopup", "634c6a80-3"),
|
||||
am: common_vendor.p({
|
||||
am: common_vendor.sr("transactionDatePopup", "634c6a80-3"),
|
||||
an: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
}),
|
||||
an: common_assets._imports_13,
|
||||
ao: common_assets._imports_14,
|
||||
ap: common_assets._imports_15,
|
||||
ao: common_assets._imports_13,
|
||||
ap: common_assets._imports_14,
|
||||
aq: common_assets._imports_15,
|
||||
ar: common_assets._imports_16,
|
||||
ar: common_assets._imports_15,
|
||||
as: common_assets._imports_16,
|
||||
at: common_assets._imports_16,
|
||||
av: common_vendor.o(($event) => $options.clickLater()),
|
||||
aw: common_vendor.o(($event) => $options.clickUpgradeAtOnce()),
|
||||
ax: common_vendor.sr("vipPopup", "634c6a80-4"),
|
||||
ay: common_vendor.p({
|
||||
av: common_assets._imports_16,
|
||||
aw: common_vendor.o(($event) => $options.clickLater()),
|
||||
ax: common_vendor.o(($event) => $options.clickUpgradeAtOnce()),
|
||||
ay: common_vendor.sr("vipPopup", "634c6a80-4"),
|
||||
az: common_vendor.p({
|
||||
type: "center"
|
||||
})
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -319,7 +319,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: common_vendor.o(($event) => $options.clickPreMonth()),
|
||||
g: common_vendor.t($data.selectMonth),
|
||||
h: common_vendor.o((...args) => $options.monthChange && $options.monthChange(...args)),
|
||||
i: common_assets._imports_1$2,
|
||||
i: common_assets._imports_2$3,
|
||||
j: common_vendor.o(($event) => $options.clickNextMonth()),
|
||||
k: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
return {
|
||||
|
||||
@@ -250,6 +250,15 @@ const _sfc_main = {
|
||||
this.selectDateStr = monthAgoYear + "-" + (monthAgoMonth > 9 ? monthAgoMonth : "0" + monthAgoMonth) + "-" + (monthAgoDay > 9 ? monthAgoDay : "0" + monthAgoDay);
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击股票名称查看个股详情
|
||||
* @param {Object} code
|
||||
*/
|
||||
clickStockName(code) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pagesStock/stockCenterDetails/stockCenterDetails?code=" + code
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取概念相关个股数据
|
||||
*/
|
||||
@@ -265,7 +274,6 @@ const _sfc_main = {
|
||||
return item.code;
|
||||
return "";
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:383", codes);
|
||||
request_api.conceptOtherDetails(this.conceptId, {
|
||||
days: 1,
|
||||
codes,
|
||||
@@ -277,10 +285,10 @@ const _sfc_main = {
|
||||
}
|
||||
return item;
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:397", "===============");
|
||||
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:398", this.stockList);
|
||||
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:406", "===============");
|
||||
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:407", this.stockList);
|
||||
}).catch((error) => {
|
||||
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:400", "=-=-=-=-=-=-=-=-=");
|
||||
common_vendor.index.__f__("log", "at pages/concept/hotStock/hotStock.vue:409", "=-=-=-=-=-=-=-=-=");
|
||||
});
|
||||
}).catch((error) => {
|
||||
});
|
||||
@@ -305,29 +313,30 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_vendor.t($data.conceptName),
|
||||
d: common_assets._imports_1$9,
|
||||
d: common_assets._imports_1$8,
|
||||
e: common_vendor.o(($event) => $options.clickDateScreen()),
|
||||
f: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
g: common_vendor.f($data.stockList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.name),
|
||||
b: common_vendor.t(item.code),
|
||||
c: item.change_percent
|
||||
c: common_vendor.o(($event) => $options.clickStockName(item.code), index),
|
||||
d: item.change_percent
|
||||
}, item.change_percent ? {
|
||||
d: common_vendor.t(item.change_percent >= 0 ? "+" + item.change_percent : item.change_percent)
|
||||
e: common_vendor.t(item.change_percent >= 0 ? "+" + item.change_percent : item.change_percent)
|
||||
} : {}, {
|
||||
e: item.isExpand
|
||||
f: item.isExpand
|
||||
}, item.isExpand ? {
|
||||
f: common_assets._imports_2$7
|
||||
g: common_assets._imports_2$8
|
||||
} : {
|
||||
g: common_assets._imports_3$6
|
||||
h: common_assets._imports_3$6
|
||||
}, {
|
||||
h: common_vendor.o(($event) => $options.clickExpandOrRetract(index), index),
|
||||
i: item.isExpand
|
||||
i: common_vendor.o(($event) => $options.clickExpandOrRetract(index), index),
|
||||
j: item.isExpand
|
||||
}, item.isExpand ? {
|
||||
j: common_vendor.t(item.reason)
|
||||
k: common_vendor.t(item.reason)
|
||||
} : {}, {
|
||||
k: index
|
||||
l: index
|
||||
});
|
||||
}),
|
||||
h: common_vendor.s("top:" + $data.listTop + "px;"),
|
||||
@@ -337,7 +346,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
l: common_vendor.o(($event) => $options.clickPreMonth()),
|
||||
m: common_vendor.t($data.selectMonth),
|
||||
n: common_vendor.o((...args) => $options.monthChange && $options.monthChange(...args)),
|
||||
o: common_assets._imports_1$2,
|
||||
o: common_assets._imports_2$3,
|
||||
p: common_vendor.o(($event) => $options.clickNextMonth()),
|
||||
q: common_vendor.f($data.weekList, (item, index, i0) => {
|
||||
return {
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="0dffb7e7-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="titleScreenC fixed flex" style="{{f}}"><view class="title flex1">{{c}} - 相关个股</view><view class="screenC flex" bindtap="{{e}}"><view>时间筛选</view><image class="arrow" src="{{d}}" mode="widthFix"></image></view></view><scroll-view 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>
|
||||
<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="l" class="item"><view class="stockInfoC flex" bindtap="{{item.i}}"><view class="titleCodeC" catchtap="{{item.c}}"><view class="title">{{item.a}}</view><view class="code">{{item.b}}</view></view><view wx:if="{{item.d}}" class="chg flex1">{{item.e}}%</view><view wx:else class="chg flex1">-</view><view class="reasonProjectC flex"><view>REASON</view><image wx:if="{{item.f}}" class="arrow expand" src="{{item.g}}" mode="widthFix"></image><image wx:else class="arrow" src="{{item.h}}" mode="widthFix"></image></view></view><view wx:if="{{item.j}}" class="reasonProjectContentC"><view class="reasonC"><text class="title">REASON:</text><text>{{item.k}}</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>
|
||||
@@ -11,6 +11,17 @@ const _sfc_main = {
|
||||
filteredData: [],
|
||||
currentDate: "",
|
||||
// 最终要赋值的日期
|
||||
searchResultTop: "",
|
||||
//搜索结果
|
||||
contentTop: "",
|
||||
keywords: "",
|
||||
//搜索关键字
|
||||
searchShow: false,
|
||||
//是否展示搜索结果
|
||||
searchResultList: [],
|
||||
//搜索结果
|
||||
selectSearchStockInfo: null,
|
||||
//选中的搜索股票信息
|
||||
topLists: [
|
||||
{
|
||||
title: "超大盘股",
|
||||
@@ -30,10 +41,57 @@ const _sfc_main = {
|
||||
},
|
||||
onLoad(e) {
|
||||
this.currentDate = e.currentDate;
|
||||
this.searchResultTop = this.navH + (20 + 70) / 750 * common_vendor.inject("windowWidth");
|
||||
this.contentTop = this.navH + (20 + 70 + 25) / 750 * common_vendor.inject("windowWidth");
|
||||
this.marketHeatmap();
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 点击搜索
|
||||
*/
|
||||
clickSearch() {
|
||||
if (this.keywords) {
|
||||
this.getSearchStockInfoListData();
|
||||
} else
|
||||
this.selectSearchStockInfo = null;
|
||||
},
|
||||
/**
|
||||
* 点击搜索结果背景
|
||||
*/
|
||||
clickSearchResultBg() {
|
||||
this.searchShow = false;
|
||||
},
|
||||
/**
|
||||
* 点击搜索结果列表项
|
||||
*/
|
||||
clickSearchResultListItem(item) {
|
||||
this.selectSearchStockInfo = item;
|
||||
this.searchShow = false;
|
||||
this.getStockBasicInfoData();
|
||||
},
|
||||
/**
|
||||
* 根据输入内容获取搜索列表项
|
||||
*/
|
||||
getSearchStockInfoListData() {
|
||||
let param = { q: this.keywords, limit: 10 };
|
||||
request_api.searchStockInfo(param).then((res) => {
|
||||
this.searchResultList = res.data;
|
||||
this.searchShow = this.searchResultList.length > 0;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取股票基本信息
|
||||
*/
|
||||
getStockBasicInfoData() {
|
||||
let code = this.stockCode;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pagesStock/stockCenterDetails/stockCenterDetails?code=" + code
|
||||
});
|
||||
},
|
||||
handleTypeClick(index) {
|
||||
this.list2Index = index;
|
||||
this.marketHeatmap();
|
||||
@@ -66,9 +124,11 @@ const _sfc_main = {
|
||||
},
|
||||
marketHeatmap() {
|
||||
let param = {
|
||||
limit: 500,
|
||||
date: this.currentDate
|
||||
limit: 500
|
||||
};
|
||||
if (this.currentDate && this.currentDate !== "undefined" && this.currentDate.trim() !== "") {
|
||||
param.date = this.currentDate;
|
||||
}
|
||||
request_api.marketHeatmap(param).then((res) => {
|
||||
this.allStockData = res.data || [];
|
||||
this.filterStockByMarketCap();
|
||||
@@ -113,18 +173,30 @@ if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
leftText: "详情",
|
||||
hideNavBg: true
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_assets._imports_1,
|
||||
d: common_vendor.o(($event) => _ctx.clickSearch()),
|
||||
e: _ctx.keywords,
|
||||
f: common_vendor.o(($event) => _ctx.keywords = $event.detail.value),
|
||||
g: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
h: common_vendor.f($data.topLists, (item, index, i0) => {
|
||||
d: common_vendor.o([($event) => $data.keywords = $event.detail.value, ($event) => $options.clickSearch()]),
|
||||
e: $data.keywords,
|
||||
f: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
g: $data.searchShow
|
||||
}, $data.searchShow ? {
|
||||
h: common_vendor.f($data.searchResultList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.stock_code),
|
||||
b: common_vendor.t(item.stock_name),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickSearchResultListItem(item), index)
|
||||
};
|
||||
}),
|
||||
i: common_vendor.s("top:" + $data.searchResultTop + "px;"),
|
||||
j: common_vendor.o(($event) => $options.clickSearchResultBg())
|
||||
} : {}, {
|
||||
k: common_vendor.f($data.topLists, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: $data.list2Index == index ? "#BB8520" : "#070707",
|
||||
@@ -135,13 +207,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
g: $data.list2Index == index ? "1rpx solid #F2C369" : "none"
|
||||
};
|
||||
}),
|
||||
i: common_vendor.f(["股票名称", "涨跌幅", "市值", "成交额", "行业"], (item, index, i0) => {
|
||||
l: common_vendor.f(["股票名称", "涨跌幅", "市值", "成交额", "行业"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
}),
|
||||
j: common_vendor.f($data.filteredData, (obj, j, i0) => {
|
||||
m: common_vendor.f($data.filteredData, (obj, j, i0) => {
|
||||
return {
|
||||
a: common_vendor.f($options.getTableItem(obj), (item, index, i1) => {
|
||||
return common_vendor.e({
|
||||
@@ -158,8 +230,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
c: j % 2 == 0 ? "#fff" : "#FAFAFC"
|
||||
};
|
||||
}),
|
||||
k: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
};
|
||||
n: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
|
||||
@@ -1 +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>
|
||||
<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="{{f}}"><image class="icon" src="{{c}}" mode="widthFix"></image><input class="flex1" type="text" placeholder="输入股票代码或名称" placeholder-style="color:#eeeeee" confirm-type="search" bindinput="{{d}}" value="{{e}}"/></view><view wx:if="{{g}}" class="searchResultList fixed" style="{{i}}" bindtap="{{j}}"><view class="list"><view wx:for="{{h}}" wx:for-item="item" wx:key="c" class="item" catchtap="{{item.d}}">{{item.a}} {{item.b}}</view></view></view><scroll-view scroll-y class="stockDetailsC fixed" style="{{n}}"><view><view style="display:grid;grid-template-columns:repeat(3, 1fr);gap:16rpx;margin:0 20rpx"><view wx:for="{{k}}" 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="{{l}}" 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="{{m}}" 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>
|
||||
@@ -34,3 +34,22 @@ page {
|
||||
background-color: white;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.searchResultList {
|
||||
background-color: #00000080;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 0 25rpx;
|
||||
z-index: 20;
|
||||
}
|
||||
.searchResultList .list {
|
||||
background-color: white;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.searchResultList .list .item {
|
||||
padding: 0 42rpx;
|
||||
line-height: 60rpx;
|
||||
font-size: 22rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
@@ -137,12 +137,26 @@ const _sfc_main = {
|
||||
formattedAvg: 0,
|
||||
upCount: 0,
|
||||
downCount: 0,
|
||||
limit_up_ratio: 0
|
||||
limit_up_ratio: 0,
|
||||
searchResultTop: "",
|
||||
//搜索结果
|
||||
contentTop: "",
|
||||
keywords: "",
|
||||
//搜索关键字
|
||||
searchShow: false,
|
||||
//是否展示搜索结果
|
||||
searchResultList: [],
|
||||
//搜索结果
|
||||
selectSearchStockInfo: null,
|
||||
//选中的搜索股票信息
|
||||
isShowTime: false
|
||||
};
|
||||
},
|
||||
onLoad(e) {
|
||||
this.activeIndex = e.index;
|
||||
this.searchResultTop = this.navH + (20 + 70) / 750 * common_vendor.inject("windowWidth");
|
||||
this.contentTop = this.navH + (20 + 70 + 25) / 750 * common_vendor.inject("windowWidth");
|
||||
this.conceptsDailyTop();
|
||||
const now = /* @__PURE__ */ new Date();
|
||||
const year = now.getFullYear();
|
||||
const month = (now.getMonth() + 1).toString().padStart(2, "0");
|
||||
@@ -150,11 +164,76 @@ const _sfc_main = {
|
||||
this.currentDate = `${year}-${month}-${day}`;
|
||||
},
|
||||
onShow() {
|
||||
this.isShowTime = false;
|
||||
this.marketHeatmap();
|
||||
this.marketStatistics();
|
||||
this.marketHotspotListOverview();
|
||||
},
|
||||
methods: {
|
||||
truncateText(text, length) {
|
||||
if (!text)
|
||||
return "";
|
||||
return text.length > length ? text.substring(0, length) + "..." : text;
|
||||
},
|
||||
/**
|
||||
* 点击搜索
|
||||
*/
|
||||
clickSearch() {
|
||||
if (this.keywords) {
|
||||
this.getSearchStockInfoListData();
|
||||
} else
|
||||
this.selectSearchStockInfo = null;
|
||||
},
|
||||
/**
|
||||
* 点击搜索结果背景
|
||||
*/
|
||||
clickSearchResultBg() {
|
||||
this.searchShow = false;
|
||||
},
|
||||
/**
|
||||
* 点击搜索结果列表项
|
||||
*/
|
||||
clickSearchResultListItem(item) {
|
||||
this.selectSearchStockInfo = item;
|
||||
this.searchShow = false;
|
||||
this.getStockBasicInfoData();
|
||||
},
|
||||
/**
|
||||
* 根据输入内容获取搜索列表项
|
||||
*/
|
||||
getSearchStockInfoListData() {
|
||||
let param = { q: this.keywords, limit: 10 };
|
||||
request_api.searchStockInfo(param).then((res) => {
|
||||
this.searchResultList = res.data;
|
||||
this.searchShow = this.searchResultList.length > 0;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取股票基本信息
|
||||
*/
|
||||
getStockBasicInfoData() {
|
||||
let code = this.stockCode;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pagesStock/stockCenterDetails/stockCenterDetails?code=" + code
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取股票当前市场价格信息
|
||||
*/
|
||||
getQuoteDetailsData() {
|
||||
let code = this.stockCode;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
quoteDetailsInfo(code).then((res) => {
|
||||
this.quoteDetailsInfo = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
formatAlpha(value) {
|
||||
if (value === null || value === void 0 || isNaN(Number(value))) {
|
||||
return "0.0";
|
||||
@@ -209,8 +288,10 @@ const _sfc_main = {
|
||||
let param = {
|
||||
limit: 500
|
||||
};
|
||||
if (currentDate && currentDate !== "undefined" && currentDate.trim() !== "") {
|
||||
param.date = currentDate;
|
||||
if (this.isShowTime) {
|
||||
if (currentDate && currentDate !== "undefined" && currentDate.trim() !== "") {
|
||||
param.date = currentDate;
|
||||
}
|
||||
}
|
||||
request_api.marketHeatmap(param).then((res) => {
|
||||
this.topLists[2].value = res.statistics.rising_count + "/" + res.statistics.falling_count;
|
||||
@@ -332,9 +413,15 @@ const _sfc_main = {
|
||||
});
|
||||
},
|
||||
moreAction() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/geGuCenter/detail?currentDate=" + this.currentDate
|
||||
});
|
||||
if (this.isShowTime) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/geGuCenter/detail?currentDate=" + this.currentDate
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/geGuCenter/detail"
|
||||
});
|
||||
}
|
||||
},
|
||||
allAction(index) {
|
||||
if (index == 1) {
|
||||
@@ -354,7 +441,7 @@ const _sfc_main = {
|
||||
},
|
||||
handleDateChange(date) {
|
||||
this.selectedDate = date;
|
||||
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:719", "选中的日期:", date);
|
||||
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:828", "选中的日期:", date);
|
||||
},
|
||||
confirmAction(index) {
|
||||
if (index == 1) {
|
||||
@@ -362,7 +449,7 @@ const _sfc_main = {
|
||||
} else if (index == 2) {
|
||||
if (this.selectedDate) {
|
||||
this.currentDate = this.selectedDate;
|
||||
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:728", "最终确认的日期:", this.currentDate);
|
||||
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:837", "最终确认的日期:", this.currentDate);
|
||||
} else {
|
||||
const now = /* @__PURE__ */ new Date();
|
||||
const year = now.getFullYear();
|
||||
@@ -370,6 +457,7 @@ const _sfc_main = {
|
||||
const day = now.getDate().toString().padStart(2, "0");
|
||||
this.currentDate = `${year}-${month}-${day}`;
|
||||
}
|
||||
this.isShowTime = true;
|
||||
this.marketHeatmap(this.currentDate);
|
||||
this.marketStatistics();
|
||||
this.marketHotspotListOverview();
|
||||
@@ -381,7 +469,7 @@ const _sfc_main = {
|
||||
this.formattedAvg = item.formattedAvg, this.upCount = item.upCount, this.downCount = item.downCount, this.limit_up_ratio = item.limit_up_ratio, this.conceptStocksDetails(item.concept_id);
|
||||
},
|
||||
conceptStocksDetails(concept_id) {
|
||||
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:754", "concept_id", concept_id);
|
||||
common_vendor.index.__f__("log", "at pages/geGuCenter/geGuCenter.vue:864", "concept_id", concept_id);
|
||||
request_api.conceptStocks(concept_id, {}).then((res) => {
|
||||
if (res.data && res.data.stocks) {
|
||||
let rawData = res.data.stocks;
|
||||
@@ -391,7 +479,7 @@ const _sfc_main = {
|
||||
return bValue - aValue;
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.__f__("warn", "at pages/geGuCenter/geGuCenter.vue:773", "接口返回数据格式异常", res);
|
||||
common_vendor.index.__f__("warn", "at pages/geGuCenter/geGuCenter.vue:883", "接口返回数据格式异常", res);
|
||||
}
|
||||
}).catch((error) => {
|
||||
});
|
||||
@@ -428,7 +516,7 @@ if (!Math) {
|
||||
(_easycom_navBar + _easycom_uni_popup + _easycom_LCCalendar2)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
leftText: "个股中心",
|
||||
hideNavBg: true,
|
||||
@@ -436,11 +524,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_assets._imports_1,
|
||||
d: common_vendor.o(($event) => _ctx.clickSearch()),
|
||||
e: _ctx.keywords,
|
||||
f: common_vendor.o(($event) => _ctx.keywords = $event.detail.value),
|
||||
g: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
h: common_vendor.f($data.topLists, (item, index, i0) => {
|
||||
d: common_vendor.o([($event) => $data.keywords = $event.detail.value, ($event) => $options.clickSearch()]),
|
||||
e: $data.keywords,
|
||||
f: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
g: $data.searchShow
|
||||
}, $data.searchShow ? {
|
||||
h: common_vendor.f($data.searchResultList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.stock_code),
|
||||
b: common_vendor.t(item.stock_name),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickSearchResultListItem(item), index)
|
||||
};
|
||||
}),
|
||||
i: common_vendor.s("top:" + $data.searchResultTop + "px;"),
|
||||
j: common_vendor.o(($event) => $options.clickSearchResultBg())
|
||||
} : {}, {
|
||||
k: common_vendor.f($data.topLists, (item, index, i0) => {
|
||||
return {
|
||||
a: item.backIcon,
|
||||
b: common_vendor.t(item.title),
|
||||
@@ -449,7 +549,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
e: index
|
||||
};
|
||||
}),
|
||||
i: common_vendor.f($data.topLists2, (item, index, i0) => {
|
||||
l: common_vendor.f($data.topLists2, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: $data.list2Index == index ? "#BB8520" : "#070707",
|
||||
@@ -461,13 +561,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
h: `1rpx solid ${$data.list2Index == index ? "#F2C369" : "#D2D2D2"}`
|
||||
};
|
||||
}),
|
||||
j: common_vendor.f(["股票名称", "涨跌幅", "市值", "成交额", "行业"], (item, index, i0) => {
|
||||
m: common_vendor.f(["股票名称", "涨跌幅", "市值", "成交额", "行业"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
}),
|
||||
k: common_vendor.f($data.filteredData, (obj, j, i0) => {
|
||||
n: common_vendor.f($data.filteredData, (obj, j, i0) => {
|
||||
return {
|
||||
a: common_vendor.f($options.getTableItem(obj), (item, index, i1) => {
|
||||
return common_vendor.e({
|
||||
@@ -484,20 +584,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
c: j % 2 == 0 ? "#fff" : "#FAFAFC"
|
||||
};
|
||||
}),
|
||||
l: common_assets._imports_1$2,
|
||||
m: common_vendor.o((...args) => $options.moreAction && $options.moreAction(...args)),
|
||||
n: common_assets._imports_3$7,
|
||||
o: common_assets._imports_4$1,
|
||||
p: common_vendor.o(($event) => $options.allAction(1)),
|
||||
q: common_vendor.t($data.currentDate),
|
||||
r: common_assets._imports_4$1,
|
||||
s: common_vendor.o(($event) => $options.allAction(2)),
|
||||
t: common_assets._imports_3$7,
|
||||
v: common_vendor.f($data.marketAlertsList, (item, index, i0) => {
|
||||
o: common_assets._imports_2$3,
|
||||
p: common_vendor.o((...args) => $options.moreAction && $options.moreAction(...args)),
|
||||
q: common_assets._imports_3$7,
|
||||
r: common_vendor.t($data.currentDate),
|
||||
s: common_assets._imports_4$1,
|
||||
t: common_vendor.o(($event) => $options.allAction(2)),
|
||||
v: common_assets._imports_3$7,
|
||||
w: common_vendor.f($data.marketAlertsList, (item, index, i0) => {
|
||||
var _a, _b, _c, _d;
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.time),
|
||||
b: common_vendor.t(item.concept_name),
|
||||
b: common_vendor.t($options.truncateText(item.concept_name, 5)),
|
||||
c: ((_a = $data.alertTypeConfig[item.alert_type]) == null ? void 0 : _a.filter) || "",
|
||||
d: common_vendor.t(((_b = $data.alertTypeConfig[item.alert_type]) == null ? void 0 : _b.text) || "异动"),
|
||||
e: ((_c = $data.alertTypeConfig[item.alert_type]) == null ? void 0 : _c.color) || "#FF7A45",
|
||||
@@ -517,40 +615,40 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
q: common_vendor.o(($event) => $options.bkydAction(item), index)
|
||||
});
|
||||
}),
|
||||
w: common_assets._imports_5$3,
|
||||
x: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
y: common_vendor.o(($event) => $options.closeAction(1)),
|
||||
z: common_vendor.o(($event) => $options.confirmAction(1)),
|
||||
A: common_vendor.f($data.typeList, (item, index, i0) => {
|
||||
x: common_assets._imports_5$3,
|
||||
y: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
z: common_vendor.o(($event) => $options.closeAction(1)),
|
||||
A: common_vendor.o(($event) => $options.confirmAction(1)),
|
||||
B: common_vendor.f($data.typeList, (item, index, i0) => {
|
||||
return {
|
||||
a: item.backIcon,
|
||||
b: common_vendor.t(item.title),
|
||||
c: index
|
||||
};
|
||||
}),
|
||||
B: common_vendor.sr("typePopup", "c7f5c964-1"),
|
||||
C: common_vendor.p({
|
||||
C: common_vendor.sr("typePopup", "c7f5c964-1"),
|
||||
D: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
}),
|
||||
D: common_vendor.o(($event) => $options.closeAction(2)),
|
||||
E: common_vendor.o(($event) => $options.confirmAction(2)),
|
||||
F: common_vendor.o($options.handleDateChange),
|
||||
G: common_vendor.sr("datePopup", "c7f5c964-2"),
|
||||
H: common_vendor.p({
|
||||
E: common_vendor.o(($event) => $options.closeAction(2)),
|
||||
F: common_vendor.o(($event) => $options.confirmAction(2)),
|
||||
G: common_vendor.o($options.handleDateChange),
|
||||
H: common_vendor.sr("datePopup", "c7f5c964-2"),
|
||||
I: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
}),
|
||||
I: common_assets._imports_8,
|
||||
J: common_vendor.o(($event) => $options.closeAction(3)),
|
||||
K: common_vendor.t($data.formattedAvg),
|
||||
L: Number($data.formattedAvg) > 0 ? "#EC3440" : "#01AB5D",
|
||||
M: common_vendor.t($data.upCount),
|
||||
N: $data.upCount > 0 ? "#EC3440" : "#888888",
|
||||
O: common_vendor.t($data.downCount),
|
||||
P: $data.downCount > 0 ? "#01AB5D" : "#888888",
|
||||
Q: common_vendor.t($options.formatLimitUpRatio($data.limit_up_ratio, 0)),
|
||||
R: common_vendor.f($data.conceptStocksList, (item, index, i0) => {
|
||||
J: common_assets._imports_6$1,
|
||||
K: common_vendor.o(($event) => $options.closeAction(3)),
|
||||
L: common_vendor.t($data.formattedAvg),
|
||||
M: Number($data.formattedAvg) > 0 ? "#EC3440" : "#01AB5D",
|
||||
N: common_vendor.t($data.upCount),
|
||||
O: $data.upCount > 0 ? "#EC3440" : "#888888",
|
||||
P: common_vendor.t($data.downCount),
|
||||
Q: $data.downCount > 0 ? "#01AB5D" : "#888888",
|
||||
R: common_vendor.t($options.formatLimitUpRatio($data.limit_up_ratio, 0)),
|
||||
S: common_vendor.f($data.conceptStocksList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.name),
|
||||
b: common_vendor.t(item.code),
|
||||
@@ -560,12 +658,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: index % 2 == 0 ? "#fff" : "#FAFAFC"
|
||||
};
|
||||
}),
|
||||
S: common_vendor.sr("detailPopup", "c7f5c964-4"),
|
||||
T: common_vendor.p({
|
||||
T: common_vendor.sr("detailPopup", "c7f5c964-4"),
|
||||
U: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
})
|
||||
};
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -41,3 +41,22 @@ page {
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
.searchResultList {
|
||||
background-color: #00000080;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 0 25rpx;
|
||||
z-index: 20;
|
||||
}
|
||||
.searchResultList .list {
|
||||
background-color: white;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.searchResultList .list .item {
|
||||
padding: 0 42rpx;
|
||||
line-height: 60rpx;
|
||||
font-size: 22rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
@@ -114,6 +114,9 @@ const _sfc_main = {
|
||||
this.getEventCommentListData();
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
this.getMemberStatusData();
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
* 复制标题
|
||||
@@ -194,6 +197,18 @@ const _sfc_main = {
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击股票名称查看个股详情
|
||||
* @param {Object} code
|
||||
*/
|
||||
clickStockName(code) {
|
||||
if (code.indexOf(".") > -1) {
|
||||
code = code.split(".")[0];
|
||||
}
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pagesStock/stockCenterDetails/stockCenterDetails?code=" + code
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 点击查看股票详情
|
||||
*/
|
||||
@@ -421,6 +436,25 @@ const _sfc_main = {
|
||||
this.commentList = res.data.posts;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取会员状态
|
||||
*/
|
||||
getMemberStatusData() {
|
||||
let token = common_vendor.index.getStorageSync("token");
|
||||
if (!token) {
|
||||
return;
|
||||
}
|
||||
request_api.membershipStatus().then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.memberInfo = res.data;
|
||||
} else
|
||||
common_vendor.index.showToast({
|
||||
title: res.message,
|
||||
icon: "none"
|
||||
});
|
||||
}).catch((error) => {
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -475,18 +509,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.t(item.stock_name),
|
||||
b: common_vendor.t(item.stock_code),
|
||||
c: common_vendor.sr("chartRef" + index, "6e1a61f1-1-" + i0, {
|
||||
c: common_vendor.o(($event) => $options.clickStockName(item.stock_code), index),
|
||||
d: common_vendor.sr("chartRef" + index, "6e1a61f1-1-" + i0, {
|
||||
"f": 1
|
||||
}),
|
||||
d: "chartRef" + index,
|
||||
e: "6e1a61f1-1-" + i0,
|
||||
f: common_vendor.t(item.trade_data ? item.trade_data.open_price : ""),
|
||||
g: common_vendor.t(item.trade_data ? item.trade_data.latest_price : ""),
|
||||
h: common_vendor.t(item.trade_data ? item.trade_data.change_pct : ""),
|
||||
i: common_vendor.n("chg flex1 " + ($data.getRateUpOrDown(item.trade_data ? item.trade_data.change_pct : "") ? "down" : "up")),
|
||||
j: common_vendor.t(item.relation_desc),
|
||||
k: index,
|
||||
l: common_vendor.o(($event) => $options.clickStockItem(item.stock_code), index)
|
||||
e: "chartRef" + index,
|
||||
f: "6e1a61f1-1-" + i0,
|
||||
g: common_vendor.t(item.trade_data ? item.trade_data.open_price : ""),
|
||||
h: common_vendor.t(item.trade_data ? item.trade_data.latest_price : ""),
|
||||
i: common_vendor.t(item.trade_data ? item.trade_data.change_pct : ""),
|
||||
j: common_vendor.n("chg flex1 " + ($data.getRateUpOrDown(item.trade_data ? item.trade_data.change_pct : "") ? "down" : "up")),
|
||||
k: common_vendor.t(item.relation_desc),
|
||||
l: index,
|
||||
m: common_vendor.o(($event) => $options.clickStockItem(item.stock_code), index)
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
@@ -506,7 +541,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
g: common_vendor.n("stockNum " + ($data.getRateUpOrDown(item.price_info.avg_change_pct) ? "down" : "up"))
|
||||
} : {}, {
|
||||
h: common_vendor.t(item.description)
|
||||
}, $data.memberInfo && $data.memberInfo.is_member && $data.memberInfo.subscription_type == "pro" ? {
|
||||
}, $data.memberInfo && $data.memberInfo.is_member && ($data.memberInfo.subscription_type == "pro" || $data.memberInfo.subscription_type == "max") ? {
|
||||
i: common_vendor.f(item.stocks.slice(0, 3), (sitem, sindex, i1) => {
|
||||
return {
|
||||
a: common_vendor.t(sitem.name),
|
||||
@@ -516,7 +551,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
j: common_vendor.t(item.stock_count - 3),
|
||||
k: common_vendor.o(($event) => $options.clickStockMore(item), index)
|
||||
} : {
|
||||
l: common_assets._imports_1$6,
|
||||
l: common_assets._imports_1$3,
|
||||
m: common_vendor.t(item.stock_count),
|
||||
n: common_vendor.o(($event) => $options.clickNotVip(), index)
|
||||
}, {
|
||||
@@ -526,8 +561,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
r: common_vendor.o(($event) => $options.clickConceptItem(item.concept), index)
|
||||
});
|
||||
}),
|
||||
p: $data.memberInfo && $data.memberInfo.is_member && $data.memberInfo.subscription_type == "pro",
|
||||
q: common_assets._imports_1$3
|
||||
p: $data.memberInfo && $data.memberInfo.is_member && ($data.memberInfo.subscription_type == "pro" || $data.memberInfo.subscription_type == "max"),
|
||||
q: common_assets._imports_1$2
|
||||
} : {}, {
|
||||
r: $data.selectCategory == 2
|
||||
}, $data.selectCategory == 2 ? {
|
||||
@@ -569,13 +604,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}) : {}, {
|
||||
C: $data.eventDetails
|
||||
}, $data.eventDetails ? {
|
||||
D: common_assets._imports_8$2,
|
||||
D: common_assets._imports_8$1,
|
||||
E: common_vendor.t($data.eventDetails.view_count),
|
||||
F: common_assets._imports_9$2,
|
||||
G: common_vendor.t($data.eventDetails.follower_count),
|
||||
H: common_vendor.o(($event) => $options.clickFollow())
|
||||
} : {}, {
|
||||
I: common_assets._imports_8,
|
||||
I: common_assets._imports_6$1,
|
||||
J: common_vendor.o(($event) => $options.closeCommentPopup()),
|
||||
K: common_vendor.f($data.commentList, (item, index, i0) => {
|
||||
return {
|
||||
@@ -602,7 +637,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
["mask-background-color"]: "transparent",
|
||||
animation: false
|
||||
}),
|
||||
S: common_assets._imports_8,
|
||||
S: common_assets._imports_6$1,
|
||||
T: common_vendor.o(($event) => $options.closeRelatedStockPopup()),
|
||||
U: common_vendor.f($data.historyEventRelatedStockList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -54,9 +54,7 @@ const _sfc_main = {
|
||||
data: [],
|
||||
boundaryGap: false,
|
||||
axisLine: { onZero: false },
|
||||
splitLine: { show: false },
|
||||
min: "dataMin",
|
||||
max: ""
|
||||
splitLine: { show: false }
|
||||
},
|
||||
yAxis: {
|
||||
scale: true,
|
||||
@@ -64,20 +62,6 @@ const _sfc_main = {
|
||||
show: true
|
||||
}
|
||||
},
|
||||
dataZoom: [
|
||||
{
|
||||
type: "inside",
|
||||
start: 50,
|
||||
end: 100
|
||||
},
|
||||
{
|
||||
show: true,
|
||||
type: "slider",
|
||||
top: "90%",
|
||||
start: 50,
|
||||
end: 100
|
||||
}
|
||||
],
|
||||
series: [
|
||||
{
|
||||
name: "日K",
|
||||
@@ -118,7 +102,8 @@ const _sfc_main = {
|
||||
type: "category",
|
||||
scale: true,
|
||||
axisLabel: {
|
||||
customValues: ["09:30", "10:00", "10:30", "11:00", "11:30", "13:00", "13:30", "14:00", "14:30", "15:00"]
|
||||
customValues: ["09:30", "10:00", "10:30", "11:00", "11:30", "13:00", "13:30", "14:00", "14:30", "15:00"],
|
||||
fontSize: 9
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
@@ -173,7 +158,7 @@ const _sfc_main = {
|
||||
methods: {
|
||||
async init() {
|
||||
const chart = await this.$refs.chartRef.init(echarts);
|
||||
common_vendor.index.__f__("log", "at pages/index/stockDetails/stockDetails.vue:238", chart);
|
||||
common_vendor.index.__f__("log", "at pages/index/stockDetails/stockDetails.vue:223", chart);
|
||||
if (this.selectCategory == 0) {
|
||||
chart.setOption(this.option1);
|
||||
} else
|
||||
|
||||
@@ -193,7 +193,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
n: index
|
||||
});
|
||||
}),
|
||||
o: common_assets._imports_1$3
|
||||
o: common_assets._imports_1$2
|
||||
} : {}, {
|
||||
p: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
}) : {});
|
||||
|
||||
@@ -155,10 +155,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
b: common_vendor.s("margin-top:" + $data.contentTop + "px;"),
|
||||
c: common_assets._imports_0$2,
|
||||
d: common_assets._imports_1$8,
|
||||
d: common_assets._imports_1$7,
|
||||
e: $data.mobile,
|
||||
f: common_vendor.o(($event) => $data.mobile = $event.detail.value),
|
||||
g: common_assets._imports_2$6,
|
||||
g: common_assets._imports_2$7,
|
||||
h: $data.code,
|
||||
i: common_vendor.o(($event) => $data.code = $event.detail.value),
|
||||
j: common_vendor.t($data.getCode ? $data.countdown > 0 ? $data.countdown + "s" : "重新获取验证码" : "获取验证码"),
|
||||
|
||||
@@ -173,7 +173,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
i: common_vendor.t($data.mobile),
|
||||
j: common_vendor.o((...args) => $options.getPhoneNumData && $options.getPhoneNumData(...args)),
|
||||
k: common_vendor.t($data.sex),
|
||||
l: common_assets._imports_2$5,
|
||||
l: common_assets._imports_2$6,
|
||||
m: $data.sexList,
|
||||
n: common_vendor.o((...args) => $options.sexChange && $options.sexChange(...args)),
|
||||
o: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
|
||||
20
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
20
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
@@ -178,12 +178,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
q: common_vendor.t($data.userInfo.statistics.likes_count),
|
||||
r: common_vendor.o(($event) => $options.clickNumItem(2))
|
||||
} : {}, {
|
||||
s: $data.memberInfo && !$data.memberInfo.is_member
|
||||
}, $data.memberInfo && !$data.memberInfo.is_member ? {
|
||||
t: common_assets._imports_2$4,
|
||||
v: common_vendor.o(($event) => $options.clickVip())
|
||||
s: common_assets._imports_2$5,
|
||||
t: $data.memberInfo && $data.memberInfo.is_member
|
||||
}, $data.memberInfo && $data.memberInfo.is_member ? {
|
||||
v: common_vendor.t($data.memberInfo.subscription_type),
|
||||
w: common_vendor.t($data.memberInfo.member_expire_date)
|
||||
} : {}, {
|
||||
w: common_vendor.f($data.menuList, (item, index, i0) => {
|
||||
x: common_vendor.o(($event) => $options.clickVip()),
|
||||
y: common_vendor.f($data.menuList, (item, index, i0) => {
|
||||
return {
|
||||
a: item.icon,
|
||||
b: common_vendor.t(item.title),
|
||||
@@ -191,10 +193,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickMenuItem(item.url, index), index)
|
||||
};
|
||||
}),
|
||||
x: common_assets._imports_3$2,
|
||||
y: common_assets._imports_4$3,
|
||||
z: common_vendor.sr("popup", "dd5840e4-0"),
|
||||
A: common_vendor.p({
|
||||
z: common_assets._imports_3$2,
|
||||
A: common_assets._imports_4$3,
|
||||
B: common_vendor.sr("popup", "dd5840e4-0"),
|
||||
C: common_vendor.p({
|
||||
type: "center"
|
||||
})
|
||||
});
|
||||
|
||||
@@ -1 +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>
|
||||
<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 class="vipC relative" bindtap="{{x}}"><image class="icon" src="{{s}}" mode="widthFix"></image><view wx:if="{{t}}" class="absolute tips">{{v}}会员,有效期至{{w}}</view><view wx:else class="absolute tips">成为会员,可以获取更多价值资讯</view></view><view class="menuList relative"><view class="list"><view wx:for="{{y}}" 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="{{z}}" mode="widthFix"></image></view></view></view><uni-popup wx:if="{{C}}" class="r" u-s="{{['d']}}" u-r="popup" u-i="dd5840e4-0" bind:__l="__l" u-p="{{C}}"><view class="popup"><image class="icon" src="{{A}}" mode="widthFix" show-menu-by-longpress></image><view class="title">企业二维码</view></view></uni-popup></view>
|
||||
@@ -60,6 +60,14 @@ page {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.vipC .tips {
|
||||
top: 0;
|
||||
left: 80rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
line-height: 90rpx;
|
||||
z-index: 2;
|
||||
}
|
||||
.menuList {
|
||||
background-color: white;
|
||||
margin: 0 25rpx;
|
||||
|
||||
@@ -87,7 +87,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: index
|
||||
};
|
||||
}),
|
||||
d: common_assets._imports_1$7,
|
||||
d: common_assets._imports_1$6,
|
||||
e: common_vendor.s("top:" + $data.navH + "px;")
|
||||
};
|
||||
}
|
||||
|
||||
101
unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.js
vendored
101
unpackage/dist/dev/mp-weixin/pages/ztfx/ztfx.js
vendored
@@ -1,7 +1,6 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const request_http = require("../../request/http.js");
|
||||
const request_api = require("../../request/api.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const echarts = require("../../uni_modules/lime-echart/static/echarts.min.js");
|
||||
const WordCloud = () => "../../components/WordCloud/WordCloud2.js";
|
||||
@@ -162,8 +161,12 @@ const _sfc_main = {
|
||||
}
|
||||
// ≤20%
|
||||
],
|
||||
// bkTypes: [
|
||||
// '板块关联图',
|
||||
// '板块分布',
|
||||
// '热门概念词云'
|
||||
// ],
|
||||
bkTypes: [
|
||||
"板块关联图",
|
||||
"板块分布",
|
||||
"热门概念词云"
|
||||
],
|
||||
@@ -240,8 +243,6 @@ const _sfc_main = {
|
||||
this.contentTop = this.navH + 20 / 750 * common_vendor.inject("windowWidth");
|
||||
},
|
||||
onReady() {
|
||||
this.fetchData();
|
||||
this.initGraphChart();
|
||||
},
|
||||
methods: {
|
||||
getHeatColor(value, max) {
|
||||
@@ -256,24 +257,29 @@ const _sfc_main = {
|
||||
this.activeType = index;
|
||||
switch (index) {
|
||||
case 0:
|
||||
this.$refs.graphChartRef && this.initGraphChart();
|
||||
this.$refs.chartRef && this.initPieChart();
|
||||
break;
|
||||
case 1:
|
||||
this.$refs.chartRef && this.initPieChart();
|
||||
this.initWordCloud();
|
||||
break;
|
||||
case 2:
|
||||
this.initWordCloud();
|
||||
break;
|
||||
}
|
||||
},
|
||||
getPreviousDayDate(dateStr) {
|
||||
getPreviousDayDate() {
|
||||
const now = /* @__PURE__ */ new Date();
|
||||
const currentYear = now.getFullYear();
|
||||
const currentMonth = String(now.getMonth() + 1).padStart(2, "0");
|
||||
const currentDay = String(now.getDate()).padStart(2, "0");
|
||||
const dateStr = `${currentYear}-${currentMonth}-${currentDay}`;
|
||||
if (!/^\d{4}-\d{2}-\d{2}$/.test(dateStr)) {
|
||||
common_vendor.index.__f__("error", "at pages/ztfx/ztfx.vue:483", "日期格式错误,请传入 YYYY-MM-DD 格式的日期");
|
||||
common_vendor.index.__f__("error", "at pages/ztfx/ztfx.vue:505", "日期格式错误,请传入 YYYY-MM-DD 格式的日期");
|
||||
return "";
|
||||
}
|
||||
const [year, month, day] = dateStr.split("-").map(Number);
|
||||
const date = new Date(year, month - 1, day);
|
||||
date.setDate(date.getDate() - 2);
|
||||
date.setDate(date.getDate() - 1);
|
||||
const prevYear = date.getFullYear();
|
||||
const prevMonth = String(date.getMonth() + 1).padStart(2, "0");
|
||||
const prevDay = String(date.getDate()).padStart(2, "0");
|
||||
@@ -285,10 +291,10 @@ const _sfc_main = {
|
||||
async fetchData() {
|
||||
try {
|
||||
const timestamp = (/* @__PURE__ */ new Date()).getTime();
|
||||
const formattedDate = this.getPreviousDayDate(this.selectedFullDate);
|
||||
const formattedDate = this.selectedFullDate;
|
||||
const baseURL = request_http.getBaseURL1();
|
||||
const requestUrl = `${baseURL}/data/zt/daily/${formattedDate}.json?t=${timestamp}`;
|
||||
common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:515", "请求URL:", requestUrl);
|
||||
common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:538", "请求URL:", requestUrl);
|
||||
const res = await common_vendor.index.request({
|
||||
url: requestUrl,
|
||||
method: "GET"
|
||||
@@ -326,7 +332,7 @@ const _sfc_main = {
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
common_vendor.index.__f__("error", "at pages/ztfx/ztfx.vue:562", "请求异常:", error);
|
||||
common_vendor.index.__f__("error", "at pages/ztfx/ztfx.vue:585", "请求异常:", error);
|
||||
common_vendor.index.showToast({
|
||||
title: "网络异常",
|
||||
icon: "none"
|
||||
@@ -376,18 +382,18 @@ const _sfc_main = {
|
||||
];
|
||||
if (this.$refs.chartRef) {
|
||||
const Piechart = await this.$refs.chartRef.init(echarts);
|
||||
common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:623", "Piechart实例创建成功", Piechart);
|
||||
common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:646", "Piechart实例创建成功", Piechart);
|
||||
Piechart.setOption(this.pieOption);
|
||||
}
|
||||
} catch (error) {
|
||||
common_vendor.index.__f__("error", "at pages/ztfx/ztfx.vue:627", "饼图初始化失败:", error);
|
||||
common_vendor.index.__f__("error", "at pages/ztfx/ztfx.vue:650", "饼图初始化失败:", error);
|
||||
}
|
||||
},
|
||||
// 初始化词云
|
||||
initWordCloud() {
|
||||
if (this.originData.word_freq_data && Array.isArray(this.originData.word_freq_data)) {
|
||||
this.wordData = this.originData.word_freq_data;
|
||||
common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:636", "词云数据赋值完成", this.wordData);
|
||||
common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:659", "词云数据赋值完成", this.wordData);
|
||||
} else {
|
||||
this.wordData = [{
|
||||
name: "脑机",
|
||||
@@ -400,12 +406,12 @@ const _sfc_main = {
|
||||
},
|
||||
handleDateChange(data) {
|
||||
var _a, _b, _c, _d;
|
||||
common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:654", "从日历组件接收的参数:", {
|
||||
common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:677", "从日历组件接收的参数:", {
|
||||
currentZtCount: (_a = data.item) == null ? void 0 : _a.zt_count,
|
||||
prevZtCount: (_b = data.prevItem) == null ? void 0 : _b.zt_count
|
||||
});
|
||||
this.selectedYearMonth = data.yearMonth;
|
||||
this.selectedFullDate = data.fullDate;
|
||||
this.selectedFullDate = data.fullDate ? data.fullDate.replace(/-/g, "") : "";
|
||||
this.selectedItem = data.item;
|
||||
if (data.fullDate) {
|
||||
const [year, month, day] = data.fullDate.split("-").map(Number);
|
||||
@@ -417,20 +423,35 @@ const _sfc_main = {
|
||||
const prevZtCount = ((_d = data.prevItem) == null ? void 0 : _d.zt_count) ?? 0;
|
||||
const changeValue = ztCount === 0 || prevZtCount === 0 ? 0 : ztCount - prevZtCount;
|
||||
this.tabTypes[1].change = changeValue;
|
||||
if (this.selectedFullDate) {
|
||||
const today = /* @__PURE__ */ new Date();
|
||||
const todayYear = today.getFullYear();
|
||||
const todayMonth = String(today.getMonth() + 1).padStart(2, "0");
|
||||
const todayDay = String(today.getDate()).padStart(2, "0");
|
||||
const todayFormatted = `${todayYear}${todayMonth}${todayDay}`;
|
||||
if (this.selectedFullDate === todayFormatted) {
|
||||
const selectedDate = new Date(
|
||||
parseInt(this.selectedFullDate.substring(0, 4)),
|
||||
// 年
|
||||
parseInt(this.selectedFullDate.substring(4, 6)) - 1,
|
||||
// 月(月份从0开始)
|
||||
parseInt(this.selectedFullDate.substring(6, 8))
|
||||
// 日
|
||||
);
|
||||
selectedDate.setDate(selectedDate.getDate() - 1);
|
||||
const prevYear = selectedDate.getFullYear();
|
||||
const prevMonth = String(selectedDate.getMonth() + 1).padStart(2, "0");
|
||||
const prevDay = String(selectedDate.getDate()).padStart(2, "0");
|
||||
const prevDateFormatted = `${prevYear}${prevMonth}${prevDay}`;
|
||||
this.selectedFullDate = prevDateFormatted;
|
||||
common_vendor.index.__f__("log", "at pages/ztfx/ztfx.vue:735", `选中日期为当天(${todayFormatted}),已自动调整为前一天:`, prevDateFormatted);
|
||||
}
|
||||
}
|
||||
this.fetchData();
|
||||
},
|
||||
analyseHighStocks() {
|
||||
const formatDate = this.getPreviousDayDate(this.selectedFullDate);
|
||||
let param = {
|
||||
date: formatDate
|
||||
};
|
||||
request_api.analyseHighStocks(param).then((res) => {
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
bkydAction(index) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pagesStock/stockCenterDetails/bkydmx?index=${index}`
|
||||
url: `/pagesStock/stockCenterDetails/bkydmx?index=${index}&data=${this.selectedFullDate}`
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -457,8 +478,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
hideBack: true
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_assets._imports_1$10,
|
||||
d: common_assets._imports_2$8,
|
||||
c: common_assets._imports_1$9,
|
||||
d: common_assets._imports_2$9,
|
||||
e: common_vendor.f($data.tabTypes, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.data),
|
||||
@@ -492,8 +513,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.t(item.count),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.bkydAction(index), index),
|
||||
e: item.bgColor
|
||||
d: item.bgColor
|
||||
};
|
||||
}),
|
||||
k: common_vendor.f($data.bkTypes, (item, index, i0) => {
|
||||
@@ -505,26 +525,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
e: $data.activeType == index ? "#FFFAF1" : "#FFF"
|
||||
};
|
||||
}),
|
||||
l: common_vendor.sr("graphChartRef", "06b829a4-2"),
|
||||
l: common_vendor.sr("chartRef", "06b829a4-2"),
|
||||
m: $data.activeType === 0,
|
||||
n: common_vendor.sr("chartRef", "06b829a4-3"),
|
||||
o: $data.activeType === 1,
|
||||
p: $data.activeType === 2,
|
||||
q: common_vendor.p({
|
||||
n: $data.activeType === 1,
|
||||
o: common_vendor.p({
|
||||
wordData: $data.wordData,
|
||||
width: 330,
|
||||
height: 330
|
||||
}),
|
||||
r: common_assets._imports_3$8,
|
||||
s: common_vendor.f(10, (item, index, i0) => {
|
||||
return {
|
||||
a: index
|
||||
};
|
||||
}),
|
||||
t: common_assets._imports_1$11,
|
||||
v: common_assets._imports_5$4,
|
||||
w: common_assets._imports_5$4,
|
||||
x: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
p: common_vendor.s("top:" + $data.contentTop + "px;")
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -69,17 +69,8 @@ const _sfc_main = {
|
||||
},
|
||||
onLoad() {
|
||||
this.getMemberStatus();
|
||||
this.init();
|
||||
},
|
||||
onReady() {
|
||||
this.init();
|
||||
},
|
||||
methods: {
|
||||
async init() {
|
||||
const chart = await this.$refs.chartRef.init(echarts);
|
||||
common_vendor.index.__f__("log", "at pagesMine/vip/vip.vue:195", chart);
|
||||
chart.setOption(this.option1);
|
||||
},
|
||||
/**
|
||||
* 点击查看vip套餐
|
||||
*/
|
||||
@@ -123,9 +114,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.memberInfo ? common_vendor.e({
|
||||
d: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
e: common_assets._imports_1$12
|
||||
e: common_assets._imports_1$10
|
||||
} : {
|
||||
f: common_assets._imports_2$9
|
||||
f: common_assets._imports_2$10
|
||||
}, {
|
||||
g: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
@@ -140,16 +131,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, {
|
||||
m: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
n: common_assets._imports_5$5
|
||||
n: common_assets._imports_5$4
|
||||
} : {
|
||||
o: common_assets._imports_6$1
|
||||
o: common_assets._imports_6$2
|
||||
}, {
|
||||
p: common_vendor.n("impormant " + ($data.memberInfo.is_member ? "vip" : "")),
|
||||
q: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
r: common_assets._imports_7$2
|
||||
r: common_assets._imports_7$1
|
||||
} : {
|
||||
s: common_assets._imports_8$3
|
||||
s: common_assets._imports_8$2
|
||||
}, {
|
||||
t: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
@@ -169,7 +160,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.memberInfo.is_member ? {
|
||||
D: common_assets._imports_13$2
|
||||
} : {
|
||||
E: common_assets._imports_14$1
|
||||
E: common_assets._imports_14$2
|
||||
}, {
|
||||
F: common_assets._imports_15$1,
|
||||
G: common_vendor.f($data.questionList, (item, index, i0) => {
|
||||
@@ -187,9 +178,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, {
|
||||
L: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
M: common_assets._imports_5$5
|
||||
M: common_assets._imports_5$4
|
||||
} : {
|
||||
N: common_assets._imports_6$1
|
||||
N: common_assets._imports_6$2
|
||||
}, {
|
||||
O: common_assets._imports_16$1,
|
||||
P: $data.memberInfo.is_member
|
||||
@@ -200,9 +191,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, {
|
||||
S: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
T: common_assets._imports_5$5
|
||||
T: common_assets._imports_5$4
|
||||
} : {}, {
|
||||
U: common_assets._imports_6$1,
|
||||
U: common_assets._imports_6$2,
|
||||
V: common_assets._imports_17,
|
||||
W: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
@@ -212,9 +203,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, {
|
||||
Z: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
aa: common_assets._imports_5$5
|
||||
aa: common_assets._imports_5$4
|
||||
} : {
|
||||
ab: common_assets._imports_6$1
|
||||
ab: common_assets._imports_6$2
|
||||
}, {
|
||||
ac: common_vendor.f($data.privilegeList, (item, index, i0) => {
|
||||
return {
|
||||
|
||||
@@ -82,9 +82,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.memberInfo ? common_vendor.e({
|
||||
d: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
e: common_assets._imports_1$12
|
||||
e: common_assets._imports_1$10
|
||||
} : {
|
||||
f: common_assets._imports_2$9
|
||||
f: common_assets._imports_2$10
|
||||
}, {
|
||||
g: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
@@ -99,23 +99,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, {
|
||||
m: $data.memberInfo.is_member
|
||||
}, $data.memberInfo.is_member ? {
|
||||
n: common_assets._imports_5$5
|
||||
n: common_assets._imports_5$4
|
||||
} : {
|
||||
o: common_assets._imports_6$1
|
||||
o: common_assets._imports_6$2
|
||||
}, {
|
||||
p: common_vendor.f($data.privilegeList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item),
|
||||
b: index > 5
|
||||
}, index > 5 ? {
|
||||
c: common_assets._imports_7$3
|
||||
c: common_assets._imports_7$2
|
||||
} : {
|
||||
d: common_assets._imports_8$4
|
||||
d: common_assets._imports_8$3
|
||||
}, {
|
||||
e: index
|
||||
});
|
||||
}),
|
||||
q: common_assets._imports_8$4,
|
||||
q: common_assets._imports_8$3,
|
||||
r: common_vendor.n("privilegeList " + ($data.memberInfo.is_member ? "vip" : "")),
|
||||
s: common_vendor.s("margin-top:" + $data.navH + "px;")
|
||||
}) : {}, {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const echarts = require("../../uni_modules/lime-echart/static/echarts.min.js");
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const echarts = require("../../../uni_modules/lime-echart/static/echarts.min.js");
|
||||
const _sfc_main = {
|
||||
name: "cwfx-view",
|
||||
data() {
|
||||
@@ -361,14 +361,14 @@ if (!Array) {
|
||||
const _easycom_l_echart2 = common_vendor.resolveComponent("l-echart");
|
||||
_easycom_l_echart2();
|
||||
}
|
||||
const _easycom_l_echart = () => "../../uni_modules/lime-echart/components/l-echart/l-echart.js";
|
||||
const _easycom_l_echart = () => "../../../uni_modules/lime-echart/components/l-echart/l-echart.js";
|
||||
if (!Math) {
|
||||
_easycom_l_echart();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_assets._imports_0$8,
|
||||
b: common_assets._imports_1$2,
|
||||
a: common_assets._imports_0$3,
|
||||
b: common_assets._imports_2$3,
|
||||
c: common_vendor.f($data.profitabilityIndicatorList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
@@ -377,11 +377,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickProfitabilityIndicatorItem(index), index)
|
||||
};
|
||||
}),
|
||||
d: common_assets._imports_2$14,
|
||||
e: common_assets._imports_3$13,
|
||||
f: common_vendor.sr("chartRef1", "3746da36-0"),
|
||||
d: common_assets._imports_3$12,
|
||||
e: common_assets._imports_5$7,
|
||||
f: common_vendor.sr("chartRef1", "351c0d57-0"),
|
||||
g: common_assets._imports_4$12,
|
||||
h: common_assets._imports_1$2,
|
||||
h: common_assets._imports_2$3,
|
||||
i: common_vendor.f($data.perShareIndicatorList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
@@ -390,11 +390,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickPerShareIndicatorItem(index), index)
|
||||
};
|
||||
}),
|
||||
j: common_assets._imports_2$14,
|
||||
k: common_assets._imports_3$13,
|
||||
l: common_vendor.sr("chartRef2", "3746da36-1")
|
||||
j: common_assets._imports_3$12,
|
||||
k: common_assets._imports_5$7,
|
||||
l: common_vendor.sr("chartRef2", "351c0d57-1")
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/cwfx-view/cwfx-view.js.map
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pagesStock/components/cwfx-view/cwfx-view.js.map
|
||||
5
unpackage/dist/dev/mp-weixin/pagesStock/components/cwfx-view/cwfx-view.json
vendored
Normal file
5
unpackage/dist/dev/mp-weixin/pagesStock/components/cwfx-view/cwfx-view.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"l-echart": "../../../uni_modules/lime-echart/components/l-echart/l-echart"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view><view style="color:#2B2B2B;font-weight:500;font-size:24rpx"><view class="flex" style="padding:20rpx"><image src="{{a}}" mode="widthFix" style="width:40rpx;height:40rpx"></image><view class="flex1" style="margin:0 10rpx;font-size:28rpx">盈利能力</view><image src="{{b}}" mode="widthFix" style="width:13rpx;height:22rpx"></image></view><view class="indicatorC" style="display:grid;gap:20rpx;grid-template-columns:repeat(4, 1fr);margin:0 20rpx"><view wx:for="{{c}}" wx:for-item="item" wx:key="c" class="{{item.b}}" style="justify-content:center;text-align:center;padding:3rpx 5rpx" bindtap="{{item.d}}">{{item.a}}</view></view><view class="flex" style="padding:20rpx"><view class="flex1" style="font-size:28rpx">查看详细数据</view><view style="color:#F2C369;font-size:22rpx;padding:2rpx 10rpx;border-radius:5rpx;border:1rpx solid #F2C369;text-align:center;margin:0 10rpx"> 单季度</view><view class="flex" style="padding:3rpx 10rpx;border:1rpx solid #D2D2D2"><image style="width:23rpx;height:23rpx" src="{{d}}" mode="widthFix"></image><view style="margin:0 10rpx;color:#999999;font-size:22rpx">全部</view><image style="width:11rpx;height:6rpx" src="{{e}}" mode="widthFix"></image></view></view><view style="height:500rpx"><l-echart class="r" u-r="chartRef1" u-i="3746da36-0" bind:__l="__l"></l-echart></view></view><view style="color:#2B2B2B;font-weight:500;font-size:24rpx"><view style="display:flex;align-items:center;padding:20rpx;box-sizing:border-box"><image src="{{g}}" mode="widthFix" style="width:40rpx;height:40rpx"></image><view class="flex1" style="margin:0 10rpx;font-size:28rpx">每股指标</view><image src="{{h}}" mode="widthFix" style="width:13rpx;height:22rpx"></image></view><view class="indicatorC" style="display:grid;gap:20rpx;grid-template-columns:repeat(4, 1fr);margin:0 20rpx"><view wx:for="{{i}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view style="display:flex;align-items:center;padding:20rpx;box-sizing:border-box"><view class="flex1" style="font-size:28rpx">查看详细数据</view><view style="color:#F2C369;font-size:22rpx;padding:2rpx 10rpx;border-radius:5rpx;border:1rpx solid #F2C369;text-align:center;margin:0 10rpx"> 单季度</view><view style="display:flex;align-items:center;padding:3rpx 10rpx;box-sizing:border-box;border:1rpx solid #D2D2D2"><image style="width:23rpx;height:23rpx" src="{{j}}" mode="widthFix"></image><view style="margin:0 10rpx;color:#999999;font-size:22rpx">全部</view><image style="width:11rpx;height:6rpx" src="{{k}}" mode="widthFix"></image></view></view><view style="height:500rpx"><l-echart class="r" u-r="chartRef2" u-i="3746da36-1" bind:__l="__l"></l-echart></view></view></view>
|
||||
<view><view style="color:#2B2B2B;font-weight:500;font-size:24rpx"><view class="flex" style="padding:20rpx"><image src="{{a}}" mode="widthFix" style="width:40rpx;height:40rpx"></image><view class="flex1" style="margin:0 10rpx;font-size:28rpx">盈利能力</view><image src="{{b}}" mode="widthFix" style="width:13rpx;height:22rpx"></image></view><view class="indicatorC" style="display:grid;gap:20rpx;grid-template-columns:repeat(4, 1fr);margin:0 20rpx"><view wx:for="{{c}}" wx:for-item="item" wx:key="c" class="{{item.b}}" style="justify-content:center;text-align:center;padding:3rpx 5rpx" bindtap="{{item.d}}">{{item.a}}</view></view><view class="flex" style="padding:20rpx"><view class="flex1" style="font-size:28rpx">查看详细数据</view><view style="color:#F2C369;font-size:22rpx;padding:2rpx 10rpx;border-radius:5rpx;border:1rpx solid #F2C369;text-align:center;margin:0 10rpx"> 单季度</view><view class="flex" style="padding:3rpx 10rpx;border:1rpx solid #D2D2D2"><image style="width:23rpx;height:23rpx" src="{{d}}" mode="widthFix"></image><view style="margin:0 10rpx;color:#999999;font-size:22rpx">全部</view><image style="width:11rpx;height:6rpx" src="{{e}}" mode="widthFix"></image></view></view><view style="height:500rpx"><l-echart class="r" u-r="chartRef1" u-i="351c0d57-0" bind:__l="__l"></l-echart></view></view><view style="color:#2B2B2B;font-weight:500;font-size:24rpx"><view style="display:flex;align-items:center;padding:20rpx;box-sizing:border-box"><image src="{{g}}" mode="widthFix" style="width:40rpx;height:40rpx"></image><view class="flex1" style="margin:0 10rpx;font-size:28rpx">每股指标</view><image src="{{h}}" mode="widthFix" style="width:13rpx;height:22rpx"></image></view><view class="indicatorC" style="display:grid;gap:20rpx;grid-template-columns:repeat(4, 1fr);margin:0 20rpx"><view wx:for="{{i}}" wx:for-item="item" wx:key="c" class="{{item.b}}" bindtap="{{item.d}}">{{item.a}}</view></view><view style="display:flex;align-items:center;padding:20rpx;box-sizing:border-box"><view class="flex1" style="font-size:28rpx">查看详细数据</view><view style="color:#F2C369;font-size:22rpx;padding:2rpx 10rpx;border-radius:5rpx;border:1rpx solid #F2C369;text-align:center;margin:0 10rpx"> 单季度</view><view style="display:flex;align-items:center;padding:3rpx 10rpx;box-sizing:border-box;border:1rpx solid #D2D2D2"><image style="width:23rpx;height:23rpx" src="{{j}}" mode="widthFix"></image><view style="margin:0 10rpx;color:#999999;font-size:22rpx">全部</view><image style="width:11rpx;height:6rpx" src="{{k}}" mode="widthFix"></image></view></view><view style="height:500rpx"><l-echart class="r" u-r="chartRef2" u-i="351c0d57-1" bind:__l="__l"></l-echart></view></view></view>
|
||||
2471
unpackage/dist/dev/mp-weixin/pagesStock/components/cwsj-view/cwsj-view.js
vendored
Normal file
2471
unpackage/dist/dev/mp-weixin/pagesStock/components/cwsj-view/cwsj-view.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
5
unpackage/dist/dev/mp-weixin/pagesStock/components/cwsj-view/cwsj-view.json
vendored
Normal file
5
unpackage/dist/dev/mp-weixin/pagesStock/components/cwsj-view/cwsj-view.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"l-echart": "../../../uni_modules/lime-echart/components/l-echart/l-echart"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pagesStock/components/cwsj-view/cwsj-view.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pagesStock/components/cwsj-view/cwsj-view.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
26
unpackage/dist/dev/mp-weixin/pagesStock/components/cwsj-view/cwsj-view.wxss
vendored
Normal file
26
unpackage/dist/dev/mp-weixin/pagesStock/components/cwsj-view/cwsj-view.wxss
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
.indicatorC .item {
|
||||
padding: 10rpx;
|
||||
border: 1rpx solid #D2D2D2;
|
||||
font-size: 20rpx;
|
||||
color: #999999;
|
||||
text-align: center;
|
||||
}
|
||||
.indicatorC .item.select {
|
||||
background-color: #FFFAF1;
|
||||
color: #BB8520;
|
||||
border: 1rpx solid #F2C369;
|
||||
}
|
||||
.detailOptionC .option {
|
||||
margin: 0 10rpx;
|
||||
line-height: 36rpx;
|
||||
padding: 0 10rpx;
|
||||
border-radius: 5rpx;
|
||||
border: 1rpx solid #D2D2D2;
|
||||
font-size: 22rpx;
|
||||
color: #999999;
|
||||
text-align: center;
|
||||
}
|
||||
.detailOptionC .option.select {
|
||||
border: solid 1rpx #F2C369;
|
||||
color: #F2C369;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const echarts = require("../../uni_modules/lime-echart/static/echarts.min.js");
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const echarts = require("../../../uni_modules/lime-echart/static/echarts.min.js");
|
||||
const _sfc_main = {
|
||||
name: "cyl-view",
|
||||
data() {
|
||||
@@ -87,8 +87,8 @@ const _sfc_main = {
|
||||
methods: {
|
||||
async init() {
|
||||
const chart = await this.$refs.chartRef.init(echarts);
|
||||
common_vendor.index.__f__("log", "at components/cyl-view/cyl-view.vue:183", chart);
|
||||
common_vendor.index.__f__("log", "at components/cyl-view/cyl-view.vue:184", this.option);
|
||||
common_vendor.index.__f__("log", "at pagesStock/components/cyl-view/cyl-view.vue:183", chart);
|
||||
common_vendor.index.__f__("log", "at pagesStock/components/cyl-view/cyl-view.vue:184", this.option);
|
||||
chart.setOption(this.option);
|
||||
},
|
||||
changeCenterIndex(index) {
|
||||
@@ -111,7 +111,7 @@ if (!Array) {
|
||||
const _easycom_l_echart2 = common_vendor.resolveComponent("l-echart");
|
||||
_easycom_l_echart2();
|
||||
}
|
||||
const _easycom_l_echart = () => "../../uni_modules/lime-echart/components/l-echart/l-echart.js";
|
||||
const _easycom_l_echart = () => "../../../uni_modules/lime-echart/components/l-echart/l-echart.js";
|
||||
if (!Math) {
|
||||
_easycom_l_echart();
|
||||
}
|
||||
@@ -134,7 +134,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
f: common_vendor.o(($event) => $data.typeIndex = index, index),
|
||||
g: index != $data.types.length - 1
|
||||
}, index != $data.types.length - 1 ? {
|
||||
h: common_assets._imports_0$6
|
||||
h: common_assets._imports_0$4
|
||||
} : {}, {
|
||||
i: index
|
||||
});
|
||||
@@ -186,9 +186,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
} : {}) : {}, {
|
||||
n: $data.center_index == 1
|
||||
}, $data.center_index == 1 ? {
|
||||
o: common_vendor.sr("chartRef", "2cc4c3dc-0")
|
||||
o: common_vendor.sr("chartRef", "4ade4b3d-0")
|
||||
} : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/cyl-view/cyl-view.js.map
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pagesStock/components/cyl-view/cyl-view.js.map
|
||||
5
unpackage/dist/dev/mp-weixin/pagesStock/components/cyl-view/cyl-view.json
vendored
Normal file
5
unpackage/dist/dev/mp-weixin/pagesStock/components/cyl-view/cyl-view.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"l-echart": "../../../uni_modules/lime-echart/components/l-echart/l-echart"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view class="cyl_view"><view class="top flex"><view class="child_1">产业链分析</view><view class="child_2">目标公司供应链图谱</view><view class="child_3">节点 {{a}}</view></view><view class="center"><view class="{{['child', b && 'action']}}" bindtap="{{c}}"> 层级视图 </view><view class="{{['child', d && 'action']}}" bindtap="{{e}}"> 流向关系 </view></view><view wx:if="{{f}}" class="bottom"><view class="type flex"><view wx:for="{{g}}" wx:for-item="item" wx:key="i" class="item flex flex1"><view class="{{item.e}}" bindtap="{{item.f}}"><view class="titleNumC">{{item.a}} <text class="{{item.c}}">{{item.b}}</text></view><view class="des">{{item.d}}</view></view><image wx:if="{{item.g}}" class="arrow" src="{{item.h}}" mode="widthFix"></image></view></view><view class="list"><block wx:if="{{h}}"><view wx:for="{{i}}" wx:for-item="item" wx:key="g" class="item" bindtap="{{item.h}}"><view class="title">{{item.a}}</view><view class="des">{{item.b}}</view><view class="labelC flex"><view class="label upstream type">{{item.c}}</view><view class="label upstream market">份额:{{item.d}}%</view></view><view class="importanceC flex"><view class="title">影响度</view><view class="progressBgC flex1"><view class="progress upstream" style="{{'width:' + item.e}}"></view></view><view class="value">{{item.f}}</view></view></view></block><block wx:if="{{j}}"><view wx:for="{{k}}" wx:for-item="item" wx:key="g" class="item" bindtap="{{item.h}}"><view class="title">{{item.a}}</view><view class="des">{{item.b}}</view><view class="labelC flex"><view class="label core type">{{item.c}}</view><view class="label core market">份额:{{item.d}}%</view></view><view class="importanceC flex"><view class="title">影响度</view><view class="progressBgC flex1"><view class="progress core" style="{{'width:' + item.e}}"></view></view><view class="value">{{item.f}}</view></view></view></block><block wx:if="{{l}}"><view wx:for="{{m}}" wx:for-item="item" wx:key="g" class="item" bindtap="{{item.h}}"><view class="title">{{item.a}}</view><view class="des">{{item.b}}</view><view class="labelC flex"><view class="label downstream type">{{item.c}}</view><view class="label downstream market">份额:{{item.d}}%</view></view><view class="importanceC flex"><view class="title">影响度</view><view class="progressBgC flex1"><view class="progress downstream" style="{{'width:' + item.e}}"></view></view><view class="value">{{item.f}}</view></view></view></block></view></view><view wx:if="{{n}}" style="height:500rpx"><l-echart class="r" u-r="chartRef" u-i="2cc4c3dc-0" bind:__l="__l"></l-echart></view></view>
|
||||
<view class="cyl_view"><view class="top flex"><view class="child_1">产业链分析</view><view class="child_2">目标公司供应链图谱</view><view class="child_3">节点 {{a}}</view></view><view class="center"><view class="{{['child', b && 'action']}}" bindtap="{{c}}"> 层级视图 </view><view class="{{['child', d && 'action']}}" bindtap="{{e}}"> 流向关系 </view></view><view wx:if="{{f}}" class="bottom"><view class="type flex"><view wx:for="{{g}}" wx:for-item="item" wx:key="i" class="item flex flex1"><view class="{{item.e}}" bindtap="{{item.f}}"><view class="titleNumC">{{item.a}} <text class="{{item.c}}">{{item.b}}</text></view><view class="des">{{item.d}}</view></view><image wx:if="{{item.g}}" class="arrow" src="{{item.h}}" mode="widthFix"></image></view></view><view class="list"><block wx:if="{{h}}"><view wx:for="{{i}}" wx:for-item="item" wx:key="g" class="item" bindtap="{{item.h}}"><view class="title">{{item.a}}</view><view class="des">{{item.b}}</view><view class="labelC flex"><view class="label upstream type">{{item.c}}</view><view class="label upstream market">份额:{{item.d}}%</view></view><view class="importanceC flex"><view class="title">影响度</view><view class="progressBgC flex1"><view class="progress upstream" style="{{'width:' + item.e}}"></view></view><view class="value">{{item.f}}</view></view></view></block><block wx:if="{{j}}"><view wx:for="{{k}}" wx:for-item="item" wx:key="g" class="item" bindtap="{{item.h}}"><view class="title">{{item.a}}</view><view class="des">{{item.b}}</view><view class="labelC flex"><view class="label core type">{{item.c}}</view><view class="label core market">份额:{{item.d}}%</view></view><view class="importanceC flex"><view class="title">影响度</view><view class="progressBgC flex1"><view class="progress core" style="{{'width:' + item.e}}"></view></view><view class="value">{{item.f}}</view></view></view></block><block wx:if="{{l}}"><view wx:for="{{m}}" wx:for-item="item" wx:key="g" class="item" bindtap="{{item.h}}"><view class="title">{{item.a}}</view><view class="des">{{item.b}}</view><view class="labelC flex"><view class="label downstream type">{{item.c}}</view><view class="label downstream market">份额:{{item.d}}%</view></view><view class="importanceC flex"><view class="title">影响度</view><view class="progressBgC flex1"><view class="progress downstream" style="{{'width:' + item.e}}"></view></view><view class="value">{{item.f}}</view></view></view></block></view></view><view wx:if="{{n}}" style="height:500rpx"><l-echart class="r" u-r="chartRef" u-i="4ade4b3d-0" bind:__l="__l"></l-echart></view></view>
|
||||
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
name: "fzjg-view",
|
||||
data() {
|
||||
@@ -17,9 +17,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
a: common_vendor.t(item.branch_name),
|
||||
b: item.business_status == "注销"
|
||||
}, item.business_status == "注销" ? {
|
||||
c: common_assets._imports_0$4
|
||||
c: common_assets._imports_0$5
|
||||
} : {
|
||||
d: common_assets._imports_1$13
|
||||
d: common_assets._imports_1$11
|
||||
}, {
|
||||
e: common_vendor.t(item.business_status),
|
||||
f: common_vendor.n("statusC flex " + (item.business_status == "注销" ? "logOff" : "exist")),
|
||||
@@ -32,6 +32,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
})
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/fzjg-view/fzjg-view.js.map
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pagesStock/components/fzjg-view/fzjg-view.js.map
|
||||
@@ -1,4 +1,3 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const utils_util = require("../../utils/util.js");
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const utils_util = require("../../../utils/util.js");
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
name: "fzlc-view",
|
||||
data() {
|
||||
@@ -35,9 +35,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
b: common_vendor.t(item.factors.length),
|
||||
c: item.show
|
||||
}, item.show ? {
|
||||
d: common_assets._imports_0$7
|
||||
d: common_assets._imports_0$6
|
||||
} : {
|
||||
e: common_assets._imports_1$18
|
||||
e: common_assets._imports_1$13
|
||||
}, {
|
||||
f: item.show
|
||||
}, item.show ? {
|
||||
@@ -55,9 +55,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
g: common_vendor.n("value " + fitem.impact_direction),
|
||||
h: $data.getRateUpOrDown(fitem.year_on_year)
|
||||
}, $data.getRateUpOrDown(fitem.year_on_year) ? {
|
||||
i: common_assets._imports_2$12
|
||||
i: common_assets._imports_0$7
|
||||
} : {
|
||||
j: common_assets._imports_3$12
|
||||
j: common_assets._imports_1$14
|
||||
}, {
|
||||
k: common_vendor.t(fitem.year_on_year ? fitem.year_on_year : 0),
|
||||
l: common_vendor.n("chgC flex " + ($data.getRateUpOrDown(fitem.year_on_year) ? "down" : "up")),
|
||||
@@ -80,9 +80,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: item.impact_metrics.is_positive == 1
|
||||
}, item.impact_metrics.is_positive == 1 ? {
|
||||
b: common_assets._imports_4$11
|
||||
b: common_assets._imports_4$13
|
||||
} : {
|
||||
c: common_assets._imports_5$6
|
||||
c: common_assets._imports_5$8
|
||||
}, {
|
||||
d: common_vendor.n("line flex1 " + (item.impact_metrics.is_positive == 1 ? "up" : "down")),
|
||||
e: common_vendor.t(item.event_title),
|
||||
@@ -99,6 +99,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
})
|
||||
});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/fzlc-view/fzlc-view.js.map
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pagesStock/components/fzlc-view/fzlc-view.js.map
|
||||
@@ -1,4 +1,3 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const utils_util = require("../../utils/util.js");
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const utils_util = require("../../../utils/util.js");
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
name: "gltd-view",
|
||||
data() {
|
||||
@@ -40,9 +40,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
a: common_vendor.t($data.getLastNameStr(pitem.name)),
|
||||
b: pitem.gender == "女"
|
||||
}, pitem.gender == "女" ? {
|
||||
c: common_assets._imports_0$3
|
||||
c: common_assets._imports_0$8
|
||||
} : {
|
||||
d: common_assets._imports_1$17
|
||||
d: common_assets._imports_1$15
|
||||
}, {
|
||||
e: common_vendor.n("sexC flexCenter absolute " + (pitem.gender == "女" ? "female" : "male")),
|
||||
f: common_vendor.t(pitem.name),
|
||||
@@ -59,9 +59,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
a: common_vendor.t($data.getLastNameStr(pitem.name)),
|
||||
b: pitem.gender == "女"
|
||||
}, pitem.gender == "女" ? {
|
||||
c: common_assets._imports_0$3
|
||||
c: common_assets._imports_0$8
|
||||
} : {
|
||||
d: common_assets._imports_1$17
|
||||
d: common_assets._imports_1$15
|
||||
}, {
|
||||
e: common_vendor.n("sexC flexCenter absolute " + (pitem.gender == "女" ? "female" : "male")),
|
||||
f: common_vendor.t(pitem.name),
|
||||
@@ -76,7 +76,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
i: item.list.length > 4
|
||||
}, item.list.length > 4 ? {
|
||||
j: common_vendor.t(item.isExpand ? "收起" : "展开查看"),
|
||||
k: common_assets._imports_2$13,
|
||||
k: common_assets._imports_2$14,
|
||||
l: common_vendor.o(($event) => $options.clickExpandOrRetractManagement(index), index)
|
||||
} : {}, {
|
||||
m: index
|
||||
@@ -84,6 +84,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
})
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/gltd-view/gltd-view.js.map
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pagesStock/components/gltd-view/gltd-view.js.map
|
||||
@@ -1,4 +1,3 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
const utils_util = require("../../utils/util.js");
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const utils_util = require("../../../utils/util.js");
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
name: "gqjg-view",
|
||||
data() {
|
||||
@@ -49,9 +49,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, item.ratio_change != 0 ? common_vendor.e({
|
||||
d: $data.getRateUpOrDown(item.ratio_change)
|
||||
}, $data.getRateUpOrDown(item.ratio_change) ? {
|
||||
e: common_assets._imports_2$12
|
||||
e: common_assets._imports_0$7
|
||||
} : {
|
||||
f: common_assets._imports_3$12
|
||||
f: common_assets._imports_1$14
|
||||
}, {
|
||||
g: common_vendor.t($data.getRateStr(item.ratio_change)),
|
||||
h: common_vendor.n("shengjiang flex " + ($data.getRateUpOrDown(item.ratio_change) ? "down" : "up"))
|
||||
@@ -83,6 +83,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
})
|
||||
});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/gqjg-view/gqjg-view.js.map
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pagesStock/components/gqjg-view/gqjg-view.js.map
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user