修改按钮样式

This commit is contained in:
qiaomu 2025-02-25 09:02:02 +08:00
parent d6e93d9f36
commit db4045031a
11 changed files with 23 additions and 23 deletions

View File

@ -26,7 +26,7 @@
readonly readonly
use-button-slot 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-button>
</van-field> </van-field>
@ -39,7 +39,7 @@
readonly readonly
use-button-slot 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-button>
</van-field> </van-field>

View File

@ -21,7 +21,7 @@
</view> </view>
<view class="login" wx:if="{{!user || !user.id}}" class="notLoginWrapper"> <view class="login" wx:if="{{!user || !user.id}}" class="notLoginWrapper">
<van-image width="80rpx" height="80rpx" src="/assets/images/defaultAvatar.png" class="defaultAvatar"/> <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>
<view class="logined" wx:else> <view class="logined" wx:else>
<avatar text="{{ user.nickName }}" /> <avatar text="{{ user.nickName }}" />

View File

@ -9,7 +9,7 @@
readonly readonly
use-button-slot 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-button>
</van-field> </van-field>
@ -22,7 +22,7 @@
readonly readonly
use-button-slot 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-button>
</van-field> </van-field>
@ -49,8 +49,8 @@
title-width="140rpx" title-width="140rpx"
/> />
<view class="operateBox"> <view class="operateBox">
<van-button type="primary" size="small" style="margin-right: 20rpx;" bind:click="handleAddSon"> 添加子账号 </van-button> <van-button type="info" 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="handleChangeMain"> 修改主账号 </van-button>
</view> </view>
<view wx:if="{{list.length}}"> <view wx:if="{{list.length}}">
<view class="tableWrapper"> <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 class="primaryTextBtn" bind:tap="handleDelete" data-id="{{item.WechatUserID}}" data-name="{{item.WechatUserName}}" wx:if="{{!item.Permissions}}">
移除 移除
</view> </view>
<van-tag type="primary" wx:else>管理员</van-tag> <van-tag type="info" wx:else>管理员</van-tag>
</view> </view>
</view> </view>
</block> </block>

View File

@ -8,7 +8,7 @@
use-button-slot use-button-slot
title-width="100rpx" 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-button>
</van-field> </van-field>
@ -22,7 +22,7 @@
bind:change="onChangeKeyword" bind:change="onChangeKeyword"
title-width="100rpx" 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-button>
</van-field> </van-field>

View File

@ -9,7 +9,7 @@
use-button-slot use-button-slot
title-width="70rpx" 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-button>
</van-field> </van-field>
@ -22,7 +22,7 @@
use-button-slot use-button-slot
title-width="70rpx" 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-button>
</van-field> </van-field>
@ -49,7 +49,7 @@
<van-button <van-button
slot="button" slot="button"
size="small" size="small"
type="primary" type="info"
bind:click="onPayFocus" bind:click="onPayFocus"
> >
选择 选择

View File

@ -8,7 +8,7 @@
use-button-slot use-button-slot
title-width="100rpx" 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-button>
</van-field> </van-field>
@ -24,7 +24,7 @@
use-button-slot use-button-slot
title-width="100rpx" 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-button>
</van-field> </van-field>

View File

@ -26,7 +26,7 @@
use-button-slot use-button-slot
title-width="100rpx" 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-button>
</van-field> </van-field>

View File

@ -47,7 +47,7 @@
use-button-slot use-button-slot
title-width="120rpx" 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-button>
</van-field> </van-field>
@ -58,7 +58,7 @@
use-button-slot use-button-slot
title-width="120rpx" 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-button>
</van-field> </van-field>

View File

@ -70,7 +70,7 @@
readonly readonly
title-width="120rpx" 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-button>
</van-field> </van-field>
@ -82,7 +82,7 @@
use-button-slot use-button-slot
title-width="120rpx" 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-button>
</van-field> </van-field>

View File

@ -9,7 +9,7 @@
readonly readonly
use-button-slot 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-button>
</van-field> </van-field>
@ -22,7 +22,7 @@
readonly readonly
use-button-slot 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-button>
</van-field> </van-field>

View File

@ -75,5 +75,5 @@ export const bindMeter = async function(pid, tid, data) {
// 修改管理员手机号 // 修改管理员手机号
export const updateAdminPhone = async function(data) { export const updateAdminPhone = async function(data) {
return await PUT(`/vx/updatePhone`, data) return await PUT(`/wx/updatePhone`, data)
} }