1.26 个股详情业务结构,发展历程模块完善

This commit is contained in:
尚政杰
2026-01-26 17:53:08 +08:00
parent f296e005b3
commit 67a673cd4d
508 changed files with 44334 additions and 305 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

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<block v-for=\"(item,index) in businessStructureList\" :key=\"index\"></block>\r\n\t\t\t<view style=\"margin: 25rpx 20rpx; color: #2B2B2B; font-size: 28rpx; font-weight: bold;\">\r\n\t\t\t\t{{item.title}}\r\n\t\t\t</view>\r\n\t\t\t<view v-for=\"(child, row) in item.list\" :key=\"row\" 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{{child.title}}\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view v-if=\"child.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 style=\"display: flex; align-items: center; justify-content: space-between; font-weight: 500;\">\r\n\t\t\t\t\t<view style=\"display: flex; align-items: center; color: #F2C369; font-size: 20rpx;\">\r\n\t\t\t\t\t\t<view style=\"border: 1rpx solid #F2C369; border-radius: 5rpx; padding: 0 5rpx;\">\r\n\t\t\t\t\t\t\t营收占比:{{child.yszb}}%</view>\r\n\t\t\t\t\t\t<view\r\n\t\t\t\t\t\t\tstyle=\"border: 1rpx solid #F2C369; border-radius: 5rpx; padding: 0 5rpx; margin-left: 10rpx;\">\r\n\t\t\t\t\t\t\t毛利率:{{child.mlv}}%</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;\">\r\n\t\t\t\t\t\t\t{{child.yysr > 10000 ? child.yysr / 10000 + '亿' : child.yysr + '万'}}元\r\n\t\t\t\t\t\t</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;\">\r\n\t\t\t\t\t<view\r\n\t\t\t\t\t\tstyle=\"color: white; display: flex; align-items: center; justify-content: center; padding: 5rpx 10rpx;font-size: 20rpx; border-radius: 5rpx;\"\r\n\t\t\t\t\t\t:style=\"{backgroundColor: child.zz > 0 ? '#EC3440' : '#345423'}\">增长:\r\n\t\t\t\t\t\t{{child.zz > 0 ? '+' + child.zz : child.zz}}%\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</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=\"item\"\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>\r\n\texport default {\r\n\t\tname: \"ywjg-view\",\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t\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}\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\tbox-sizing: border-box;\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":[],"mappings":";;AAwDC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO;AACN,WAAO;EAIP;AAAA,EACD,OAAM;AAAA,IACL,uBAAsB;AAAA;AAAA,IACtB,qBAAoB;AAAA;AAAA,EACrB;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnED,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

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$6 = "/static/image/index/conceptTopBg.png";
const _imports_1$h = "/static/icon/home/conceptCenter/search.png";
const _imports_3$e = "/static/icon/home/conceptCenter/conceptScreenArrow.png";
const _imports_1$g = "/static/icon/home/downArrow.png";
const _imports_2$e = "/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$4 = "/static/icon/home/collect.png";
const _imports_2$d = "/static/icon/backBlack.png";
const _imports_9$4 = "/static/icon/home/dateRange.png";
const _imports_10$3 = "/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$c = "/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$2 = "/static/icon/home/monthRightArrow.png";
const _imports_2$b = "/static/icon/home/conceptCenter/sortType.png";
const _imports_4$a = "/static/icon/home/conceptCenter/transactionDate.png";
const _imports_1$f = "/static/icon/home/conceptCenter/timeAxis.png";
const _imports_15$2 = "/static/icon/home/close.png";
const _imports_7$3 = "/static/icon/home/conceptCenter/statistics.png";
const _imports_8$4 = "/static/icon/home/conceptCenter/rank1.png";
const _imports_9$3 = "/static/icon/home/conceptCenter/rank2.png";
const _imports_10$2 = "/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$5 = "/static/icon/home/conceptCenter/pre.png";
const _imports_1$e = "/static/icon/home/conceptCenter/next.png";
const _imports_13$1 = "/static/icon/home/conceptCenter/vipPopIcon.png";
const _imports_14$1 = "/static/icon/home/conceptCenter/visitModule.png";
const _imports_15$1 = "/static/icon/home/conceptCenter/free_s.png";
const _imports_16$2 = "/static/icon/home/conceptCenter/pro_s.png";
const _imports_1$d = "/static/icon/mine/infoArrow.png";
const _imports_2$a = "/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$c = "/static/icon/mine/basicInfo/edit.png";
const _imports_2$9 = "/static/icon/mine/basicInfo/downArrow.png";
const _imports_1$b = "/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$3 = "/static/icon/home/eventDetails/like.png";
const _imports_9$2 = "/static/icon/home/eventDetails/collect.png";
const _imports_4$7 = "/static/icon/home/collect_s.png";
const _imports_1$a = "/static/icon/home/like_s.png";
const _imports_0$4 = "/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$9 = "/static/icon/login/mobile.png";
const _imports_2$8 = "/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$8 = "/static/icon/home/conceptCenter/timeScreenArrow.png";
const _imports_2$7 = "/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$7 = "/pagesStock/static/icon/ai-icon.png";
const _imports_2$6 = "/pagesStock/static/icon/ai-icon-1.png";
const _imports_3$6 = "/pagesStock/static/icon/all-icon-3.png";
const _imports_1$6 = "/pagesStock/static/icon/all-icon-4.png";
const _imports_5$3 = "/pagesStock/static/icon/all-icon-5.png";
const _imports_1$5 = "/pagesMine/static/image/vip/vipTopBg.png";
const _imports_2$5 = "/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$1 = "/pagesMine/static/icon/vip/titleRight.png";
const _imports_7$2 = "/pagesMine/static/icon/vip/step1_v.png";
const _imports_8$2 = "/pagesMine/static/icon/vip/step1.png";
const _imports_9$1 = "/pagesMine/static/icon/vip/step2_v.png";
const _imports_10$1 = "/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$1 = "/pagesMine/static/icon/vip/industrialResearch.png";
const _imports_17 = "/pagesMine/static/icon/vip/operatingDecision.png";
const _imports_7$1 = "/pagesMine/static/icon/vip/notContain.png";
const _imports_8$1 = "/pagesMine/static/icon/vip/contain.png";
const _imports_2$4 = "/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_6 = "/pagesStock/static/icon/female.png";
const _imports_7 = "/pagesStock/static/icon/male.png";
const _imports_8 = "/pagesStock/static/icon/lookMoreArrow.png";
const _imports_9 = "/pagesStock/static/icon/logOffStatus.png";
const _imports_10 = "/pagesStock/static/icon/existStatus.png";
const _imports_11 = "/pagesStock/static/icon/industryRank.png";
const _imports_2$3 = "/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_16 = "/pagesStock/static/icon/yRightArrow.png";
const _imports_1$4 = "/pagesStock/static/icon/all-down-ed.png";
const _imports_1$3 = "/static/icon/back.png";
const _imports_1$2 = "/pagesStock/static/icon/all-icon-2.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_2$2 = "/pagesStock/static/icon/downArrow.png";
const _imports_3$2 = "/pagesStock/static/icon/upArrow.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$6;
exports._imports_0$1 = _imports_0$5;
exports._imports_0$2 = _imports_0$4;
exports._imports_0$3 = _imports_0$3;
exports._imports_0$4 = _imports_0$2;
exports._imports_0$5 = _imports_0$1;
exports._imports_0$6 = _imports_0;
exports._imports_1 = _imports_1$h;
exports._imports_1$1 = _imports_1$g;
exports._imports_1$10 = _imports_1$7;
exports._imports_1$11 = _imports_1$6;
exports._imports_1$12 = _imports_1$5;
exports._imports_1$13 = _imports_1$4;
exports._imports_1$14 = _imports_1$3;
exports._imports_1$15 = _imports_1$2;
exports._imports_1$16 = _imports_1$1;
exports._imports_1$17 = _imports_1;
exports._imports_1$2 = _imports_1$e;
exports._imports_1$3 = _imports_1$f;
exports._imports_1$4 = _imports_1$d;
exports._imports_1$5 = _imports_1$c;
exports._imports_1$6 = _imports_1$b;
exports._imports_1$7 = _imports_1$a;
exports._imports_1$8 = _imports_1$9;
exports._imports_1$9 = _imports_1$8;
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;
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$2;
exports._imports_15$2 = _imports_15;
exports._imports_16 = _imports_16$2;
exports._imports_16$1 = _imports_16$1;
exports._imports_16$2 = _imports_16;
exports._imports_17 = _imports_17;
exports._imports_2 = _imports_2$d;
exports._imports_2$1 = _imports_2$e;
exports._imports_2$10 = _imports_2$3;
exports._imports_2$11 = _imports_2$4;
exports._imports_2$12 = _imports_2$2;
exports._imports_2$13 = _imports_2$1;
exports._imports_2$14 = _imports_2;
exports._imports_2$2 = _imports_2$c;
exports._imports_2$3 = _imports_2$b;
exports._imports_2$4 = _imports_2$a;
exports._imports_2$5 = _imports_2$9;
exports._imports_2$6 = _imports_2$8;
exports._imports_2$7 = _imports_2$7;
exports._imports_2$8 = _imports_2$6;
exports._imports_2$9 = _imports_2$5;
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$2;
exports._imports_6$1 = _imports_6$1;
exports._imports_6$2 = _imports_6;
exports._imports_7 = _imports_7$4;
exports._imports_7$1 = _imports_7$3;
exports._imports_7$2 = _imports_7$2;
exports._imports_7$3 = _imports_7$1;
exports._imports_7$4 = _imports_7;
exports._imports_8 = _imports_8$4;
exports._imports_8$1 = _imports_8$3;
exports._imports_8$2 = _imports_8$2;
exports._imports_8$3 = _imports_8$1;
exports._imports_8$4 = _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,262 @@
"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/LCCalendar/LCCalendar.vue:238", "点击上个月");
}
},
/**
* 点击下个月
*/
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:267", "点击下个月");
}
},
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:284", "月份变更");
},
/**
* 点击选择开始日期和结束日期
* @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/LCCalendar/LCCalendar.vue:295", "点击某天");
}
}
}
};
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$15,
d: common_vendor.t($data.selectDateStr),
e: common_vendor.o((...args) => $options.monthChange && $options.monthChange(...args)),
f: common_assets._imports_1$2,
g: common_vendor.o(($event) => $options.clickNextMonth()),
h: common_vendor.f($data.weekList, (item, index, i0) => {
return {
a: common_vendor.t(item),
b: index
};
}),
i: common_vendor.f($data.monthDateList[$data.selectMonthIndex], (item, index, i0) => {
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 ? {} : {}, {
d: common_vendor.n("date select " + (item.avg_change_pct ? _ctx.getRateUpOrDown(item.avg_change_pct) ? "down" : "up" : ""))
}) : common_vendor.e({
e: !item.isCurrentMonth
}, !item.isCurrentMonth ? {} : common_vendor.e({
f: common_vendor.t(item.day),
g: index % 7 == 0 || index % 7 == 6 ? "#999999" : "#2A2A2A",
h: index % 7 == 0 || index % 7 == 6
}, index % 7 == 0 || index % 7 == 6 ? {} : {}, {
i: common_vendor.n("date " + (item.avg_change_pct ? _ctx.getRateUpOrDown(item.avg_change_pct) ? "down" : "up" : ""))
})), {
j: index,
k: 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" bindchange="{{e}}"><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="{{g}}"><image class="icon" src="{{f}}" mode="widthFix"></image></view></view><view style="display:grid;grid-template-columns:repeat(7, 1fr);gap:17rpx;margin:20rpx 0"><view wx:for="{{h}}" 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="{{i}}" wx:for-item="item" wx:key="j" class="item" bindtap="{{item.k}}"><block wx:if="{{item.a}}"><view class="{{item.d}}">{{item.b}} <view wx:if="{{item.c}}" style="color:#999999;font-size:18rpx">休市 </view><view wx:else style="text-align:center"><view style="font-size:18rpx">66家</view><view style="font-size:16rpx">商业航天</view></view></view></block><block wx:else><block wx:if="{{item.e}}"></block><block wx:else><view class="{{item.i}}"><view style="{{'color:' + item.g}}">{{item.f}}</view><view wx:if="{{item.h}}" style="color:#999999;font-size:18rpx">休市 </view><view wx:else style="text-align:center"><view style="font-size:18rpx">66家</view><view style="font-size:16rpx">商业航天</view></view></view></block></block></view></view></view>

View File

@@ -0,0 +1,75 @@
.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.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,86 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
name: "cyl-view",
data() {
return {
isShow: false,
center_index: 0,
types: [
{
title: "上游供应链",
count: 5,
desc: "原材料与供应商",
sColor: "#FF8C53",
color: "#FF5501",
backColor: "#FFF4EF"
},
{},
{
title: "核心企业",
count: 1,
desc: "公司主体与产品",
sColor: "#518BFF",
color: "#175CE6",
backColor: "#F2F6FD"
},
{},
{
title: "下游客户",
count: 12,
desc: "原材料与供应商",
sColor: "#48D394",
color: "#1DB26F",
backColor: "#E7F5F0"
}
],
typeIndex: 0
};
},
methods: {
changeCenterIndex(index) {
this.center_index = index;
},
clickAction() {
common_vendor.index.__f__("log", "at components/cyl-view/cyl-view.vue:111", 123);
this.$emit("detail");
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $data.center_index == 0 ? 1 : "",
b: common_vendor.o(($event) => $options.changeCenterIndex(0)),
c: $data.center_index == 1 ? 1 : "",
d: common_vendor.o(($event) => $options.changeCenterIndex(1)),
e: common_vendor.f($data.types, (item, index, i0) => {
return common_vendor.e({
a: item.title
}, item.title ? {
b: common_vendor.t(item.title),
c: common_vendor.t(item.count),
d: $data.typeIndex == index ? item.color : "#F2C369",
e: $data.typeIndex == index ? "#ffffff" : "#070707",
f: common_vendor.t(item.desc),
g: common_vendor.o(($event) => $data.typeIndex = index, index),
h: $data.typeIndex == index ? item.backColor : "#FAFAFC",
i: $data.typeIndex == index ? `1rpx solid ${item.color}` : "none"
} : {
j: common_assets._imports_0$3
}, {
k: index
});
}),
f: $data.types[$data.typeIndex].backColor,
g: $data.types[$data.typeIndex].color,
h: $data.types[$data.typeIndex].color,
i: `1rpx solid ${$data.types[$data.typeIndex].color}`,
j: `${95}%`,
k: `linear-gradient(to right, ${$data.types[$data.typeIndex].sColor}, ${$data.types[$data.typeIndex].color})`,
l: common_vendor.o((...args) => $options.clickAction && $options.clickAction(...args))
};
}
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

View File

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

View File

@@ -0,0 +1 @@
<view class="cyl_view"><view class="top"><view class="child_1">产业链分析</view><view class="child_2">目标公司供应链图谱</view><view class="child_3">节点 18</view></view><view class="center"><view class="{{['child', a && 'action']}}" bindtap="{{b}}"> 层级视图 </view><view class="{{['child', c && 'action']}}" bindtap="{{d}}"> 流向关系 </view></view><view class="bottom"><view class="type"><view wx:for="{{e}}" wx:for-item="item" wx:key="k" class="item"><block wx:if="{{item.a}}"><view bindtap="{{item.g}}" style="{{'display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#FAFAFC;border-radius:10rpx;width:100%;padding:26rpx 0;box-sizing:border-box' + ';' + ('background-color:' + item.h + ';' + ('border:' + item.i))}}"><view style="color:#2B2B2B;font-size:24rpx;font-weight:bold">{{item.b}} <text style="{{'min-width:24rpx;text-align:center;margin-left:6rpx;padding:0 5rpx;border-radius:5rpx;font-weight:500' + ';' + ('background-color:' + item.d + ';' + ('color:' + item.e))}}">{{item.c}}</text></view><view style="color:#999999;font-size:22rpx;font-weight:500;margin-top:10rpx">{{item.f}}</view></view></block><block wx:else><image style="width:100%;height:auto" src="{{item.j}}" mode="widthFix"></image></block></view></view><view class="list" bindtap="{{l}}" style="margin:20rpx;background-color:#FAFAFC;border-radius:10rpx;padding:25rpx 20rpx;box-sizing:border-box"><view style="color:#2B2B2B;font-size:28rpx;font-weight:bold">央行/政策性银行</view><view style="color:#999999;font-size:24rpx;font-weight:500">提供再贷款、再贴现、同业存放等基础货币与流动性支持</view><view style="display:flex;align-items:center;font-size:20rpx;font-weight:500;margin:15rpx 0"><view style="{{'border-radius:5rpx;padding:0 10rpx;margin-right:10rpx' + ';' + ('background-color:' + f + ';' + ('color:' + g))}}"> Supplier</view><view style="{{'border-radius:5rpx;padding:0 10rpx' + ';' + ('color:' + h + ';' + ('border:' + i))}}">份额: 12.5%</view></view><view style="display:flex;align-items:center"><view style="color:#71675D;font-size:22rpx;font-weight:500">影响度</view><view style="flex:1;height:10rpx;background-color:#EFEFEF;border-radius:5rpx;margin:0 15rpx;overflow:hidden"><view style="{{'height:100%;border-radius:5rpx' + ';' + ('width:' + j + ';' + ('background:' + k))}}"></view></view><view style="color:#71675D;font-size:24rpx;font-weight:500">95</view></view></view></view></view>

View File

@@ -0,0 +1,57 @@
.cyl_view {
padding: 20rpx;
box-sizing: border-box;
}
.cyl_view .top {
display: flex;
align-items: center;
font-weight: 500;
}
.cyl_view .top .child_1 {
color: #2B2B2B;
font-size: 28rpx;
font-weight: bold;
}
.cyl_view .top .child_2 {
color: #71675D;
font-size: 24rpx;
margin: 0 10rpx;
}
.cyl_view .top .child_3 {
border: 1rpx solid #F3C368;
border-radius: 5rpx;
padding: 0 5rpx;
color: #F2C369;
font-size: 24rpx;
}
.cyl_view .center {
margin: 20rpx 0;
display: flex;
align-items: center;
justify-content: space-evenly;
font-weight: 500;
}
.cyl_view .center .child {
background-color: #F5F5F5;
border-radius: 10rpx 10rpx 0 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 26rpx;
color: #939393;
padding: 10rpx 40rpx;
}
.cyl_view .center .child.action {
background-color: #F2C369;
color: #070707;
}
.cyl_view .bottom .type {
display: grid;
grid-template-columns: 1fr 19rpx 1fr 19rpx 1fr;
gap: 6rpx;
}
.cyl_view .bottom .type .item {
display: flex;
align-items: center;
justify-content: center;
}

View File

@@ -0,0 +1,104 @@
"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: "fzlc-view",
data() {
return {
getRateUpOrDown: utils_util.getRateUpOrDown
};
},
props: {
keyFactorsInfo: null,
keyFactorsList: Array,
//关键因素数组
timelineInfo: null,
timelineList: Array
//发展时间线数组
},
methods: {
clickAction() {
this.$emit("detail");
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $props.keyFactorsInfo
}, $props.keyFactorsInfo ? {
b: common_vendor.t($props.keyFactorsInfo.total_factors)
} : {}, {
c: common_vendor.f($props.keyFactorsList, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.category_name),
b: common_vendor.t(item.factors.length),
c: item.show
}, item.show ? {
d: common_assets._imports_0$4
} : {
e: common_assets._imports_1$16
}, {
f: item.show
}, item.show ? {
g: common_vendor.f(item.factors, (fitem, findex, i1) => {
return common_vendor.e({
a: common_vendor.t(fitem.factor_name),
b: fitem.impact_direction == "negative"
}, fitem.impact_direction == "negative" ? {} : {}, {
c: fitem.impact_direction == "neutral"
}, fitem.impact_direction == "neutral" ? {} : {}, {
d: fitem.impact_direction == "positive"
}, fitem.impact_direction == "positive" ? {} : {}, {
e: common_vendor.t(fitem.factor_value),
f: common_vendor.t(fitem.factor_unit),
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
} : {
j: common_assets._imports_3$12
}, {
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")),
m: common_vendor.t(fitem.factor_desc),
n: common_vendor.t(fitem.impact_weight),
o: findex
});
})
} : {}, {
h: index,
i: common_vendor.o(($event) => item.show = !item.show, index)
});
}),
d: $props.timelineInfo
}, $props.timelineInfo ? {
e: common_vendor.t($props.timelineInfo.positive_events),
f: common_vendor.t($props.timelineInfo.negative_events)
} : {}, {
g: common_vendor.f($props.timelineList, (item, index, i0) => {
return common_vendor.e({
a: item.impact_metrics.is_positive == 1
}, item.impact_metrics.is_positive == 1 ? {
b: common_assets._imports_4$11
} : {
c: common_assets._imports_5$7
}, {
d: common_vendor.n("line flex1 " + (item.impact_metrics.is_positive == 1 ? "up" : "down")),
e: common_vendor.t(item.event_title),
f: common_vendor.t(item.event_type),
g: common_vendor.n("eventType " + (item.impact_metrics.is_positive == 1 ? "up" : "down")),
h: common_vendor.t(item.event_date),
i: common_vendor.t(item.event_desc),
j: common_vendor.n("progress " + (item.impact_metrics.is_positive == 1 ? "up" : "down")),
k: `${item.impact_metrics.impact_score}%`,
l: common_vendor.t(item.impact_metrics.impact_score),
m: index,
n: common_vendor.o((...args) => $options.clickAction && $options.clickAction(...args), index)
});
})
});
}
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

View File

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

View File

@@ -0,0 +1 @@
<view style="padding:25rpx 20rpx;box-sizing:border-box"><view wx:if="{{a}}" class="flex" style="font-size:28rpx"><text>关键因素</text><text style="font-size:24rpx;color:#070707;padding:0rpx 10rpx;border-radius:3rpx;background-color:#F2C369;margin-left:10rpx">{{b}}</text></view><view class="keyFactorsList"><view wx:for="{{c}}" wx:for-item="item" wx:key="h" class="item" bindtap="{{item.i}}" style="margin:20rpx 0;background-color:#FAFAFC;border-radius:10rpx;padding:25rpx 20rpx;color:#2B2B2B"><view style="display:flex;align-items:center;justify-content:space-between"><view style="flex:1;font-size:26rpx"><text>{{item.a}}</text><text style="font-size:24rpx;color:#070707;padding:0rpx 10rpx;border-radius:3rpx;background-color:#F2C369;margin-left:10rpx">{{item.b}}</text></view><image wx:if="{{item.c}}" style="width:20rpx;height:12rpx" src="{{item.d}}" mode="widthFix"></image><image wx:else style="width:20rpx;height:12rpx" src="{{item.e}}" mode="widthFix"></image></view><block wx:if="{{item.f}}"><view wx:for="{{item.g}}" wx:for-item="fitem" wx:key="o" class="fitem" style="margin:20rpx 0;padding:20rpx;background-color:white;border-radius:10rpx;border:1rpx solid #E7E7E7;color:#2B2B2B;font-weight:500;font-size:26rpx"><view class="titleImpactC flex between"><view>{{fitem.a}}</view><view wx:if="{{fitem.b}}" class="impact negative">负面</view><view wx:if="{{fitem.c}}" class="impact neutral">中性</view><view wx:if="{{fitem.d}}" class="impact positive">正面</view></view><view class="valueChgC flex" style="margin-top:10rpx"><view class="{{fitem.g}}">{{fitem.e}}{{fitem.f}}</view><view class="{{fitem.l}}"><image wx:if="{{fitem.h}}" class="icon" src="{{fitem.i}}" mode="widthFix"></image><image wx:else class="icon" src="{{fitem.j}}" mode="widthFix"></image><view>{{fitem.k}}%</view></view></view><view style="margin-top:10rpx;color:#999999;font-size:22rpx">{{fitem.m}}</view><view style="margin-top:10rpx;color:#999999;font-size:22rpx">影响权重: {{fitem.n}}</view></view></block></view></view><view wx:if="{{d}}" class="flex" style="font-size:28rpx"><text>发展时间线</text><text style="font-size:24rpx;color:white;padding:0rpx 10rpx;border-radius:3rpx;background-color:#EC3440;margin-left:10rpx">正面 {{e}}</text><text style="font-size:24rpx;color:white;padding:0rpx 10rpx;border-radius:3rpx;background-color:#345423;margin-left:10rpx">负面 {{f}}</text></view><view class="timelineList"><view wx:for="{{g}}" wx:for-item="item" wx:key="m" class="item" bindtap="{{item.n}}"><view class="impactC flexColumnCenter"><image wx:if="{{item.a}}" class="icon" style="margin-top:20rpx" src="{{item.b}}" mode="widthFix"></image><image wx:else class="icon" src="{{item.c}}" mode="widthFix"></image><view class="{{item.d}}"></view></view><view style="flex:1;margin-left:10rpx;background-color:#FAFAFC;padding:24rpx 15rpx;border-radius:10rpx;font-weight:500"><view class="titleTypeC"><text class="title">{{item.e}}</text><text class="{{item.g}}">{{item.f}}</text></view><view style="color:#999999;font-size:20rpx;margin:15rpx 0">{{item.h}}</view><view style="color:#71675D;font-size:22rpx">{{item.i}}</view><view style="display:flex;align-items:center;margin-top:30rpx"><view style="color:#71675D;font-size:22rpx;font-weight:500">影响度</view><view class="progressBgC"><view class="{{item.j}}" style="{{'width:' + item.k}}"></view></view><view style="color:#71675D;font-size:24rpx;font-weight:500">{{item.l}}</view></view></view></view></view></view>

View File

@@ -0,0 +1,105 @@
.keyFactorsList .item .fitem .impact {
border-radius: 5rpx;
padding: 0 10rpx;
font-size: 20rpx;
font-weight: 500;
color: white;
}
.keyFactorsList .item .fitem .impact.negative {
background-color: #345423;
}
.keyFactorsList .item .fitem .impact.neutral {
background-color: #345423;
}
.keyFactorsList .item .fitem .impact.positive {
background-color: #EC3440;
}
.keyFactorsList .item .fitem .valueChgC .value {
font-size: 30rpx;
font-weight: bold;
margin-right: 10rpx;
}
.keyFactorsList .item .fitem .valueChgC .value.negative {
color: #345423;
}
.keyFactorsList .item .fitem .valueChgC .value.neutral {
color: #345423;
}
.keyFactorsList .item .fitem .valueChgC .value.positive {
color: #EC3440;
}
.keyFactorsList .item .fitem .valueChgC .chgC {
padding: 0 10rpx;
border-radius: 5rpx;
font-size: 20rpx;
}
.keyFactorsList .item .fitem .valueChgC .chgC .icon {
margin-right: 5rpx;
width: 11rpx;
height: auto;
}
.keyFactorsList .item .fitem .valueChgC .chgC.down {
border: 1rpx solid #345423;
color: #345423;
}
.keyFactorsList .item .fitem .valueChgC .chgC.up {
border: 1rpx solid #EC3440;
color: #EC3440;
}
.timelineList .item {
display: flex;
margin: 20rpx 0;
border-radius: 10rpx;
}
.timelineList .item .impactC .icon {
width: 30rpx;
height: auto;
}
.timelineList .item .impactC .line {
margin: 10rpx 0 -30rpx;
width: 1rpx;
}
.timelineList .item .impactC .line.up {
border-left: 1rpx dashed #EC3440;
}
.timelineList .item .impactC .line.down {
border-left: 1rpx dashed #345423;
}
.timelineList .item .titleTypeC .title {
margin-right: 10rpx;
font-size: 24rpx;
font-weight: bold;
color: #2A2A2A;
}
.timelineList .item .titleTypeC .eventType {
padding: 5rpx 10rpx;
border-radius: 5rpx;
font-size: 20rpx;
font-weight: 500;
}
.timelineList .item .titleTypeC .eventType.up {
background-color: #FFE7E9;
color: #EC3440;
}
.timelineList .item .titleTypeC .eventType.down {
background-color: #DEEED6;
color: #345423;
}
.timelineList .item .progressBgC {
background-color: #EFEFEF;
margin: 0 15rpx;
width: 200rpx;
height: 10rpx;
border-radius: 5rpx;
overflow: hidden;
}
.timelineList .item .progressBgC .progress {
height: 100%;
border-radius: 5rpx;
}
.timelineList .item .progressBgC .progress.up {
background: linear-gradient(to right, #FF525D, #EC3440);
}
.timelineList .item .progressBgC .progress.down {
background: linear-gradient(to right, #537D3D, #345423);
}

View File

@@ -0,0 +1,70 @@
"use strict";
const utils_util = require("../../utils/util.js");
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
name: "gqjg-view",
data() {
return {
getNumStr: utils_util.getNumStr
};
},
props: {
actualControlInfo: Object,
//实际控制人信息
concentrationList: [],
//股权集中度列表
shareholdersList: Array,
//十大股东列表
circulatingShareholdersList: Array,
//十大流通股东列表
competitivePositionInfo: Object
//竞争地位信息
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $props.actualControlInfo
}, $props.actualControlInfo ? common_vendor.e({
b: common_vendor.t($props.actualControlInfo.actual_controller_name),
c: common_vendor.t($props.actualControlInfo.end_date),
d: $props.actualControlInfo.holding_ratio
}, $props.actualControlInfo.holding_ratio ? {
e: common_vendor.t($props.actualControlInfo.holding_ratio.toFixed(2))
} : {}, {
f: common_vendor.t($data.getNumStr($props.actualControlInfo.holding_shares))
}) : {}, {
g: common_vendor.f($props.concentrationList, (item, index, i0) => {
return {
a: common_vendor.t(item.stat_item),
b: index % 2 == 0 ? "/pagesStock/static/icon/upArrow.png" : "/pagesStock/static/icon/downArrow.png",
c: index % 2 == 0 ? 1 : "",
d: index
};
}),
h: common_vendor.f($props.shareholdersList, (item, index, i0) => {
return {
a: common_vendor.t(item.shareholder_name),
b: common_vendor.t(item.shareholder_type),
c: common_vendor.t($data.getNumStr(item.holding_shares)),
d: common_vendor.t(item.total_share_ratio),
e: common_vendor.t(item.share_nature),
f: index,
g: index % 2 == 1 ? 1 : ""
};
}),
i: common_vendor.f($props.circulatingShareholdersList, (item, index, i0) => {
return {
a: common_vendor.t(item.shareholder_name),
b: common_vendor.t(item.shareholder_type ? item.shareholder_type : "-"),
c: common_vendor.t($data.getNumStr(item.holding_shares)),
d: common_vendor.t(item.total_share_ratio),
e: common_vendor.t(item.share_nature),
f: index,
g: index % 2 == 1 ? 1 : ""
};
})
});
}
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

View File

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

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