2.4 组件结构调整,调整会员权限判断

This commit is contained in:
尚政杰
2026-02-04 17:43:41 +08:00
parent eeca65538c
commit 995ee7f220
274 changed files with 7191 additions and 2186 deletions

View File

@@ -1 +1 @@
"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),n={data:()=>({navH:t.inject("navHeight"),contentTop:"",activeIndex:0,bkList:[{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8}],bkFilters:["按涨幅","按连板数","只看龙头"],filterIndex:0}),onLoad(e){this.activeIndex=e.index,this.contentTop=this.navH+20/750*t.inject("windowWidth")},methods:{}};if(!Array){t.resolveComponent("navBar")()}Math;const i=t._export_sfc(n,[["render",function(n,i,o,c,r,l){return{a:t.p({leftText:"板块异动明细",hideNavBg:!0}),b:e._imports_0,c:t.f(r.bkList,((e,n,i)=>({a:t.t(e.title),b:"tab-"+n,c:t.o((t=>r.activeIndex=n),n),d:n,e:r.activeIndex==n?"#2B2B2B":"#999999",f:r.activeIndex==n?"1rpx solid #F2C369":"none",g:r.activeIndex==n?"28rpx":"26rpx"}))),d:"tab-"+r.activeIndex,e:t.f(r.bkFilters,((e,n,i)=>({a:t.t(e),b:t.o((t=>r.filterIndex=n),n),c:r.filterIndex==n?"#070707":"#939393",d:r.filterIndex==n?"1rpx solid #F2C369":"1rpx solid #E5E5E5",e:r.filterIndex==n?"#F2C369":"#fff",f:n}))),f:t.f(["名称","涨幅","连板","板块"],((e,n,i)=>({a:t.t(e),b:n,c:0==n?"left":"center"}))),g:t.f(30,((t,e,n)=>({a:e%2==0?"#fff":"#FAFAFC"}))),h:e._imports_1$11,i:t.s("top:"+r.contentTop+"px;")}}]]);wx.createPage(i);
"use strict";const t=require("../../common/vendor.js"),e=require("../../request/http.js"),a=require("../../common/assets.js"),n={data:()=>({navH:t.inject("navHeight"),contentTop:"",activeIndex:0,bkList:[],bkFilters:["按涨幅","按连板数","只看龙头"],filterIndex:0,selectedFullDate:""}),onLoad(e){this.activeIndex=e.index,this.selectedFullDate=e.data,this.contentTop=this.navH+20/750*t.inject("windowWidth"),this.fetchData()},methods:{getPreviousDayDate(t){if(!/^\d{4}-\d{2}-\d{2}$/.test(t))return console.error("日期格式错误,请传入 YYYY-MM-DD 格式的日期"),"";const[e,a,n]=t.split("-").map(Number),i=new Date(e,a-1,n);i.setDate(i.getDate()-2);return`${i.getFullYear()}${String(i.getMonth()+1).padStart(2,"0")}${String(i.getDate()).padStart(2,"0")}`},async fetchData(){try{const a=(new Date).getTime(),n=this.getPreviousDayDate(this.selectedFullDate),i=`${e.getBaseURL1()}/data/zt/daily/${n}.json?t=${a}`;console.log("请求URL",i);const s=await t.index.request({url:i,method:"GET"});if(200===s.statusCode&&s.data){this.originData=s.data;const t=this.originData.chart_data||{},e=t.labels||[],a=t.counts||[];a.length>0&&Math.max(...a);let n=[];const i=Math.min(e.length,a.length);for(let s=0;s<i;s++){const t=e[s],i=a[s]||0;n.push({title:t,count:i})}this.bkList=n}else t.index.showToast({title:"数据请求失败",icon:"none"})}catch(a){console.error("请求异常:",a),t.index.showToast({title:"网络异常",icon:"none"})}}}};if(!Array){t.resolveComponent("navBar")()}Math;const i=t._export_sfc(n,[["render",function(e,n,i,s,o,r){return{a:t.p({leftText:"板块异动明细",hideNavBg:!0}),b:a._imports_0,c:t.f(o.bkList,((e,a,n)=>({a:t.t(e.title),b:"tab-"+a,c:t.o((t=>o.activeIndex=a),a),d:a,e:o.activeIndex==a?"#2B2B2B":"#999999",f:o.activeIndex==a?"1rpx solid #F2C369":"none",g:o.activeIndex==a?"28rpx":"26rpx"}))),d:"tab-"+o.activeIndex,e:t.f(o.bkFilters,((e,a,n)=>({a:t.t(e),b:t.o((t=>o.filterIndex=a),a),c:o.filterIndex==a?"#070707":"#939393",d:o.filterIndex==a?"1rpx solid #F2C369":"1rpx solid #E5E5E5",e:o.filterIndex==a?"#F2C369":"#fff",f:a}))),f:t.f(["名称","涨幅","连板","板块"],((e,a,n)=>({a:t.t(e),b:a,c:0==a?"left":"center"}))),g:t.f(30,((t,e,a)=>({a:e%2==0?"#fff":"#FAFAFC"}))),h:a._imports_1$12,i:t.s("top:"+o.contentTop+"px;")}}]]);wx.createPage(i);

