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