Merge branch 'test'
This commit is contained in:
@@ -31,62 +31,86 @@
|
|||||||
"https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg"
|
"https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
|
||||||
position: {
|
|
||||||
type: String,
|
|
||||||
default () {
|
|
||||||
return '定位'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
position: ''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
styleIsolation: 'shared', // 解除样式隔离
|
styleIsolation: 'shared', // 解除样式隔离
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
// this.getLocation()
|
console.log('createsd');
|
||||||
|
this.open()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getLocation() {
|
getLocation1() {
|
||||||
uni.getLocation({
|
var that = this
|
||||||
|
let qqmapsdk = new QQMapWX({
|
||||||
|
key: 'ZRKBZ-Q7FWL-GVZPK-MCRBU-4XFB5-ATBDB'
|
||||||
|
});
|
||||||
|
uni.getFuzzyLocation({
|
||||||
type: 'wgs84',
|
type: 'wgs84',
|
||||||
// geocode: true, // 返回城市信息
|
success(res) {
|
||||||
// enableHighAccuracy: false, // 开启高精度模式
|
console.log('res.latitude', res.latitude);
|
||||||
success: function(res) {
|
console.log('res.longitude', res.longitude);
|
||||||
let qqmapsdk = new QQMapWX({
|
|
||||||
key: 'ZRKBZ-Q7FWL-GVZPK-MCRBU-4XFB5-ATBDB'
|
|
||||||
});
|
|
||||||
qqmapsdk.reverseGeocoder({
|
qqmapsdk.reverseGeocoder({
|
||||||
location: {
|
location: {
|
||||||
latitude: res.latitude,
|
latitude: res.latitude,
|
||||||
longitude: res.longitude
|
longitude: res.longitude
|
||||||
},
|
},
|
||||||
success: (re) => {
|
success: (re) => {
|
||||||
console.log(re.result.ad_info.city, '成都市==');
|
console.log("解析地址成功", re);
|
||||||
console.log(re.result.ad_info.district, '武侯区==');
|
console.log(re.result.ad_info.city,);
|
||||||
|
console.log(re.result.ad_info.district, );
|
||||||
|
let city=re.result.ad_info.city
|
||||||
|
let district=re.result.ad_info.district
|
||||||
|
that.position = city.slice(0,2) + district.slice(0,2)
|
||||||
},
|
},
|
||||||
fail: (re) => {
|
fail: (re) => {
|
||||||
console.log(re, '失败信息');
|
console.log(re, '失败信息');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
|
fail(err) {
|
||||||
|
console.log("获取经纬度失败", err);
|
||||||
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//提示用户开启定位服务
|
//提示用户开启定位服务
|
||||||
open() {
|
open() {
|
||||||
// uni.authorize({
|
var that = this
|
||||||
// scope: 'scope.userLocation',
|
uni.authorize({
|
||||||
// success: function() {
|
scope: 'scope.userFuzzyLocation',
|
||||||
// console.log('授权成功');
|
success: function() {
|
||||||
// },
|
console.log('授权成功');
|
||||||
// fail: function() {
|
that.getLocation1()
|
||||||
// console.log('授权失败');
|
},
|
||||||
// }
|
fail: function() {
|
||||||
// })
|
console.log('授权失败');
|
||||||
|
uni.showModal({
|
||||||
|
content: '检测到您没打开获取信息功能权限,是否去设置打开?',
|
||||||
|
confirmText: "确认",
|
||||||
|
cancelText: '取消',
|
||||||
|
success: (res) => {
|
||||||
|
if (res.confirm) {
|
||||||
|
uni.openSetting({
|
||||||
|
success: (res) => {
|
||||||
|
console.log(res);
|
||||||
|
that.getLocation1();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
console.log('取消');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
})
|
||||||
// wx.getSetting({
|
// wx.getSetting({
|
||||||
// success: (res) => {
|
// success: (res) => {
|
||||||
// if (res.authSetting['scope.userLocation'] === false) {
|
// if (res.authSetting['scope.userLocation'] === false) {
|
||||||
|
|||||||
@@ -59,9 +59,12 @@
|
|||||||
// 获取当前的地理位置、速度 配置
|
// 获取当前的地理位置、速度 配置
|
||||||
"scope.userLocation": {
|
"scope.userLocation": {
|
||||||
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
||||||
|
},
|
||||||
|
"scope.userFuzzyLocation": {
|
||||||
|
"desc": "你的位置信息将用于小程序位置的效果展示"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"requiredPrivateInfos": ["choosePoi", "chooseAddress", "getFuzzyLocation"]
|
||||||
},
|
},
|
||||||
"mp-alipay": {
|
"mp-alipay": {
|
||||||
"usingComponents": true
|
"usingComponents": true
|
||||||
|
|||||||
26
pages.json
26
pages.json
@@ -97,17 +97,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
,{
|
, {
|
||||||
"path" : "pages/Partnerships/Partnerships",
|
"path": "pages/Partnerships/Partnerships",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
"navigationBarTitleText": "成功合伙人",
|
||||||
"navigationBarTitleText": "成功合伙人",
|
"enablePullDownRefresh": false
|
||||||
"enablePullDownRefresh": false
|
}
|
||||||
}
|
|
||||||
|
}
|
||||||
}
|
],
|
||||||
],
|
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
"color": "#CCCCCC",
|
"color": "#CCCCCC",
|
||||||
"borderStyle": "white",
|
"borderStyle": "white",
|
||||||
@@ -146,6 +145,11 @@
|
|||||||
"navigationBarBackgroundColor": "#F8F8F8",
|
"navigationBarBackgroundColor": "#F8F8F8",
|
||||||
"backgroundColor": "#F8F8F8"
|
"backgroundColor": "#F8F8F8"
|
||||||
},
|
},
|
||||||
|
"permission": {
|
||||||
|
"scope.userFuzzyLocation": {
|
||||||
|
"desc": "你的位置信息将用于小程序位置的效果展示"
|
||||||
|
}
|
||||||
|
},
|
||||||
"uniIdRouter": {},
|
"uniIdRouter": {},
|
||||||
"condition": { //模式配置,仅开发期间生效
|
"condition": { //模式配置,仅开发期间生效
|
||||||
"current": 0, //当前激活的模式(list 的索引项)
|
"current": 0, //当前激活的模式(list 的索引项)
|
||||||
|
|||||||
@@ -1,19 +1,27 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<u-form>
|
<u-form>
|
||||||
<u-form-item label="名称" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
<view class="name">
|
||||||
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
<text class="text">名称</text>
|
||||||
</u-form-item>
|
<u-input v-model="form.name" placeholder="请输入姓名" placeholder-class="input-class" border="bottom"></u-input>
|
||||||
<u-form-item label="身份证号" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
</view>
|
||||||
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
<view class="id">
|
||||||
</u-form-item>
|
<text class="text">身份证号</text>
|
||||||
<u-form-item label="选择支付方式" label-position="top" border-bottom="true" labelStyle="font-size = 5px">
|
<u-input v-model="form.idcode" placeholder="请输入身份证号码" placeholder-class="input-class" border="bottom" font-size="40px"></u-input>
|
||||||
<u-cell is-link="true" @click="show = true" label="请选择支付方式">
|
</view>
|
||||||
</u-cell>
|
|
||||||
|
<view class="payment" @click="show = true">
|
||||||
|
<view class="left-payment">
|
||||||
|
<text class="text">支付信息</text>
|
||||||
|
<text class="label">请选择支付方式</text>
|
||||||
|
</view>
|
||||||
|
<u-icon name="arrow-right" class="arrow"></u-icon>
|
||||||
|
</view>
|
||||||
|
<u-divider></u-divider>
|
||||||
<u-picker mode="region" :show="show" :closeOnClickOverlay="true" @close="show = false" :columns="columns" @confirm="confirmCheckWay"></u-picker>
|
<u-picker mode="region" :show="show" :closeOnClickOverlay="true" @close="show = false" :columns="columns" @confirm="confirmCheckWay"></u-picker>
|
||||||
</u-form-item>
|
|
||||||
</u-form>
|
</u-form>
|
||||||
<u-button @click="submit" color="linear-gradient(to right, #E86262, #CC3333)" :size="normal" shape="circle" class="submit-btn">发布</u-button>
|
<u-button @click="submit" color="linear-gradient(to right, #E86262, #CC3333)" :size="normal" shape="circle" class="submit-btn">提交审核</u-button>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -28,7 +36,7 @@
|
|||||||
submit(){
|
submit(){
|
||||||
console.log('提交');
|
console.log('提交');
|
||||||
},
|
},
|
||||||
confirmCheckWay(){
|
confirmCheckWay(e){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,5 +45,32 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.input-class{
|
||||||
|
font-size: 40rpx;
|
||||||
|
font-weight:1rpx;
|
||||||
|
border-style: none;
|
||||||
|
color: #A0A0A0;
|
||||||
|
|
||||||
|
}
|
||||||
|
.submit-btn{
|
||||||
|
margin-top: 100rpx;
|
||||||
|
}
|
||||||
|
.text{
|
||||||
|
margin-left: 20rpx;
|
||||||
|
}
|
||||||
|
.payment{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
}
|
||||||
|
.left-payment{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
.label{
|
||||||
|
margin-left: 20rpx;
|
||||||
|
color: #b1b1b1;
|
||||||
|
font-size: 40rpx;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="nav-card">
|
<view class="nav-card">
|
||||||
<u-grid :col="4" customStyle="height: 334rpx;align-content: normal" >
|
<u-grid :col="4" customStyle="height: 334rpx;align-content: normal">
|
||||||
<u-grid-item v-for="(item, index) in navItems" :key="item.icon" @click="handleItemClick(index)">
|
<u-grid-item v-for="(item, index) in navItems" :key="item.icon" @click="handleItemClick(index)">
|
||||||
<u-icon :name="item.icon" :size="46"></u-icon>
|
<u-icon :name="item.icon" :size="46"></u-icon>
|
||||||
<view class="grid-text">{{ item.text }}</view>
|
<view class="grid-text">{{ item.text }}</view>
|
||||||
@@ -54,6 +54,11 @@
|
|||||||
// 在这里处理点击事件,并使用下标值
|
// 在这里处理点击事件,并使用下标值
|
||||||
console.log(`项目 ${index} 被点击了`);
|
console.log(`项目 ${index} 被点击了`);
|
||||||
// 或者执行其他需要的操作
|
// 或者执行其他需要的操作
|
||||||
|
if (index == 5) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/index/map/map'
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
:longitude="lng"></map>
|
:longitude="lng"></map>
|
||||||
</view>
|
</view>
|
||||||
<view class="down-shop">
|
<view class="down-shop">
|
||||||
<ShowShopListItem :shopInfo="shopList"></ShowShopListItem>
|
<ShowShopListItem :shopInfo="shopList" :is-adshow="true" :show-style="0"></ShowShopListItem>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -45,11 +45,19 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
shopList: {
|
shopList: {
|
||||||
|
shopid: 1,
|
||||||
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
|
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
|
||||||
title: '琴行铺面转让',
|
title: '琴行铺面转让',
|
||||||
promotionNum: 23,
|
promotionNum: 23,
|
||||||
price: 5000,
|
price: 6000,
|
||||||
date: '2023-11-02'
|
date: '2023-11-02',
|
||||||
|
pos: '锦江区',
|
||||||
|
exactPos: '锦江区-汇源南路366号',
|
||||||
|
sqr: 100,
|
||||||
|
zrfText: "转让费:20万",
|
||||||
|
category: '餐饮美食',
|
||||||
|
uname: "张先生",
|
||||||
|
phoneNum: 13348946108,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -119,8 +127,8 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
bottom: 60rpx;
|
bottom: 60rpx;
|
||||||
left: 10%;
|
left: 50%;
|
||||||
transform: translateX(-10%);
|
transform: translateX(-50%);
|
||||||
|
|
||||||
.list-border {
|
.list-border {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@@ -1,6 +1,45 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view class="form">
|
||||||
发布店铺地址
|
<u-form :model="form" ref="uForm">
|
||||||
|
<view class="upload">
|
||||||
|
<u-upload max-count="5" upload-icon="photo"></u-upload>
|
||||||
|
<text>发布房源图片({{ShopInfomation.count}}/5)</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px" right-icon="arrow-right">
|
||||||
|
<text @click="show1 = true" class="checktext">123</text>
|
||||||
|
<u-picker mode="region" :show="show1" :closeOnClickOverlay="true" @close="show1 = false"></u-picker>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="地址" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入店铺地址" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<text @click="show2 = true" class="checktext">123</text>
|
||||||
|
<u-picker mode="region" :show="show2" :closeOnClickOverlay="true" @close="show2 = false"></u-picker>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<text @click="show3 = true" class="checktext">123</text>
|
||||||
|
<u-picker mode="region" :show="show3" :closeOnClickOverlay="true" @close="show3 = false"></u-picker>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
|
||||||
|
</u-form>
|
||||||
|
<u-button @click="submit" color="linear-gradient(to right, #E86262, #CC3333)" :size="normal" shape="circle" class="submit-btn">发布</u-button>
|
||||||
|
<view class="bug-figure"></view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -8,7 +47,9 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
show1:false,
|
||||||
|
show2:false,
|
||||||
|
show3:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -17,6 +58,39 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style lang="scss">
|
||||||
|
.form{
|
||||||
</style>
|
margin-left: 20px;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
.input-class{
|
||||||
|
font-size: 40rpx;
|
||||||
|
font-weight:1px;
|
||||||
|
border-style: none
|
||||||
|
|
||||||
|
}
|
||||||
|
.upload{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
background-color: #F8F8F8;
|
||||||
|
// margin-right: 20px;
|
||||||
|
}
|
||||||
|
.submit-btn{
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
.bug-figure{
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
.checkbox1{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.checktext{
|
||||||
|
margin-top: 5rpx;
|
||||||
|
font-size: 40rpx;
|
||||||
|
font-weight:1px;
|
||||||
|
color: #A0A0A0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,6 +1,45 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view class="form">
|
||||||
发布招商合作
|
<u-form :model="form" ref="uForm">
|
||||||
|
<view class="upload">
|
||||||
|
<u-upload max-count="5" upload-icon="photo"></u-upload>
|
||||||
|
<text>发布房源图片({{ShopInfomation.count}}/5)</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px" right-icon="arrow-right">
|
||||||
|
<text @click="show1 = true" class="checktext">123</text>
|
||||||
|
<u-picker mode="region" :show="show1" :closeOnClickOverlay="true" @close="show1 = false"></u-picker>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="地址" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入店铺地址" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<text @click="show2 = true" class="checktext">123</text>
|
||||||
|
<u-picker mode="region" :show="show2" :closeOnClickOverlay="true" @close="show2 = false"></u-picker>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<text @click="show3 = true" class="checktext">123</text>
|
||||||
|
<u-picker mode="region" :show="show3" :closeOnClickOverlay="true" @close="show3 = false"></u-picker>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
|
||||||
|
</u-form>
|
||||||
|
<u-button @click="submit" color="linear-gradient(to right, #E86262, #CC3333)" :size="normal" shape="circle" class="submit-btn">发布</u-button>
|
||||||
|
<view class="bug-figure"></view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -8,7 +47,9 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
show1:false,
|
||||||
|
show2:false,
|
||||||
|
show3:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -17,6 +58,39 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style lang="scss">
|
||||||
|
.form{
|
||||||
</style>
|
margin-left: 20px;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
.input-class{
|
||||||
|
font-size: 40rpx;
|
||||||
|
font-weight:1px;
|
||||||
|
border-style: none
|
||||||
|
|
||||||
|
}
|
||||||
|
.upload{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
background-color: #F8F8F8;
|
||||||
|
// margin-right: 20px;
|
||||||
|
}
|
||||||
|
.submit-btn{
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
.bug-figure{
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
.checkbox1{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.checktext{
|
||||||
|
margin-top: 5rpx;
|
||||||
|
font-size: 40rpx;
|
||||||
|
font-weight:1px;
|
||||||
|
color: #A0A0A0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,6 +1,45 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view class="form">
|
||||||
发布店铺出租
|
<u-form :model="form" ref="uForm">
|
||||||
|
<view class="upload">
|
||||||
|
<u-upload max-count="5" upload-icon="photo"></u-upload>
|
||||||
|
<text>发布房源图片({{ShopInfomation.count}}/5)</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px" right-icon="arrow-right">
|
||||||
|
<text @click="show1 = true" class="checktext">123</text>
|
||||||
|
<u-picker mode="region" :show="show1" :closeOnClickOverlay="true" @close="show1 = false"></u-picker>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="地址" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入店铺地址" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<text @click="show2 = true" class="checktext">123</text>
|
||||||
|
<u-picker mode="region" :show="show2" :closeOnClickOverlay="true" @close="show2 = false"></u-picker>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<text @click="show3 = true" class="checktext">123</text>
|
||||||
|
<u-picker mode="region" :show="show3" :closeOnClickOverlay="true" @close="show3 = false"></u-picker>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
|
</u-form-item>
|
||||||
|
|
||||||
|
</u-form>
|
||||||
|
<u-button @click="submit" color="linear-gradient(to right, #E86262, #CC3333)" :size="normal" shape="circle" class="submit-btn">发布</u-button>
|
||||||
|
<view class="bug-figure"></view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -8,7 +47,9 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
show1:false,
|
||||||
|
show2:false,
|
||||||
|
show3:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -17,6 +58,39 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style lang="scss">
|
||||||
|
.form{
|
||||||
</style>
|
margin-left: 20px;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
.input-class{
|
||||||
|
font-size: 40rpx;
|
||||||
|
font-weight:1px;
|
||||||
|
border-style: none
|
||||||
|
|
||||||
|
}
|
||||||
|
.upload{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
background-color: #F8F8F8;
|
||||||
|
// margin-right: 20px;
|
||||||
|
}
|
||||||
|
.submit-btn{
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
.bug-figure{
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
.checkbox1{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.checktext{
|
||||||
|
margin-top: 5rpx;
|
||||||
|
font-size: 40rpx;
|
||||||
|
font-weight:1px;
|
||||||
|
color: #A0A0A0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -9,20 +9,19 @@
|
|||||||
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px" right-icon="arrow-right">
|
||||||
<u-cell is-link="true" @click="show1 = true"><text>111111</text>
|
<text @click="show1 = true" class="checktext">123</text>
|
||||||
</u-cell>
|
<u-picker mode="region" :show="show1" :closeOnClickOverlay="true" @close="show1 = false"></u-picker>
|
||||||
<u-picker mode="region" :show="show1" :closeOnClickOverlay="true" @close="show1 = false" :columns="columns" @confirm="confirmArea"></u-picker>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="地址" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
<u-form-item label="地址" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
<u-input v-model="form.name" placeholder="请输入店铺地址" placeholder-class="input-class" border="none"></u-input>
|
<u-input v-model="form.name" placeholder="请输入店铺地址" placeholder-class="input-class" border="none"></u-input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
<text @click="show2 = true">123</text>
|
<text @click="show2 = true" class="checktext">123</text>
|
||||||
<u-picker mode="region" :show="show2" :closeOnClickOverlay="true" @close="show2 = false"></u-picker>
|
<u-picker mode="region" :show="show2" :closeOnClickOverlay="true" @close="show2 = false"></u-picker>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
<text @click="show3 = true">123</text>
|
<text @click="show3 = true" class="checktext">123</text>
|
||||||
<u-picker mode="region" :show="show3" :closeOnClickOverlay="true" @close="show3 = false"></u-picker>
|
<u-picker mode="region" :show="show3" :closeOnClickOverlay="true" @close="show3 = false"></u-picker>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
@@ -40,9 +39,7 @@
|
|||||||
|
|
||||||
</u-form>
|
</u-form>
|
||||||
<u-button @click="submit" color="linear-gradient(to right, #E86262, #CC3333)" :size="normal" shape="circle" class="submit-btn">发布</u-button>
|
<u-button @click="submit" color="linear-gradient(to right, #E86262, #CC3333)" :size="normal" shape="circle" class="submit-btn">发布</u-button>
|
||||||
<view class="bug-figure">
|
<view class="bug-figure"></view>
|
||||||
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -61,8 +58,6 @@
|
|||||||
title:''
|
title:''
|
||||||
},
|
},
|
||||||
columns:[
|
columns:[
|
||||||
['中国', '美国'],
|
|
||||||
['深圳', '厦门', '上海', '拉萨']
|
|
||||||
],
|
],
|
||||||
show1:false,
|
show1:false,
|
||||||
show2:false,
|
show2:false,
|
||||||
@@ -89,9 +84,10 @@
|
|||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
.input-class{
|
.input-class{
|
||||||
font-size: 30rpx;
|
font-size: 40rpx;
|
||||||
font-weight:1px;
|
font-weight:1px;
|
||||||
border-style: none
|
border-style: none
|
||||||
|
|
||||||
}
|
}
|
||||||
.upload{
|
.upload{
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -107,4 +103,14 @@
|
|||||||
.bug-figure{
|
.bug-figure{
|
||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
}
|
}
|
||||||
|
.checkbox1{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.checktext{
|
||||||
|
margin-top: 5rpx;
|
||||||
|
font-size: 40rpx;
|
||||||
|
font-weight:1px;
|
||||||
|
color: #A0A0A0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="body">
|
<view>
|
||||||
<view class="search-box">
|
<view class="search-box">
|
||||||
<view class="search-box-input">
|
<view class="search-box-input">
|
||||||
<u-input placeholder="热门搜索" placeholder-style="color: #969696" prefixIcon="search"
|
<u-input placeholder="热门搜索" placeholder-style="color: #969696" prefixIcon="search"
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.body{
|
page{
|
||||||
background-color: #F8F8F8;
|
background-color: #F8F8F8;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user