1、发布页面的表单名更换:详细地址换为学校名,联系人换成经理,联系电话换成经理电话,详细信息更换提示内容
2、修改页面同上
This commit is contained in:
parent
e999d3738d
commit
a278bf103d
@ -33,12 +33,12 @@
|
|||||||
|
|
||||||
<view class="row " style="">
|
<view class="row " style="">
|
||||||
<view class="label flex align-items" style="width: auto;">
|
<view class="label flex align-items" style="width: auto;">
|
||||||
详细地址
|
学校名
|
||||||
</view>
|
</view>
|
||||||
<view style="margin-top: 20rpx;height: 80rpx;">
|
<view style="margin-top: 20rpx;height: 80rpx;">
|
||||||
<textarea v-model="form.address_detail" style="height: 80rpx;width: 100%;"
|
<textarea v-model="form.address_detail" style="height: 80rpx;width: 100%;"
|
||||||
maxlength="400" placeholder-style="font-size:28rpx;color:#9c9c9c;line-height:36rpx"
|
maxlength="400" placeholder-style="font-size:28rpx;color:#9c9c9c;line-height:36rpx"
|
||||||
placeholder="请输入详细地址"></textarea>
|
placeholder="请输入学校全名"></textarea>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
@ -46,10 +46,10 @@
|
|||||||
|
|
||||||
<view class="row flex align-items" style="padding: 0 30rpx;">
|
<view class="row flex align-items" style="padding: 0 30rpx;">
|
||||||
<view class="label flex align-items" style="width: auto;">
|
<view class="label flex align-items" style="width: auto;">
|
||||||
联系人
|
经理
|
||||||
</view>
|
</view>
|
||||||
<view class="row-right" style="width: 80%;">
|
<view class="row-right" style="width: 80%;">
|
||||||
<input type="text" placeholder="请输入联系人" class="input" v-model="form.contacts"
|
<input type="text" placeholder="请输入经理名字" class="input" v-model="form.contacts"
|
||||||
style="width: 80%;text-align: right;" />
|
style="width: 80%;text-align: right;" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -57,10 +57,10 @@
|
|||||||
|
|
||||||
<view class="row flex align-items" style="padding: 0 30rpx;">
|
<view class="row flex align-items" style="padding: 0 30rpx;">
|
||||||
<view class="label flex align-items" style="width: auto;">
|
<view class="label flex align-items" style="width: auto;">
|
||||||
联系电话
|
经理电话
|
||||||
</view>
|
</view>
|
||||||
<view class="row-right" style="width: 80%;">
|
<view class="row-right" style="width: 80%;">
|
||||||
<input type="number" placeholder="请输入联系电话" class="input" v-model="form.contact_number"
|
<input type="number" placeholder="请输入经理电话" class="input" v-model="form.contact_number"
|
||||||
style="width: 80%;text-align: right;" />
|
style="width: 80%;text-align: right;" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -76,10 +76,10 @@
|
|||||||
</view>
|
</view>
|
||||||
<view style="margin-top: 20rpx;height: 120rpx;margin-bottom: 30rpx;">
|
<view style="margin-top: 20rpx;height: 120rpx;margin-bottom: 30rpx;">
|
||||||
<textarea v-model="form.content" style="height: 120rpx;width: 100%;" maxlength="400"
|
<textarea v-model="form.content" style="height: 120rpx;width: 100%;" maxlength="400"
|
||||||
placeholder-style="font-size:28rpx;color:#9c9c9c;line-height:36rpx"
|
placeholder-style="font-size:28rpx;color:#9c9c9c;line-height:36rpx;white-space: pre-line;"
|
||||||
placeholder="请输入你的招标详细信息"></textarea>
|
placeholder="餐厅发布信息:\n楼层:**,\n押金:**,\n房租:**,\n扣点:**,\n水电燃气费:**,\n公摊:**,"
|
||||||
|
></textarea>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 图片 -->
|
<!-- 图片 -->
|
||||||
<s-uploader ref="uploaderRef" v-model:url="state.formData.images" fileMediatype="image"
|
<s-uploader ref="uploaderRef" v-model:url="state.formData.images" fileMediatype="image"
|
||||||
limit="9" mode="grid" :imageStyles="{ width: '220rpx', height: '220rpx'}"></s-uploader>
|
limit="9" mode="grid" :imageStyles="{ width: '220rpx', height: '220rpx'}"></s-uploader>
|
||||||
@ -132,12 +132,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <view class="width:100%;height:200rpx"></view> -->
|
<!-- <view class="width:100%;height:200rpx"></view> -->
|
||||||
<view style="height: 200rpx;width: 100%;color: #f7f7f7;"></view>
|
<view style="height: 200rpx;width: 100%;color: #f7f7f7;"></view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
|
|
||||||
@ -437,7 +437,7 @@
|
|||||||
} else {
|
} else {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
sheep.$helper.toast('请先登录');
|
sheep.$helper.toast('请先登录');
|
||||||
|
|
||||||
}, 500);
|
}, 500);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
@ -634,7 +634,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (form.value.address_detail == '') {
|
if (form.value.address_detail == '') {
|
||||||
sheep.$helper.toast('请输入详细地址');
|
sheep.$helper.toast('请输入学校全名');
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// title: '请输入详细地址',
|
// title: '请输入详细地址',
|
||||||
// icon: 'none',
|
// icon: 'none',
|
||||||
@ -742,18 +742,18 @@
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/user/myRelease/list'
|
url: '/pages/user/myRelease/list'
|
||||||
})
|
})
|
||||||
},1000)
|
}, 1000)
|
||||||
// uni.switchTab({
|
// uni.switchTab({
|
||||||
// url: '/pages/index/user'
|
// url: '/pages/index/user'
|
||||||
// })
|
// })
|
||||||
}else {
|
} else {
|
||||||
sheep.$helper.toast(res.msg);
|
sheep.$helper.toast(res.msg);
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// title: res.msg,
|
// title: res.msg,
|
||||||
// icon: 'error'
|
// icon: 'error'
|
||||||
// })
|
// })
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -31,12 +31,12 @@
|
|||||||
|
|
||||||
<view class="row " style="">
|
<view class="row " style="">
|
||||||
<view class="label flex align-items" style="width: auto;">
|
<view class="label flex align-items" style="width: auto;">
|
||||||
详细地址
|
学校名
|
||||||
</view>
|
</view>
|
||||||
<view style="margin-top: 20rpx;height: 80rpx;">
|
<view style="margin-top: 20rpx;height: 80rpx;">
|
||||||
<textarea v-model="form.address_detail" style="height: 80rpx;width: 100%;"
|
<textarea v-model="form.address_detail" style="height: 80rpx;width: 100%;"
|
||||||
maxlength="400" placeholder-style="font-size:28rpx;color:#9c9c9c;line-height:36rpx"
|
maxlength="400" placeholder-style="font-size:28rpx;color:#9c9c9c;line-height:36rpx"
|
||||||
placeholder="请输入详细地址"></textarea>
|
placeholder="请输入学校全名"></textarea>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
@ -44,10 +44,10 @@
|
|||||||
|
|
||||||
<view class="row flex align-items" style="padding: 0 30rpx;">
|
<view class="row flex align-items" style="padding: 0 30rpx;">
|
||||||
<view class="label flex align-items" style="width: auto;">
|
<view class="label flex align-items" style="width: auto;">
|
||||||
联系人
|
经理
|
||||||
</view>
|
</view>
|
||||||
<view class="row-right" style="width: 80%;">
|
<view class="row-right" style="width: 80%;">
|
||||||
<input type="text" placeholder="请输入联系人" class="input" v-model="form.contacts"
|
<input type="text" placeholder="请输入经理名字" class="input" v-model="form.contacts"
|
||||||
style="width: 80%;text-align: right;" />
|
style="width: 80%;text-align: right;" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -55,10 +55,10 @@
|
|||||||
|
|
||||||
<view class="row flex align-items" style="padding: 0 30rpx;">
|
<view class="row flex align-items" style="padding: 0 30rpx;">
|
||||||
<view class="label flex align-items" style="width: auto;">
|
<view class="label flex align-items" style="width: auto;">
|
||||||
联系电话
|
经理电话
|
||||||
</view>
|
</view>
|
||||||
<view class="row-right" style="width: 80%;">
|
<view class="row-right" style="width: 80%;">
|
||||||
<input type="number" placeholder="请输入联系电话" class="input" v-model="form.contact_number"
|
<input type="number" placeholder="请输入经理电话" class="input" v-model="form.contact_number"
|
||||||
style="width: 80%;text-align: right;" />
|
style="width: 80%;text-align: right;" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -75,7 +75,7 @@
|
|||||||
<view style="margin-top: 20rpx;height: 120rpx;margin-bottom: 30rpx;">
|
<view style="margin-top: 20rpx;height: 120rpx;margin-bottom: 30rpx;">
|
||||||
<textarea v-model="form.content" style="height: 120rpx;width: 100%;" maxlength="400"
|
<textarea v-model="form.content" style="height: 120rpx;width: 100%;" maxlength="400"
|
||||||
placeholder-style="font-size:28rpx;color:#9c9c9c;line-height:36rpx"
|
placeholder-style="font-size:28rpx;color:#9c9c9c;line-height:36rpx"
|
||||||
placeholder="请输入你的招标详细信息"></textarea>
|
placeholder="餐厅发布信息:\n楼层:**,\n押金:**,\n房租:**,\n扣点:**,\n水电燃气费:**,\n公摊:**,"></textarea>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 图片 :value="state.formData.images" @success="handleUploadSuccess" @del-file="handleDelFile"
|
<!-- 图片 :value="state.formData.images" @success="handleUploadSuccess" @del-file="handleDelFile"
|
||||||
@ -616,7 +616,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (form.value.address_detail == '') {
|
if (form.value.address_detail == '') {
|
||||||
sheep.$helper.toast('请输入详细地址');
|
sheep.$helper.toast('请输入学校全名');
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// title: '请输入详细地址',
|
// title: '请输入详细地址',
|
||||||
// icon: 'none',
|
// icon: 'none',
|
||||||
@ -624,7 +624,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (form.value.contacts == '') {
|
if (form.value.contacts == '') {
|
||||||
sheep.$helper.toast('请输入联系人');
|
sheep.$helper.toast('请输入经理名字');
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// title: '请输入联系人',
|
// title: '请输入联系人',
|
||||||
// icon: 'none',
|
// icon: 'none',
|
||||||
@ -632,7 +632,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (form.value.contact_number == '') {
|
if (form.value.contact_number == '') {
|
||||||
sheep.$helper.toast('请输入联系人电话');
|
sheep.$helper.toast('请输入经理电话');
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// title: '请输入联系人电话',
|
// title: '请输入联系人电话',
|
||||||
// icon: 'none',
|
// icon: 'none',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user