美化了样式3.0
This commit is contained in:
@ -1,18 +1,36 @@
|
||||
// pages/loginModule/employeeAccountNotice/employeeAccountNotice.js
|
||||
import { baseUrl } from "../../../request";
|
||||
import { decodeBase64 } from "../../../utils/decodebase64";
|
||||
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
applyDesc: '',
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
getApplyDesc() {
|
||||
wx.request({
|
||||
url: baseUrl + '/userInfo/query/applyNotice',
|
||||
method: 'POST',
|
||||
success: res => {
|
||||
if (res.data.code === 1) {
|
||||
this.setData({ applyDesc: decodeBase64(res.data.data) })
|
||||
} else {
|
||||
wx.showToast({ title: res.data.message, icon: 'none' });
|
||||
}
|
||||
},
|
||||
fail: () => {
|
||||
wx.showToast({ title: '网络错误', icon: 'none' });
|
||||
}
|
||||
})
|
||||
},
|
||||
onLoad() {
|
||||
this.getApplyDesc()
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!--pages/loginModule/employeeAccountNotice/employeeAccountNotice.wxml-->
|
||||
<view class="flex-col page">
|
||||
<text class="self-center text">员工账号申请须知</text>
|
||||
<rich-text class="section view mt-20"></rich-text>
|
||||
<rich-text nodes="{{ applyDesc }}" class="section view mt-20"></rich-text>
|
||||
</view>
|
@ -1,15 +1,15 @@
|
||||
/* pages/loginModule/employeeAccountNotice/employeeAccountNotice.wxss */
|
||||
.page {
|
||||
padding: 65.08rpx 42.19rpx 145.31rpx 44.06rpx;
|
||||
padding: 65.08rpx 42.19rpx 150rpx 44.06rpx;
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
overflow: auto;
|
||||
height: 100%;
|
||||
}
|
||||
.text {
|
||||
color: #000000;
|
||||
font-size: 33.75rpx;
|
||||
font-weight: bold;
|
||||
font-family: SourceHanSansCN;
|
||||
line-height: 31.26rpx;
|
||||
}
|
||||
@ -18,6 +18,10 @@
|
||||
}
|
||||
.view {
|
||||
background-color: #ffffff;
|
||||
height: 1301.25rpx;
|
||||
border: solid 1.88rpx #000000;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 0;
|
||||
height: 0;
|
||||
background: transparent;
|
||||
}
|
Reference in New Issue
Block a user