初步进行新装调试
This commit is contained in:
66
pages/workBenchNew/components/kaihu/index.js
Normal file
66
pages/workBenchNew/components/kaihu/index.js
Normal file
@@ -0,0 +1,66 @@
|
||||
// pages/workBenchNew/components/kaihu/index.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
10
pages/workBenchNew/components/kaihu/index.json
Normal file
10
pages/workBenchNew/components/kaihu/index.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"search-select": "/components/searchSelect/index",
|
||||
"van-field": "@vant/weapp/field/index",
|
||||
"van-button": "@vant/weapp/button/index",
|
||||
"navigator": "/components/navigator/index",
|
||||
"van-dialog": "@vant/weapp/dialog/index"
|
||||
},
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
83
pages/workBenchNew/components/kaihu/index.wxml
Normal file
83
pages/workBenchNew/components/kaihu/index.wxml
Normal file
@@ -0,0 +1,83 @@
|
||||
<!--pages/workBenchNew/components/kaihu/index.wxml-->
|
||||
<navigator canBack="{{true}}" title="开户" />
|
||||
<view class="modalContentWrapper">
|
||||
<van-field
|
||||
value="{{name}}"
|
||||
data-name="name"
|
||||
bind:change="onChange"
|
||||
label="商户全称"
|
||||
type="textarea"
|
||||
placeholder="请输入商户全称"
|
||||
autosize="{{true}}"
|
||||
title-width="132rpx"
|
||||
required
|
||||
/>
|
||||
<van-field
|
||||
value="{{shortName}}"
|
||||
data-name="shortName"
|
||||
bind:change="onChange"
|
||||
label="商户简称"
|
||||
placeholder="请输入商户简称"
|
||||
type="textarea"
|
||||
autosize="{{true}}"
|
||||
title-width="132rpx"
|
||||
/>
|
||||
<van-field
|
||||
value="{{address}}"
|
||||
data-name="address"
|
||||
bind:change="onChange"
|
||||
label="联系地址"
|
||||
placeholder="请输入联系地址"
|
||||
type="textarea"
|
||||
autosize="{{true}}"
|
||||
title-width="132rpx"
|
||||
required
|
||||
/>
|
||||
<van-field
|
||||
value="{{contact}}"
|
||||
data-name="contact"
|
||||
bind:change="onChange"
|
||||
label="联系人"
|
||||
placeholder="请输入联系人"
|
||||
type="textarea"
|
||||
autosize="{{true}}"
|
||||
title-width="132rpx"
|
||||
required
|
||||
/>
|
||||
<van-field
|
||||
value="{{phone}}"
|
||||
data-name="phone"
|
||||
bind:change="onChange"
|
||||
label="联系电话"
|
||||
placeholder="请输入联系电话"
|
||||
type="textarea"
|
||||
autosize="{{true}}"
|
||||
title-width="132rpx"
|
||||
required
|
||||
/>
|
||||
<van-field
|
||||
value="{{ buildingName }}"
|
||||
placeholder="请选择建筑"
|
||||
label="建筑"
|
||||
use-button-slot
|
||||
readonly
|
||||
title-width="120rpx"
|
||||
required
|
||||
>
|
||||
<van-button slot="button" size="small" type="info" bind:click="onBuildingFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
<van-field
|
||||
value="{{ feeTypeName }}"
|
||||
placeholder="请选择收费类型"
|
||||
label="收费类型"
|
||||
readonly
|
||||
use-button-slot
|
||||
title-width="120rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="info" bind:click="onFeeTypeFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
</view>
|
||||
1
pages/workBenchNew/components/kaihu/index.wxss
Normal file
1
pages/workBenchNew/components/kaihu/index.wxss
Normal file
@@ -0,0 +1 @@
|
||||
/* pages/workBenchNew/components/kaihu/index.wxss */
|
||||
Reference in New Issue
Block a user