@@ -31,7 +31,7 @@
</view>
<u-button :style="[inputStyle]" class="login-btn" type="success" shape="circle" @click="login">登录</u-button>
- <u-verification-code :seconds="sendMsgSecond" ref="uCode" @change="codeChange" @end="end" @start="start" change-text="已发送(XS)">
+ <u-verification-code :seconds="sendMsgSecond" ref="uCode" @change="codeChange" @end="end" @start="start" change-text="已发送(Xs)">
</u-verification-code>
@@ -2,7 +2,7 @@
<view>
<u-navbar title="车辆管理">
<view class="slot-wrap">
- <span class="navBtn" @click="showDelete">删除车辆</span>
+ <span class="navBtn" :style="form.id ? '': 'color: #E68C91;'" @click="showDelete">删除车辆</span>
</u-navbar>
@@ -94,7 +94,9 @@
})
},
showDelete() {
- this.show = true;
+ if(this.form.id) {
+ this.show = true;
+ }
confirmDelete() {
uni.showLoading({
@@ -131,7 +133,7 @@
} else {
uni.navigateBack({
-
+ url: '/pages/user/car/index'
}
}).catch(error => {
@@ -94,7 +94,7 @@
userApi.updatePersonInformation(this.form).then((res) => {
uni.hideLoading();
- uni.redirectTo({
+ uni.navigateBack({
url: '/pages/user/index'