View File

@@ -1 +1 @@
"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),i={data:()=>({navH:t.inject("navHeight"),contentTop:"",otherTop:"",activeIndex:0,tabList:["盈利能力","每股指标","成长能力","资产负债表","现金流量指标"],filterIndex:0,filterList:["全部","年报","中报","一季度","三季度"],leftList:["营收增长率%","净利润增长率%","扣非净利润增长率%","归母净利润增长率%","经营现金流增长率%","总资产增长率%","净资产增长率%","固定"]}),onLoad(e){this.activeIndex=e.index,this.contentTop=this.navH+20/750*t.inject("windowWidth"),this.otherTop=this.navH+.272*t.inject("windowWidth")},methods:{}};if(!Array){t.resolveComponent("navBar")()}Math;const n=t._export_sfc(i,[["render",function(i,n,o,r,a,s){return{a:t.p({leftText:"平安银行(000001)",hideNavBg:!0}),b:e._imports_0,c:t.f(a.tabList,((e,i,n)=>({a:t.t(e),b:t.o((t=>a.activeIndex=i),i),c:i,d:"tab-"+i,e:i==a.tabList.length-1?"0":"40rpx",f:a.activeIndex==i?"#2B2B2B":"#999999",g:a.activeIndex==i?"28rpx":"26rpx",h:a.activeIndex==i?"1rpx solid #F2C369":"none",i:a.activeIndex==i?"bold":"500"}))),d:"tab-"+a.activeIndex,e:t.f(a.filterList,((e,i,n)=>({a:t.t(e),b:t.o((t=>a.filterIndex=i),i),c:i,d:a.filterIndex==i?"#070707":"#939393",e:a.filterIndex==i?"#F2C369":"#F6F6F6"}))),f:`repeat(${a.filterList.length}, 110rpx)`,g:e._imports_1$14,h:t.s("top:"+a.contentTop+"px;"),i:t.f(a.leftList,((e,i,n)=>({a:t.t(e),b:i,c:i%2==0?"#fff":"#FAFAFC"}))),j:t.f(8,((e,i,n)=>({a:t.f(a.leftList,((t,e,i)=>({a:e,b:e%2==0?"#fff":"#FAFAFC"}))),b:i}))),k:t.s("top:"+a.otherTop+"px;"),l:t.o((t=>i.sendEventComment())),m:i.eventComment,n:t.o((t=>i.eventComment=t.detail.value)),o:e._imports_2$10,p:e._imports_3$10,q:t.o((t=>i.clickComment())),r:e._imports_4$9,s:t.o((t=>i.clickFollow()))}}]]);wx.createPage(n);
"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),i={data:()=>({navH:t.inject("navHeight"),contentTop:"",otherTop:"",activeIndex:0,tabList:["盈利能力","每股指标","成长能力","资产负债表","现金流量指标"],filterIndex:0,filterList:["全部","年报","中报","一季度","三季度"],leftList:["营收增长率%","净利润增长率%","扣非净利润增长率%","归母净利润增长率%","经营现金流增长率%","总资产增长率%","净资产增长率%","固定"]}),onLoad(e){this.activeIndex=e.index,this.contentTop=this.navH+20/750*t.inject("windowWidth"),this.otherTop=this.navH+.272*t.inject("windowWidth")},methods:{}};if(!Array){t.resolveComponent("navBar")()}Math;const n=t._export_sfc(i,[["render",function(i,n,o,r,a,s){return{a:t.p({leftText:"平安银行(000001)",hideNavBg:!0}),b:e._imports_0,c:t.f(a.tabList,((e,i,n)=>({a:t.t(e),b:t.o((t=>a.activeIndex=i),i),c:i,d:"tab-"+i,e:i==a.tabList.length-1?"0":"40rpx",f:a.activeIndex==i?"#2B2B2B":"#999999",g:a.activeIndex==i?"28rpx":"26rpx",h:a.activeIndex==i?"1rpx solid #F2C369":"none",i:a.activeIndex==i?"bold":"500"}))),d:"tab-"+a.activeIndex,e:t.f(a.filterList,((e,i,n)=>({a:t.t(e),b:t.o((t=>a.filterIndex=i),i),c:i,d:a.filterIndex==i?"#070707":"#939393",e:a.filterIndex==i?"#F2C369":"#F6F6F6"}))),f:`repeat(${a.filterList.length}, 110rpx)`,g:e._imports_4$10,h:t.s("top:"+a.contentTop+"px;"),i:t.f(a.leftList,((e,i,n)=>({a:t.t(e),b:i,c:i%2==0?"#fff":"#FAFAFC"}))),j:t.f(8,((e,i,n)=>({a:t.f(a.leftList,((t,e,i)=>({a:e,b:e%2==0?"#fff":"#FAFAFC"}))),b:i}))),k:t.s("top:"+a.otherTop+"px;"),l:t.o((t=>i.sendEventComment())),m:i.eventComment,n:t.o((t=>i.eventComment=t.detail.value)),o:e._imports_2$12,p:e._imports_3$11,q:t.o((t=>i.clickComment())),r:e._imports_4$11,s:t.o((t=>i.clickFollow()))}}]]);wx.createPage(n);

