会议详情,项目详情,我的页面

This commit is contained in:
姚亚男
2021-10-09 15:50:06 +08:00
parent 8a2500b5a5
commit 2134e2525f
55 changed files with 1931 additions and 45 deletions
+12 -12
View File
@@ -9,18 +9,18 @@ App({
key:"key",
data:"登录过,存到了缓存flag,跳转首页"
})
wx.getStorage({
key: 'key',
success (res) {// 缓存中登录过,直接进小程序
console.log(res.data)
wx.switchTab({
url: 'pages/home/home',
})
},
fail: function(){
// 缓存中没有登录过默认app.json的登录页
}
})
// wx.getStorage({
// key: 'key',
// success (res) {// 缓存中登录过,直接进小程序
// console.log(res.data)
// wx.switchTab({
// url: '../home/home',
// })
// },
// fail: function(){
// // 缓存中没有登录过默认app.json的登录页
// }
// })
// 登录
wx.login({
success: res => {
+1 -1
View File
@@ -1,7 +1,7 @@
{
"pages":[
"pages/login/login",
"pages/home/home",
"pages/login/login",
"pages/mine/mine",
"pages/index/index",
"pages/logs/logs",
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

+1 -1
View File
@@ -2,7 +2,7 @@ import http from './http.js'
// let baseUrl = 'https://share.hzwlsoft.com'
// let baseUrl = 'http://localhost:8080'
let baseUrl = 'http://192.168.18.133:8080'
let baseUrl = 'http://10.0.1.9:8080'
// let baseUrl = 'http://192.168.1.110:8080'
/* 配置路径 */
+1 -1
View File
@@ -6,7 +6,7 @@ let headerDefault1 = {
'content-type': 'application/x-www-form-urlencoded'
}
let TokenKey = 'X-Access-Token'
let baseUrl = 'http://192.168.18.133:8080'
let baseUrl = 'http://10.0.1.9:8080'
// let baseUrl = 'http://localhost:8080'
const http = (method, url, data, header= headerDefault) => {
let Authorization = wx.getStorageSync(TokenKey) ? wx.getStorageSync(TokenKey) : '';
+10 -1
View File
@@ -26,8 +26,17 @@ const UserApi = {
updatePassword: (params) => http.post(`${URL_CONFIG}company/verificationChangePassword`, params),
// 个人信息
mineInfo: (params) => http.get(`${URL_CONFIG}company/payContactsManagement/queryByIdMeeting`, params),
// 编辑个人信息提交
// 编辑个人信息提交
editMineInfo: (params) => http.get(`${URL_CONFIG}company/payContactsManagement/companyEdit`, params),
// 首页接口
// 来款项目分页
projectList: (params) => http.get(`${URL_CONFIG}project/payCommonProject/queryCompanyPageList`, params),
// 来款项目详情
projectDetail: (params) => http.get(`${URL_CONFIG}project/payCommonProject/queryCompanyById`, params),
// 会议活动分页
meetingList: (params) => http.get(`${URL_CONFIG}meeting/payMeeting/pageContract`, params),
// 会议活动详情
meetingDetail: (params) => http.get(`${URL_CONFIG}meeting/payMeeting/queryById`, params),
}
export default UserApi
+66
View File
@@ -0,0 +1,66 @@
// pages/meeting/meeting.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+26
View File
@@ -0,0 +1,26 @@
<view>
<view class="title">基本信息</view>
<view class="basic-info">
<view>
<text>合同编号</text>
<text>arff4ds8a3s6651</text>
</view>
<view>
<text>合同名称</text>
<text>找找</text>
</view>
<view>
<text>负责人</text>
<text>张三</text>
</view>
<view>
<text>合同金额</text>
<text>500元</text>
</view>
</view>
<view class="title">邮寄信息</view>
<view class="email-info">
<text>001由李四于2021年12月20日邮寄,快递号:14567</text>
<text>查看物流</text>
</view>
</view>
+34
View File
@@ -0,0 +1,34 @@
page{
box-sizing: border-box;
}
.title{
height: 40px;
padding-left: 10px;
line-height: 40px;
color: #999;
font-size: 14px;
background-color: #f5f5f5;
}
.basic-info view{
padding: 15px;
height: 40px;
display: flex;
justify-content: space-between;
align-items: center;
color: #333;
font-size: 14px;
}
.email-info text:nth-child(1){
color: #333;
font-size: 14px;
}
.email-info{
padding: 15px;
}
.email-info text:nth-child(2){
color: #069F99;
font-size: 14px;
display: block;
margin-top: 10px;
text-align: center;
}
+15
View File
@@ -0,0 +1,15 @@
{
"name": "miniprogram-custom-component",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "http://10.0.1.9:9090/income_payments/income_payments_applet"
},
"author": "",
"license": "ISC"
}
+66
View File
@@ -0,0 +1,66 @@
// pages/meeting/meeting.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+26
View File
@@ -0,0 +1,26 @@
<view>
<view class="title">基本信息</view>
<view class="basic-info">
<view>
<text>合同编号</text>
<text>arff4ds8a3s6651</text>
</view>
<view>
<text>合同名称</text>
<text>找找</text>
</view>
<view>
<text>负责人</text>
<text>张三</text>
</view>
<view>
<text>合同金额</text>
<text>500元</text>
</view>
</view>
<view class="title">邮寄信息</view>
<view class="email-info">
<text>001由李四于2021年12月20日邮寄,快递号:14567</text>
<text>查看物流</text>
</view>
</view>
+34
View File
@@ -0,0 +1,34 @@
page{
box-sizing: border-box;
}
.title{
height: 40px;
padding-left: 10px;
line-height: 40px;
color: #999;
font-size: 14px;
background-color: #f5f5f5;
}
.basic-info view{
padding: 15px;
height: 40px;
display: flex;
justify-content: space-between;
align-items: center;
color: #333;
font-size: 14px;
}
.email-info text:nth-child(1){
color: #333;
font-size: 14px;
}
.email-info{
padding: 15px;
}
.email-info text:nth-child(2){
color: #069F99;
font-size: 14px;
display: block;
margin-top: 10px;
text-align: center;
}
+13
View File
@@ -5,6 +5,13 @@ Page({
* 页面的初始数据
*/
data: {
searchParams: {
pageNo: 1,
pageSize: 10,
meetingStatus: 0, // 会议状态
meetingType: 0, // 标协会议 2 工作组会议 1 国际研讨会 3 其他 4
month: '', // 运行月份
},
selects: [ // 自定义选择框参数
{
select: '状态',
@@ -24,6 +31,12 @@ Page({
]
},
// 会议详情
meetingDetail(){
wx.navigateTo({
url: '../meetingDetailSigned/meetingDetailSigned', // (已报名)
})
},
/**
* 生命周期函数--监听页面加载
*/
+1
View File
@@ -1,3 +1,4 @@
{
"navigationBarTitleText": "会议",
"usingComponents": {}
}
+2 -2
View File
@@ -1,4 +1,4 @@
<!--pages/meeting/meeting.wxml-->
<!--pages/meeting/meeting.wxml首页会议活动-->
<view class="select-list">
<view class="select-item" bindtap="changeTab(select)" wx:for="{{selects}}" wx:for-item="select" wx:key="tabIndex">
<text>{{select.select}}</text>
@@ -7,7 +7,7 @@
</view>
</view>
<view class="list">
<view class="list-item" wx:for="{{[1,1,1,1]}}">
<view class="list-item" wx:for="{{[1,1,1,1]}}" bindtap="meetingDetail" wx:key="item">
<view class="title">
<text>项目名称文字占位符项目名称文字占位符项目名称文字占位符</text>
<text>2021-12-12</text>
+88
View File
@@ -0,0 +1,88 @@
// pages/meeting/meeting.js
Page({
/**
* 页面的初始数据
*/
data: {
payProveImage: ''
},
// 上传缴费凭证
uploadImage(){
const that = this
wx.chooseImage({
count: 1,
sizeType: ['original', 'compressed'],
sourceType: ['album', 'camera'],
success (res) {
// tempFilePath可以作为img标签的src属性显示图片
that.setData({
payProveImage: res.tempFilePaths
})
console.log(that.data.payProveImage)
}
})
},
// 删除缴费凭证
delete(){
this.setData({
payProveImage: ''
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
+4
View File
@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "会议详情",
"usingComponents": {}
}
+117
View File
@@ -0,0 +1,117 @@
<view>
<view class="basic-info">
<view class="meeting-name">
<text>会议名称</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>会议类型</text>
<text>arff4ds8a3s6651</text>
</view>
<view>
<text>负责人</text>
<text>找找</text>
</view>
<view>
<text>召开时间</text>
<text>张三</text>
</view>
<view>
<text>召开地点</text>
<text>500元</text>
</view>
<view>
<text>会议费用</text>
<text>500元</text>
</view>
<view>
<text>年份</text>
<text>500元</text>
</view>
<view>
<text>签到时间</text>
<text>500元</text>
</view>
<view>
<text>会议费用(VIP</text>
<text>500元</text>
</view>
<view>
<text>会议内容</text>
<text>500元</text>
</view>
<view>
<text>备注</text>
<text>500元</text>
</view>
<view class="meeting-files">
<text>附件</text>
<view class="file-name">
<view>
<image src="../../assets/images/pdf.png"></image>
<text>文件名内阁成员函数的工具包</text>
</view>
<text class="look-file">查看</text>
</view>
</view>
<view class="meeting-files" style="margin-top: 0;">
<text>会议文件</text>
<view class="warning-text">
<image src="../../assets/images/warn.png"></image>
<text>单个账号会议文件只可发送五次</text>
</view>
<view class="file-name">
<view>
<image src="../../assets/images/pdf.png"></image>
<text>文件名内阁成员函数的工具包</text>
</view>
<text class="look-file">查看</text>
</view>
</view>
</view>
<view class="basic-info" style="margin-top: 10px;">
<view class="title">
<text>报名信息</text>
</view>
<view>
<text>参会人1</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>参会人2</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>缴费方式</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>是否需要发票</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>邮寄地址</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>邮编</text>
<text>会议名称会议名称</text>
</view>
<view class="pay-prove-box">
<text>缴费凭证</text>
<view class="pay-prove-content">
<view class="pay-prove" wx:if="{{payProveImage}}">
<image src="{{payProveImage}}" mode="aspectFill"></image>
<text class="delete-image" bindtap="delete">×</text>
</view>
<view class="pay-prove" bindtap="uploadImage">
<image src="../../assets/images/uploadImage.png" mode="aspectFill" style="width: 40px; height: 40px;"></image>
</view>
</view>
</view>
</view>
<view class="sign-up-empty"></view>
<view class="sign-up">
<text>确定</text>
</view>
</view>
+151
View File
@@ -0,0 +1,151 @@
page{
box-sizing: border-box;
background-color: #F5F5F5;
}
.basic-info .title{
height: 40px;
}
.basic-info .title text{
display: block;
border-left: 3px solid #069F99;
height: 14px;
padding-left: 10px;
border-radius: 2px;
display: flex;
justify-content: center;
align-items: center;
color: #333;
font-size: 15px;
font-weight: 500;
}
.basic-info view{
background-color: #FFF;
padding: 15px;
height: 40px;
display: flex;
justify-content: space-between;
align-items: center;
color: #333;
font-size: 14px;
border-bottom: 0.5px solid #f5f5f5;
position: relative;
}
.basic-info view:last-child{
border-bottom: 0;
}
.meeting-name{
margin-bottom: 10px;
}
.meeting-files{
margin-top: 10px;
flex-direction: column;
align-items: flex-start !important;
height: auto !important;
}
.basic-info .meeting-files .file-name{
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
box-sizing: border-box;
padding: 0;
height: 40px;
margin-top: 10px;
}
.file-name view{
padding: 0;
height: 30px;
line-height: 30px;
border-bottom: 0;
}
.file-name view image{
width: 30px;
height: 30px;
margin-right: 10px;
}
.basic-info .meeting-files .file-name .look-file{
color: #069F99;
}
.warning-text{
position: absolute !important;
top: 5px;
left: 75px;
color: #FF5E60 !important;
font-size: 10px !important;
padding: 0 !important;
}
.warning-text image{
width: 10px;
height: 10px;
}
.pay-prove-box{
display: flex !important;
flex-direction: column !important;
justify-content: flex-start !important;
align-items: flex-start !important;
padding: 0;
height: 120px !important;
}
.pay-prove-box .pay-prove-content{
margin-top: 20px;
display: flex;
justify-content: flex-start;
align-items: center;
padding: 0;
height: 80px;
}
.pay-prove-box .pay-prove-content .pay-prove{
width: 80px;
height: 80px;
margin-right: 10px;
position: relative !important;
background-color: #D1D1D1;
padding: 0;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
}
.pay-prove-box .pay-prove-content .pay-prove image{
width: 80px;
height: 80px;
}
.pay-prove-box .pay-prove-content .pay-prove .delete-image{
width: 12px;
height: 12px;
color: #fff;
background-color: #FF5E60;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 7px;
position: absolute;
top: -3px;
right: -3px;
}
.sign-up-empty{
height: 60px;
width: 100%;
display: block;
margin-top: 10px;
}
.sign-up{
width: 100%;
padding: 10px 15px;
box-sizing: border-box;
background-color: #fff;
position: fixed;
bottom: 0;
}
.sign-up text{
background-color: #069F99;
height: 40px;
border-radius: 10px;
color: #fff;
font-size: 16px;
font-weight: 600;
display: block;
text-align: center;
line-height: 40px;
}
@@ -0,0 +1,88 @@
// pages/meeting/meeting.js
Page({
/**
* 页面的初始数据
*/
data: {
payProveImage: ''
},
// 上传缴费凭证
uploadImage(){
const that = this
wx.chooseImage({
count: 1,
sizeType: ['original', 'compressed'],
sourceType: ['album', 'camera'],
success (res) {
// tempFilePath可以作为img标签的src属性显示图片
that.setData({
payProveImage: res.tempFilePaths
})
console.log(that.data.payProveImage)
}
})
},
// 删除缴费凭证
delete(){
this.setData({
payProveImage: ''
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "会议详情",
"usingComponents": {}
}
@@ -0,0 +1,117 @@
<view>
<view class="basic-info">
<view class="meeting-name">
<text>会议名称</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>会议类型</text>
<text>arff4ds8a3s6651</text>
</view>
<view>
<text>负责人</text>
<text>找找</text>
</view>
<view>
<text>召开时间</text>
<text>张三</text>
</view>
<view>
<text>召开地点</text>
<text>500元</text>
</view>
<view>
<text>会议费用</text>
<text>500元</text>
</view>
<view>
<text>年份</text>
<text>500元</text>
</view>
<view>
<text>签到时间</text>
<text>500元</text>
</view>
<view>
<text>会议费用(VIP</text>
<text>500元</text>
</view>
<view>
<text>会议内容</text>
<text>500元</text>
</view>
<view>
<text>备注</text>
<text>500元</text>
</view>
<view class="meeting-files">
<text>附件</text>
<view class="file-name">
<view>
<image src="../../assets/images/pdf.png"></image>
<text>文件名内阁成员函数的工具包</text>
</view>
<text class="look-file">查看</text>
</view>
</view>
<view class="meeting-files" style="margin-top: 0;">
<text>会议文件</text>
<view class="warning-text">
<image src="../../assets/images/warn.png"></image>
<text>单个账号会议文件只可发送五次</text>
</view>
<view class="file-name">
<view>
<image src="../../assets/images/pdf.png"></image>
<text>文件名内阁成员函数的工具包</text>
</view>
<text class="look-file">查看</text>
</view>
</view>
</view>
<view class="basic-info" style="margin-top: 10px;">
<view class="title">
<text>报名信息</text>
</view>
<view>
<text>参会人1</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>参会人2</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>缴费方式</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>是否需要发票</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>邮寄地址</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>邮编</text>
<text>会议名称会议名称</text>
</view>
<view class="pay-prove-box">
<text>缴费凭证</text>
<view class="pay-prove-content">
<view class="pay-prove" wx:if="{{payProveImage}}">
<image src="{{payProveImage}}" mode="aspectFill"></image>
<text class="delete-image" bindtap="delete">×</text>
</view>
<view class="pay-prove" bindtap="uploadImage">
<image src="../../assets/images/uploadImage.png" mode="aspectFill" style="width: 40px; height: 40px;"></image>
</view>
</view>
</view>
</view>
<view class="sign-up-empty"></view>
<view class="sign-up">
<text>确定</text>
</view>
</view>
@@ -0,0 +1,151 @@
page{
box-sizing: border-box;
background-color: #F5F5F5;
}
.basic-info .title{
height: 40px;
}
.basic-info .title text{
display: block;
border-left: 3px solid #069F99;
height: 14px;
padding-left: 10px;
border-radius: 2px;
display: flex;
justify-content: center;
align-items: center;
color: #333;
font-size: 15px;
font-weight: 500;
}
.basic-info view{
background-color: #FFF;
padding: 15px;
height: 40px;
display: flex;
justify-content: space-between;
align-items: center;
color: #333;
font-size: 14px;
border-bottom: 0.5px solid #f5f5f5;
position: relative;
}
.basic-info view:last-child{
border-bottom: 0;
}
.meeting-name{
margin-bottom: 10px;
}
.meeting-files{
margin-top: 10px;
flex-direction: column;
align-items: flex-start !important;
height: auto !important;
}
.basic-info .meeting-files .file-name{
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
box-sizing: border-box;
padding: 0;
height: 40px;
margin-top: 10px;
}
.file-name view{
padding: 0;
height: 30px;
line-height: 30px;
border-bottom: 0;
}
.file-name view image{
width: 30px;
height: 30px;
margin-right: 10px;
}
.basic-info .meeting-files .file-name .look-file{
color: #069F99;
}
.warning-text{
position: absolute !important;
top: 5px;
left: 75px;
color: #FF5E60 !important;
font-size: 10px !important;
padding: 0 !important;
}
.warning-text image{
width: 10px;
height: 10px;
}
.pay-prove-box{
display: flex !important;
flex-direction: column !important;
justify-content: flex-start !important;
align-items: flex-start !important;
padding: 0;
height: 120px !important;
}
.pay-prove-box .pay-prove-content{
margin-top: 20px;
display: flex;
justify-content: flex-start;
align-items: center;
padding: 0;
height: 80px;
}
.pay-prove-box .pay-prove-content .pay-prove{
width: 80px;
height: 80px;
margin-right: 10px;
position: relative !important;
background-color: #D1D1D1;
padding: 0;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
}
.pay-prove-box .pay-prove-content .pay-prove image{
width: 80px;
height: 80px;
}
.pay-prove-box .pay-prove-content .pay-prove .delete-image{
width: 12px;
height: 12px;
color: #fff;
background-color: #FF5E60;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 7px;
position: absolute;
top: -3px;
right: -3px;
}
.sign-up-empty{
height: 60px;
width: 100%;
display: block;
margin-top: 10px;
}
.sign-up{
width: 100%;
padding: 10px 15px;
box-sizing: border-box;
background-color: #fff;
position: fixed;
bottom: 0;
}
.sign-up text{
background-color: #069F99;
height: 40px;
border-radius: 10px;
color: #fff;
font-size: 16px;
font-weight: 600;
display: block;
text-align: center;
line-height: 40px;
}
+18 -6
View File
@@ -6,12 +6,6 @@ Page({
*/
data: {
},
// 修改密码
upDateInfo(){
wx.navigateTo({
url: '../upDateInfo/upDateInfo',
})
},
// 个人信息
mineInfo(){
@@ -19,6 +13,12 @@ Page({
url: '../mineInfo/mineInfo',
})
},
// 修改密码
upDateInfo(){
wx.navigateTo({
url: '../upDateInfo/upDateInfo',
})
},
// 扫码签到
scanCode(){
wx.scanCode({
@@ -29,6 +29,18 @@ Page({
complete: (res) => {},
})
},
// 我的资料
mineData(){
wx.navigateTo({
url: '../mineData/mineData',
})
},
// 我的合同
mineContract(){
wx.navigateTo({
url: '../mineContract/mineContract',
})
},
/**
* 生命周期函数--监听页面加载
*/
+2 -2
View File
@@ -48,14 +48,14 @@
</view>
<image src="../../assets/images/more.png"></image>
</view>
<view class="list-item">
<view class="list-item" bindtap="mineData">
<view class="item-title">
<image src="../../assets/images/data.png"></image>
<text>我的资料</text>
</view>
<image src="../../assets/images/more.png"></image>
</view>
<view class="list-item">
<view class="list-item" bindtap="mineContract">
<view class="item-title">
<image src="../../assets/images/contract.png"></image>
<text>我的合同</text>
+1 -1
View File
@@ -111,7 +111,7 @@ page{
}
.logout{
padding: 0 15px;
margin-top: 10px;
margin: 10px 0;
}
.logout text{
display: flex;
+71
View File
@@ -0,0 +1,71 @@
// pages/minedata/minedata.js
Page({
/**
* 页面的初始数据
*/
data: {
list: [,1,1,1,1,1,1,1,1]
},
// 合同详情
contractDetail(){
wx.navigateTo({
url: '../contractDetail/contractDetail',
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
+4
View File
@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "我的合同",
"usingComponents": {}
}
+13
View File
@@ -0,0 +1,13 @@
<!--pages/meeting/meeting.wxml-->
<view class="list-box">
<view class="list-item" wx:for="list" wx:key="item" bindtap="contractDetail">
<view class="list-info">
<text>合同名称</text>
<text>合同金额:5000元</text>
</view>
<view class="list-info">
<text>合同编号:002</text>
<text>负责人:张三</text>
</view>
</view>
</view>
+24
View File
@@ -0,0 +1,24 @@
/* pages/mineContract/mineContract.wxss */
page{
background-color: #F5F5F5;
padding: 15px;
width: 100%;
box-sizing: border-box;
}
.list-item{
display: flex;
padding: 15px;
flex-direction: column;
background-color: #fff;
border-radius: 10px;
}
.list-item:not(:first-child){
margin-top: 10px;
}
.list-item .list-info{
color: #333;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
}
+65
View File
@@ -0,0 +1,65 @@
Page({
/**
* 页面的初始数据
*/
data: {
list: [1,1,1,1,,1,1,1]
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
+4
View File
@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "我的资料",
"usingComponents": {}
}
+13
View File
@@ -0,0 +1,13 @@
<view class="list-box">
<view class="list-item" wx:for="list" wx:key="item">
<text class="list-time">2021-10-12 12:00:00</text>
<view class="list-files">
<text>1文件名称列表文件名称列表文件名称列表文件名称列表.PDF</text>
<text>2文件名称列表文件名称列表文件名称列表文件名称列表.PDF</text>
<text>3文件名称文件名称列表文件名称列表.PDF</text>
<text>4文件名称列表文件名称列表文件名称列表文件名称列表.PDF</text>
<text>5文件名称列表文件名称列表文件名称列表文件名称列表.PDF</text>
<text>6文件名称.PDF</text>
</view>
</view>
</view>
+35
View File
@@ -0,0 +1,35 @@
page{
background-color: #F5F5F5;
padding: 15px;
width: 100%;
box-sizing: border-box;
}
.list-item{
display: flex;
padding: 15px;
flex-direction: column;
background-color: #fff;
border-radius: 10px;
}
.list-item:not(:first-child){
margin-top: 10px;
}
.list-item .list-time{
color: #999;
font-size: 14px;
}
.list-item .list-files{
margin-top: 5px;
color: #069F99;
font-size: 15px;
display: flex;
flex-direction: column;
}
.list-item .list-files text{
display: block;
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
line-height: 24px;
}
+67
View File
@@ -0,0 +1,67 @@
// pages/meeting/meeting.js
Page({
/**
* 页面的初始数据
*/
data: {
list: [,1,1,1,1,1,1,1,1]
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+14
View File
@@ -0,0 +1,14 @@
<!--pages/meeting/meeting.wxml我的会议-->
<view class="list-box">
<view class="list-item" wx:for="list" wx:key="item" bindtap="meetingDetail">
<view class="list-info">
<text>会议列表未定</text>
<text>合同金额:5000元</text>
</view>
<view class="list-info">
<text>合同编号:002</text>
<text>负责人:张三</text>
</view>
</view>
</view>
+24
View File
@@ -0,0 +1,24 @@
/* pages/mineContract/mineContract.wxss */
page{
background-color: #F5F5F5;
padding: 15px;
width: 100%;
box-sizing: border-box;
}
.list-item{
display: flex;
padding: 15px;
flex-direction: column;
background-color: #fff;
border-radius: 10px;
}
.list-item:not(:first-child){
margin-top: 10px;
}
.list-item .list-info{
color: #333;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
}
+41 -3
View File
@@ -1,18 +1,56 @@
// pages/meeting/meeting.js
import UserApi from '../../assets/js/http/userApi'
Page({
/**
* 页面的初始数据
*/
data: {
searchParams: {
pageNo: 1,
pageSize: 10,
needInvoice: 0, // 是否需要发票 0 1
pack: 0, // 是否打包 0 1
year: '', // 运行年份
},
selects: [ // 自定义选择框参数
{
select: '发票',
active: false,
tabIndex: 1
},
{
select: '打包',
active: false,
tabIndex: 2
},
{
select: '时间',
active: false,
tabIndex: 3
}
]
},
// 项目详情
projectDetail(){
wx.navigateTo({
url: '../projectDetail/projectDetail',
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
console.log(this.data.searchParams)
UserApi.projectList(this.data.searchParams).then(res=>{
console.log(res)
}).catch(err=>{
wx.showToast({
title: '加载失败',
icon: 'fail',
duration: 2000
})
})
},
/**
+1
View File
@@ -1,3 +1,4 @@
{
"navigationBarTitleText": "项目",
"usingComponents": {}
}
+21 -3
View File
@@ -1,4 +1,22 @@
<!--pages/meeting/meeting.wxml-->
<view>
<text>来款项目</text>
<!--pages/meeting/meeting.wxml首页会议活动-->
<view class="select-list">
<view class="select-item" bindtap="changeTab(select)" wx:for="{{selects}}" wx:for-item="select" wx:key="tabIndex">
<text>{{select.select}}</text>
<image wx:if="{{!select.active}}" src="../../assets/images/toTop.png"></image>
<image wx:if="{{select.active}}" src="../../assets/images/toBottom.png"></image>
</view>
</view>
<view class="list">
<view class="list-item" wx:for="{{[1,1,1,1]}}" bindtap="projectDetail" wx:key="item">
<view class="title">
<text>项目名称文字占位符项目名称文字占位符项目名称文字占位符</text>
<text>2021-12-12</text>
</view>
<view class="content-text">
<text>需要发票</text>
<text>到账</text>
<text>开票</text>
<text>邮寄</text>
</view>
</view>
</view>
+58 -5
View File
@@ -1,9 +1,15 @@
/* pages/meeting/meeting.wxss */
page {
background-color: #F5F5F5;
}
/* 头部筛选 start */
.select-list {
height: 92rpx;
border-top: 0.5px solid #F5F5F5;
height: 40px;
font-size: 14px;
display: flex;
align-items: center;
background-color: #F5F5F5;
background-color: #fff;
}
.select-item {
@@ -14,7 +20,54 @@
}
.select-item image {
width: 21rpx;
height: 12rpx;
margin-left: 20rpx;
width: 11px;
height: 6px;
margin-left: 9px;
}
/* 头部筛选end */
/* 列表start */
.list{
padding: 15px;
}
.list-item{
height: 90px;
background-color: #fff;
border-radius: 5px;
padding: 10px 15px;
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: column;
}
.list-item:not(:first-child) {
margin-top: 10px;
}
.list-item .title{
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.list-item .title text:nth-child(1){
font-size: 14px;
color: #333;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.list-item .title text:nth-child(2){
font-size: 12px;
color: #999;
width: 70px;
text-align: right;
flex-shrink: 0;
}
.content-text{
width: 100%;
color: #999;
font-size: 12px;
display: flex;
justify-content: space-between;
align-items: center;
}
+66
View File
@@ -0,0 +1,66 @@
// pages/meeting/meeting.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
+3
View File
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
+117
View File
@@ -0,0 +1,117 @@
<view>
<view class="basic-info">
<view class="meeting-name">
<text>项目名称</text>
<text>会议名称会议名称</text>
</view>
<view>
<text>款项用途</text>
<text>arff4ds8a3s6651</text>
</view>
<view>
<text>运行年份</text>
<text>找找</text>
</view>
<view>
<text>企业负责人</text>
<text>张三</text>
</view>
<view>
<text>应付金额</text>
<text>500元</text>
</view>
<view>
<text>实付金额</text>
<text>500元</text>
</view>
<view>
<text>经办人</text>
<text>500元</text>
</view>
<view>
<text>是否打包</text>
<text>500元</text>
</view>
<view>
<text>需要发票</text>
<text>500元</text>
</view>
<view>
<text>付款方式</text>
<text>500元</text>
</view>
<view>
<text>备注</text>
<text>500元</text>
</view>
</view>
<view class="basic-info" style="margin-top: 10px;">
<view class="title">
<text>到账信息</text>
</view>
<view style="padding: 0 15px;">
<text>2021年到账12021元</text>
</view>
</view>
<view class="basic-info" style="margin-top: 10px;">
<view class="title">
<text>开票邮寄信息</text>
</view>
<view class="way">
<image src="../../assets/images/sf.png"></image>
<text>顺丰速递</text>
</view>
<view class="way-info">
<view class="way-left">
<text class="way-left-text green">票</text>
<view class="way-center">
<text>开票人:张三</text>
<text>开票时间:2021年10月9日</text>
</view>
</view>
<text class="way-right">开票号5465</text>
</view>
<view class="way-info">
<view class="way-left">
<text class="way-left-text blue">票</text>
<view class="way-center">
<text>开票人:张三</text>
<text>开票时间:2021年10月9日</text>
</view>
</view>
<text class="way-right">开票号5465</text>
</view>
<view class="look-progress">
<text>金额:200元</text>
<text>查看物流</text>
</view>
<view class="way" style="margin-top: 10px;">
<image src="../../assets/images/ems.png"></image>
<text>EMS速运</text>
</view>
<view class="way-info">
<view class="way-left">
<text class="way-left-text green">票</text>
<view class="way-center">
<text>开票人:张三</text>
<text>开票时间:2021年10月9日</text>
</view>
</view>
<text class="way-right">开票号5465</text>
</view>
<view class="way-info">
<view class="way-left">
<text class="way-left-text blue">票</text>
<view class="way-center">
<text>开票人:张三</text>
<text>开票时间:2021年10月9日</text>
</view>
</view>
<text class="way-right">开票号5465</text>
</view>
<view class="look-progress">
<text>金额:200元</text>
<text>查看物流</text>
</view>
</view>
</view>
+225
View File
@@ -0,0 +1,225 @@
page{
box-sizing: border-box;
background-color: #F5F5F5;
padding-bottom: 20px;
}
.basic-info .title{
height: 40px;
}
.basic-info .title text{
display: block;
border-left: 3px solid #069F99;
height: 14px;
padding-left: 10px;
border-radius: 2px;
display: flex;
justify-content: center;
align-items: center;
color: #333;
font-size: 15px;
font-weight: 500;
}
.basic-info view{
background-color: #FFF;
padding: 15px;
height: 40px;
display: flex;
justify-content: space-between;
align-items: center;
color: #333;
font-size: 14px;
border-bottom: 0.5px solid #f5f5f5;
position: relative;
}
.basic-info view:last-child{
border-bottom: 0;
}
.meeting-name{
margin-bottom: 10px;
}
.meeting-files{
margin-top: 10px;
flex-direction: column;
align-items: flex-start !important;
height: auto !important;
}
.basic-info .meeting-files .file-name{
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
box-sizing: border-box;
padding: 0;
height: 40px;
margin-top: 10px;
}
.file-name view{
padding: 0;
height: 30px;
line-height: 30px;
border-bottom: 0;
}
.file-name view image{
width: 30px;
height: 30px;
margin-right: 10px;
}
.basic-info .meeting-files .file-name .look-file{
color: #069F99;
}
.warning-text{
position: absolute !important;
top: 5px;
left: 75px;
color: #FF5E60 !important;
font-size: 10px !important;
padding: 0 !important;
}
.warning-text image{
width: 10px;
height: 10px;
}
.pay-prove-box{
display: flex !important;
flex-direction: column !important;
justify-content: flex-start !important;
align-items: flex-start !important;
padding: 0;
height: 120px !important;
}
.pay-prove-box .pay-prove-content{
margin-top: 20px;
display: flex;
justify-content: flex-start;
align-items: center;
padding: 0;
height: 80px;
}
.pay-prove-box .pay-prove-content .pay-prove{
width: 80px;
height: 80px;
margin-right: 10px;
position: relative !important;
background-color: #D1D1D1;
padding: 0;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
}
.pay-prove-box .pay-prove-content .pay-prove image{
width: 80px;
height: 80px;
}
.pay-prove-box .pay-prove-content .pay-prove .delete-image{
width: 12px;
height: 12px;
color: #fff;
background-color: #FF5E60;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 7px;
position: absolute;
top: -3px;
right: -3px;
}
.basic-info .way{
padding: 0 15px;
display: flex;
justify-content: flex-start !important;
}
.basic-info .way image{
width: 23px;
height: 23px;
margin-right: 10px;
}
.way-info .way-left{
padding: 0;
display: flex;
justify-content: flex-start !important;
}
.way-info .way-center{
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
}
.way-info .way-center text:nth-child(1){
color: #333;
font-size: 14px;
}
.way-info .way-center text:nth-child(2){
color: #999;
font-size: 11px;
}
.way-info .green {
width: 20px;
height: 20px;
background: #069F99;
color: #fff;
font-size: 11px;
text-align: center;
line-height: 20px;
border-radius: 5px;
}
.way-info .blue {
width: 20px;
height: 20px;
background: #0A72F7;
color: #fff;
font-size: 11px;
text-align: center;
line-height: 20px;
border-radius: 5px;
}
.way-info .way-right{
flex-shrink: 0;
padding: 0;
color: #666;
font-size: 12px;
}
.basic-info .look-progress{
padding: 0 15px;
}
.basic-info .look-progress text:nth-child(1){
color: #FF5E60;
font-size: 14px;
}
.basic-info .look-progress text:nth-child(2){
display: block;
width: 70px;
height: 26px;
color: #069F99;
font-size: 11px;
border-radius: 13px;
border: 0.5px solid #069F99;
text-align: center;
line-height: 26px;
}
.sign-up-empty{
height: 60px;
width: 100%;
display: block;
margin-top: 10px;
}
.sign-up{
width: 100%;
padding: 10px 15px;
box-sizing: border-box;
background-color: #fff;
position: fixed;
bottom: 0;
}
.sign-up text{
background-color: #069F99;
height: 40px;
border-radius: 10px;
color: #fff;
font-size: 16px;
font-weight: 600;
display: block;
text-align: center;
line-height: 40px;
}
+3 -3
View File
@@ -22,9 +22,9 @@
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"useMultiFrameRuntime": false,
"useApiHook": false,
"useApiHostProcess": false,
"babelSetting": {
"ignore": [],
"disablePlugins": [],