1.
This commit is contained in:
263
unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.js
vendored
Normal file
263
unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.js
vendored
Normal file
@@ -0,0 +1,263 @@
|
||||
"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();
|
||||
common_vendor.index.__f__("log", "at components/LCCalendar/LCCalendar.vue:97", JSON.stringify(this.monthDateList[0]));
|
||||
},
|
||||
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:241", "点击上个月");
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击下个月
|
||||
*/
|
||||
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:270", "点击下个月");
|
||||
}
|
||||
},
|
||||
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:287", "月份变更");
|
||||
},
|
||||
/**
|
||||
* 点击选择开始日期和结束日期
|
||||
* @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:298", "点击某天");
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_assets._imports_0$1,
|
||||
b: common_vendor.o(($event) => $options.clickPreMonth()),
|
||||
c: common_assets._imports_1$16,
|
||||
d: common_vendor.t($data.selectDateStr),
|
||||
e: common_vendor.o((...args) => $options.monthChange && $options.monthChange(...args)),
|
||||
f: common_assets._imports_2$3,
|
||||
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
|
||||
4
unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.wxml
vendored
Normal 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>
|
||||
75
unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.wxss
vendored
Normal file
75
unpackage/dist/dev/mp-weixin/components/LCCalendar/LCCalendar.wxss
vendored
Normal 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;
|
||||
}
|
||||
86
unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.js
vendored
Normal file
86
unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.js
vendored
Normal 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
|
||||
4
unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.wxml
vendored
Normal 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>
|
||||
57
unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.wxss
vendored
Normal file
57
unpackage/dist/dev/mp-weixin/components/cyl-view/cyl-view.wxss
vendored
Normal 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;
|
||||
}
|
||||
76
unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.js
vendored
Normal file
76
unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.js
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
name: "fzlc-view",
|
||||
data() {
|
||||
return {
|
||||
gj_list: [
|
||||
{
|
||||
title: "产量与销量指标",
|
||||
count: 8,
|
||||
show: false
|
||||
},
|
||||
{
|
||||
title: "价格与成本驱动",
|
||||
count: 3,
|
||||
show: false
|
||||
},
|
||||
{
|
||||
title: "市场与客户指标",
|
||||
count: 2,
|
||||
show: false
|
||||
},
|
||||
{
|
||||
title: "行业特定指标",
|
||||
count: 4,
|
||||
show: false
|
||||
},
|
||||
{
|
||||
title: "风险与异常指标",
|
||||
count: 2,
|
||||
show: false
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
clickAction() {
|
||||
this.$emit("detail");
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.f($data.gj_list, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.t(item.count),
|
||||
c: item.show
|
||||
}, item.show ? {
|
||||
d: common_assets._imports_0$4
|
||||
} : {
|
||||
e: common_assets._imports_1$14
|
||||
}, {
|
||||
f: item.show
|
||||
}, item.show ? {
|
||||
g: common_vendor.f(item.count, (child, k1, i1) => {
|
||||
return {};
|
||||
}),
|
||||
h: common_assets._imports_2$13
|
||||
} : {}, {
|
||||
i: index,
|
||||
j: common_vendor.o(($event) => item.show = !item.show, index)
|
||||
});
|
||||
}),
|
||||
b: common_vendor.f(3, (item, k0, i0) => {
|
||||
return {};
|
||||
}),
|
||||
c: common_assets._imports_3$12,
|
||||
d: `${95}%`,
|
||||
e: 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/fzlc-view/fzlc-view.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/fzlc-view/fzlc-view.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view style="padding:25rpx 20rpx;box-sizing:border-box"><view style="display:flex;align-items:center;font-size:28rpx"><text>关键因素</text><text style="font-size:24rpx;color:#070707;padding:0rpx 10rpx;border-radius:3rpx;background-color:#F2C369;margin-left:10rpx">19</text></view><view wx:for="{{a}}" wx:for-item="item" wx:key="i" bindtap="{{item.j}}" 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="child" style="margin:20rpx 0;padding:20rpx;box-sizing:border-box;background-color:white;border-radius:10rpx;border:1rpx solid #E7E7E7;color:#2B2B2B;font-weight:500;font-size:26rpx"><view style="display:flex;align-items:center;justify-content:space-between"><view>净息差</view><view style="background-color:#345423;border-radius:5rpx;color:white;padding:0 10rpx;text-align:center;font-size:20rpx"> 负面</view></view><view style="display:flex;align-items:center;margin-top:10rpx"><view style="color:#345423;font-weight:bold;font-size:30rpx;margin-right:10rpx">1.79亿元 </view><view style="display:flex;align-items:center;border:1rpx solid #345423;padding:0 10rpx;text-align:center;font-size:20rpx;color:#345423;border-radius:5rpx"><image style="width:11rpx;height:15rpx;margin-right:5rpx" src="{{item.h}}" mode="widthFix"></image>0.51% </view></view><view style="margin-top:10rpx;color:#999999;font-size:22rpx">银行核心盈利能力指标,反映存贷利差水平</view><view style="margin-top:10rpx;color:#999999;font-size:22rpx">影响权重: 90</view></view></block></view><view style="display:flex;align-items:center;font-size:28rpx"><text>发展时间线</text><text style="font-size:24rpx;color:white;padding:0rpx 10rpx;border-radius:3rpx;background-color:#EC3440;margin-left:10rpx">正面 19</text><text style="font-size:24rpx;color:white;padding:0rpx 10rpx;border-radius:3rpx;background-color:#345423;margin-left:10rpx">负面 1</text></view><view wx:for="{{b}}" wx:for-item="item" bindtap="{{e}}" style="display:flex;margin:20rpx 0;border-radius:10rpx;box-sizing:border-box;color:#2B2B2B"><view style="display:flex;flex-direction:column;align-items:center"><image style="width:30rpx;height:30rpx;margin-top:20rpx" src="{{c}}" mode="widthFix"></image><view style="flex:1;width:1rpx;border-left:1rpx dashed #EC3440;margin-top:10rpx;margin-bottom:-30rpx"></view></view><view style="flex:1;margin-left:10rpx;background-color:#FAFAFC;padding:24rpx 15rpx;border-radius:10rpx;font-weight:500"><view><text style="color:#2A2A2A;font-weight:bold;font-size:24rpx;margin-right:10rpx">不良贷款率连续四年低于1.1%</text><text style="background-color:#FFE7E9;color:#EC3440;padding:5rpx 10rpx;border-radius:5rpx;font-size:20rpx">Achievement</text></view><view style="color:#999999;font-size:20rpx;margin:15rpx 0">2025-06-30</view><view style="color:#71675D;font-size:22rpx">2025年中报不良率1.06%,拨备覆盖率290%,资产质量保持股份行领先。</view><view style="display:flex;align-items:center;margin-top:30rpx"><view style="color:#71675D;font-size:22rpx;font-weight:500">影响度</view><view style="width:200rpx;height:10rpx;background-color:#EFEFEF;border-radius:5rpx;margin:0 15rpx;overflow:hidden"><view style="{{'height:100%;border-radius:5rpx;background:linear-gradient(to right, #FF525D, #EC3440)' + ';' + ('width:' + d)}}"></view></view><view style="color:#71675D;font-size:24rpx;font-weight:500">95</view></view></view></view></view>
|
||||
34
unpackage/dist/dev/mp-weixin/components/gqjg-view/gqjg-view.js
vendored
Normal file
34
unpackage/dist/dev/mp-weixin/components/gqjg-view/gqjg-view.js
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "gqjg-view",
|
||||
data() {
|
||||
return {};
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.f(4, (item, index, i0) => {
|
||||
return {
|
||||
a: index % 2 == 0 ? "/pagesStock/static/icon/upArrow.png" : "/pagesStock/static/icon/downArrow.png",
|
||||
b: index % 2 == 0 ? 1 : ""
|
||||
};
|
||||
}),
|
||||
b: common_vendor.f(4, (item, index, i0) => {
|
||||
return {};
|
||||
}),
|
||||
c: common_vendor.f(10, (item, index, i0) => {
|
||||
return {
|
||||
a: index % 2 == 1 ? 1 : ""
|
||||
};
|
||||
}),
|
||||
d: common_vendor.f(10, (item, index, i0) => {
|
||||
return {
|
||||
a: 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
|
||||
4
unpackage/dist/dev/mp-weixin/components/gqjg-view/gqjg-view.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/gqjg-view/gqjg-view.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/gqjg-view/gqjg-view.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/gqjg-view/gqjg-view.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="com_list"><view class="item"><view class="flex"><view class="title">平安银行股份有限公司北京分行</view></view><view class="com_info"><view class="left"><view class="l_top">中国平安保险(集团)股份有限公司</view><view class="l_bottom"><view class="l_b_left">企业法人</view><view class="l_b_right">截至 2024-09-30</view></view></view><view class="right"><view class="r_top">控制比例</view><view class="r_center">52.38%</view><view class="r_bottom">101.69亿股</view></view></view><view class="flex"><view class="title">股权集中度</view></view><view class="guquan"><view class="top">2025-09-30 00:00:00</view><view class="bottom"><view class="b_item"><view wx:for="{{a}}" wx:for-item="item" class="item_info"><view class="left"> 前1大股东 </view><view class="right"><view class="bili">49.56%</view><view class="{{['shengjiang', item.b && 'action']}}"><image src="{{item.a}}" mode="widthFix"></image>0.35% </view></view></view></view><view style="width:15rpx"></view><view class="b_item"><view wx:for="{{b}}" wx:for-item="item" class="item_info"><view class="left"> 前1大流通股东 </view><view class="right"><view class="bili">49.56%</view><view wx:if="{{0}}" class="{{['shengjiang', item.b && 'action']}}"><image src="{{item.a}}" mode="widthFix"></image>0.35% </view></view></view></view></view></view><view class="flex"><view class="title">十大股东</view></view><view class="gudong"><view class="back"><view class="top action" style="height:54rpx"><view>股东名称</view><view>股东类型</view><view style="text-align:center">持股数量</view><view style="text-align:center">持股比例</view><view style="text-align:center">股份性质</view></view><view wx:for="{{c}}" wx:for-item="item" class="{{['top', item.a && 'action']}}"><view class="child">中国平安保险(啊山东科技发啦设计费)</view><view class="child">保险公司</view><view class="child" style="text-align:center">96.19亿</view><view class="child" style="color:#3E87CF;font-weight:bold;text-align:center">49.57%</view><view class="child" style="background-color:#FFF7E9;color:#E0AC4A;border-radius:5rpx;padding:5rpx 10rpx;text-align:center"> 流通A股</view></view></view></view><view class="flex"><view class="title">十大流通股东 </view></view><view class="gudong"><view class="back"><view class="top action" style="height:54rpx"><view>股东名称</view><view>股东类型</view><view style="text-align:center">持股数量</view><view style="text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis"> 流通股比例</view><view style="text-align:center">股份性质</view></view><view wx:for="{{d}}" wx:for-item="item" class="{{['top', item.a && 'action']}}"><view class="child">中国平安保险(啊山东科技发啦设计费)</view><view class="child">保险公司</view><view class="child" style="text-align:center">96.19亿</view><view class="child" style="color:#893ECF;font-weight:bold;text-align:center">49.57%</view><view class="child" style="background-color:#FFF7E9;color:#E0AC4A;border-radius:5rpx;padding:5rpx 10rpx;text-align:center"> 流通A股</view></view></view></view></view></view>
|
||||
142
unpackage/dist/dev/mp-weixin/components/gqjg-view/gqjg-view.wxss
vendored
Normal file
142
unpackage/dist/dev/mp-weixin/components/gqjg-view/gqjg-view.wxss
vendored
Normal file
@@ -0,0 +1,142 @@
|
||||
.com_list {
|
||||
margin-top: 38rpx;
|
||||
padding: 0 20rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.com_list .title {
|
||||
color: #2B2B2B;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.com_list .item .com_info {
|
||||
margin: 20rpx 0;
|
||||
background-color: #FAFAFC;
|
||||
border-radius: 10rpx;
|
||||
padding: 25rpx 20rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-weight: 500;
|
||||
}
|
||||
.com_list .item .com_info .left .l_top {
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.com_list .item .com_info .left .l_bottom {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.com_list .item .com_info .left .l_bottom .l_b_left {
|
||||
background-color: #99AFEC;
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
font-size: 20rpx;
|
||||
padding: 5rpx;
|
||||
}
|
||||
.com_list .item .com_info .left .l_bottom .l_b_right {
|
||||
margin-left: 10rpx;
|
||||
color: #999999;
|
||||
font-size: 22rpx;
|
||||
}
|
||||
.com_list .item .com_info .right {
|
||||
color: #71675D;
|
||||
font-size: 20rpx;
|
||||
text-align: right;
|
||||
}
|
||||
.com_list .item .com_info .right .r_center {
|
||||
color: #BB8520;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
margin: 5rpx 0;
|
||||
}
|
||||
.com_list .item .guquan {
|
||||
margin: 25rpx 0;
|
||||
font-weight: 500;
|
||||
background-color: #FAFAFC;
|
||||
border-radius: 10rpx;
|
||||
padding: 25rpx 13rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.com_list .item .guquan .top {
|
||||
color: #999999;
|
||||
font-size: 22rpx;
|
||||
}
|
||||
.com_list .item .guquan .bottom {
|
||||
display: flex;
|
||||
}
|
||||
.com_list .item .guquan .bottom .b_item {
|
||||
flex: 1;
|
||||
}
|
||||
.com_list .item .guquan .bottom .b_item .item_info {
|
||||
margin: 15rpx 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.com_list .item .guquan .bottom .b_item .item_info .left {
|
||||
color: #666666;
|
||||
font-size: 20rpx;
|
||||
}
|
||||
.com_list .item .guquan .bottom .b_item .item_info .right {
|
||||
height: 35rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 20rpx;
|
||||
}
|
||||
.com_list .item .guquan .bottom .b_item .item_info .right .bili {
|
||||
color: #BB8520;
|
||||
font-weight: bold;
|
||||
}
|
||||
.com_list .item .guquan .bottom .b_item .item_info .right .shengjiang {
|
||||
margin-left: 10rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 5rpx;
|
||||
border-radius: 5rpx;
|
||||
background-color: #C6F6D5;
|
||||
color: #345423;
|
||||
font-size: 18rpx;
|
||||
}
|
||||
.com_list .item .guquan .bottom .b_item .item_info .right .shengjiang image {
|
||||
width: 11rpx;
|
||||
height: 25rpx;
|
||||
margin-right: 4rpx;
|
||||
}
|
||||
.com_list .item .guquan .bottom .b_item .item_info .right .shengjiang.action {
|
||||
background-color: #FFDFE1;
|
||||
color: #EC3440;
|
||||
}
|
||||
.com_list .item .gudong {
|
||||
margin-top: 25rpx;
|
||||
}
|
||||
.com_list .item .gudong .back {
|
||||
margin: 25rpx 0;
|
||||
font-weight: 500;
|
||||
background-color: #FAFAFC;
|
||||
border-radius: 10rpx;
|
||||
padding: 25rpx 13rpx;
|
||||
box-sizing: border-box;
|
||||
color: #666666;
|
||||
}
|
||||
.com_list .item .gudong .back .top {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
gap: 20rpx;
|
||||
grid-template-columns: 130rpx repeat(4, 1fr);
|
||||
font-size: 22rpx;
|
||||
background-color: white;
|
||||
}
|
||||
.com_list .item .gudong .back .top.action {
|
||||
background-color: #FAFAFC;
|
||||
}
|
||||
.com_list .item .gudong .back .top .child {
|
||||
font-size: 18rpx;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
margin: 10rpx 0;
|
||||
}
|
||||
125
unpackage/dist/dev/mp-weixin/components/navBar/navBar.js
vendored
Normal file
125
unpackage/dist/dev/mp-weixin/components/navBar/navBar.js
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
getApp();
|
||||
const _sfc_main = {
|
||||
name: "navBar",
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
menuH: common_vendor.inject("menuHeight"),
|
||||
navBarStyle: "",
|
||||
backTitleStyle: "",
|
||||
navTitleStyle: "",
|
||||
titleColor: this.navTitleColor,
|
||||
bgColor: this.navBgColor,
|
||||
num: this.peopleNum
|
||||
};
|
||||
},
|
||||
props: {
|
||||
leftText: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
backBlack: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
navTitle: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
navBgColor: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
navTitleColor: {
|
||||
type: String,
|
||||
default: "white"
|
||||
},
|
||||
hideBack: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
hideNavBg: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
backLevel: {
|
||||
type: Number,
|
||||
default: 1
|
||||
},
|
||||
peopleNum: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
let navHeight = this.navH;
|
||||
let menuHeight = common_vendor.inject("menuHeight");
|
||||
let menuTop = common_vendor.inject("menuTop");
|
||||
let navBarStyle = `background-color:${this.bgColor};height:${navHeight}px;`;
|
||||
let backTitleStyle = `height:${menuHeight}px;margin-top:${menuTop}px;color:${this.titleColor}`;
|
||||
let navTitleStyle = `height:${menuHeight}px;line-height:${menuHeight}px;top:${menuTop}px;color:${this.titleColor}`;
|
||||
this.navBarStyle = navBarStyle;
|
||||
this.backTitleStyle = backTitleStyle;
|
||||
this.navTitleStyle = navTitleStyle;
|
||||
},
|
||||
watch: {
|
||||
navTitleColor: {
|
||||
handler(newVal, oldVal) {
|
||||
this.titleColor = newVal;
|
||||
}
|
||||
},
|
||||
navBgColor: {
|
||||
handler(newVal, oldVal) {
|
||||
this.bgColor = newVal;
|
||||
}
|
||||
},
|
||||
peopleNum: {
|
||||
handler(newVal, oldVal) {
|
||||
this.num = newVal;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
clickBack() {
|
||||
common_vendor.index.navigateBack({
|
||||
fail() {
|
||||
common_vendor.index.switchTab({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: !$props.hideNavBg
|
||||
}, !$props.hideNavBg ? {
|
||||
b: common_assets._imports_0
|
||||
} : {}, {
|
||||
c: !$props.hideBack && !$props.backBlack
|
||||
}, !$props.hideBack && !$props.backBlack ? {
|
||||
d: common_assets._imports_1$13
|
||||
} : {}, {
|
||||
e: !$props.hideBack && $props.backBlack
|
||||
}, !$props.hideBack && $props.backBlack ? {
|
||||
f: common_assets._imports_2
|
||||
} : {}, {
|
||||
g: common_vendor.t($props.leftText),
|
||||
h: common_vendor.s($data.backTitleStyle),
|
||||
i: common_vendor.o((...args) => $options.clickBack && $options.clickBack(...args)),
|
||||
j: common_vendor.t($props.navTitle),
|
||||
k: $data.num > 0
|
||||
}, $data.num > 0 ? {
|
||||
l: common_vendor.t($data.num)
|
||||
} : {}, {
|
||||
m: common_vendor.s($data.navTitleStyle),
|
||||
n: common_vendor.s($data.navBarStyle)
|
||||
});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/navBar/navBar.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/navBar/navBar.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/navBar/navBar.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/navBar/navBar.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/navBar/navBar.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="nav flex fixed" style="{{n}}"><image wx:if="{{a}}" class="bg absolute" src="{{b}}" mode="widthFix"></image><view class="backC relative flex" style="{{h}}" bindtap="{{i}}"><image wx:if="{{c}}" class="icon" src="{{d}}" mode="widthFix"></image><image wx:if="{{e}}" class="icon" src="{{f}}" mode="widthFix"></image><text class="title">{{g}}</text></view><view class="titleC relative" style="{{m}}">{{j}} <view wx:if="{{k}}" class="peopleNum absolute"><view class="num">{{l}}人</view></view></view></view>
|
||||
73
unpackage/dist/dev/mp-weixin/components/navBar/navBar.wxss
vendored
Normal file
73
unpackage/dist/dev/mp-weixin/components/navBar/navBar.wxss
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.nav {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
overflow: hidden;
|
||||
}
|
||||
.nav .bg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.nav .backC {
|
||||
padding: 0 25rpx;
|
||||
}
|
||||
.nav .backC .icon {
|
||||
margin-right: 12rpx;
|
||||
width: 32rpx;
|
||||
height: auto;
|
||||
}
|
||||
.nav .title {
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.nav .titleC {
|
||||
position: absolute;
|
||||
left: calc((100% - 400rpx) / 2);
|
||||
width: 400rpx;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.nav .titleC .peopleNum {
|
||||
background-color: #3B9174;
|
||||
top: -15rpx;
|
||||
left: 270rpx;
|
||||
height: 30rpx;
|
||||
border-radius: 15px 15px 15px 0px;
|
||||
line-height: 30rpx;
|
||||
font-size: 24rpx;
|
||||
color: white;
|
||||
}
|
||||
.nav .titleC .peopleNum .num {
|
||||
margin: 0 16rpx;
|
||||
}
|
||||
43
unpackage/dist/dev/mp-weixin/components/news-view/news-view.js
vendored
Normal file
43
unpackage/dist/dev/mp-weixin/components/news-view/news-view.js
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
name: "news-view",
|
||||
data() {
|
||||
return {
|
||||
showType: 0
|
||||
};
|
||||
},
|
||||
props: {
|
||||
// 0 新闻动态 1 公司公告
|
||||
type: Number
|
||||
},
|
||||
watch: {
|
||||
type: {
|
||||
handler(newVal, oldVal) {
|
||||
this.showType = newVal;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.showType == 0
|
||||
}, $data.showType == 0 ? {
|
||||
b: common_assets._imports_0$6,
|
||||
c: common_assets._imports_1$15,
|
||||
d: common_assets._imports_2$15,
|
||||
e: common_assets._imports_3$14,
|
||||
f: common_vendor.f(["C级", "行业政策", "投资分72", "金融监管", "资管行业", "自律管理"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item)
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
g: $data.showType == 1
|
||||
}, $data.showType == 1 ? {} : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/news-view/news-view.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/news-view/news-view.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/news-view/news-view.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/news-view/news-view.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/news-view/news-view.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><block wx:if="{{a}}"><view style="padding:20rpx"><view style="background-color:#F3F3F3;display:flex;align-items:center;height:70rpx;border-radius:30rpx;overflow:hidden"><view style="display:flex;align-items:center;justify-content:center;width:62rpx"><image style="width:25rpx;height:24rpx" src="{{b}}" mode="widthFix"></image></view><input style="flex:1;height:100%;font-size:22rpx;color:#999;margin-right:20rpx" type="text" placeholder="搜索相关新闻..."/></view><view style="border:1rpx solid #E7E7E7;border-radius:10rpx;padding:0 27rpx;margin:20rpx 0"><view style="color:#2B2B2B;font-size:26rpx;font-weight:bold;margin-top:20rpx">中央财办明确2026年继续实施适度宽松货币政策...</view><view style="display:flex;align-items:center;color:#999999;font-size:22rpx;font-weight:400"><image style="width:20rpx;height:20rpx;margin-right:5rpx" src="{{c}}" mode="widthFix"></image><text>2025/12/16</text><text style="margin:10rpx">|</text><image style="width:18rpx;height:13rpx;margin-right:5rpx" src="{{d}}" mode="widthFix"></image><text>9</text><text style="margin:10rpx">|</text><image style="width:16rpx;height:19rpx;margin-right:5rpx" src="{{e}}" mode="widthFix"></image><text>3.1</text></view><view style="display:flex;flex-wrap:wrap"><view wx:for="{{f}}" wx:for-item="item" style="background-color:#FFFAF0;border-radius:3rpx;padding:2rpx 10rpx;overflow:hidden;font-size:18rpx;color:#E9AE3E;font-weight:400;margin-right:10rpx;margin-top:10rpx">{{item.a}}</view></view><view style="margin:20rpx 0;font-size:22rpx;color:#71675D;font-weight:500">中央财办有关负责同志表示,2026年继续实施适度宽松的货币政策,把促进经济稳定增长、物价合理回升作为重要考量。</view><view style="height:1rpx;background-color:#E7E7E7"></view><view style="display:flex;align-items:center;color:#71675D;font-size:22rpx;font-weight:500;margin:20rpx 0"><text style="font-weight:bold;color:#2B2B2B">相关涨跌:</text><text>平均 </text><text style="color:#EC3440;font-weight:bold">+2.39%</text><text style="margin:0 20rpx">|</text><text>最大 </text><text style="color:#EC3440;font-weight:bold">+9.28%</text><text style="margin:0 20rpx">|</text><text>周 </text><text style="color:#EC3440;font-weight:bold">+3.22%</text></view></view></view></block><block wx:if="{{g}}"><view style="padding:20rpx"><view style="border:1rpx solid #E7E7E7;border-radius:10rpx;padding:0 27rpx;margin:20rpx 0;display:flex;align-items:center"><view style="flex:1"><view style="color:#2B2B2B;font-size:26rpx;font-weight:bold;margin-top:20rpx">中央财办明确2026年继续实施适度宽松货币政策...</view><view style="display:flex;align-items:center;color:#71675D;font-size:22rpx;font-weight:500;margin:20rpx 0"><text style="color:#E9AE3E;font-size:18rpx;background-color:#FFFAF0;border-radius:3rpx;padding:2rpx 10rpx;margin-right:14rpx">定期报告</text><text>2024-10-28</text><text style="margin:0 20rpx">|</text><text>PDF</text><text style="margin:0 20rpx">|</text><text>132 KB</text></view></view><view style="padding:4rpx 10rpx;background-color:#F2C369;border-radius:10rpx;color:#2B2B2B;font-size:22rpx;margin-left:10rpx">查看</view></view></view></block></view>
|
||||
7412
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/highlight/uni-highlight.min.js
vendored
Normal file
7412
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/highlight/uni-highlight.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
17
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/html-parser.js
vendored
Normal file
17
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/html-parser.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
require("../../../common/vendor.js");
|
||||
makeMap("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr");
|
||||
makeMap("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video");
|
||||
makeMap("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var");
|
||||
makeMap("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr");
|
||||
makeMap("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected");
|
||||
makeMap("script,style");
|
||||
function makeMap(str) {
|
||||
var obj = {};
|
||||
var items = str.split(",");
|
||||
for (var i = 0; i < items.length; i++) {
|
||||
obj[items[i]] = true;
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/components/ua-markdown/lib/html-parser.js.map
|
||||
1592
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/markdown-it.min.js
vendored
Normal file
1592
unpackage/dist/dev/mp-weixin/components/ua-markdown/lib/markdown-it.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
92
unpackage/dist/dev/mp-weixin/components/ua-markdown/ua-markdown.js
vendored
Normal file
92
unpackage/dist/dev/mp-weixin/components/ua-markdown/ua-markdown.js
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const components_uaMarkdown_lib_markdownIt_min = require("./lib/markdown-it.min.js");
|
||||
const components_uaMarkdown_lib_highlight_uniHighlight_min = require("./lib/highlight/uni-highlight.min.js");
|
||||
require("./lib/html-parser.js");
|
||||
const _sfc_main = {
|
||||
__name: "ua-markdown",
|
||||
props: {
|
||||
// 解析内容
|
||||
source: String,
|
||||
showLine: { type: [Boolean, String], default: true }
|
||||
},
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
let copyCodeData = [];
|
||||
const markdown = components_uaMarkdown_lib_markdownIt_min.mt({
|
||||
html: true,
|
||||
highlight: function(str, lang) {
|
||||
let preCode = "";
|
||||
try {
|
||||
preCode = components_uaMarkdown_lib_highlight_uniHighlight_min.$e.highlightAuto(str).value;
|
||||
} catch (err) {
|
||||
preCode = markdown.utils.escapeHtml(str);
|
||||
}
|
||||
const lines = preCode.split(/\n/).slice(0, -1);
|
||||
let html = lines.map((item, index) => {
|
||||
if (item == "") {
|
||||
return "";
|
||||
}
|
||||
return '<li><span class="line-num" data-line="' + (index + 1) + '"></span>' + item + "</li>";
|
||||
}).join("");
|
||||
if (props.showLine) {
|
||||
html = '<ol style="padding: 0px 30px;">' + html + "</ol>";
|
||||
} else {
|
||||
html = '<ol style="padding: 0px 7px;list-style:none;">' + html + "</ol>";
|
||||
}
|
||||
copyCodeData.push(str);
|
||||
let htmlCode = `<div class="markdown-wrap">`;
|
||||
htmlCode += `<pre class="hljs" style="padding:10px 8px 0;margin-bottom:5px;overflow: auto;display: block;border-radius: 5px;"><code>${html}</code></pre>`;
|
||||
htmlCode += "</div>";
|
||||
return htmlCode;
|
||||
}
|
||||
});
|
||||
const parseNodes = (value) => {
|
||||
if (!value)
|
||||
return;
|
||||
value = value.replace(/<br>|<br\/>|<br \/>/g, "\n");
|
||||
value = value.replace(/ /g, " ");
|
||||
let htmlString = "";
|
||||
if (value.split("```").length % 2) {
|
||||
let mdtext = value;
|
||||
if (mdtext[mdtext.length - 1] != "\n") {
|
||||
mdtext += "\n";
|
||||
}
|
||||
htmlString = markdown.render(mdtext);
|
||||
} else {
|
||||
htmlString = markdown.render(value);
|
||||
}
|
||||
htmlString = htmlString.replace(/<table/g, `<table class="table"`);
|
||||
htmlString = htmlString.replace(/<tr/g, `<tr class="tr"`);
|
||||
htmlString = htmlString.replace(/<th>/g, `<th class="th">`);
|
||||
htmlString = htmlString.replace(/<td/g, `<td class="td"`);
|
||||
htmlString = htmlString.replace(/<hr>|<hr\/>|<hr \/>/g, `<hr class="hr">`);
|
||||
return htmlString;
|
||||
};
|
||||
const handleItemClick = (e) => {
|
||||
let { attrs } = e.detail.node;
|
||||
let { "code-data-index": codeDataIndex, "class": className } = attrs;
|
||||
if (className == "copy-btn") {
|
||||
common_vendor.index.setClipboardData({
|
||||
data: copyCodeData[codeDataIndex],
|
||||
showToast: false,
|
||||
success() {
|
||||
common_vendor.index.showToast({
|
||||
title: "复制成功",
|
||||
icon: "none"
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: parseNodes(__props.source),
|
||||
b: common_vendor.o(handleItemClick)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-64f4d077"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/ua-markdown/ua-markdown.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/ua-markdown/ua-markdown.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/ua-markdown/ua-markdown.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/ua-markdown/ua-markdown.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/ua-markdown/ua-markdown.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="ua__markdown data-v-64f4d077"><rich-text class="data-v-64f4d077" space="nbsp" nodes="{{a}}" binditemclick="{{b}}"></rich-text></view>
|
||||
314
unpackage/dist/dev/mp-weixin/components/ua-markdown/ua-markdown.wxss
vendored
Normal file
314
unpackage/dist/dev/mp-weixin/components/ua-markdown/ua-markdown.wxss
vendored
Normal file
@@ -0,0 +1,314 @@
|
||||
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-formula,.hljs-keyword{color:#c678dd}.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#98c379}.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable{color:#d19a66}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-class .hljs-title,.hljs-title.class_{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.ua__markdown.data-v-64f4d077 {
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
word-break: break-all;
|
||||
}
|
||||
.ua__markdown h1.data-v-64f4d077, .ua__markdown h2.data-v-64f4d077, .ua__markdown h3.data-v-64f4d077, .ua__markdown h4.data-v-64f4d077, .ua__markdown h5.data-v-64f4d077, .ua__markdown h6.data-v-64f4d077 {
|
||||
font-family: inherit;
|
||||
font-weight: 500;
|
||||
line-height: 1.1;
|
||||
color: inherit;
|
||||
}
|
||||
.ua__markdown h1.data-v-64f4d077, .ua__markdown h2.data-v-64f4d077, .ua__markdown h3.data-v-64f4d077 {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.ua__markdown h4.data-v-64f4d077, .ua__markdown h5.data-v-64f4d077, .ua__markdown h6.data-v-64f4d077 {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.ua__markdown .h1.data-v-64f4d077, .ua__markdown h1.data-v-64f4d077 {
|
||||
font-size: 36px;
|
||||
}
|
||||
.ua__markdown .h2.data-v-64f4d077, .ua__markdown h2.data-v-64f4d077 {
|
||||
font-size: 30px;
|
||||
}
|
||||
.ua__markdown .h3.data-v-64f4d077, .ua__markdown h3.data-v-64f4d077 {
|
||||
font-size: 24px;
|
||||
}
|
||||
.ua__markdown .h4.data-v-64f4d077, .ua__markdown h4.data-v-64f4d077 {
|
||||
font-size: 18px;
|
||||
}
|
||||
.ua__markdown .h5.data-v-64f4d077, .ua__markdown h5.data-v-64f4d077 {
|
||||
font-size: 14px;
|
||||
}
|
||||
.ua__markdown .h6.data-v-64f4d077, .ua__markdown h6.data-v-64f4d077 {
|
||||
font-size: 12px;
|
||||
}
|
||||
.ua__markdown a.data-v-64f4d077 {
|
||||
background-color: transparent;
|
||||
color: #2196f3;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ua__markdown hr.data-v-64f4d077, .ua__markdown.data-v-64f4d077 .hr {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
border: 0;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
.ua__markdown img.data-v-64f4d077 {
|
||||
max-width: 35%;
|
||||
}
|
||||
.ua__markdown p.data-v-64f4d077 {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.ua__markdown em.data-v-64f4d077 {
|
||||
font-style: italic;
|
||||
font-weight: inherit;
|
||||
}
|
||||
.ua__markdown ol.data-v-64f4d077, .ua__markdown ul.data-v-64f4d077 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 10px;
|
||||
padding-left: 40px;
|
||||
}
|
||||
.ua__markdown ol ol.data-v-64f4d077, .ua__markdown ol ul.data-v-64f4d077, .ua__markdown ul ol.data-v-64f4d077, .ua__markdown ul ul.data-v-64f4d077 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.ua__markdown ol ol.data-v-64f4d077, .ua__markdown ul ol.data-v-64f4d077 {
|
||||
list-style-type: lower-roman;
|
||||
}
|
||||
.ua__markdown ol ol ol.data-v-64f4d077, .ua__markdown ul ul ol.data-v-64f4d077 {
|
||||
list-style-type: lower-alpha;
|
||||
}
|
||||
.ua__markdown dl.data-v-64f4d077 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.ua__markdown dt.data-v-64f4d077 {
|
||||
font-weight: 600;
|
||||
}
|
||||
.ua__markdown dt.data-v-64f4d077, .ua__markdown dd.data-v-64f4d077 {
|
||||
line-height: 1.4;
|
||||
}
|
||||
.ua__markdown .task-list-item.data-v-64f4d077 {
|
||||
list-style-type: none;
|
||||
}
|
||||
.ua__markdown .task-list-item input.data-v-64f4d077 {
|
||||
margin: 0 0.2em 0.25em -1.6em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.ua__markdown pre.data-v-64f4d077 {
|
||||
position: relative;
|
||||
z-index: 11;
|
||||
}
|
||||
.ua__markdown code.data-v-64f4d077, .ua__markdown kbd.data-v-64f4d077, .ua__markdown pre.data-v-64f4d077, .ua__markdown samp.data-v-64f4d077 {
|
||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||
}
|
||||
.ua__markdown code.data-v-64f4d077:not(.hljs) {
|
||||
padding: 2px 4px;
|
||||
font-size: 90%;
|
||||
color: #c7254e;
|
||||
background-color: #ffe7ee;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.ua__markdown code.data-v-64f4d077:empty {
|
||||
display: none;
|
||||
}
|
||||
.ua__markdown pre code.hljs.data-v-64f4d077 {
|
||||
color: var(--vg__text-1);
|
||||
border-radius: 16px;
|
||||
background: var(--vg__bg-1);
|
||||
font-size: 12px;
|
||||
}
|
||||
.ua__markdown .markdown-wrap.data-v-64f4d077 {
|
||||
font-size: 12px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.ua__markdown pre.code-block-wrapper.data-v-64f4d077 {
|
||||
background: #2b2b2b;
|
||||
color: #f8f8f2;
|
||||
border-radius: 4px;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
position: relative;
|
||||
}
|
||||
.ua__markdown pre.code-block-wrapper code.data-v-64f4d077 {
|
||||
padding: auto;
|
||||
font-size: inherit;
|
||||
color: inherit;
|
||||
background-color: inherit;
|
||||
border-radius: 0;
|
||||
}
|
||||
.ua__markdown .code-block-header__copy.data-v-64f4d077 {
|
||||
font-size: 16px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
.ua__markdown abbr[data-original-title].data-v-64f4d077, .ua__markdown abbr[title].data-v-64f4d077 {
|
||||
cursor: help;
|
||||
border-bottom: 1px dotted #777;
|
||||
}
|
||||
.ua__markdown blockquote.data-v-64f4d077 {
|
||||
padding: 10px 20px;
|
||||
margin: 0 0 20px;
|
||||
font-size: 17.5px;
|
||||
border-left: 5px solid #e5e5e5;
|
||||
}
|
||||
.ua__markdown blockquote ol.data-v-64f4d077:last-child, .ua__markdown blockquote p.data-v-64f4d077:last-child, .ua__markdown blockquote ul.data-v-64f4d077:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.ua__markdown blockquote .small.data-v-64f4d077, .ua__markdown blockquote footer.data-v-64f4d077, .ua__markdown blockquote small.data-v-64f4d077 {
|
||||
display: block;
|
||||
font-size: 80%;
|
||||
line-height: 1.42857143;
|
||||
color: #777;
|
||||
}
|
||||
.ua__markdown blockquote .small.data-v-64f4d077:before, .ua__markdown blockquote footer.data-v-64f4d077:before, .ua__markdown blockquote small.data-v-64f4d077:before {
|
||||
content: "— ";
|
||||
}
|
||||
.ua__markdown .blockquote-reverse.data-v-64f4d077, .ua__markdown blockquote.pull-right.data-v-64f4d077 {
|
||||
padding-right: 15px;
|
||||
padding-left: 0;
|
||||
text-align: right;
|
||||
border-right: 5px solid #eee;
|
||||
border-left: 0;
|
||||
}
|
||||
.ua__markdown .blockquote-reverse .small.data-v-64f4d077:before, .ua__markdown .blockquote-reverse footer.data-v-64f4d077:before, .ua__markdown .blockquote-reverse small.data-v-64f4d077:before, .ua__markdown blockquote.pull-right .small.data-v-64f4d077:before, .ua__markdown blockquote.pull-right footer.data-v-64f4d077:before, .ua__markdown blockquote.pull-right small.data-v-64f4d077:before {
|
||||
content: "";
|
||||
}
|
||||
.ua__markdown .blockquote-reverse .small.data-v-64f4d077:after, .ua__markdown .blockquote-reverse footer.data-v-64f4d077:after, .ua__markdown .blockquote-reverse small.data-v-64f4d077:after, .ua__markdown blockquote.pull-right .small.data-v-64f4d077:after, .ua__markdown blockquote.pull-right footer.data-v-64f4d077:after, .ua__markdown blockquote.pull-right small.data-v-64f4d077:after {
|
||||
content: " —";
|
||||
}
|
||||
.ua__markdown .footnotes.data-v-64f4d077 {
|
||||
column-count: 2;
|
||||
}
|
||||
.ua__markdown .footnotes-list.data-v-64f4d077 {
|
||||
padding-left: 2em;
|
||||
}
|
||||
.ua__markdown table.data-v-64f4d077, .ua__markdown.data-v-64f4d077 .table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
max-width: 65em;
|
||||
overflow: auto;
|
||||
margin-top: 0;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.ua__markdown table tr.data-v-64f4d077, .ua__markdown.data-v-64f4d077 .table .tr {
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
.ua__markdown table th.data-v-64f4d077, .ua__markdown table td.data-v-64f4d077, .ua__markdown.data-v-64f4d077 .table .th, .ua__markdown.data-v-64f4d077 .table .td {
|
||||
padding: 6px 13px;
|
||||
border: 1px solid #e5e5e5;
|
||||
}
|
||||
.ua__markdown table th.data-v-64f4d077, .ua__markdown.data-v-64f4d077 .table .th {
|
||||
font-weight: 600;
|
||||
background-color: #eee;
|
||||
}
|
||||
.ua__markdown .hljs[class*=language-].data-v-64f4d077:before {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 0.8em;
|
||||
right: 1em;
|
||||
font-size: 0.8em;
|
||||
color: #999;
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-js].data-v-64f4d077:before {
|
||||
content: "js";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-ts].data-v-64f4d077:before {
|
||||
content: "ts";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-html].data-v-64f4d077:before {
|
||||
content: "html";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-md].data-v-64f4d077:before {
|
||||
content: "md";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-vue].data-v-64f4d077:before {
|
||||
content: "vue";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-css].data-v-64f4d077:before {
|
||||
content: "css";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-sass].data-v-64f4d077:before {
|
||||
content: "sass";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-scss].data-v-64f4d077:before {
|
||||
content: "scss";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-less].data-v-64f4d077:before {
|
||||
content: "less";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-stylus].data-v-64f4d077:before {
|
||||
content: "stylus";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-go].data-v-64f4d077:before {
|
||||
content: "go";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-java].data-v-64f4d077:before {
|
||||
content: "java";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-c].data-v-64f4d077:before {
|
||||
content: "c";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-sh].data-v-64f4d077:before {
|
||||
content: "sh";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-yaml].data-v-64f4d077:before {
|
||||
content: "yaml";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-py].data-v-64f4d077:before {
|
||||
content: "py";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-docker].data-v-64f4d077:before {
|
||||
content: "docker";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-dockerfile].data-v-64f4d077:before {
|
||||
content: "dockerfile";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-makefile].data-v-64f4d077:before {
|
||||
content: "makefile";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-javascript].data-v-64f4d077:before {
|
||||
content: "js";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-typescript].data-v-64f4d077:before {
|
||||
content: "ts";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-markup].data-v-64f4d077:before {
|
||||
content: "html";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-markdown].data-v-64f4d077:before {
|
||||
content: "md";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-json].data-v-64f4d077:before {
|
||||
content: "json";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-ruby].data-v-64f4d077:before {
|
||||
content: "rb";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-python].data-v-64f4d077:before {
|
||||
content: "py";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-bash].data-v-64f4d077:before {
|
||||
content: "sh";
|
||||
}
|
||||
.ua__markdown .hljs[class~=language-php].data-v-64f4d077:before {
|
||||
content: "php";
|
||||
}
|
||||
159
unpackage/dist/dev/mp-weixin/components/ywjg-view/ywjg-view.js
vendored
Normal file
159
unpackage/dist/dev/mp-weixin/components/ywjg-view/ywjg-view.js
vendored
Normal file
@@ -0,0 +1,159 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "ywjg-view",
|
||||
data() {
|
||||
return {
|
||||
ywjg: [
|
||||
{
|
||||
title: "业务结构分析",
|
||||
list: [{
|
||||
title: "零售业务",
|
||||
is_hexin: 1,
|
||||
yszb: 55.16,
|
||||
mlv: 78.21,
|
||||
yysr: 17900,
|
||||
zz: -8.2
|
||||
}, {
|
||||
title: "科技金融",
|
||||
is_hexin: 1,
|
||||
yszb: 41.121,
|
||||
mlv: 89.11,
|
||||
yysr: 13400,
|
||||
zz: 24.6
|
||||
}, {
|
||||
title: "绿色金融",
|
||||
is_hexin: 0,
|
||||
yszb: 2.37,
|
||||
mlv: 9.11,
|
||||
yysr: 771,
|
||||
zz: 36.9
|
||||
}, {
|
||||
title: "零售业务",
|
||||
is_hexin: 0,
|
||||
yszb: 2.37,
|
||||
mlv: 9.11,
|
||||
yysr: 396,
|
||||
zz: -16.9
|
||||
}]
|
||||
},
|
||||
{
|
||||
title: "业务板块详情",
|
||||
list: [
|
||||
{
|
||||
title: "零售银行业务",
|
||||
list: [
|
||||
{
|
||||
title: "业务描述",
|
||||
info: "平安银行对公业务践行"
|
||||
},
|
||||
{
|
||||
title: "竞争地位",
|
||||
info: "平安银行零售业务在同行业中保持较强竞争力,凭借其数字化创新优势和综合金融背景,构建了差异化竞争优势。"
|
||||
},
|
||||
{
|
||||
title: "未来潜力",
|
||||
info: "平安银行零售业务未来发展潜力巨大,随着中国财富管理市场的快速扩张和中产阶级规模的持续增长,零售银行...展开查看"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "对公业务",
|
||||
list: [
|
||||
{
|
||||
title: "业务描述",
|
||||
info: "平安银行对公业务践行"
|
||||
},
|
||||
{
|
||||
title: "竞争地位",
|
||||
info: "平安银行对公业务在市场中保持较强竞争力,贷款规模实现两位数增长,远高于行业平均水平。通过差异化战略...展开查看"
|
||||
},
|
||||
{
|
||||
title: "未来潜力",
|
||||
info: "随着国家对科创、绿色经济的持续支持,以及对普惠金融的政策倾斜,平安银行对公业务面临广阔发展空间...展开查看"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "同业业务",
|
||||
list: [
|
||||
{
|
||||
title: "业务描述",
|
||||
info: "平安银行同业业务主要包括债券交易、同业拆借、票据业务等。"
|
||||
},
|
||||
{
|
||||
title: "竞争地位",
|
||||
info: "平安银行同业业务在股份制银行中位居前列,债券交易市场份额达4.4%,显示出较强的市场竞争力。"
|
||||
},
|
||||
{
|
||||
title: "未来潜力",
|
||||
info: "随着金融市场深化改革和利率市场化推进,同业业务面临新的发展机遇。平安银行同业业务凭借其债券...展开查看"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "普惠金融",
|
||||
list: [
|
||||
{
|
||||
title: "业务描述",
|
||||
info: "普惠金融是平安银行"
|
||||
},
|
||||
{
|
||||
title: "竞争地位",
|
||||
info: "平安银行普惠金融业务在行业内保持领先地位,小微企业贷款规模较大且客户基础广泛。通过优化产品体系、提...展开查看"
|
||||
},
|
||||
{
|
||||
title: "未来潜力",
|
||||
info: "随着国家持续推动普惠金融发展战略,平安银行该业务具有广阔发展空间。通过数字化转型深化、客户体验...展开查看"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.f($data.ywjg, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.title),
|
||||
b: index == 0
|
||||
}, index == 0 ? {
|
||||
c: common_vendor.f(item.list, (child, row, i1) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(child.title),
|
||||
b: child.is_hexin
|
||||
}, child.is_hexin ? {} : {}, {
|
||||
c: common_vendor.t(child.yszb),
|
||||
d: common_vendor.t(child.mlv),
|
||||
e: common_vendor.t(child.yysr > 1e4 ? child.yysr / 1e4 + "亿" : child.yysr + "万"),
|
||||
f: common_vendor.t(child.zz > 0 ? "+" + child.zz : child.zz),
|
||||
g: child.zz > 0 ? "#EC3440" : "#345423",
|
||||
h: row
|
||||
});
|
||||
})
|
||||
} : {
|
||||
d: common_vendor.f(item.list, (child, row, i1) => {
|
||||
return {
|
||||
a: common_vendor.t(child.title),
|
||||
b: common_vendor.f(child.list, (model, j, i2) => {
|
||||
return {
|
||||
a: common_vendor.t(model.title),
|
||||
b: common_vendor.t(model.info),
|
||||
c: j
|
||||
};
|
||||
}),
|
||||
c: row
|
||||
};
|
||||
})
|
||||
}, {
|
||||
e: index
|
||||
});
|
||||
})
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/ywjg-view/ywjg-view.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/ywjg-view/ywjg-view.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/ywjg-view/ywjg-view.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/ywjg-view/ywjg-view.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/ywjg-view/ywjg-view.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="ywjg_list"><view wx:for="{{a}}" wx:for-item="item" wx:key="e"><view style="margin:25rpx 20rpx;color:#2B2B2B;font-size:28rpx;font-weight:bold">{{item.a}}</view><block wx:if="{{item.b}}"><view wx:for="{{item.c}}" wx:for-item="child" wx:key="h" class="ywjg_item_1"><view style="display:flex;align-items:center"><view style="font-size:28rpx;font-weight:bold;margin-right:10rpx">{{child.a}}</view><view wx:if="{{child.b}}" style="background-color:#F2C369;border-radius:5rpx;font-size:20rpx;padding:0 5rpx"> 核心业务</view></view><view style="display:flex;align-items:center;justify-content:space-between;font-weight:500"><view style="display:flex;align-items:center;color:#F2C369;font-size:20rpx"><view style="border:1rpx solid #F2C369;border-radius:5rpx;padding:0 5rpx"> 营收占比:{{child.c}}%</view><view style="border:1rpx solid #F2C369;border-radius:5rpx;padding:0 5rpx;margin-left:10rpx"> 毛利率:{{child.d}}%</view></view><view><view style="color:#999999;font-size:24rpx">营业收入</view><view style="font-weight:bold;font-size:30rpx;color:#BB8520;margin-top:10rpx">{{child.e}}元 </view></view></view><view style="display:flex"><view style="{{'color:white;display:flex;align-items:center;justify-content:center;padding:5rpx 10rpx;font-size:20rpx;border-radius:5rpx' + ';' + ('background-color:' + child.g)}}">增长: {{child.f}}% </view></view></view></block><view wx:else style="font-weight:500"><view wx:for="{{item.d}}" wx:for-item="child" wx:key="c" style="background-color:#FAFAFC;color:#2B2B2B;font-size:22rpx;margin:20rpx;border-radius:10rpx;padding:25rpx 20rpx"><view style="font-size:24rpx">{{child.a}}</view><view wx:for="{{child.b}}" wx:for-item="model" wx:key="c"><view style="color:#BB8520;font-weight:bold;margin:10rpx 0">{{model.a}}</view><view style="color:#71675D">{{model.b}}</view></view></view></view></view></view>
|
||||
15
unpackage/dist/dev/mp-weixin/components/ywjg-view/ywjg-view.wxss
vendored
Normal file
15
unpackage/dist/dev/mp-weixin/components/ywjg-view/ywjg-view.wxss
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
.ywjg_list {
|
||||
color: #2B2B2B;
|
||||
}
|
||||
.ywjg_list .title {
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.ywjg_list .ywjg_item_1 {
|
||||
font-weight: 500;
|
||||
margin: 20rpx;
|
||||
background-color: #FAFAFC;
|
||||
border-radius: 10rpx;
|
||||
padding: 25rpx 20rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
137
unpackage/dist/dev/mp-weixin/components/zysj-view/zysj-view.js
vendored
Normal file
137
unpackage/dist/dev/mp-weixin/components/zysj-view/zysj-view.js
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
name: "zysj-view",
|
||||
data() {
|
||||
return {
|
||||
showType: 0
|
||||
};
|
||||
},
|
||||
props: {
|
||||
// 0 主营数据 1 财务分析 2 财务数据
|
||||
type: Number
|
||||
},
|
||||
watch: {
|
||||
type: {
|
||||
handler(newVal, oldVal) {
|
||||
this.showType = newVal;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
itemClick(index) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pagesStock/stockCenterDetails/cwDetails?index=${index}`
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.showType == 0
|
||||
}, $data.showType == 0 ? {
|
||||
b: common_vendor.f(["业务", "毛利率", "利润", "营收", "营收"], (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item),
|
||||
b: ["", "(2025年中报)", "(2025年中报)", "(2025年中报)", "(2024年年报)"][index].length > 0
|
||||
}, ["", "(2025年中报)", "(2025年中报)", "(2025年中报)", "(2024年年报)"][index].length > 0 ? {
|
||||
c: common_vendor.t(["", "(2025年中报)", "(2025年中报)", "(2025年中报)", "(2024年年报)"][index]),
|
||||
d: index == 0 ? "left" : "center"
|
||||
} : {}, {
|
||||
e: index == 0 ? "left" : "center",
|
||||
f: index == 0 ? "flex-start" : "center"
|
||||
});
|
||||
}),
|
||||
c: common_vendor.f(["零售金融业务", "批发金融业务", "其他业务"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.f([item, "64.53%", "200.57亿", "310.81亿", "712.55亿"], (item2, index2, i1) => {
|
||||
return {
|
||||
a: common_vendor.t(item2),
|
||||
b: index2 == 0 ? "left" : "center"
|
||||
};
|
||||
}),
|
||||
b: index % 2 == 0 ? "#FFFFFF" : "#FAFAFC"
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
d: $data.showType == 1
|
||||
}, $data.showType == 1 ? {
|
||||
e: common_assets._imports_0$5,
|
||||
f: common_assets._imports_2$3,
|
||||
g: common_vendor.f(["净资产收益率(ROE)%", "净资产收益率(扣非)%", "净资产收益率(加权)%", "总资产报酬率(ROA)%", "毛利率%", "净利率%", "营业利润率%", "成本费用利润率%"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index == 0 ? "#BB8520" : "#999999",
|
||||
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
|
||||
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
|
||||
e: index
|
||||
};
|
||||
}),
|
||||
h: common_assets._imports_2$14,
|
||||
i: common_assets._imports_3$13,
|
||||
j: common_assets._imports_4$10,
|
||||
k: common_assets._imports_2$3,
|
||||
l: common_vendor.f(["每股收益(EPS)", "基本每股收益", "稀释每股收益", "扣非每股收益", "每股净资产", "每股经营现金流", "每股资本公积", "每股未分配利润"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index == 0 ? "#BB8520" : "#999999",
|
||||
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
|
||||
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
|
||||
e: index
|
||||
};
|
||||
}),
|
||||
m: common_assets._imports_2$14,
|
||||
n: common_assets._imports_3$13
|
||||
} : {}, {
|
||||
o: $data.showType == 2
|
||||
}, $data.showType == 2 ? {
|
||||
p: common_assets._imports_0$5,
|
||||
q: common_assets._imports_2$3,
|
||||
r: common_vendor.f(["货币资金", "所有者权益", "关键指标"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index == 0 ? "#BB8520" : "#999999",
|
||||
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
|
||||
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
|
||||
e: index
|
||||
};
|
||||
}),
|
||||
s: common_assets._imports_2$14,
|
||||
t: common_assets._imports_3$13,
|
||||
v: common_vendor.o(($event) => $options.itemClick(0)),
|
||||
w: common_assets._imports_0$5,
|
||||
x: common_assets._imports_2$3,
|
||||
y: common_vendor.f(["经营现金流", "筹资现金流", "投资现金流"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index == 0 ? "#BB8520" : "#999999",
|
||||
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
|
||||
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
|
||||
e: index
|
||||
};
|
||||
}),
|
||||
z: common_assets._imports_2$14,
|
||||
A: common_assets._imports_3$13,
|
||||
B: common_vendor.o(($event) => $options.itemClick(1)),
|
||||
C: common_assets._imports_0$5,
|
||||
D: common_assets._imports_2$3,
|
||||
E: common_vendor.f(["净利润", "营业收入", "期间费用"], (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index == 0 ? "#BB8520" : "#999999",
|
||||
c: `1rpx solid ${index == 0 ? "#F2C369" : "#D2D2D2"}`,
|
||||
d: index == 0 ? "#FFFAF1" : "#FFFFFF",
|
||||
e: index
|
||||
};
|
||||
}),
|
||||
F: common_assets._imports_2$14,
|
||||
G: common_assets._imports_3$13,
|
||||
H: common_assets._imports_2$14,
|
||||
I: common_assets._imports_3$13,
|
||||
J: common_vendor.o(($event) => $options.itemClick(2))
|
||||
} : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/zysj-view/zysj-view.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/zysj-view/zysj-view.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/zysj-view/zysj-view.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/zysj-view/zysj-view.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/zysj-view/zysj-view.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user