修改按钮样式
This commit is contained in:
parent
d6e93d9f36
commit
db4045031a
|
@ -26,7 +26,7 @@
|
|||
readonly
|
||||
use-button-slot
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onParkFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onParkFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
@ -39,7 +39,7 @@
|
|||
readonly
|
||||
use-button-slot
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onTenementFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onTenementFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
</view>
|
||||
<view class="login" wx:if="{{!user || !user.id}}" class="notLoginWrapper">
|
||||
<van-image width="80rpx" height="80rpx" src="/assets/images/defaultAvatar.png" class="defaultAvatar"/>
|
||||
<van-button type="primary" size="small" plain="{{true}}" class="loginBtn" bind:tap="jumpToLogin">请登录</van-button>
|
||||
<van-button type="info" size="small" plain="{{true}}" class="loginBtn" bind:tap="jumpToLogin">请登录</van-button>
|
||||
</view>
|
||||
<view class="logined" wx:else>
|
||||
<avatar text="{{ user.nickName }}" />
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
readonly
|
||||
use-button-slot
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onParkFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onParkFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
@ -22,7 +22,7 @@
|
|||
readonly
|
||||
use-button-slot
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onTenementFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onTenementFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
@ -49,8 +49,8 @@
|
|||
title-width="140rpx"
|
||||
/>
|
||||
<view class="operateBox">
|
||||
<van-button type="primary" size="small" style="margin-right: 20rpx;" bind:click="handleAddSon"> 添加子账号 </van-button>
|
||||
<van-button type="primary" size="small" style="margin-right: 20rpx;" bind:click="handleChangeMain"> 修改主账号 </van-button>
|
||||
<van-button type="info" size="small" style="margin-right: 20rpx;" bind:click="handleAddSon"> 添加子账号 </van-button>
|
||||
<van-button type="info" size="small" style="margin-right: 20rpx;" bind:click="handleChangeMain"> 修改主账号 </van-button>
|
||||
</view>
|
||||
<view wx:if="{{list.length}}">
|
||||
<view class="tableWrapper">
|
||||
|
@ -72,7 +72,7 @@
|
|||
<view class="primaryTextBtn" bind:tap="handleDelete" data-id="{{item.WechatUserID}}" data-name="{{item.WechatUserName}}" wx:if="{{!item.Permissions}}">
|
||||
移除
|
||||
</view>
|
||||
<van-tag type="primary" wx:else>管理员</van-tag>
|
||||
<van-tag type="info" wx:else>管理员</van-tag>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
use-button-slot
|
||||
title-width="100rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onParkFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onParkFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
@ -22,7 +22,7 @@
|
|||
bind:change="onChangeKeyword"
|
||||
title-width="100rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onSearch">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onSearch">
|
||||
搜索
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
use-button-slot
|
||||
title-width="70rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onParkFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onParkFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
@ -22,7 +22,7 @@
|
|||
use-button-slot
|
||||
title-width="70rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onMeterFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onMeterFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
@ -49,7 +49,7 @@
|
|||
<van-button
|
||||
slot="button"
|
||||
size="small"
|
||||
type="primary"
|
||||
type="info"
|
||||
bind:click="onPayFocus"
|
||||
>
|
||||
选择
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
use-button-slot
|
||||
title-width="100rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onParkFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onParkFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
@ -24,7 +24,7 @@
|
|||
use-button-slot
|
||||
title-width="100rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onMeterFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onMeterFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
use-button-slot
|
||||
title-width="100rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onMeterFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onMeterFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
use-button-slot
|
||||
title-width="120rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onBuildingFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onBuildingFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
@ -58,7 +58,7 @@
|
|||
use-button-slot
|
||||
title-width="120rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onFeeTypeFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onFeeTypeFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
readonly
|
||||
title-width="120rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onBuildingFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onBuildingFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
@ -82,7 +82,7 @@
|
|||
use-button-slot
|
||||
title-width="120rpx"
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onFeeTypeFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onFeeTypeFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
readonly
|
||||
use-button-slot
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onParkFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onParkFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
@ -22,7 +22,7 @@
|
|||
readonly
|
||||
use-button-slot
|
||||
>
|
||||
<van-button slot="button" size="small" type="primary" bind:click="onTenementFocus">
|
||||
<van-button slot="button" size="small" type="info" bind:click="onTenementFocus">
|
||||
选择
|
||||
</van-button>
|
||||
</van-field>
|
||||
|
|
|
@ -75,5 +75,5 @@ export const bindMeter = async function(pid, tid, data) {
|
|||
|
||||
// 修改管理员手机号
|
||||
export const updateAdminPhone = async function(data) {
|
||||
return await PUT(`/vx/updatePhone`, data)
|
||||
return await PUT(`/wx/updatePhone`, data)
|
||||
}
|
Loading…
Reference in New Issue
Block a user