浏览代码

提报详情

zhaoxiaohai 3 年之前
父节点
当前提交
d44e5483c7
共有 4 个文件被更改,包括 121 次插入0 次删除
  1. 66 0
      pages/submission/details.js
  2. 6 0
      pages/submission/details.json
  3. 39 0
      pages/submission/details.scss
  4. 10 0
      pages/submission/details.wxml

+ 66 - 0
pages/submission/details.js

@@ -0,0 +1,66 @@
+// pages/submission/details.js
+Page({
+
+    /**
+     * 页面的初始数据
+     */
+    data: {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面加载
+     */
+    onLoad(options) {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面初次渲染完成
+     */
+    onReady() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面显示
+     */
+    onShow() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面隐藏
+     */
+    onHide() {
+
+    },
+
+    /**
+     * 生命周期函数--监听页面卸载
+     */
+    onUnload() {
+
+    },
+
+    /**
+     * 页面相关事件处理函数--监听用户下拉动作
+     */
+    onPullDownRefresh() {
+
+    },
+
+    /**
+     * 页面上拉触底事件的处理函数
+     */
+    onReachBottom() {
+
+    },
+
+    /**
+     * 用户点击右上角分享
+     */
+    onShareAppMessage() {
+
+    }
+})

+ 6 - 0
pages/submission/details.json

@@ -0,0 +1,6 @@
+{
+    "navigationBarTitleText": "提报详情",
+    "usingComponents": {
+        "My_accessory":"/components/My_accessory/index"
+    }
+}

+ 39 - 0
pages/submission/details.scss

@@ -0,0 +1,39 @@
+.box {
+    width: 750rpx;
+    padding: 30rpx;
+    box-sizing: border-box;
+    background-color: #ffffff;
+
+    .title {
+        font-size: 30rpx;
+        font-family: PingFang SC-Bold, PingFang SC;
+        font-weight: bold;
+        color: #333333;
+    }
+
+    .time {
+        font-size: 24rpx;
+        font-family: PingFang SC-Regular, PingFang SC;
+        color: #666666;
+        margin-top: 20rpx;
+    }
+}
+
+.footer {
+    position: fixed;
+    width: 100%;
+    background-color: #ffffff;
+    padding: 20rpx 0;
+    text-align: center;
+    bottom: 0;
+
+    .button {
+        width: 500rpx;
+        height: 90rpx;
+        background: #FA8C16;
+        font-size: 28rpx;
+        font-family: PingFang SC-Bold, PingFang SC;
+        font-weight: bold;
+        color: #FFFFFF;
+    }
+}

+ 10 - 0
pages/submission/details.wxml

@@ -0,0 +1,10 @@
+<view class="box">
+    <view class="title multi-line">一事一报未填写</view>
+    <view class="time">时间:2022-01-01~2022-01-05</view>
+    <view class="time multi-line" style="margin-top: 10rpx;">提报要求:认真填写,计入考核</view>
+    <view class="title" style="margin-top: 30rpx;">附件下载</view>
+    <My_accessory></My_accessory>
+</view>
+<view class="footer">
+    <van-button round custom-class='button'>开始提报</van-button>
+</view>