1、项目类型跟UI确定样式重画;
2、处理上传图片的方案(采用原商城的上传组件并根据UI调整样式); 3、处理选择标签的数据回显;
This commit is contained in:
parent
378a31782b
commit
4a333db9a7
File diff suppressed because it is too large
Load Diff
@ -185,6 +185,16 @@
|
||||
},
|
||||
});
|
||||
|
||||
const getAreaData = () => {
|
||||
if (_.isEmpty(uni.getStorageSync('areaData'))) {
|
||||
sheep.$api.data.area().then((res) => {
|
||||
if (res.code === 1) {
|
||||
uni.setStorageSync('areaData', res.data);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const proCity = ref('')
|
||||
|
||||
const onRegionConfirm = (e) => {
|
||||
|
@ -21,6 +21,7 @@ export default {
|
||||
showLoading: false,
|
||||
},
|
||||
}),
|
||||
//招租详情
|
||||
rentInfo: (id) =>
|
||||
request({
|
||||
url: 'meal.information/detail',
|
||||
@ -36,4 +37,19 @@ export default {
|
||||
method: 'POST',
|
||||
data,
|
||||
}),
|
||||
// 项目类型
|
||||
listType: (params) =>
|
||||
request({
|
||||
url: 'meal.information/type_list',
|
||||
method: 'GET',
|
||||
params,
|
||||
|
||||
}),
|
||||
//提交发布
|
||||
addRent: (data)=>
|
||||
request({
|
||||
url: 'meal.information/add',
|
||||
method: 'POST',
|
||||
data,
|
||||
})
|
||||
};
|
@ -21,7 +21,10 @@
|
||||
>
|
||||
<slot>
|
||||
<view class="is-add">
|
||||
<image :src="imgsrc" class="add-icon"></image>
|
||||
<!-- <image :src="imgsrc" class="add-icon"></image> -->
|
||||
<image src="https://jiangxiaoxian.0rui.cn/fabuAddImg.png" mode="widthFix"
|
||||
style="width: 44rpx;height: 44rpx;" />
|
||||
<span class="texts">添加图片</span>
|
||||
</view>
|
||||
</slot>
|
||||
</upload-image>
|
||||
@ -659,7 +662,14 @@
|
||||
display: flex;
|
||||
/* #endif */
|
||||
align-items: center;
|
||||
flex-flow: column;
|
||||
justify-content: center;
|
||||
|
||||
.texts {
|
||||
margin-top: 20rpx;
|
||||
font-size: 24rpx;
|
||||
color: #3D3D3D;
|
||||
}
|
||||
}
|
||||
.add-icon {
|
||||
width: 57rpx;
|
||||
|
@ -222,7 +222,8 @@ export default {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin: 5px;
|
||||
border: 1px #eee solid;
|
||||
// border: 1px #f7f7f7 solid;
|
||||
background-color: #f7f7f7;
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
@ -104,7 +104,8 @@
|
||||
});
|
||||
const emits = defineEmits(['confirm', 'cancel', 'change']);
|
||||
|
||||
const provinceList = areaData;
|
||||
// const provinceList = areaData;
|
||||
const provinceList = proFirst.concat(uni.getStorageSync('areaData'))
|
||||
console.log('province',provinceList.value);
|
||||
|
||||
const cityList = computed(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user