File diff suppressed because one or more lines are too long

View File

@@ -1,19 +1,19 @@
{
"navigationBarTitleText": "",
"usingComponents": {
"cwfx-view": "../components/cwfx-view/cwfx-view",
"cwsj-view": "../components/cwsj-view/cwsj-view",
"cyl-view": "../components/cyl-view/cyl-view",
"fzjg-view": "../components/fzjg-view/fzjg-view",
"fzlc-view": "../components/fzlc-view/fzlc-view",
"gltd-view": "../components/gltd-view/gltd-view",
"gqjg-view": "../components/gqjg-view/gqjg-view",
"gsxx-view": "../components/gsxx-view/gsxx-view",
"news-view": "../components/news-view/news-view",
"ywjg-view": "../components/ywjg-view/ywjg-view",
"zlfx-view": "../components/zlfx-view/zlfx-view",
"zysj-view": "../components/zysj-view/zysj-view",
"nav-bar": "../../components/navBar/navBar",
"gqjg-view": "../../components/gqjg-view/gqjg-view",
"gltd-view": "../../components/gltd-view/gltd-view",
"fzjg-view": "../../components/fzjg-view/fzjg-view",
"gsxx-view": "../../components/gsxx-view/gsxx-view",
"zlfx-view": "../../components/zlfx-view/zlfx-view",
"ywjg-view": "../../components/ywjg-view/ywjg-view",
"cyl-view": "../../components/cyl-view/cyl-view",
"fzlc-view": "../../components/fzlc-view/fzlc-view",
"zysj-view": "../../components/zysj-view/zysj-view",
"cwfx-view": "../../components/cwfx-view/cwfx-view",
"cwsj-view": "../../components/cwsj-view/cwsj-view",
"news-view": "../../components/news-view/news-view",
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),n={data:()=>({navH:t.inject("navHeight"),contentTop:"",tabTypes:[{data:"1月14日",change:0,title:"当前日期"},{data:"102",change:3,title:"涨停家数"},{data:"22%",change:0,title:"炸板率"}],bkList:[{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8}],bkTypes:["板块关联图","板块分布","热门概念词云"]}),onLoad(e){this.activeIndex=e.index,this.contentTop=this.navH+20/750*t.inject("windowWidth")},methods:{bkydAction(e){t.index.navigateTo({url:`/pagesStock/stockCenterDetails/bkydmx?index=${e}`})}}};if(!Array){(t.resolveComponent("navBar")+t.resolveComponent("LCCalendar"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../components/LCCalendar/LCCalendar.js"))();const o=t._export_sfc(n,[["render",function(n,o,i,a,c,s){return{a:t.p({leftText:"涨停分析",hideNavBg:!0}),b:e._imports_0,c:e._imports_1$10,d:e._imports_2$8,e:t.f(c.tabTypes,((e,n,o)=>t.e({a:t.t(e.data),b:e.change>0},e.change>0?{c:t.t(e.change)}:{},{d:t.t(e.title),e:n}))),f:e._imports_3$8,g:t.f(c.bkList,((e,n,o)=>({a:t.t(e.title),b:t.t(e.count),c:n,d:t.o((t=>s.bkydAction(n)),n)}))),h:t.f(c.bkTypes,((e,n,o)=>({a:t.t(e),b:0==n?"#BB8520":"#999999",c:"1rpx solid "+(0==n?"#F2C369":"#D2D2D2"),d:0==n?"#FFFAF1":"#FFF"}))),i:e._imports_3$8,j:t.f(10,((t,e,n)=>({a:e}))),k:e._imports_1$11,l:e._imports_5$4,m:e._imports_5$4,n:t.s("top:"+c.contentTop+"px;")}}]]);wx.createPage(o);
"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),n={data:()=>({navH:t.inject("navHeight"),contentTop:"",tabTypes:[{data:"1月14日",change:0,title:"当前日期"},{data:"102",change:3,title:"涨停家数"},{data:"22%",change:0,title:"炸板率"}],bkList:[{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8},{title:"存储芯片",count:8}],bkTypes:["板块关联图","板块分布","热门概念词云"]}),onLoad(e){this.activeIndex=e.index,this.contentTop=this.navH+20/750*t.inject("windowWidth")},methods:{bkydAction(e){t.index.navigateTo({url:`/pagesStock/stockCenterDetails/bkydmx?index=${e}`})}}};if(!Array){(t.resolveComponent("navBar")+t.resolveComponent("LCCalendar"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../components/LCCalendar/LCCalendar.js"))();const o=t._export_sfc(n,[["render",function(n,o,i,a,c,s){return{a:t.p({leftText:"涨停分析",hideNavBg:!0}),b:e._imports_0,c:e._imports_1$9,d:e._imports_2$9,e:t.f(c.tabTypes,((e,n,o)=>t.e({a:t.t(e.data),b:e.change>0},e.change>0?{c:t.t(e.change)}:{},{d:t.t(e.title),e:n}))),f:e._imports_3$8,g:t.f(c.bkList,((e,n,o)=>({a:t.t(e.title),b:t.t(e.count),c:n,d:t.o((t=>s.bkydAction(n)),n)}))),h:t.f(c.bkTypes,((e,n,o)=>({a:t.t(e),b:0==n?"#BB8520":"#999999",c:"1rpx solid "+(0==n?"#F2C369":"#D2D2D2"),d:0==n?"#FFFAF1":"#FFF"}))),i:e._imports_3$8,j:t.f(10,((t,e,n)=>({a:e}))),k:e._imports_1$12,l:e._imports_5$6,m:e._imports_5$6,n:t.s("top:"+c.contentTop+"px;")}}]]);wx.createPage(o);