优化页面

This commit is contained in:
pengxiaolong
2025-06-04 22:36:28 +08:00
parent a40b5b88c9
commit d766790f04
52 changed files with 2371 additions and 787 deletions

View File

@@ -36,12 +36,12 @@
<wht-select
style="width: 350rpx"
backgroundColor="#ffffff"
placeholderColor="#ffffff"
placeholderColor="#666666"
textColor="#666666"
borderColor="#ffffff"
@change="country"
:options="Country"
filterable= true
:filterable = "filterable"
placeholder="请选择国家"
/>
<view v-if="countrys === '' && Hint === true" class="Hint">请选择国家</view>
@@ -103,7 +103,6 @@
type="datetime"
hide-second="true"
v-model="datetimesingle"
@change="changeLog"
/>
<view v-if="datetimesingle === '' && Hint === true" class="Hint"
>请选择日期</view
@@ -113,10 +112,10 @@
<view class="goldCoin">
<view class="number-box">
<view class="number-box-title">选择场数:</view>
<uni-number-box background="#03ABA8" v-model="numberCoins"></uni-number-box>
<uni-number-box background="#03ABA8" v-model="session"></uni-number-box>
<view class="number-box-title"></view>
</view>
<view v-if="numberCoins === '' && Hint === true" class="Hint"
<view v-if="session === '' && Hint === true" class="Hint"
>请填写场数</view
>
</view>
@@ -152,12 +151,14 @@ export default {
countrys: "", //国家
nameAnchor: "", //主播名称
numberCoins: "", //金币数量
session: "", //场数
remarks: "", //备注
Display: false,
Hint: false,
datetimesingle: "", //日期
id: null, //用户id
sendingTime: "", //发送时间
filterable: true, //是否可搜索
};
},
mounted() {
@@ -195,6 +196,7 @@ export default {
this.remarks = "";
this.datetimesingle = "";
this.countrys = "";
this.session = "";
} else {
this.Display = true;
}
@@ -211,7 +213,8 @@ export default {
this.genders === "" ||
this.numberCoins === "" ||
this.countrys === "" ||
this.datetimesingle === ""
this.datetimesingle === ""||
this.session === ""
) {
this.Hint = true;
return;
@@ -251,6 +254,7 @@ export default {
status: 0,
senderId: this.id,
anchorIcon: "",
pkNumber: this.session,
},
userInfo: true,
});
@@ -262,6 +266,7 @@ export default {
this.numberCoins = "";
this.remarks = "";
this.datetimesingle = "";
this.session = "";
uni.hideLoading();
uni.showToast({
title: "发布成功",
@@ -387,7 +392,6 @@ export default {
border: 1rpx solid #BFBFBF;
border-radius: 10rpx;
text-align: center;
color:#ffffff;
}
.Gender {
width: 310rpx;