1.28 更换echarts文件

This commit is contained in:
尚政杰
2026-01-28 14:43:26 +08:00
parent 3c6e5392cc
commit da90511b86
421 changed files with 45838 additions and 570 deletions

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"fzjg-view.js","sources":["components/fzjg-view/fzjg-view.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/fzjg-view/fzjg-view.vue?type=component"],"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 Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/fzjg-view/fzjg-view.vue'\nwx.createComponent(Component)"],"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,gBAAgB,SAAS;"}

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"gsxx-view.js","sources":["components/gsxx-view/gsxx-view.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/gsxx-view/gsxx-view.vue?type=component"],"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 Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/gsxx-view/gsxx-view.vue'\nwx.createComponent(Component)"],"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,gBAAgB,SAAS;"}

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"ywjg-view.js","sources":["components/ywjg-view/ywjg-view.vue","/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/ywjg-view/ywjg-view.vue?type=component"],"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 Component from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/components/ywjg-view/ywjg-view.vue'\nwx.createComponent(Component)"],"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,gBAAgB,SAAS;"}

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"newsDetails.js","sources":["pages/concept/newsDetails/newsDetails.vue","pages/concept/newsDetails/newsDetails.vue?type=page"],"sourcesContent":["<template>\n\t<view>\n\t\t<navBar leftText=\"历史时间轴\" :hideNavBg=\"true\"></navBar>\n\t\t<image class=\"topBg absolute\" src=\"/static/image/index/conceptTopBg.png\" mode=\"widthFix\"></image>\n\t\t<view v-if=\"newsInfo\" class=\"contentC fixed\" :style=\"'top: '+navH+'px;'\">\n\t\t\t<view class=\"title\">{{newsInfo.title}}</view>\n\t\t\t<view class=\"labelTimeC \">\n\t\t\t\t<text class=\"time\">{{getLocalTime(newsInfo.published_time)}}</text>\n\t\t\t</view>\n\t\t\t<view class=\"content\">\n\t\t\t\t<ua-markdown :source=\"newsInfo.detail\" />\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport { inject } from 'vue';\n\timport { getLocaleTime } from '@/utils/util';\n\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tnavH:inject('navHeight'),\n\t\t\t\tnewsInfo:null,\n\t\t\t\tgetLocalTime:getLocaleTime\n\t\t\t}\n\t\t},\n\t\tonLoad(e) {\n\t\t\tthis.newsInfo = JSON.parse(decodeURIComponent(e.info)) \n\t\t}\n\t}\n\t\n</script>\n\n<style lang=\"less\">\npage \n{\n\tbackground-color: #070707;\n}\n.topBg \n{\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: auto;\n}\t \n.contentC \n{\n\tbackground-color: #FFF9F5;\n\tmargin: 20rpx 25rpx 0;\n\tpadding: 28rpx 30rpx;\n\tleft: 0;\n\tright: 0;\n\tbottom: 100rpx;\n\tborder-radius: 10rpx;\n\toverflow-y: scroll;\n\t.title \n\t{\n\t\tmargin: 0 10rpx;\n\t\tfont-size: 30rpx;\n\t\tfont-weight: bold;\n\t\tcolor: #2B2B2B;\n\t}\n\t.labelTimeC {\n\t\tmargin: 0 10rpx;\n\t\t.time \n\t\t{\n\t\t\tfont-size: 24rpx;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: #666;\n\t\t}\n\t}\n\t.content \n\t{\n\t\tmargin-top: 30rpx;\n\t}\n}\n</style>\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/concept/newsDetails/newsDetails.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","getLocaleTime"],"mappings":";;;;AAoBC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAKA,cAAM,OAAC,WAAW;AAAA,MACvB,UAAS;AAAA,MACT,cAAaC,WAAY;AAAA,IAC1B;AAAA,EACA;AAAA,EACD,OAAO,GAAG;AACT,SAAK,WAAW,KAAK,MAAM,mBAAmB,EAAE,IAAI,CAAC;AAAA,EACtD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9BD,GAAG,WAAW,eAAe;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"reportDetails.js","sources":["pages/concept/reportDetails/reportDetails.vue","pages/concept/reportDetails/reportDetails.vue?type=page"],"sourcesContent":["<template>\n\t<view>\n\t\t<navBar leftText=\"历史时间轴\" :hideNavBg=\"true\"></navBar>\n\t\t<image class=\"topBg absolute\" src=\"/static/image/index/conceptTopBg.png\" mode=\"widthFix\"></image>\n\t\t<view v-if=\"reportInfo\" class=\"contentC fixed\" :style=\"'top: '+navH+'px;'\">\n\t\t\t<view class=\"title\">{{reportInfo.report_title}}</view>\n\t\t\t<view class=\"labelTimeC \">\n\t\t\t\t<text class=\"time\">{{getLocalTime(reportInfo.declare_date)}}</text>\n\t\t\t</view>\n\t\t\t<view class=\"content\">\n\t\t\t\t<!-- <ua-markdown :source=\"content\" /> -->\n\t\t\t\t<text>{{content ? content : reportInfo.content}}</text>\n\t\t\t</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script >\n\timport { inject } from 'vue';\n\timport { getLocaleTime } from '@/utils/util';\n\t\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tnavH:inject('navHeight'),\n\t\t\t\treportInfo:null,\n\t\t\t\tgetLocalTime:getLocaleTime,\n\t\t\t\tcontent:''\n\t\t\t}\n\t\t},\n\t\tonLoad(e) {\n\t\t\tthis.reportInfo = JSON.parse(decodeURIComponent(e.info)) \n\t\t\tthis.reportInfo.content = this.reportInfo.content.replace(/'/g, '\"');\n\t\t\tconsole.log(JSON.parse(this.reportInfo.content))\n\t\t\tthis.content = JSON.parse(this.reportInfo.content).content\n\t\t}\n\t}\n</script>\n\n<style lang=\"less\">\n page\n {\n\tbackground-color: #070707;\n }\n .topBg \n {\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: auto;\n }\t \n .contentC \n {\n\tbackground-color: #FFF9F5;\n\tmargin: 20rpx 25rpx 0;\n\tpadding: 28rpx 30rpx;\n\tleft: 0;\n\tright: 0;\n\tbottom: 100rpx;\n\tborder-radius: 10rpx;\n\toverflow-y: scroll;\n\t.title \n\t{\n\t\tmargin: 0 10rpx;\n\t\tfont-size: 30rpx;\n\t\tfont-weight: bold;\n\t\tcolor: #2B2B2B;\n\t}\n\t.labelTimeC {\n\t\tmargin: 0 10rpx;\n\t\t.time \n\t\t{\n\t\t\tfont-size: 24rpx;\n\t\t\tfont-weight: 500;\n\t\t\tcolor: #666;\n\t\t}\n\t}\n\t.content \n\t{\n\t\tmargin-top: 30rpx;\n\t}\n } \n</style>\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/concept/reportDetails/reportDetails.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","getLocaleTime","uni"],"mappings":";;;;AAqBC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAKA,cAAM,OAAC,WAAW;AAAA,MACvB,YAAW;AAAA,MACX,cAAaC,WAAa;AAAA,MAC1B,SAAQ;AAAA,IACT;AAAA,EACA;AAAA,EACD,OAAO,GAAG;AACT,SAAK,aAAa,KAAK,MAAM,mBAAmB,EAAE,IAAI,CAAC;AACvD,SAAK,WAAW,UAAU,KAAK,WAAW,QAAQ,QAAQ,MAAM,GAAG;AACnEC,wBAAA,MAAA,OAAA,uDAAY,KAAK,MAAM,KAAK,WAAW,OAAO,CAAC;AAC/C,SAAK,UAAU,KAAK,MAAM,KAAK,WAAW,OAAO,EAAE;AAAA,EACpD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;ACnCD,GAAG,WAAW,eAAe;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"version":3,"file":"conceptDetails.js","sources":["pages/index/conceptDetails/conceptDetails.vue","pages/index/conceptDetails/conceptDetails.vue?type=page"],"sourcesContent":["<template>\n\t<view>\n\t\t<web-view :src=\"url\"></web-view>\n\t</view>\n</template>\n\n<script>\n\timport { inject } from 'vue';\n\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tnavH:inject('navHeight'),\n\t\t\t\turl:''\n\t\t\t}\n\t\t},\n\t\tonLoad(e) {\n\t\t\tif(e.name)\n\t\t\t{\n\t\t\t\tthis.url = 'https://valuefrontier.cn/htmls/concept/'+e.name+'/'\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"less\">\n.topBg\n{\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: auto;\n}\n.conceptDetailsC \n{\n\tbackground-color: white;\n\tmargin-top: 10rpx;\n\tpadding: 20rpx 25rpx;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\tborder-radius: 20rpx 20rpx 0 0;\n\t.title \n\t{\n\t\tfont-size: 30rpx;\n\t\tfont-weight: bold;\n\t\tcolor: #222;\n\t}\n\t.time \n\t{\n\t\tmargin-top: 10rpx;\n\t\tfont-size: 22rpx;\n\t\tfont-weight: 500;\n\t\tcolor: #AAA;\n\t}\n\t.content \n\t{\n\t\tmargin-top: 30rpx;\n\t\tfont-size: 26rpx;\n\t\tfont-weight: 500;\n\t\tcolor: #666;\n\t}\n}\n</style>\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/index/conceptDetails/conceptDetails.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject"],"mappings":";;AASC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAKA,cAAM,OAAC,WAAW;AAAA,MACvB,KAAI;AAAA,IACL;AAAA,EACA;AAAA,EACD,OAAO,GAAG;AACT,QAAG,EAAE,MACL;AACC,WAAK,MAAM,4CAA0C,EAAE,OAAK;AAAA,IAC7D;AAAA,EACA;AAAA,EACD,SAAS,CAET;AACD;;;;;;;ACxBD,GAAG,WAAW,eAAe;"}

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"feedback.js","sources":["pages/mine/feedback/feedback.vue","pages/mine/feedback/feedback.vue?type=page"],"sourcesContent":["<template>\n\t<view>\n\t\t<navBar leftText=\"意见反馈\"></navBar>\n\t\t<image class=\"topBg absolute\" src=\"/static/image/index/conceptTopBg.png\" mode=\"widthFix\"></image>\n\t\t<view class=\"feedbackC fixed\" :style=\"'top:'+navH+'px;'\">\n\t\t\t<view class=\"textareaC\">\n\t\t\t\t<textarea v-model=\"content\" placeholder=\"请输入您要反馈的问题200 字以内)\" placeholder-style=\"color:#C5C5C5\" maxlength=\"200\"></textarea>\n\t\t\t</view>\n\t\t</view>\n\t\t<view class=\"submit fixed\" @click=\"clickSubmit()\">提交</view>\n\t</view>\n</template>\n\n<script>\n\timport { inject } from 'vue';\n\timport { feedback } from '@/request/api';\n\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tnavH:inject('navHeight'),\n\t\t\t\tcontent:'',\n\t\t\t\t\n\t\t\t}\n\t\t},\n\t\tonLoad() {\n\t\t\t\n\t\t},\n\t\tmethods: {\n\t\t\tclickSubmit()\n\t\t\t{\n\t\t\t\tif(!this.content)\n\t\t\t\t{\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle:'请输入您要反馈的问题',\n\t\t\t\t\t\ticon:'none'\n\t\t\t\t\t})\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tlet param = {content:this.content,isJson:1}\n\t\t\t\tfeedback(param).then(res=>{\n\t\t\t\t\tif(res.code==200)\n\t\t\t\t\t{\n\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\ttitle:res.message,\n\t\t\t\t\t\t\ticon:'none'\n\t\t\t\t\t\t})\n\t\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\t\tuni.navigateBack()\n\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t}else \n\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\ttitle:res.message,\n\t\t\t\t\t\t\ticon:'none'\n\t\t\t\t\t\t})\n\t\t\t\t}).catch(error=>{\n\t\t\t\t\t\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"less\">\n.topBg\n{\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: auto;\n}\n.feedbackC\n{\n\tbackground-color: white;\n\tmargin-top: 10rpx;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\tpadding: 43rpx 25rpx 0;\n\tborder-radius: 20rpx 20rpx 0 0;\n\t.textareaC\n\t{\n\t\tbackground-color: #F3F6F9;\n\t\tborder-radius: 20rpx;\n\t\tpadding: 20rpx 27rpx;\n\t\ttextarea \n\t\t{\n\t\t\twidth: 100%;\n\t\t\theight: 400rpx;\n\t\t\tfont-size: 24rpx;\n\t\t\tfont-weight: 500;\n\t\t}\n\t}\n}\n.submit \n{\n\tbackground-color: #F97316;\n\tleft: 0;\n\tright: 0;\n\tbottom: 73rpx;\n\tmargin: 0 25rpx;\n\tline-height: 80rpx;\n\tborder-radius: 20rpx;\n\tfont-size: 26rpx;\n\tfont-weight: 500;\n\tcolor: white;\n\ttext-align: center;\n}\n</style>\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/mine/feedback/feedback.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","uni","feedback"],"mappings":";;;;AAiBC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAKA,cAAM,OAAC,WAAW;AAAA,MACvB,SAAQ;AAAA,IAET;AAAA,EACA;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA,IACR,cACA;AACC,UAAG,CAAC,KAAK,SACT;AACCC,sBAAAA,MAAI,UAAU;AAAA,UACb,OAAM;AAAA,UACN,MAAK;AAAA,SACL;AACD;AAAA,MACD;AACA,UAAI,QAAQ,EAAC,SAAQ,KAAK,SAAQ,QAAO,EAAC;AAC1CC,kBAAAA,SAAS,KAAK,EAAE,KAAK,SAAK;AACzB,YAAG,IAAI,QAAM,KACb;AACCD,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAM,IAAI;AAAA,YACV,MAAK;AAAA,WACL;AACD,qBAAW,WAAW;AACrBA,0BAAAA,MAAI,aAAa;AAAA,UACjB,GAAE,GAAI;AAAA,QACP;AACAA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAM,IAAI;AAAA,YACV,MAAK;AAAA,WACL;AAAA,MACH,CAAC,EAAE,MAAM,WAAO;AAAA,OAEf;AAAA,IACF;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;AC3DD,GAAG,WAAW,eAAe;"}

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"web.js","sources":["pages/mine/web/web.vue","pages/mine/web/web.vue?type=page"],"sourcesContent":["<template>\n\t<view>\n\t\t<navBar :leftText=\"navTitle\"></navBar>\n\t\t<image class=\"topBg absolute\" src=\"/static/image/index/conceptTopBg.png\" mode=\"widthFix\"></image>\n\t\t<view class=\"contentC fixed\" :style=\"'top:'+navH+'px;'\">\n\t\t\t<text>{{webContent}}</text>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport { inject } from 'vue'\n\timport { agreements } from '@/request/api'\n\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tnavH:inject('navHeight'),\n\t\t\t\tnavTitle:'',\n\t\t\t\ttype:'',\t//1.关于我们2.服务条款3.隐私协议\n\t\t\t\twebContent:'',\n\t\t\t}\n\t\t},\n\t\tonLoad(e) {\n\t\t\tif(e.type)\n\t\t\t{\n\t\t\t\tthis.type = e.type\n\t\t\t\tthis.getUserInfoData()\n\t\t\t\tif(e.type==1)\n\t\t\t\t{\n\t\t\t\t\tthis.navTitle = '关于我们'\n\t\t\t\t}else if(e.type==2)\n\t\t\t\t{\n\t\t\t\t\tthis.navTitle = '服务条款'\n\t\t\t\t}else if(e.type==3)\n\t\t\t\t{\n\t\t\t\t\tthis.navTitle = '隐私协议'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\t/**\n\t\t\t * 获取用户信息数据\n\t\t\t */\n\t\t\tgetUserInfoData()\n\t\t\t{\n\t\t\t\tagreements().then(res=>{\n\t\t\t\t\tif(res.code==200)\n\t\t\t\t\t{\n\t\t\t\t\t\tif(this.type==1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t//关于我们\n\t\t\t\t\t\t\tthis.webContent = res.data.agreements.about_us.content\n\t\t\t\t\t\t}else if(this.type==2)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t//服务条款\n\t\t\t\t\t\t\tthis.webContent = res.data.agreements.service_terms.content\n\t\t\t\t\t\t}else if(this.type==3)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t//隐私协议\n\t\t\t\t\t\t\tthis.webContent = res.data.agreements.privacy_policy.content\n\t\t\t\t\t\t}\n\t\t\t\t\t}else \n\t\t\t\t\t\twx.showToast({\n\t\t\t\t\t\t\ttitle:res.message,\n\t\t\t\t\t\t})\n\t\t\t\t}).catch(error=>{\n\t\t\t\t\t\n\t\t\t\t})\n\t\t\t}\t\n\t\t}\n\t}\n</script>\n\n<style lang=\"less\">\n.topBg\n{\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: auto;\n}\n.contentC \n{\n\tbackground-color: white;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\tmargin-top: 10rpx;\n\tpadding: 50rpx 25rpx;\n\toverflow-y: scroll;\n}\n</style>\n","import MiniProgramPage from '/Users/shangzhengjie/Desktop/JiaZhiQianYan/pages/mine/web/web.vue'\nwx.createPage(MiniProgramPage)"],"names":["inject","agreements","wx"],"mappings":";;;;AAcC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAKA,cAAM,OAAC,WAAW;AAAA,MACvB,UAAS;AAAA,MACT,MAAK;AAAA;AAAA,MACL,YAAW;AAAA,IACZ;AAAA,EACA;AAAA,EACD,OAAO,GAAG;AACT,QAAG,EAAE,MACL;AACC,WAAK,OAAO,EAAE;AACd,WAAK,gBAAgB;AACrB,UAAG,EAAE,QAAM,GACX;AACC,aAAK,WAAW;AAAA,MACjB,WAAS,EAAE,QAAM,GACjB;AACC,aAAK,WAAW;AAAA,MACjB,WAAS,EAAE,QAAM,GACjB;AACC,aAAK,WAAW;AAAA,MACjB;AAAA,IACD;AAAA,EACA;AAAA,EACD,SAAS;AAAA;AAAA;AAAA;AAAA,IAIR,kBACA;AACCC,6BAAY,EAAC,KAAK,SAAK;AACtB,YAAG,IAAI,QAAM,KACb;AACC,cAAG,KAAK,QAAM,GACd;AAEC,iBAAK,aAAa,IAAI,KAAK,WAAW,SAAS;AAAA,UAChD,WAAS,KAAK,QAAM,GACpB;AAEC,iBAAK,aAAa,IAAI,KAAK,WAAW,cAAc;AAAA,UACrD,WAAS,KAAK,QAAM,GACpB;AAEC,iBAAK,aAAa,IAAI,KAAK,WAAW,eAAe;AAAA,UACtD;AAAA,QACA;AACAC,wBAAAA,KAAG,UAAU;AAAA,YACZ,OAAM,IAAI;AAAA,WACV;AAAA,MACH,CAAC,EAAE,MAAM,WAAO;AAAA,OAEf;AAAA,IACF;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;ACtED,GAAG,WAAW,eAAe;"}

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"posthog.config.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}

