【update】联系人页面
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import UserApi from '../../assets/js/http/userApi'
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
statusBarHeight: wx.getSystemInfoSync()['statusBarHeight'],
|
||||
pageTitle:'联系人'
|
||||
},
|
||||
// 编辑联系人信息
|
||||
editContactsInfo(e) {
|
||||
|
||||
},
|
||||
goBack(){
|
||||
wx.navigateBack()
|
||||
},
|
||||
|
||||
loadData(){
|
||||
const that = this
|
||||
// wx.showToast({
|
||||
// title: '加载中...',
|
||||
// icon: 'loading'
|
||||
// })
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
this.data.type = options.type
|
||||
this.loadData()
|
||||
}
|
||||
})
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<!-- 自定义头部start -->
|
||||
<view class="custom flex_center" style="padding-top:{{statusBarHeight}}px">
|
||||
<image src="../../assets/images/back.png" bindtap="goBack"></image>
|
||||
<text>{{pageTitle}}</text>
|
||||
</view>
|
||||
<view class="empty_custom" style="padding-top:{{statusBarHeight}}px"></view><!-- 空view用来填充自定义头部的padding-top -->
|
||||
<!-- 自定义头部end -->
|
||||
<view class="color-f5 wrap">
|
||||
<view class="form-wrap">
|
||||
<!-- 企业名称直接回显不可修改 -->
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1 validate">企业名称:</text>
|
||||
<input placeholder-class="text-right" bindtap="selectCompany" disabled="{{true}}" name="selectedCompany.companyName" value="{{selectedCompany.companyName}}" placeholder="请选择参会单位" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -0,0 +1,27 @@
|
||||
/* pages/meeting/meeting.wxss */
|
||||
page {
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
/* 头部筛选 start */
|
||||
.select-list {
|
||||
border-top: 0.5px solid #F5F5F5;
|
||||
height: 40px;
|
||||
font-size: 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.select-item {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.select-item image {
|
||||
width: 11px;
|
||||
height: 6px;
|
||||
margin-left: 9px;
|
||||
}
|
||||
/* 头部筛选end */
|
||||
Reference in New Issue
Block a user