This commit is contained in:
Vinjor 2025-04-25 15:59:33 +08:00
commit 5c9d8b2e4c
11 changed files with 41 additions and 15 deletions

View File

@ -103,7 +103,7 @@
}, },
data() { data() {
return { return {
imageUrl: config.baseUrl imageUrl: ''
} }
}, },
methods: { methods: {

View File

@ -219,7 +219,7 @@
data() { data() {
return { return {
userId:"", userId:"",
uploadUrl: config.baseUrl, uploadUrl: '',
globalConfig: getApp().globalData.config, globalConfig: getApp().globalData.config,
// //
identityType: "", identityType: "",

View File

@ -46,6 +46,22 @@
<input class="uni-input" v-model="dataObj.tel" type="tel" placeholder="请输入" /> <input class="uni-input" v-model="dataObj.tel" type="tel" placeholder="请输入" />
</view> </view>
</view> </view>
<view class="item-field">
<view class="item-lable is-required">
<image src="@/static/mine/required.png" mode="aspectFit"></image>主页链接
</view>
<view class="item-value">
<input class="uni-input" v-model="dataObj.indexUrl" type="tel" placeholder="请输入" />
</view>
</view>
<view class="item-field">
<view class="item-lable is-required">
<image src="@/static/mine/required.png" mode="aspectFit"></image>微信号
</view>
<view class="item-value">
<input class="uni-input" v-model="dataObj.wxNum" type="tel" placeholder="请输入" />
</view>
</view>
<view class="item-field"> <view class="item-field">
<view class="item-lable is-required"> <view class="item-lable is-required">
<image src="@/static/mine/required.png" mode="aspectFit"></image>收货地址 <image src="@/static/mine/required.png" mode="aspectFit"></image>收货地址
@ -113,7 +129,7 @@
}, },
data() { data() {
return { return {
uploadUrl: config.baseUrl + '/common/upload', uploadUrl: '' + '/common/upload',
headers: {}, headers: {},
// //
range: [], range: [],
@ -133,6 +149,8 @@
addrId: null, addrId: null,
price: null, price: null,
content: null, content: null,
wxNum: null,
indexUrl: null,
} }
} }
}, },
@ -251,6 +269,14 @@
toast("粉丝数不能为空") toast("粉丝数不能为空")
return return
} }
if (this.dataObj.indexUrl == null || this.dataObj.indexUrl == "") {
toast("主页链接不能为空")
return
}
if (this.dataObj.wxNum == null || this.dataObj.wxNum == "") {
toast("微信号不能为空")
return
}
if (this.dataObj.tel == null || this.dataObj.tel == "") { if (this.dataObj.tel == null || this.dataObj.tel == "") {
toast("电话不能为空") toast("电话不能为空")
return return

View File

@ -72,7 +72,7 @@
}, },
data() { data() {
return { return {
imageUrl: config.baseUrl, imageUrl: '',
member:{}, member:{},
dataList: ['', ''], dataList: ['', ''],
queryParams: { queryParams: {

View File

@ -215,7 +215,7 @@
userInfo: { userInfo: {
coupon: 0 coupon: 0
}, },
imageUrl: config.baseUrl, imageUrl: '',
// //
wechat_img: constant.wechat_img, wechat_img: constant.wechat_img,
// //

View File

@ -46,7 +46,7 @@
}, },
data() { data() {
return { return {
uploadUrl: config.baseUrl, uploadUrl: '',
dataList: [{ dataList: [{
nickName: "李林", nickName: "李林",
createTime: "2024-02-10 12:22:44", createTime: "2024-02-10 12:22:44",

View File

@ -149,7 +149,7 @@
this.fileImageUrl = this.valiFormData.avatar.split(',') this.fileImageUrl = this.valiFormData.avatar.split(',')
this.fileImageUrl.map((item)=>{ this.fileImageUrl.map((item)=>{
this.fileList.push({ this.fileList.push({
url:config.baseUrl + item url:item
}) })
}) })
} }

View File

@ -38,7 +38,7 @@
}, },
data() { data() {
return { return {
uploadUrl: config.baseUrl, uploadUrl: '',
dataList: [{ dataList: [{
createTime: "2024-02-10 12:22:44", createTime: "2024-02-10 12:22:44",
content: "我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见", content: "我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见我的意见",

View File

@ -60,7 +60,7 @@
}, },
data() { data() {
return { return {
uploadUrl: config.baseUrl, uploadUrl: '',
dataObj: { dataObj: {
content: "" content: ""
}, },

View File

@ -47,7 +47,7 @@
}, },
data() { data() {
return { return {
uploadUrl: config.baseUrl, uploadUrl: '',
dataObj: { dataObj: {
content: "" content: ""
}, },

View File

@ -286,7 +286,7 @@
// //
platFormRange: [], platFormRange: [],
globalConfig: getApp().globalData.config, globalConfig: getApp().globalData.config,
uploadUrl: config.baseUrl, uploadUrl: '',
sizeType: ['compressed'], sizeType: ['compressed'],
// //
fileList: [], fileList: [],