1.26 个股详情业务结构,发展历程模块完善
This commit is contained in:
46
unpackage/dist/dev/mp-weixin/pages/concept/reportDetails/reportDetails.js
vendored
Normal file
46
unpackage/dist/dev/mp-weixin/pages/concept/reportDetails/reportDetails.js
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const utils_util = require("../../../utils/util.js");
|
||||
const common_assets = require("../../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
reportInfo: null,
|
||||
getLocalTime: utils_util.getLocaleTime,
|
||||
content: ""
|
||||
};
|
||||
},
|
||||
onLoad(e) {
|
||||
this.reportInfo = JSON.parse(decodeURIComponent(e.info));
|
||||
this.reportInfo.content = this.reportInfo.content.replace(/'/g, '"');
|
||||
common_vendor.index.__f__("log", "at pages/concept/reportDetails/reportDetails.vue:34", JSON.parse(this.reportInfo.content));
|
||||
this.content = JSON.parse(this.reportInfo.content).content;
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
_easycom_navBar2();
|
||||
}
|
||||
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
|
||||
if (!Math) {
|
||||
_easycom_navBar();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
leftText: "历史时间轴",
|
||||
hideNavBg: true
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: $data.reportInfo
|
||||
}, $data.reportInfo ? {
|
||||
d: common_vendor.t($data.reportInfo.report_title),
|
||||
e: common_vendor.t($data.getLocalTime($data.reportInfo.declare_date)),
|
||||
f: common_vendor.t($data.content ? $data.content : $data.reportInfo.content),
|
||||
g: common_vendor.s("top: " + $data.navH + "px;")
|
||||
} : {});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/concept/reportDetails/reportDetails.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/pages/concept/reportDetails/reportDetails.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/concept/reportDetails/reportDetails.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"nav-bar": "../../../components/navBar/navBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/concept/reportDetails/reportDetails.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/concept/reportDetails/reportDetails.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="d1d5b3b6-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view wx:if="{{c}}" class="contentC fixed" style="{{g}}"><view class="title">{{d}}</view><view class="labelTimeC"><text class="time">{{e}}</text></view><view class="content"><text>{{f}}</text></view></view></view>
|
||||
36
unpackage/dist/dev/mp-weixin/pages/concept/reportDetails/reportDetails.wxss
vendored
Normal file
36
unpackage/dist/dev/mp-weixin/pages/concept/reportDetails/reportDetails.wxss
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
page {
|
||||
background-color: #070707;
|
||||
}
|
||||
.topBg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.contentC {
|
||||
background-color: #FFF9F5;
|
||||
margin: 20rpx 25rpx 0;
|
||||
padding: 28rpx 30rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 100rpx;
|
||||
border-radius: 10rpx;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.contentC .title {
|
||||
margin: 0 10rpx;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #2B2B2B;
|
||||
}
|
||||
.contentC .labelTimeC {
|
||||
margin: 0 10rpx;
|
||||
}
|
||||
.contentC .labelTimeC .time {
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
}
|
||||
.contentC .content {
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user