作者 乔爽

update

正在显示 51 个修改的文件 包含 2107 行增加0 行删除
//app.js
App({
onLaunch: function () {
// 展示本地存储能力
var logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
// 登录
wx.login({
success: res => {
// 发送 res.code 到后台换取 openId, sessionKey, unionId
}
})
// 获取用户信息
wx.getSetting({
success: res => {
if (res.authSetting['scope.userInfo']) {
// 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框
wx.getUserInfo({
success: res => {
// 可以将 res 发送给后台解码出 unionId
this.globalData.userInfo = res.userInfo
// 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回
// 所以此处加入 callback 以防止这种情况
if (this.userInfoReadyCallback) {
this.userInfoReadyCallback(res)
}
}
})
}
}
})
},
globalData: {
userInfo: null
}
})
\ No newline at end of file
... ...
{
"pages":[
"pages/index/index",
"pages/sub_wh_pic/sub_wh_pic",
"pages/sub_wh_project/sub_wh_project",
"pages/below/below",
"pages/accept_copy/accept_copy",
"pages/check_accept/check_accept",
"pages/dwh_deal/dwh_deal",
"pages/dwh_project/dwh_project",
"pages/message_title/message_title",
"pages/message/message"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle":"black"
}
}
... ...
/**app.wxss**/
.container {
/* height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box; */
}
... ...
@font-face {font-family: "iconfont";
src: url('//at.alicdn.com/t/font_1036478_c1xw29ve41j.eot?t=1548826082042'); /* IE9 */
src: url('//at.alicdn.com/t/font_1036478_c1xw29ve41j.eot?t=1548826082042#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAKsAAsAAAAABpgAAAJgAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDBgqBAIEOATYCJAMMCwgABCAFhG0HOBvWBRHVkxlkXxXwZGE8D0mFcFRWd5hT7PjnKjW8upHnQTx8P/d5bt772Wx+kRWg6lQSogIg1SpXIUl3dZlVZ2UnAdAAgbu9UrBXer9tT/pW0kLCIq9D/9ZPdufIGNYFJkNjfJ7L6W1aDZD5gXLcC8cafNQLMA4o0D0wiqwsocS8YewCl3CfQG2UyWLegmXrVDJrWSCOHT64W5VLyzKrVUJZszeLB1qq4l7xDPfDz8dvU6Ki0EqstasOzN9n1rd+3wanq83VbT4hQ4CHW0iYjEzsqC1vkgRTJ7Urt7eWslDMlWua0KT/4ZVKFIIoWd09wHhYKfjWzzWl7sHQctd3JVCiA6MwicUPoA9lmb+1e83BA2v3X2irN/bWa11YmDE92gM9+V/vc2iw++zdc3e7v87GijN3z3L9nl2geVr8TzMgdaXeAsHzNRfv7uw9rbtqZ/DizIZPON08zfpXKgXM/LfMPYeybrXCKasm12TWkiHKewmq9ZiGFe/n3XjfwDuqhsrAFIUOI5FURpOZnYyWtqkoVWaiNsnCw239HZdE7sREtwBCHw9R6OURkj66yMy+Rcsgf1HqEwm1DdH/zDbZOPyKUDBqkBd4NY3GifIr6n2j3ZKgrDXU/JFWn4OmrIu1AUekOTasu22ZDRiaMvTgMUxpgpmmgIpLxzx3VWXqXlSqKRcvEQpGDeQFvJpG44/nV+n9b7RbEtQiqxn/kVY/PWiU6h7k4Bp7ye7lmXW3LWYDDE0Z9GAWpjSBuX5WQMUlN6I4dyp7lOnrKtf35O87ATXr2hRFpMg44kfabguvxVgU') format('woff2'),
url('//at.alicdn.com/t/font_1036478_c1xw29ve41j.woff?t=1548826082042') format('woff'),
url('//at.alicdn.com/t/font_1036478_c1xw29ve41j.ttf?t=1548826082042') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('//at.alicdn.com/t/font_1036478_c1xw29ve41j.svg?t=1548826082042#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-jinru:before {
content: "\e617";
}
.icon-caidan:before {
content: "\e612";
}
... ...
// pages/accept_copy/accept_copy.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
btn_noPass() {
wx.navigateTo({
url: '../below/below',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "验收",
"navigationBarTextStyle": "black"
}
\ No newline at end of file
... ...
<!--pages/accept_copy/accept_copy.wxml-->
<view class='container'>
<view class='top'>
<!-- 时间 -->
<view class='top_date'>2018-08-08 </view>
<view class='top_time'>12:12:12</view>
</view>
<!-- 图片 -->
<view class='mid'>
<image src='../../images/camera.png'></image>
</view>
<!-- 文字 -->
<view class='text'>
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,
</view>
<!-- 按钮 -->
<view class='bottom'>
<view class='bottom_button color_blue'>
通过
</view>
<view class='bottom_button color_red' bindtap='btn_noPass'>
不通过
</view>
</view>
</view>
... ...
.container{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
padding: 44rpx 0 0 0;
box-sizing: border-box;
}
.top{
width: 686rpx;
display: flex;
}
.top_time{
margin-left: 30rpx;
}
.mid{
margin-top: 31rpx;
width:686rpx;
height:360rpx;
background:rgba(255,255,255,1);
box-shadow:0px 10rpx 24rpx 0px rgba(149,149,149,0.1);
border-radius:5rpx;
display: flex;
}
.mid image{
width: 100%;
height: 100%;
border-radius:5rpx;
}
.text{
margin-top: 300rpx;
width:686rpx;
height:150rpx;
background:rgba(44,130,230,0);
border:1rpx solid rgba(232, 232, 232, 1);
border-radius:8rpx;
overflow-y: auto;
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height:36rpx;
box-sizing: border-box;
padding: 24rpx 44rpx;
}
.bottom{
width: 686rpx;
display: flex;
justify-content: space-between;
margin-bottom: 60rpx;
}
.bottom_button{
margin-top: 103rpx;
width:320rpx;
height:70rpx;
background:rgba(44,130,230,1);
border-radius:35rpx;
color: #fff;
text-align: center;
line-height: 70rpx;
font-size:36rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
}
.color_blue{
background: #2C82E6;
}
.color_red{
background: #FA5A4B;
}
\ No newline at end of file
... ...
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "验收",
"navigationBarTextStyle": "black"
}
\ No newline at end of file
... ...
<view class='container'>
<view class='title'>
不合格原因
</view>
<textarea class='text'></textarea>
<!-- 按钮 -->
<view class='bottom'>
处理
</view>
</view>
\ No newline at end of file
... ...
.container{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
padding: 79rpx 0 0 0;
box-sizing: border-box;
}
.title{
font-size:36rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height:36rpx;
}
.text{
margin-top: 95rpx;
width:686rpx;
height:800rpx;
background:rgba(44,130,230,0);
border:1rpx solid rgba(106, 107, 120, 0.15);
border-radius:10rpx;
overflow-x: hidden;
overflow-y: scroll;
box-sizing: border-box;
padding: 26rpx 30rpx;
}
.bottom{
margin-top: 85rpx;
width:686rpx;
height:70rpx;
background:linear-gradient(30deg,rgba(44,130,230,1),rgba(72,157,255,1));
box-shadow:0px 14rpx 24rpx 0px rgba(7,106,220,0.4);
border-radius:35rpx;
color: #fff;
line-height: 70rpx;
text-align: center;
}
\ No newline at end of file
... ...
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
btn_accept() {
wx.navigateTo({
url: '../accept_copy/accept_copy',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "验收",
"navigationBarTextStyle": "black"
}
\ No newline at end of file
... ...
<view class='container'>
<view class='item' bindtap='btn_accept'>
<view class='item_top'>
<!-- 左侧日期&时间 -->
<view class='item_top_left'>
<view class='item_top_left_date'>2018-08-08</view>
<view class='item_top_left_time'>18:38:25</view>
</view>
<!-- 右侧信息 -->
<view class='item_top_right'>
处理完信息
</view>
</view>
<!-- 底部色彩 -->
<view class='item_bottom color_blue'>
维护完成,请检视
</view>
</view>
<view class='item'>
<view class='item_top'>
<!-- 左侧日期&时间 -->
<view class='item_top_left'>
<view class='item_top_left_date'>2018-08-08</view>
<view class='item_top_left_time'>18:38:25</view>
</view>
<!-- 右侧信息 -->
<view class='item_top_right'>
反馈结果
</view>
</view>
<!-- 底部色彩 -->
<view class='item_bottom color_red'>
未通过,再次维护
</view>
</view>
<view class='item'>
<view class='item_top'>
<!-- 左侧日期&时间 -->
<view class='item_top_left'>
<view class='item_top_left_date'>2018-08-08</view>
<view class='item_top_left_time'>18:38:25</view>
</view>
<!-- 右侧信息 -->
<view class='item_top_right'>
信息
</view>
</view>
<!-- 底部色彩 -->
<view class='item_bottom color_green'>
已通过
</view>
</view>
</view>
\ No newline at end of file
... ...
page{
background: url('http://bronet.wangshuwen.com/head.png')
no-repeat;
background-size: 100%, 100%;
line-height: 1;
}
.container{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
padding: 91rpx 0 0 0;
box-sizing: border-box;
}
.item{
width:686rpx;
height:150rpx;
background:rgba(255,255,255,1);
box-shadow:0rpx 10rpx 24rpx 0rpx rgba(149,149,149,0.1);
border-radius:10rpx;
margin-top: 30rpx;
}
.item:first-child{
margin-top: 0;
}
.item:last-child{
margin-bottom: 60rpx;
}
.item_top{
display: flex;
justify-content: space-between;
margin: 26rpx 30rpx;
}
.item_top_left{
width: 322rpx;
font-size:30rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
display: flex;
justify-content: space-between;
}
.item_top_right{
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
}
.item_bottom{
font-size:36rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
margin: 0 30rpx;
}
.color_blue{
color: #2C82E6;
}
.color_red{
color: #FA5A4B;
}
.color_green{
color: #63E046;
}
\ No newline at end of file
... ...
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "待维护项目",
"navigationBarTextStyle": "black"
}
\ No newline at end of file
... ...
<view class='container'>
<!-- 图片 -->
<view class='top'>
<image src='../../images/family.png'></image>
</view>
<!-- 日期&时间 -->
<view class='top_mid'>
<view class='top_mid_date'>2018-08-08</view>
<view class='top_mid_time'> 18:38:25</view>
</view>
<!-- 备注 -->
<view class='remark'>
备注
</view>
<!-- 文本框 -->
<view class='text'>
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,
</view>
<!-- 处理按钮 -->
<view class='button'>
处理
</view>
</view>
\ No newline at end of file
... ...
page{
background: url('http://bronet.wangshuwen.com/head.png') no-repeat;
background-size: 100%, 100%;
line-height: 1;
}
.container{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
padding: 46rpx 0 0 0;
box-sizing: border-box;
}
.top{
width:686rpx;
height:360rpx;
background:rgba(255,255,255,1);
box-shadow:0px 10rpx 24rpx 0rpx rgba(149,149,149,0.1);
border-radius:10rpx;
display: flex;
}
.top image{
width: 100%;
height: 100%;
border-radius: 10rpx;
}
.top_mid{
margin-top: 52rpx;
width:686rpx;
font-size:30rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
display: flex;
}
.top_mid_time{
margin-left: 20rpx;
}
.remark{
width: 686rpx;
font-size:30rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
margin-top: 30rpx;
}
.text{
width:686rpx;
height:400rpx;
background:rgba(44,130,230,0);
border:1rpx solid rgba(232, 232, 232, 1);
border-radius:8rpx;
margin-top: 22rpx;
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height:36rpx;
box-sizing: border-box;
padding: 24rpx 44rpx;
overflow-y: scroll;
}
.button{
width:686rpx;
height:70rpx;
background:linear-gradient(-30deg,rgba(44,130,230,1),rgba(72,157,255,1));
box-shadow:0rpx 14rpx 24rpx 0rpx rgba(7,106,220,0.4);
border-radius:35rpx;
font-size:36rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(255,255,255,1);
text-align: center;
line-height: 70rpx;
margin-top: 119rpx;
}
\ No newline at end of file
... ...
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
btn_dwh() {
wx.navigateTo({
url: '../dwh_deal/dwh_deal',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "待维护项目",
"navigationBarTextStyle": "black"
}
\ No newline at end of file
... ...
<view class='container'>
<view class='item' bindtap='btn_dwh'>
<view class='item_top'>
<!-- 日期时间 -->
<view class='item_top_left'>
<!-- 日期 -->
<view class='item_top_left_date'>
2018-08-08
</view>
<!-- 时间 -->
<view class='item_top_left_time'>
18:38:25
</view>
</view>
<!-- 维护字体 -->
<view class='item_top_right color_blue'>
待维护
</view>
</view>
<!-- 底部文字 -->
<view class='item_bottom'>
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,
</view>
</view>
<view class='item'>
<view class='item_top'>
<!-- 日期时间 -->
<view class='item_top_left'>
<!-- 日期 -->
<view class='item_top_left_date'>
2018-08-08
</view>
<!-- 时间 -->
<view class='item_top_left_time'>
18:38:25
</view>
</view>
<!-- 维护字体 -->
<view class='item_top_right color_green'>
通过
</view>
</view>
<!-- 底部文字 -->
<view class='item_bottom'>
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,
</view>
</view>
<view class='item'>
<view class='item_top'>
<!-- 日期时间 -->
<view class='item_top_left'>
<!-- 日期 -->
<view class='item_top_left_date'>
2018-08-08
</view>
<!-- 时间 -->
<view class='item_top_left_time'>
18:38:25
</view>
</view>
<!-- 维护字体 -->
<view class='item_top_right color_orange'>
待审核
</view>
</view>
<!-- 底部文字 -->
<view class='item_bottom'>
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,
</view>
</view>
<view class='item'>
<view class='item_top'>
<!-- 日期时间 -->
<view class='item_top_left'>
<!-- 日期 -->
<view class='item_top_left_date'>
2018-08-08
</view>
<!-- 时间 -->
<view class='item_top_left_time'>
18:38:25
</view>
</view>
<!-- 维护字体 -->
<view class='item_top_right color_red'>
未通过
</view>
</view>
<!-- 底部文字 -->
<view class='item_bottom'>
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,
</view>
</view>
</view>
\ No newline at end of file
... ...
page{
background: url('http://bronet.wangshuwen.com/head.png') no-repeat;
background-size: 100%, 100%;
line-height: 1;
}
.container{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
padding: 91rpx 0 0 0;
box-sizing: border-box;
}
.item{
width:686rpx;
background:rgba(255,255,255,1);
box-shadow:0rpx 10rpx 24rpx 0rpx rgba(149,149,149,0.1);
border-radius:10rpx;
margin-top: 30rpx;
}
.item:first-child{
margin-top: 0;
}
.item:last-child{
margin-bottom: 60rpx;
}
.item_top{
margin-top: 0.23rpx;
width: 622rpx;
display: flex;
justify-content: space-between;
margin: 23rpx 32rpx;
}
.item_top_left{
width: 330rpx;
display: flex;
justify-content: space-between;
font-size:30rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
}
.item_top_right{
/* width:87px; */
/* height:28px; */
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(44,130,230,1);
/* line-height:36px; */
}
.item_bottom{
margin: 35rpx 32rpx 20rpx 20rpx;
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height:36rpx;
}
.color_blue{
color: #2C82E6;
}
.color_green{
color: #63E046;
}
.color_orange{
color: #FAA64B;
}
.color_red{
color: #FA5A4B;
}
... ...
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
item_message() {
wx.navigateTo({
url: '../message/message',
})
},
item_dwh_project() {
wx.navigateTo({
url: '../dwh_project/dwh_project',
})
},
item_sub_project() {
wx.navigateTo({
url: '../sub_wh_project/sub_wh_project',
})
},
item_check() {
wx.navigateTo({
url: '../check_accept/check_accept',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "审核小程序",
"navigationBarTextStyle": "black"
}
\ No newline at end of file
... ...
<!--index.wxml-->
<view class="container">
<!-- 头像 -->
<view class='top_img'>
<image src='../../images/single.png'></image>
</view>
<!-- 名字 -->
<view class='top_name'>
小猪佩奇陪你过年
</view>
<!-- 上岗到位 -->
<view class='mid'>
上岗到位
</view>
<!-- 四方块 -->
<view class='bottom'>
<view class='bottom_item ' bindtap='item_message'>
消息
<view class='bottom_message'>
12
</view>
</view>
<view class='bottom_item' bindtap='item_dwh_project'>
待维护项目
<view class='bottom_message'>
12
</view>
</view>
<view class='bottom_item' bindtap='item_sub_project'>
提交维护项目
<view class='bottom_message'>
12
</view>
</view>
<view class='bottom_item' bindtap='item_check'>
验收
<view class='bottom_message'>
12
</view>
</view>
</view>
</view>
... ...
/**index.wxss**/
page{
background: url('http://bronet.wangshuwen.com/bag.png');
background-size: cover;
}
.container{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 111rpx 0 0 0;
box-sizing: border-box;
/* width: 100%;
height: 100%;
display: flex;
flex-flow: column; */
}
.top_img{
width: 130rpx;
height: 124rpx;
display: flex;
}
.top_img image{
width:100%;
height: 100%;
border-radius: 50%;
}
.top_name{
margin-top: 54rpx;
font-size: 36rpx;
font-weight: bold;
line-height: 36rpx;
}
.mid{
margin-top: 86rpx;
width:686rpx;
height:120rpx;
background:linear-gradient(-30deg,rgba(44,130,230,1),rgba(72,157,255,1));
box-shadow:0rpx 14rpx 24rpx 0rpx rgba(7,106,220,0.4);
border-radius:60rpx;
color: #fff;
line-height: 120rpx;
text-align: center;
font-size: 48rpx;
font-weight: bold;
}
.bottom{
margin-top: 25rpx;
width: 686rpx;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.bottom_item{
margin-top: 47rpx;
width:300rpx;
height:170rpx;
background:linear-gradient(-30deg,rgba(44,130,230,1),rgba(72,157,255,1));
box-shadow:0rpx 10rpx 24rpx 0rpx rgba(7,106,220,0.3);
border-radius:10px;
color: #fff;
text-align: center;
line-height: 170rpx;
position: relative;
}
.bottom_message{
position: absolute;
width: 36rpx;
height: 36rpx;
background-color: #FA5A4B;
border-radius: 50%;
top: 20rpx;
right: 20rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 24rpx;
font-weight: bold;
color: #fff;
}
... ...
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
btn_next() {
wx.navigateTo({
url: '../message_title/message_title',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
//下拉加载
getlist(){
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
this.getlist();
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "消息",
"navigationBarTextStyle": "black"
}
\ No newline at end of file
... ...
<view class='container'>
<view class='item' bindtap='btn_next'>
<!-- 头部标题时间 -->
<view class='item_top'>
<!-- 后台发出消息标题 -->
<view class='item_top_left'>
后台发出消息标题
</view>
<!-- 时间 -->
<view class='item_top_right'>
2018-08-08
</view>
</view>
<!-- 底部文字 -->
<view class='item_bottom'>
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,
</view>
</view>
<view class='item' bindtap='btn_next'>
<!-- 头部标题时间 -->
<view class='item_top'>
<!-- 后台发出消息标题 -->
<view class='item_top_left'>
后台发出消息标题
</view>
<!-- 时间 -->
<view class='item_top_right'>
2018-08-08
</view>
</view>
<!-- 底部文字 -->
<view class='item_bottom'>
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,
</view>
</view>
<view class='item' bindtap='btn_next'>
<!-- 头部标题时间 -->
<view class='item_top'>
<!-- 后台发出消息标题 -->
<view class='item_top_left'>
后台发出消息标题
</view>
<!-- 时间 -->
<view class='item_top_right'>
2018-08-08
</view>
</view>
<!-- 底部文字 -->
<view class='item_bottom'>
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,
</view>
</view>
</view>
\ No newline at end of file
... ...
page{
background: url('http://bronet.wangshuwen.com/head.png') no-repeat;
background-size: 100%, 100%;
line-height: 1;
}
.container{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
padding: 91rpx 0 0 0;
box-sizing: border-box;
}
.item{
width:686rpx;
/* height:200rpx; */
background:rgba(255,255,255,1);
box-shadow:0rpx 10rpx 24rpx 0rpx rgba(149,149,149,0.1);
border-radius:10rpx;
margin-top: 30rpx;
}
.item:first-child{
margin-top: 0;
}
.item:last-child{
margin-bottom: 60rpx;
}
.item_top{
margin-top: 0.23rpx;
width: 622rpx;
display: flex;
justify-content: space-between;
margin: 23rpx 32rpx;
}
.item_top_left{
font-size:30rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
line-height:36rpx;
}
.item_top_right{
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height:36rpx;
}
.item_bottom{
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height:36rpx;
margin: 0 32rpx 20rpx 32rpx;
}
... ...
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "消息标题",
"navigationBarTextStyle": "black"
}
\ No newline at end of file
... ...
<view class='container'>
<view class='title'>消息标题</view>
<!-- 时间 -->
<view class='time'>
<view></view>
<view class='time_y'>2018-08-08</view>
</view>
<!-- 下划线 -->
<view class='underline'>
</view>
<!-- 文本内容 -->
<view class='text'>
一帘秋香,吹过红尘中修炼的清月,袅袅绵绵的推开了窗棂。把秋思湿润在条案的兰花指叶上,滋润着一朵嫩绿,一浅藕灰,交织在斜阳的格栅上。渔火秋珊的羁旅,染遍了十月金菊的黄韵。花间中,一帆岁月,一盏记忆,一页诗词,洒满了秋色的暗香。
修行的残阳,落尘一片斑驳的老墙。时光卷走了印在眉宇间的四月天,把一缀朱砂的暗红藏在了心底。沿着深深的石巷飘散着桂花香,把一瓣瓣月光挂在屋檐下,清冷,香袭,再融入冉冉的晚炊里,婉转着夜光曲。
昨晚的朦胧,今夜的清晖,角落里翻出了往事的痕迹,碎片上颠沛了琉璃的苍凉,在千万房屋上堆积成了年轮。春秋里,冬夏中,撇捺划穿了风雨,横竖撕碎了纸背。长卷中的念想一篇连着一篇,竹笺里的春色一季挨着一季。伫立窗前,弯月泻流了银波,默祷成欣欣怡悦的冬花。
西落的尽处,吞吐出炊烟花香,泛起了一流苍翠的白云。红尘上的百亩婉蓝,倾城一片清雅,让缱绻的魂魄寻找前世的辉光。在天涯明月的夜色里,撩起高洁的菁华,相望月光。
秋思锁住了破碎的记忆,把花开凝聚在春绿的香雅里,把爱恋沉迷在十月的红尘中。秋香的诗句,字里行间怡漫着岁月的气息。点亮的烛火,阑珊的鱼光,垂帘的幽梦,码头上安静入睡的双桨,明月情怀,恋畔水响。黑瓦的骑墙,流水的沟壑,流淌成一篇文章。友人的条案,砚池的墨轩,放野号子的喧嚣,只愿一壶高酒当歌,曼舞月色。
长路漫漫,寻寻觅觅。捻着弯弯曲曲的平仄,暖阳秋色中绵伸了秦时明月、汉时月光。花落时分,红尘浅笑,落笔成殇。屋檐下腊月的浓香,从春草绿到了村庄。古镇,石桥,小河,人群,落在了西沉的脊背下。
</view>
</view>
\ No newline at end of file
... ...
/* pages/message_title/message_title.wxss */
page{
background: url('http://bronet.wangshuwen.com/head.png') no-repeat;
background-size: 100%, 100%;
line-height: 1;
}
.container{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
padding: 83rpx 0 0 0;
box-sizing: border-box;
}
.title{
font-size:36rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
}
.time{
margin-top: 19rpx;
width: 686rpx;
margin-right: 0;
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
display: flex;
justify-content: space-between;
}
.underline{
margin-top: 29rpx;
width:686rpx;
height:1rpx;
background:rgba(153,153,153,1);
}
.text{
margin: 42rpx 40rpx;
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height:36rpx;
}
\ No newline at end of file
... ...
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "提交维护项目",
"navigationBarTextStyle": "black"
}
\ No newline at end of file
... ...
<view class='container'>
<view class='items'>
<view class='=item'>
<!-- 头部图片 -->
<view class='item_top'>
<image src='../../images/single.png'></image>
</view>
<view class='item_bottom'>
这是佩奇
</view>
</view>
<view class='=item'>
<!-- 头部图片 -->
<view class='item_top'>
<image src='../../images/single.png'></image>
</view>
<view class='item_bottom'>
这是佩奇
</view>
</view>
<view class='=item'>
<!-- 头部图片 -->
<view class='item_top'>
<image src='../../images/single.png'></image>
</view>
<view class='item_bottom'>
这是佩奇
</view>
</view>
<view class='=item'>
<!-- 头部图片 -->
<view class='item_top'>
<image src='../../images/single.png'></image>
</view>
<view class='item_bottom'>
这是佩奇
</view>
</view>
<view class='=item'>
<!-- 头部图片 -->
<view class='item_top'>
<image src='../../images/single.png'></image>
</view>
<view class='item_bottom'>
这是佩奇
</view>
</view>
<view class='=item'>
<!-- 头部图片 -->
<view class='item_top'>
<image src='../../images/single.png'></image>
</view>
<view class='item_bottom'>
这是佩奇
</view>
</view>
<view class='=item'>
<!-- 头部图片 -->
<view class='item_top'>
<image src='../../images/single.png'></image>
</view>
<view class='item_bottom'>
这是佩奇
</view>
</view>
<view class='=item'>
<!-- 头部图片 -->
<view class='item_top'>
<image src='../../images/single.png'></image>
</view>
<view class='item_bottom'>
这是佩奇
</view>
</view>
</view>
</view>
\ No newline at end of file
... ...
page{
background: url('http://bronet.wangshuwen.com/head.png')
no-repeat;
background-size: 100%, 100%;
line-height: 1;
}
.container{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
padding: 9rpx 0 0 0;
box-sizing: border-box;
}
.items{
width: 686rpx;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 60rpx;
}
.item{
width: 320rpx;
height: 270rpx;
display: flex;
flex-flow: column;
background:rgba(255,255,255,1);
box-shadow:0px 10rpx 24rpx 0px rgba(149,149,149,0.1);
border-radius:10rpx;
margin-top: 30rpx;
}
.item:first-child{
}
.item_top{
width: 320rpx;
height: 210rpx;
display: flex;
}
.item_top image{
width: 100%;
height: 100%;
}
.item_bottom{
height: 60rpx;
line-height: 60rpx;
text-align: center;
}
\ No newline at end of file
... ...
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
btn_sub_pic() {
wx.navigateTo({
url: '../sub_wh_pic/sub_wh_pic',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "提交维护项目",
"navigationBarTextStyle": "black"
}
\ No newline at end of file
... ...
<view class='container'>
<!-- 图片 -->
<view class='top'>
<image src='../../images/camera.png'></image>
</view>
<!-- 日期&时间 -->
<view class='top_mid'>
<view class='top_mid_date'>2018-08-08</view>
<view class='top_mid_time'> 18:38:25</view>
</view>
<!-- 备注 -->
<view class='remark'>
备注
</view>
<!-- 文本框 -->
<textarea class='text'></textarea>
<!-- 选择项目组 -->
<view class='choice' bindtap='btn_sub_pic'>
<view class='iconfont icon-caidan choice_a'>
<view class='choice_sel'>
选择项目组
</view>
</view>
<view class='iconfont icon-jinru'></view>
</view>
<!-- 处理按钮 -->
<view class='button' >
处理
</view>
</view>
\ No newline at end of file
... ...
@import '../../iconfont/icon.wxss';
page{
background: url('http://bronet.wangshuwen.com/head.png') no-repeat;
background-size: 100%, 100%;
line-height: 1;
}
.container{
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: space-between; */
padding: 46rpx 0 0 0;
box-sizing: border-box;
}
.top{
width:686rpx;
height:360rpx;
background:rgba(255,255,255,1);
box-shadow:0px 10rpx 24rpx 0rpx rgba(149,149,149,0.1);
border-radius:10rpx;
display: flex;
}
.top image{
width: 100%;
height: 100%;
border-radius: 10rpx;
}
.top_mid{
margin-top: 52rpx;
width:686rpx;
font-size:30rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
display: flex;
}
.top_mid_time{
margin-left: 20rpx;
}
.remark{
width: 686rpx;
font-size:30rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(51,51,51,1);
margin-top: 30rpx;
}
.text{
width:686rpx;
height:400rpx;
background:rgba(44,130,230,0);
border:1rpx solid rgba(232, 232, 232, 1);
border-radius:8rpx;
margin-top: 22rpx;
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(51,51,51,1);
line-height:36rpx;
box-sizing: border-box;
padding: 24rpx 44rpx;
overflow-y: scroll;
}
.choice{
margin-top: 19rpx;
width:686rpx;
height:80rpx;
background:rgba(255,255,255,1);
box-shadow:0rpx 4rpx 10rpx 0rpx rgba(149,149,149,0.1);
border-radius:10rpx;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 0 30rpx;
}
.choice_a{
display: flex;
}
.choice_sel{
margin-left: 26rpx;
}
.icon-caidan{
font-size: 32rpx;
}
.icon-jinru{
font-size: 38rpx;
display: flex;
color: #999999;
}
.button{
width:686rpx;
height:70rpx;
background:linear-gradient(-30deg,rgba(44,130,230,1),rgba(72,157,255,1));
box-shadow:0rpx 14rpx 24rpx 0rpx rgba(7,106,220,0.4);
border-radius:35rpx;
font-size:36rpx;
font-family:PingFang-SC-Bold;
font-weight:bold;
color:rgba(255,255,255,1);
text-align: center;
line-height: 70rpx;
margin-top: 20rpx;
}
\ No newline at end of file
... ...
{
"description": "项目配置文件",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": true,
"newFeature": true
},
"compileType": "miniprogram",
"libVersion": "2.5.1",
"appid": "wx532ecca400eb93a8",
"projectname": "shenji",
"debugOptions": {
"hidedInDevtools": []
},
"isGameTourist": false,
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"currentL": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
}
\ No newline at end of file
... ...
const formatTime = date => {
const year = date.getFullYear()
const month = date.getMonth() + 1
const day = date.getDate()
const hour = date.getHours()
const minute = date.getMinutes()
const second = date.getSeconds()
return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':')
}
const formatNumber = n => {
n = n.toString()
return n[1] ? n : '0' + n
}
module.exports = {
formatTime: formatTime
}
... ...