View File

@@ -0,0 +1 @@
{"version":3,"file":"events.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}

View File

@@ -0,0 +1 @@
{"version":3,"file":"analytics.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"constants.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}

View File

@@ -0,0 +1 @@
{"version":3,"file":"core.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"device.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"error-tracker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"http.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"identity.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"page-tracker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"performance-tracker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"queue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"reading-tracker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"search-tracker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"session.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"storage.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

View File

@@ -0,0 +1 @@
{"version":3,"file":"user-tracker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"share.js","sources":["utils/share.js"],"sourcesContent":["export default {\n\tcreated()\n\t{\n\t\t// #ifdef MP-WEIXIN\n\t\tuni.showShareMenu({\n\t\t\tmenus:['shareAppMessage','shareTimeline']\n\t\t})\n\t\t// #endif\n\t}\n}"],"names":["uni"],"mappings":";;AAAA,MAAe,QAAA;AAAA,EACd,UACA;AAECA,kBAAAA,MAAI,cAAc;AAAA,MACjB,OAAM,CAAC,mBAAkB,eAAe;AAAA,IAC3C,CAAG;AAAA,EAED;AACF;;"}

File diff suppressed because one or more lines are too long

109
unpackage/dist/dev/mp-weixin/app.js vendored Normal file
View File

@@ -0,0 +1,109 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const common_vendor = require("./common/vendor.js");
const utils_share = require("./utils/share.js");
if (!Math) {
"./pages/index/index.js";
"./pages/invest/invest.js";
"./pages/concept/concept.js";
"./pages/mine/mine.js";
"./pages/mine/basicInfo/basicInfo.js";
"./pages/mine/feedback/feedback.js";
"./pages/mine/commentReply/commentReply.js";
"./pages/mine/investPreference/investPreference.js";
"./pages/index/eventDetails/eventDetails.js";
"./pages/invest/investDetails/investDetails.js";
"./pages/index/stockDetails/stockDetails.js";
"./pages/index/conceptDetails/conceptDetails.js";
"./pages/mine/followCollect/followCollect.js";
"./pages/mine/myLike/myLike.js";
"./pages/login/login.js";
"./pages/login/codeLogin/codeLogin.js";
"./pages/mine/web/web.js";
"./pages/concept/historicalTimeline/historicalTimeline.js";
"./pages/concept/hotStock/hotStock.js";
"./pages/concept/newsDetails/newsDetails.js";
"./pages/concept/reportDetails/reportDetails.js";
"./pages/geGuCenter/geGuCenter.js";
"./pages/ztfx/ztfx.js";
"./pages/geGuCenter/detail.js";
"./pagesMine/vip/vip.js";
"./pagesMine/vipMeal/vipMeal.js";
"./pagesStock/stockCenterDetails/stockCenterDetails.js";
"./pagesStock/stockCenterDetails/cwDetails.js";
"./pagesStock/stockCenterDetails/ztfx.js";
"./pagesStock/stockCenterDetails/bkydmx.js";
}
const _sfc_main = {
onLaunch: function() {
common_vendor.index.__f__("log", "at App.vue:6", "App Launch");
let windowInfo = common_vendor.index.getWindowInfo();
common_vendor.provide("statusHeight", windowInfo.statusBarHeight);
common_vendor.provide("windowWidth", windowInfo.windowWidth);
common_vendor.provide("safeAreaTop", windowInfo.safeArea.top);
var safeAreaBottom = windowInfo.safeAreaInsets.bottom;
let menuButtonInfo = common_vendor.index.getMenuButtonBoundingClientRect();
common_vendor.provide("navHeight", menuButtonInfo.bottom + menuButtonInfo.top - windowInfo.statusBarHeight);
common_vendor.provide("menuTop", menuButtonInfo.top);
common_vendor.provide("menuHeight", menuButtonInfo.height);
common_vendor.provide("isiPhoneX", safeAreaBottom == 34 ? true : false);
},
onShow: function() {
common_vendor.index.__f__("log", "at App.vue:19", "App Show");
this.updateManager();
},
onHide: function() {
common_vendor.index.__f__("log", "at App.vue:23", "App Hide");
},
globalData: {
mobileReg: /^1[3456789][0-9]{9}$/
},
methods: {
updateManager() {
const updateManager = common_vendor.index.getUpdateManager();
updateManager.onCheckForUpdate((res) => {
if (res.hasUpdate) {
common_vendor.index.showModal({
title: "更新提示",
content: "检测到新版本,是否下载新版本并重启小程序?",
success(res2) {
if (res2.confirm) {
updateManager.onUpdateReady(() => {
common_vendor.index.showModal({
title: "更新提示",
content: "新版本已经准备好,即将重启应用",
showCancel: false,
success(res3) {
if (res3.confirm) {
updateManager.applyUpdate();
}
}
});
});
}
},
fail(error) {
}
});
}
updateManager.onUpdateFailed(() => {
common_vendor.index.showModal({
title: "更新提示",
content: "新版本下载失败",
showCancel: false
});
});
});
}
}
};
function createApp() {
const app = common_vendor.createSSRApp(_sfc_main);
app.mixin(utils_share.share);
return {
app
};
}
createApp().app.mount("#app");
exports.createApp = createApp;
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map

86
unpackage/dist/dev/mp-weixin/app.json vendored Normal file
View File

@@ -0,0 +1,86 @@
{
"pages": [
"pages/index/index",
"pages/invest/invest",
"pages/concept/concept",
"pages/mine/mine",
"pages/mine/basicInfo/basicInfo",
"pages/mine/feedback/feedback",
"pages/mine/commentReply/commentReply",
"pages/mine/investPreference/investPreference",
"pages/index/eventDetails/eventDetails",
"pages/invest/investDetails/investDetails",
"pages/index/stockDetails/stockDetails",
"pages/index/conceptDetails/conceptDetails",
"pages/mine/followCollect/followCollect",
"pages/mine/myLike/myLike",
"pages/login/login",
"pages/login/codeLogin/codeLogin",
"pages/mine/web/web",
"pages/concept/historicalTimeline/historicalTimeline",
"pages/concept/hotStock/hotStock",
"pages/concept/newsDetails/newsDetails",
"pages/concept/reportDetails/reportDetails",
"pages/geGuCenter/geGuCenter",
"pages/ztfx/ztfx",
"pages/geGuCenter/detail"
],
"subPackages": [
{
"root": "pagesMine",
"pages": [
"vip/vip",
"vipMeal/vipMeal"
]
},
{
"root": "pagesStock",
"pages": [
"stockCenterDetails/stockCenterDetails",
"stockCenterDetails/cwDetails",
"stockCenterDetails/ztfx",
"stockCenterDetails/bkydmx"
]
}
],
"window": {
"navigationStyle": "custom",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"custom": true,
"list": [
{
"iconPath": "/static/icon/tabbar/home.png",
"selectedIconPath": "/static/icon/tabbar/home_s.png",
"text": "首页",
"pagePath": "pages/index/index"
},
{
"iconPath": "/static/icon/tabbar/invest.png",
"selectedIconPath": "/static/icon/tabbar/invest_s.png",
"text": "投资",
"pagePath": "pages/concept/concept"
},
{
"iconPath": "/static/icon/tabbar/invest.png",
"selectedIconPath": "/static/icon/tabbar/invest_s.png",
"text": "个股中心",
"pagePath": "pages/geGuCenter/geGuCenter"
},
{
"iconPath": "/static/icon/tabbar/invest.png",
"selectedIconPath": "/static/icon/tabbar/invest_s.png",
"text": "投资",
"pagePath": "pages/ztfx/ztfx"
},
{
"iconPath": "/static/icon/tabbar/mine.png",
"selectedIconPath": "/static/icon/tabbar/mine_s.png",
"text": "我的",
"pagePath": "pages/mine/mine"
}
]
},
"usingComponents": {}
}

78
unpackage/dist/dev/mp-weixin/app.wxss vendored Normal file
View File

@@ -0,0 +1,78 @@
/*每个页面公共css */
.flex
{
display: flex;
align-items: center;
}
.flexCenter
{
display: flex;
align-items: center;
justify-content: center;
}
.flexColumn
{
display: flex;
flex-direction: column;
}
.flexColumnCenter
{
display: flex;
flex-direction: column;
align-items: center;
}
.flex1
{
flex: 1;
}
.flexWrap
{
display: flex;
flex-wrap: wrap;
}
.flexStretch
{
display: flex;
align-items: stretch;
}
.between
{
justify-content: space-between;
}
.flexEnd
{
display: flex;
align-items: center;
justify-content: flex-end;
}
.relative
{
position: relative;
}
.absolute
{
position: absolute;
}
.fixed
{
position: fixed;
}
view,input,textarea,scroll-view,swiper
{
box-sizing: border-box;
}
button
{
background-color: transparent;
}
button::after
{
border: none;
}
::-webkit-scrollbar
{
color: transparent;
width: 0;
}
page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

View File

@@ -0,0 +1,240 @@
"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_2$f = "/static/icon/home/upArrow.png";
const _imports_3$d = "/static/icon/home/browser.png";
const _imports_11$4 = "/static/icon/home/like.png";
const _imports_7$3 = "/static/icon/home/collect.png";
const _imports_2$e = "/static/icon/backBlack.png";
const _imports_9$4 = "/static/icon/home/dateRange.png";
const _imports_10$2 = "/static/icon/home/industrySearch.png";
const _imports_11$3 = "/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$7 = "/static/icon/home/monthLeftArrow.png";
const _imports_6$1 = "/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_9$3 = "/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$1 = "/static/icon/home/conceptCenter/rank3.png";
const _imports_11$2 = "/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_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_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$6 = "/static/icon/home/expectScoreDot.png";
const _imports_8$2 = "/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_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_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$5 = "/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$4 = "/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$3 = "/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$2 = "/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_9 = "/pagesMine/static/icon/vip/step2_v.png";
const _imports_10 = "/pagesMine/static/icon/vip/step2.png";
const _imports_11$1 = "/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";
const _imports_14 = "/pagesMine/static/icon/vip/step4.png";
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_5$1 = "/pagesStock/static/icon/visitWebsite.png";
const _imports_2$4 = "/pagesStock/static/icon/contrast.png";
const _imports_3$3 = "/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_11 = "/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_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_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_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$2;
exports._imports_10$1 = _imports_10$1;
exports._imports_10$2 = _imports_10;
exports._imports_11 = _imports_11$4;
exports._imports_11$1 = _imports_11$3;
exports._imports_11$2 = _imports_11$2;
exports._imports_11$3 = _imports_11$1;
exports._imports_11$4 = _imports_11;
exports._imports_12 = _imports_12$3;
exports._imports_12$1 = _imports_12$1;
exports._imports_12$2 = _imports_12$2;
exports._imports_12$3 = _imports_12;
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_15 = _imports_15$1;
exports._imports_15$1 = _imports_15;
exports._imports_16 = _imports_16$1;
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$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$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$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_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$7;
exports._imports_5$1 = _imports_5$6;
exports._imports_5$2 = _imports_5$5;
exports._imports_5$3 = _imports_5$4;
exports._imports_5$4 = _imports_5$3;
exports._imports_5$5 = _imports_5$2;
exports._imports_5$6 = _imports_5$1;
exports._imports_5$7 = _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_8 = _imports_8$3;
exports._imports_8$1 = _imports_8$2;
exports._imports_8$2 = _imports_8$1;
exports._imports_8$3 = _imports_8;
exports._imports_9 = _imports_9$4;
exports._imports_9$1 = _imports_9$3;
exports._imports_9$2 = _imports_9$2;
exports._imports_9$3 = _imports_9$1;
exports._imports_9$4 = _imports_9;
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,430 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const request_api = require("../../request/api.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
name: "LCCalendar",
data() {
return {
weekList: ["日", "一", "二", "三", "四", "五", "六"],
monthDateList: [],
selectMonthIndex: 0,
//选中月份下标
selectMonth: "",
//选中年月
selectDateStr: "",
//选中日期
startDateStr: "",
//开始日期
endDateStr: "",
//结束日期
selectYear: "",
Month: "",
calendarApiData: []
// 新增:存储接口返回的日历数据
};
},
created() {
let currentDate = /* @__PURE__ */ new Date();
let currentYear = currentDate.getFullYear();
let currentMonth = currentDate.getMonth() + 1;
let currentDay = currentDate.getDate();
this.selectMonthIndex = 20 * 12 + currentMonth - 1;
this.selectMonth = currentYear + "年" + currentMonth + "月";
this.startDateStr = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth) + "-01";
this.endDateStr = this.selectDateStr = `${currentYear}-${currentMonth > 9 ? currentMonth : "0" + currentMonth}-${currentDay > 9 ? currentDay : "0" + currentDay}`;
this.getYesterdayDateData();
this.generateMonthDateListData();
this.emitDateChange(currentYear, currentMonth, currentDay, this.getTodayItem(currentYear, currentMonth, currentDay));
},
mounted() {
this.getCalendarCombinedData();
},
methods: {
/**
* 获取当天的item数据合并接口数据
*/
getTodayItem(year, month, day) {
const targetDate = `${year}-${month > 9 ? month : "0" + month}-${day > 9 ? day : "0" + day}`;
const currentMonthList = this.monthDateList[this.selectMonthIndex] || [];
const localItem = currentMonthList.find((item) => item.date === targetDate) || null;
if (!localItem)
return null;
const apiData = this.getCalendarItemByDate(targetDate) || {};
return {
...localItem,
zt_count: apiData.zt_count || 0,
top_sector: apiData.top_sector || "-",
// 可补充其他接口字段
zaban_rate: apiData.zaban_rate || "0%"
// 示例:炸板率
};
},
/**
* 触发日期变更事件传递包含接口数据的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
});
},
/**
* 获取当前时间前一天的数据
*/
getYesterdayDateData() {
let currentDate = /* @__PURE__ */ new Date();
let selectDate = new Date(currentDate);
selectDate.setDate(selectDate.getDate() - 1);
selectDate.getFullYear();
selectDate.getMonth() + 1;
selectDate.getDate();
this.selectYear = selectDate.getFullYear();
this.Month = selectDate.getMonth() + 1;
},
/**
* 根据日期查找接口中的日历数据
* @param {String} dateStr 格式2026-01-01
* @returns {Object} 匹配的日历数据
*/
getCalendarItemByDate(dateStr) {
if (!dateStr || !this.calendarApiData.length)
return null;
const formatDate = dateStr.replace(/-/g, "");
return this.calendarApiData.find((item) => item.date === formatDate) || null;
},
/**
* 根据zt_count和是否休市获取背景色样式类
* @param {Number} count zt_count数值
* @param {Number} index 日期下标(判断是否休市)
* @returns {String} 样式类名
*/
getZtCountBgClass(count, index) {
if (index % 7 === 0 || index % 7 === 6 || count === 0 || count === null || count === void 0) {
return "";
}
if (count >= 80)
return "zt-bg-80";
if (count >= 60)
return "zt-bg-60";
if (count >= 40)
return "zt-bg-40";
return "zt-bg-40-less";
},
/**
* 根据zt_count值获取文字颜色
* @param {Number} count zt_count数值
* @param {Number} index 日期下标(用于判断周末)
* @returns {String} 文字颜色值
*/
getZtCountTextColor(count, index) {
if (index !== void 0 && (index % 7 === 0 || index % 7 === 6)) {
return "#999999";
}
if (count === void 0 || count === null || count === 0) {
return "#2A2A2A";
}
if (count >= 80)
return "#5D288F";
if (count >= 60)
return "#BE1B1B";
if (count >= 40)
return "#F59B38";
return "#2958AA";
},
/**
* 获取日历接口数据
*/
async getCalendarCombinedData() {
try {
let param = {
year: this.selectYear,
month: this.Month
};
const res = await request_api.calendarCombinedData(param);
if (res.success && Array.isArray(res.data)) {
this.calendarApiData = res.data;
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:258", "日历数据加载成功", this.calendarApiData);
if (this.selectDateStr) {
const [year, month, day] = this.selectDateStr.split("-").map(Number);
this.emitDateChange(year, month, day, this.getTodayItem(year, month, day));
}
} else {
this.calendarApiData = [];
common_vendor.index.__f__("warn", "at components/LCCalendar/LCCalendar.vue:266", "日历接口返回数据格式异常", res);
}
} catch (error) {
this.calendarApiData = [];
common_vendor.index.__f__("error", "at components/LCCalendar/LCCalendar.vue:270", "获取日历数据失败", error);
}
},
/**
* 生成日期数组
*/
generateMonthDateListData() {
let currentDate = /* @__PURE__ */ new Date();
let currentYear = currentDate.getFullYear();
let currentMonth = currentDate.getMonth() + 1;
let currentDay = currentDate.getDate();
let monthDateList = [];
for (var i = currentYear - 20; i < currentYear + 20; i++) {
for (var j = 0; j < 12; j++) {
let date = new Date(i, j + 1, 0);
let firstDayOfMonth = new Date(i, j + 1, 0);
firstDayOfMonth.setDate(1);
let currentMonthDay = date.getDate();
let firstDayWeek = firstDayOfMonth.getDay() + 1;
let daysOfMonth = [];
for (var k = 1; k <= currentMonthDay; k++) {
let newDate = new Date(i, j + 1, 0);
newDate.setDate(k);
let newMonth = newDate.getMonth() + 1;
let newDay = newDate.getDate();
let time = newDate.getTime();
let date2 = i + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
daysOfMonth.push({
date: date2,
year: i,
month: newMonth,
day: newDay,
isToday: i == currentYear && newMonth == currentMonth && newDay == currentDay ? true : false,
isCurrentMonth: true,
isLastDay: newDay == currentMonthDay ? true : false,
timestamp: time
});
}
for (var k = 0; k < firstDayWeek - 1; k++) {
let year = i;
let month = j;
if (j < 1) {
year = i - 1;
month = 12;
}
let lastMonthDay = new Date(year, month, 0).getDate();
let newDate = new Date(year, month - 1, lastMonthDay - k);
let newMonth = newDate.getMonth() + 1;
let newDay = newDate.getDate();
let time = newDate.getTime();
let date2 = year + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
daysOfMonth.unshift({
date: date2,
year,
month: newMonth,
day: newDay,
isToday: false,
isCurrentMonth: false,
isLastDay: false,
timestamp: time
});
}
let nextMonthFirstDay = new Date(i, j + 1, 1);
let lastDayOfMonth = new Date(nextMonthFirstDay - 24 * 60 * 60 * 1e3);
let lastDayWeek = lastDayOfMonth.getDay() + 1;
for (var k = 1; k < 8 - lastDayWeek; k++) {
let year = i;
let month = j;
if (month > 11) {
month = 0;
year++;
}
let newDate = new Date(year, month + 1, k);
let newMonth = newDate.getMonth() + 1;
let newDay = newDate.getDate();
let time = newDate.getTime();
let date2 = year + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
daysOfMonth.push({
date: date2,
year,
month: newMonth,
day: newDay,
isToday: false,
isCurrentMonth: false,
isLastDay: false,
timestamp: time
});
}
monthDateList.push(daysOfMonth);
}
}
this.monthDateList = monthDateList;
},
/**
* 点击上个月
*/
clickPreMonth() {
if (this.selectMonthIndex > 0) {
this.selectMonthIndex--;
let monthList = this.monthDateList[this.selectMonthIndex];
let year = "";
let month = "";
for (let item of monthList) {
if (item.isCurrentMonth) {
year = item.year;
month = item.month;
break;
}
}
let lastDay = "";
for (let item of monthList) {
if (item.isLastDay) {
lastDay = item.day;
break;
}
}
this.selectMonth = year + "年" + month + "月";
this.startDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-01";
this.endDateStr = year + "-" + (month > 9 ? month : "0" + month) + "-" + lastDay;
this.selectYear = year;
this.Month = month;
this.getCalendarCombinedData();
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:405", "点击上个月");
}
},
/**
* 点击下个月
*/
clickNextMonth() {
if (this.selectMonthIndex < this.monthDateList.length - 1) {
this.selectMonthIndex++;
let monthList = this.monthDateList[this.selectMonthIndex];
let year = "";
let month = "";
for (let item of monthList) {
if (item.isCurrentMonth) {
year = item.year;
month = item.month;
break;
}
}
let lastDay = "";
for (let item of monthList) {
if (item.isLastDay) {
lastDay = item.day;
break;
}
}
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:434", "点击下个月");
this.selectYear = year;
this.Month = month;
this.getCalendarCombinedData();
}
},
monthChange(e) {
let currentDate = /* @__PURE__ */ new Date();
let currentYear = currentDate.getFullYear();
let yearMonth = e.detail.value;
let selectYear = parseInt(yearMonth.split("-")[0]);
let selectMonth = parseInt(yearMonth.split("-")[1]);
this.selectMonthIndex = (selectYear - (currentYear - 20)) * 12 + selectMonth - 1;
this.selectMonth = selectYear + "年" + selectMonth + "月";
this.startDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-01";
let lastDayOfMonth = new Date(selectYear, selectMonth, 0);
this.endDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-" + lastDayOfMonth.getDate();
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:454", "月份变更");
this.selectYear = selectYear;
this.Month = selectMonth;
this.getCalendarCombinedData();
},
/**
* 点击选择开始日期和结束日期
* @param {Object} item
*/
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,
// 涨停家数默认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);
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:482", "点击某天(含接口数据)", 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,
d: common_vendor.t($data.selectDateStr),
e: common_assets._imports_1$2,
f: common_vendor.o(($event) => $options.clickNextMonth()),
g: common_vendor.f($data.weekList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
h: common_vendor.f($data.monthDateList[$data.selectMonthIndex], (item, index, i0) => {
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
return common_vendor.e({
a: item.date == $data.selectDateStr
}, item.date == $data.selectDateStr ? common_vendor.e({
b: common_vendor.t(item.day),
c: index % 7 == 0 || index % 7 == 6
}, index % 7 == 0 || index % 7 == 6 ? {} : common_vendor.e({
d: ((_a = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _a.zt_count) > 0
}, ((_b = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _b.zt_count) > 0 ? {
e: common_vendor.t((_c = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _c.zt_count),
f: $options.getZtCountTextColor((_d = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _d.zt_count),
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))
}) : common_vendor.e({
j: !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
}, index % 7 == 0 || index % 7 == 6 ? {} : common_vendor.e({
n: ((_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)
} : {}), {
s: common_vendor.n($options.getZtCountBgClass((_n = $options.getCalendarItemByDate(item.date)) == null ? void 0 : _n.zt_count))
})), {
t: index,
v: common_vendor.o(($event) => $options.clickSelectDate(item), index)
});
})
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/LCCalendar/LCCalendar.js.map

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +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 File

@@ -0,0 +1,87 @@
.dateC {
background-color: white;
box-shadow: 0 5rpx 10rpx 0 rgba(127, 127, 127, 0.1);
box-sizing: border-box;
}
.dateC .yearMonthC {
height: 70rpx;
border-radius: 35rpx;
}
.dateC .yearMonthC .btn {
padding: 0 32rpx;
}
.dateC .yearMonthC .btn .icon {
width: 13rpx;
height: auto;
}
.dateC .yearMonthC .yearMonth {
font-size: 32rpx;
font-weight: 500;
color: #070707;
text-align: center;
}
.dateC .weekList .item {
line-height: 72rpx;
font-size: 26rpx;
font-weight: 500;
color: #A7A7A7;
text-align: center;
}
.dateC .monthDateList .item .date {
background-color: #f8f8f8;
padding: 10rpx 0;
border-radius: 10rpx;
font-size: 26rpx;
font-weight: bold;
color: #2A2A2A;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
height: 100%;
}
.dateC .monthDateList .item .date .chg {
font-size: 18rpx;
}
.dateC .monthDateList .item .date .chg.up {
color: #EC3440;
}
.dateC .monthDateList .item .date .chg.down {
color: #38A169;
}
.dateC .monthDateList .item .date.zt-bg-80 {
background-color: #FAEEFF;
}
.dateC .monthDateList .item .date.zt-bg-60 {
background-color: #FFE9E9;
}
.dateC .monthDateList .item .date.zt-bg-40 {
background-color: #FFF8F0;
}
.dateC .monthDateList .item .date.zt-bg-40-less {
background-color: #EEF4FF;
}
.dateC .monthDateList .item .date.up {
background-color: #FFD6D9;
}
.dateC .monthDateList .item .date.down {
background-color: #CEF1DE;
}
.dateC .monthDateList .item .date.select.up {
background-color: #EC3440;
color: white;
}
.dateC .monthDateList .item .date.select.up .chg {
color: white;
}
.dateC .monthDateList .item .date.select.down {
background-color: #38A169;
color: white;
}
.dateC .monthDateList .item .date.select.down .chg {
color: white;
}
.dateC .monthDateList .item .date.notCurrentMonth {
background-color: #FCFCFC;
color: #999;
}

View File

@@ -0,0 +1,258 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
name: "LCCalendar",
data() {
return {
weekList: ["日", "一", "二", "三", "四", "五", "六"],
monthDateList: [],
selectMonthIndex: 0,
//选中月份下标
selectMonth: "",
//选中年月
selectDateStr: "",
//选中日期
startDateStr: "",
//开始日期
endDateStr: ""
//结束日期
};
},
created() {
let currentDate = /* @__PURE__ */ new Date();
let currentYear = currentDate.getFullYear();
let currentMonth = currentDate.getMonth() + 1;
let currentDay = currentDate.getDate();
this.selectMonthIndex = 20 * 12 + currentMonth - 1;
this.selectMonth = currentYear + "年" + currentMonth + "月";
this.startDateStr = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth) + "-01";
this.endDateStr = this.selectDateStr = currentYear + "-" + (currentMonth > 9 ? currentMonth : "0" + currentMonth) + "-" + (currentDay > 9 ? currentDay : "0" + currentDay);
this.generateMonthDateListData();
},
methods: {
/**
* 获取当前时间前一天的数据
*/
getYesterdayDateData() {
let currentDate = /* @__PURE__ */ new Date();
let selectDate = new Date(currentDate);
selectDate.setDate(selectDate.getDate() - 1);
let selectYear = selectDate.getFullYear();
let selectMonth = selectDate.getMonth() + 1;
let selectDay = selectDate.getDate();
this.selectDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-" + (selectDay > 9 ? selectDay : "0" + selectDay);
},
/**
* 生成日期数组
*/
generateMonthDateListData() {
let currentDate = /* @__PURE__ */ new Date();
let currentYear = currentDate.getFullYear();
let currentMonth = currentDate.getMonth() + 1;
let currentDay = currentDate.getDate();
let monthDateList = [];
for (var i = currentYear - 20; i < currentYear + 20; i++) {
for (var j = 0; j < 12; j++) {
let date = new Date(i, j + 1, 0);
let firstDayOfMonth = new Date(i, j + 1, 0);
firstDayOfMonth.setDate(1);
let currentMonthDay = date.getDate();
let firstDayWeek = firstDayOfMonth.getDay() + 1;
let daysOfMonth = [];
for (var k = 1; k <= currentMonthDay; k++) {
let newDate = new Date(i, j + 1, 0);
newDate.setDate(k);
let newMonth = newDate.getMonth() + 1;
let newDay = newDate.getDate();
let time = newDate.getTime();
let date2 = i + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
daysOfMonth.push({
date: date2,
year: i,
month: newMonth,
day: newDay,
isToday: i == currentYear && newMonth == currentMonth && newDay == currentDay ? true : false,
isCurrentMonth: true,
isLastDay: newDay == currentMonthDay ? true : false,
timestamp: time
});
}
for (var k = 0; k < firstDayWeek - 1; k++) {
let year = i;
let month = j;
if (j < 1) {
year = i - 1;
month = 12;
}
let lastMonthDay = new Date(year, month, 0).getDate();
let newDate = new Date(year, month - 1, lastMonthDay - k);
let newMonth = newDate.getMonth() + 1;
let newDay = newDate.getDate();
let time = newDate.getTime();
let date2 = year + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
daysOfMonth.unshift({
date: date2,
year,
month: newMonth,
day: newDay,
isToday: false,
isCurrentMonth: false,
isLastDay: false,
timestamp: time
});
}
let nextMonthFirstDay = new Date(i, j + 1, 1);
let lastDayOfMonth = new Date(nextMonthFirstDay - 24 * 60 * 60 * 1e3);
let lastDayWeek = lastDayOfMonth.getDay() + 1;
for (var k = 1; k < 8 - lastDayWeek; k++) {
let year = i;
let month = j;
if (month > 11) {
month = 0;
year++;
}
let newDate = new Date(year, month + 1, k);
let newMonth = newDate.getMonth() + 1;
let newDay = newDate.getDate();
let time = newDate.getTime();
let date2 = year + "-" + (newMonth > 9 ? newMonth : "0" + newMonth) + "-" + (newDay > 9 ? newDay : "0" + newDay);
daysOfMonth.push({
date: date2,
year,
month: newMonth,
day: newDay,
isToday: false,
isCurrentMonth: false,
isLastDay: false,
timestamp: time
});
}
monthDateList.push(daysOfMonth);
}
}
this.monthDateList = monthDateList;
},
/**
* 点击上个月
*/
clickPreMonth() {
if (this.selectMonthIndex > 0) {
this.selectMonthIndex--;
let monthList = this.monthDateList[this.selectMonthIndex];
let year = "";
let month = "";
for (let item of monthList) {
if (item.isCurrentMonth) {
year = item.year;
month = item.month;
break;
}
}
let lastDay = "";
for (let item of monthList) {
if (item.isLastDay) {
lastDay = item.day;
break;
}
}
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/LCCalendar2/LCCalendar2.vue:224", "点击上个月");
}
},
/**
* 点击下个月
*/
clickNextMonth() {
if (this.selectMonthIndex < this.monthDateList.length - 1) {
this.selectMonthIndex++;
let monthList = this.monthDateList[this.selectMonthIndex];
let year = "";
let month = "";
for (let item of monthList) {
if (item.isCurrentMonth) {
year = item.year;
month = item.month;
break;
}
}
let lastDay = "";
for (let item of monthList) {
if (item.isLastDay) {
lastDay = item.day;
break;
}
}
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/LCCalendar2/LCCalendar2.vue:253", "点击下个月");
}
},
monthChange(e) {
let currentDate = /* @__PURE__ */ new Date();
let currentYear = currentDate.getFullYear();
let yearMonth = e.detail.value;
let selectYear = parseInt(yearMonth.split("-")[0]);
let selectMonth = parseInt(yearMonth.split("-")[1]);
this.selectMonthIndex = (selectYear - (currentYear - 20)) * 12 + selectMonth - 1;
this.selectMonth = selectYear + "年" + selectMonth + "月";
this.startDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-01";
let lastDayOfMonth = new Date(selectYear, selectMonth, 0);
this.endDateStr = selectYear + "-" + (selectMonth > 9 ? selectMonth : "0" + selectMonth) + "-" + lastDayOfMonth.getDate();
common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:270", "月份变更");
},
/**
* 点击选择开始日期和结束日期
* @param {Object} item
*/
clickSelectDate(item) {
if (!item.isCurrentMonth)
return;
if (this.selectDateStr != item.date) {
this.selectDateStr = item.date;
this.chgStockData = item;
common_vendor.index.__f__("log", "at components/LCCalendar2/LCCalendar2.vue:281", "点击某天");
}
}
}
};
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_vendor.t($data.selectMonth),
d: common_vendor.o((...args) => $options.monthChange && $options.monthChange(...args)),
e: common_assets._imports_1$2,
f: common_vendor.o(($event) => $options.clickNextMonth()),
g: common_vendor.f($data.weekList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
h: common_vendor.f($data.monthDateList[$data.selectMonthIndex], (item, index, i0) => {
return common_vendor.e({
a: item.date == $data.selectDateStr
}, item.date == $data.selectDateStr ? {
b: common_vendor.t(item.day),
c: common_vendor.n("date select up")
} : common_vendor.e({
d: !item.isCurrentMonth
}, !item.isCurrentMonth ? {
e: common_vendor.t(item.day)
} : {
f: common_vendor.t(item.day),
g: common_vendor.n("date up")
}), {
h: index,
i: common_vendor.o(($event) => $options.clickSelectDate(item), index)
});
})
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/LCCalendar2/LCCalendar2.js.map

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +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" bindchange="{{d}}"><view style="display:flex;align-items:center;justify-content:center"><view style="color:#2B2B2B;font-size:32rpx;font-weight:bold">{{c}}</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="h" class="item" bindtap="{{item.i}}"><block wx:if="{{item.a}}"><view class="{{item.c}}">{{item.b}}</view></block><block wx:else><block wx:if="{{item.d}}"><view class="date notCurrentMonth">{{item.e}}</view></block><block wx:else><view class="{{item.g}}"><view>{{item.f}}</view></view></block></block></view></view></view>

View File

@@ -0,0 +1,78 @@
.dateC {
background-color: white;
box-sizing: border-box;
}
.dateC .yearMonthC {
background-color: #F7F7F7;
height: 70rpx;
border-radius: 35rpx;
}
.dateC .yearMonthC .btn {
padding: 0 32rpx;
}
.dateC .yearMonthC .btn .icon {
width: 13rpx;
height: auto;
}
.dateC .yearMonthC .yearMonth {
font-size: 32rpx;
font-weight: 500;
color: #070707;
text-align: center;
}
.dateC .weekList .item {
line-height: 72rpx;
font-size: 26rpx;
font-weight: 500;
color: #A7A7A7;
text-align: center;
}
.dateC .monthDateList .item {
height: 72rpx;
}
.dateC .monthDateList .item .date {
background-color: #f8f8f8;
padding: 10rpx 0;
border-radius: 10rpx;
font-size: 26rpx;
font-weight: bold;
color: #2A2A2A;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
height: 100%;
}
.dateC .monthDateList .item .date .chg {
font-size: 18rpx;
}
.dateC .monthDateList .item .date .chg.up {
color: #EC3440;
}
.dateC .monthDateList .item .date .chg.down {
color: #38A169;
}
.dateC .monthDateList .item .date.up {
background-color: #f8f8f8;
}
.dateC .monthDateList .item .date.down {
background-color: #CEF1DE;
}
.dateC .monthDateList .item .date.select.up {
background-color: #F2C367;
color: white;
}
.dateC .monthDateList .item .date.select.up .chg {
color: white;
}
.dateC .monthDateList .item .date.select.down {
background-color: #38A169;
color: white;
}
.dateC .monthDateList .item .date.select.down .chg {
color: white;
}
.dateC .monthDateList .item .date.notCurrentMonth {
background-color: #FCFCFC;
color: #999;
}

View File

@@ -0,0 +1,42 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
name: "cwfx-view",
data() {
return {};
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_assets._imports_0$8,
b: common_assets._imports_1$2,
c: common_vendor.f(["净资产收益率(ROE)%", "净资产收益率(扣非)%", "净资产收益率(加权)%", "总资产报酬率(ROA)%", "毛利率%", "净利率%", "营业利润率%", "成本费用利润率%"], (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index == 0 ? "#BB8520" : "#999999",
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
e: index
};
}),
d: common_assets._imports_2$14,
e: common_assets._imports_3$13,
f: common_assets._imports_4$12,
g: common_assets._imports_1$2,
h: common_vendor.f(["每股收益(EPS)", "基本每股收益", "稀释每股收益", "扣非每股收益", "每股净资产", "每股经营现金流", "每股资本公积", "每股未分配利润"], (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index == 0 ? "#BB8520" : "#999999",
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
e: index
};
}),
i: common_assets._imports_2$14,
j: common_assets._imports_3$13
};
}
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

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<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="{{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 style="display:grid;gap:20rpx;grid-template-columns:repeat(4, 1fr);margin:0 20rpx"><view wx:for="{{c}}" wx:for-item="item" wx:key="e" style="{{'display:flex;align-items:center;justify-content:center;text-align:center;font-size:20rpx;color:#999999;border:1rpx solid #D2D2D2;padding:3rpx 5rpx;box-sizing:border-box' + ';' + ('color:' + item.b + ';' + ('border:' + item.c) + ';' + ('background-color:' + 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="{{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:400rpx;display:flex;align-items:center;justify-content:center;background-color:red"> 柱状图占位 </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="{{f}}" mode="widthFix" style="width:40rpx;height:40rpx"></image><view class="flex1" style="margin:0 10rpx;font-size:28rpx">每股指标</view><image src="{{g}}" mode="widthFix" style="width:13rpx;height:22rpx"></image></view><view style="display:grid;gap:20rpx;grid-template-columns:repeat(4, 1fr);margin:0 20rpx"><view wx:for="{{h}}" wx:for-item="item" wx:key="e" style="{{'display:flex;align-items:center;justify-content:center;text-align:center;font-size:20rpx;color:#999999;border:1rpx solid #D2D2D2;padding:3rpx 5rpx;box-sizing:border-box' + ';' + ('color:' + item.b + ';' + ('border:' + item.c) + ';' + ('background-color:' + 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="{{i}}" mode="widthFix"></image><view style="margin:0 10rpx;color:#999999;font-size:22rpx">全部</view><image style="width:11rpx;height:6rpx" src="{{j}}" mode="widthFix"></image></view></view><view style="height:400rpx;display:flex;align-items:center;justify-content:center;background-color:blue"> 柱状图占位 </view></view></view>

View File

@@ -0,0 +1,69 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
name: "cwsj-view",
data() {
return {};
}
};
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 {
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: index == 0 ? "#BB8520" : "#999999",
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
e: index
};
}),
d: common_assets._imports_2$14,
e: common_assets._imports_3$13,
f: common_vendor.o(($event) => _ctx.itemClick(0)),
g: common_assets._imports_0$8,
h: common_assets._imports_1$2,
i: common_vendor.f(["经营现金流", "筹资现金流", "投资现金流"], (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index == 0 ? "#BB8520" : "#999999",
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
e: index
};
}),
j: common_assets._imports_2$14,
k: common_assets._imports_3$13,
l: common_vendor.o(($event) => _ctx.itemClick(1)),
m: common_assets._imports_0$8,
n: common_assets._imports_1$2,
o: common_vendor.f(["净利润", "营业收入", "期间费用"], (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index == 0 ? "#BB8520" : "#999999",
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
e: index
};
}),
p: common_assets._imports_2$14,
q: common_assets._imports_3$13,
r: common_assets._imports_2$14,
s: common_assets._imports_3$13,
t: common_vendor.sr("chartRef1", "63ca7cac-0"),
v: common_vendor.o(($event) => _ctx.itemClick(2))
};
}
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

Some files were not shown because too many files have changed in this diff Show More