暂存样式修改
This commit is contained in:
@@ -57,7 +57,6 @@ Component({
|
||||
})
|
||||
break;
|
||||
case "tenement":
|
||||
console.log('data', data)
|
||||
this.setData({
|
||||
tenement: data.id,
|
||||
tenementName: data.name,
|
||||
|
@@ -14,6 +14,7 @@
|
||||
"edit-modal": "./components/editModal/index",
|
||||
"updatePhoneModal": "./components/updatePhoneModal/index",
|
||||
"van-row": "@vant/weapp/row/index",
|
||||
"van-col": "@vant/weapp/col/index"
|
||||
"van-col": "@vant/weapp/col/index",
|
||||
"searchSelectWrapper": "/components/searchSelectWrapper/index"
|
||||
}
|
||||
}
|
@@ -1,31 +1,17 @@
|
||||
<!--pages/workBench/components/account/index.wxml-->
|
||||
<view>
|
||||
<van-field
|
||||
required
|
||||
value="{{ parkName }}"
|
||||
<searchSelectWrapper
|
||||
label="园区"
|
||||
placeholder="请选择园区"
|
||||
border="{{ true }}"
|
||||
readonly
|
||||
use-button-slot
|
||||
>
|
||||
<van-button slot="button" size="small" type="info" bind:click="onParkFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
<van-field
|
||||
required
|
||||
value="{{ tenementName }}"
|
||||
text="{{ parkName }}"
|
||||
bind:search="onParkFocus"
|
||||
/>
|
||||
<searchSelectWrapper
|
||||
label="商户"
|
||||
placeholder="请选择商户"
|
||||
border="{{ true }}"
|
||||
readonly
|
||||
use-button-slot
|
||||
>
|
||||
<van-button slot="button" size="small" type="info" bind:click="onTenementFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
text="{{ tenementName }}"
|
||||
bind:search="onTenementFocus"
|
||||
/>
|
||||
</view>
|
||||
<van-empty wx:if="{{!tenement}}" description="选择园区和商户后查看" />
|
||||
<view wx:else>
|
||||
@@ -39,7 +25,9 @@
|
||||
<van-col span="24">
|
||||
<view class="tableTitleRow">
|
||||
<van-row gutter="5">
|
||||
<van-col span="8">{{tenementInfo.shortName}}</van-col>
|
||||
<van-col span="8">
|
||||
<view style="text-align:center;">{{tenementInfo.shortName}}</view>
|
||||
</van-col>
|
||||
<van-col span="16">{{tenementInfo.fullName}}</van-col>
|
||||
</van-row>
|
||||
</view>
|
||||
@@ -47,10 +35,13 @@
|
||||
<van-col span="24">
|
||||
<view class="tableTitleRow">
|
||||
<van-row gutter="5">
|
||||
<van-col span="8" wx:if="{{tenementInfo.feeType === 0}}"> 华昌宝能收费 </van-col>
|
||||
<van-col span="8" wx:elif="{{tenementInfo.feeType === 1}}"> 物业代收1 </van-col>
|
||||
<van-col span="8" wx:elif="{{tenementInfo.feeType === 2}}"> 物业代收2 </van-col>
|
||||
<van-col span="8" wx:else> 物业代收线损 </van-col>
|
||||
<van-col span="8" wx:if="{{tenementInfo.feeType === 0}}">
|
||||
<view style="text-align: center;"> 华昌宝能收费 </view> </van-col>
|
||||
<van-col span="8" wx:elif="{{tenementInfo.feeType === 1}}">
|
||||
<view style="text-align: center;"> 物业代收1 </view> </van-col>
|
||||
<van-col span="8" wx:elif="{{tenementInfo.feeType === 2}}">
|
||||
<view style="text-align: center;"> 物业代收2 </view> </van-col>
|
||||
<van-col span="8" wx:else> <view style="text-align: center;"> 物业代收线损 </view> </van-col>
|
||||
<van-col span="16">{{tenementInfo.contact}} {{tenementInfo.phone}} </van-col>
|
||||
</van-row>
|
||||
</view>
|
||||
|
@@ -60,10 +60,16 @@
|
||||
|
||||
.tableTitleRow {
|
||||
padding: 16rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.tableRow {
|
||||
padding: 16rpx;
|
||||
border: 1rpx solid #ccc;
|
||||
border-top: 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
page {
|
||||
background-color: rgb(228,240,236);
|
||||
font-size: 32rpx;
|
||||
}
|
Reference in New Issue
Block a user