From b9e12e951c4cc0398c1c8873555fa976b3c993d1 Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Fri, 12 Jan 2024 11:59:07 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90update=E3=80=91=E8=81=94=E7=B3=BB?= =?UTF-8?q?=E4=BA=BA=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/contacts/contacts.js | 34 ++++++++++++++++++++++++++++++++++ pages/contacts/contacts.json | 4 ++++ pages/contacts/contacts.wxml | 16 ++++++++++++++++ pages/contacts/contacts.wxss | 27 +++++++++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 pages/contacts/contacts.js create mode 100644 pages/contacts/contacts.json create mode 100644 pages/contacts/contacts.wxml create mode 100644 pages/contacts/contacts.wxss diff --git a/pages/contacts/contacts.js b/pages/contacts/contacts.js new file mode 100644 index 0000000..0e20765 --- /dev/null +++ b/pages/contacts/contacts.js @@ -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() + } +}) + \ No newline at end of file diff --git a/pages/contacts/contacts.json b/pages/contacts/contacts.json new file mode 100644 index 0000000..ced5b27 --- /dev/null +++ b/pages/contacts/contacts.json @@ -0,0 +1,4 @@ +{ + "navigationStyle": "custom", + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/contacts/contacts.wxml b/pages/contacts/contacts.wxml new file mode 100644 index 0000000..5d96402 --- /dev/null +++ b/pages/contacts/contacts.wxml @@ -0,0 +1,16 @@ + + + + {{pageTitle}} + + + + + + + + 企业名称: + + + + \ No newline at end of file diff --git a/pages/contacts/contacts.wxss b/pages/contacts/contacts.wxss new file mode 100644 index 0000000..308a7ce --- /dev/null +++ b/pages/contacts/contacts.wxss @@ -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 */