Merge pull request 'lh' (#22) from lh into master
Reviewed-on: http://git.feashow.cn/odjbin/city-store-transfer/pulls/22
This commit is contained in:
@@ -69,7 +69,7 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
quitSlide() {
|
quitSlide() {
|
||||||
this.slideVisit = false
|
this.slideVisit = false;
|
||||||
},
|
},
|
||||||
changeItem(item) {
|
changeItem(item) {
|
||||||
if (item.id == 2) {
|
if (item.id == 2) {
|
||||||
|
|||||||
@@ -61,65 +61,61 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.mask {
|
.mask{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #000000;
|
background-color: #000000;
|
||||||
// opacity: 0.2;
|
// opacity: 0.2;
|
||||||
// backdrop-filter:saturate(150%) blur(8px);模糊
|
// backdrop-filter:saturate(150%) blur(8px);模糊
|
||||||
-webkit-backdrop-filter: saturate(150%) blur(8px);
|
-webkit-backdrop-filter:saturate(150%) blur(8px);
|
||||||
background-color: rgba(0, 0, 0, .3);
|
background-color:rgba(0,0,0,.3);
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
.content{
|
||||||
.content {
|
position: fixed;
|
||||||
position: fixed;
|
transform: translate(-50%, -50%);
|
||||||
transform: translate(-50%, -50%);
|
left: 50%; top: 40%;
|
||||||
left: 50%;
|
height: 20%;
|
||||||
top: 40%;
|
width: 90%;
|
||||||
height: 25%;
|
background-color: #fff;
|
||||||
width: 90%;
|
z-index: 40;
|
||||||
background-color: #fff;
|
border-radius: 29rpx;
|
||||||
z-index: 40;
|
|
||||||
border-radius: 29rpx;
|
}
|
||||||
|
.container{
|
||||||
}
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
.container {
|
display: flex;
|
||||||
height: 100%;
|
justify-content: space-around;
|
||||||
width: 100%;
|
align-items: center;
|
||||||
display: flex;
|
z-index: 50;
|
||||||
justify-content: space-around;
|
}
|
||||||
align-items: center;
|
.content-1{
|
||||||
z-index: 50;
|
// vertical-align: middle;
|
||||||
}
|
height: auto;
|
||||||
|
width: auto;
|
||||||
.content-1 {
|
display: flex;
|
||||||
// vertical-align: middle;
|
flex-direction: column;
|
||||||
height: auto;
|
justify-content: center;
|
||||||
width: auto;
|
align-items: center;
|
||||||
display: flex;
|
}
|
||||||
flex-direction: column;
|
.selecter{
|
||||||
justify-content: center;
|
width: 49px;
|
||||||
align-items: center;
|
height: 49px;
|
||||||
}
|
z-index: 50;
|
||||||
|
// background-color: red;
|
||||||
.selecter {
|
display: flex;
|
||||||
width: 49px;
|
flex-direction: column;
|
||||||
height: 49px;
|
// background-color: red;
|
||||||
z-index: 50;
|
}
|
||||||
// background-color: red;
|
.text{
|
||||||
display: flex;
|
font-size: 28rpx;
|
||||||
flex-direction: column;
|
display: block;
|
||||||
// background-color: red;
|
color: #686868;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
|
||||||
font-size: 28rpx;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
src: 'https://cdn.uviewui.com/uview/album/2.jpg',
|
src: 'https://cdn.uviewui.com/uview/album/2.jpg',
|
||||||
account:'11111111',
|
account:'123456',
|
||||||
username:'用户名',
|
username:'用户名',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: 275rpx;
|
||||||
margin-bottom: 36rpx;
|
margin-bottom: 36rpx;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -72,6 +72,7 @@
|
|||||||
.profile-bgi{
|
.profile-bgi{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 500px;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
.avator{
|
.avator{
|
||||||
|
|||||||
@@ -1,31 +1,41 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="form">
|
<view class="form">
|
||||||
<u-form :model="form" ref="uForm">
|
<u-form :model="form" ref="uForm">
|
||||||
|
<view class="upload">
|
||||||
|
<u-upload max-count="5" upload-icon="photo"></u-upload>
|
||||||
|
<text>发布房源图片({{count}}/5)</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
<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-style="font-size: 40rpx;font-weight:1px"></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="简介">
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
<u-input v-model="form.intro" />
|
<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="confirm"></u-picker>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="性别">
|
<u-form-item label="地址" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
<u-input v-model="form.sex" type="select" />
|
<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="水果">
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
<u-checkbox-group width="50%">
|
<text @click="show2 = true">123</text>
|
||||||
<u-checkbox>苹果</u-checkbox>
|
<u-picker mode="region" :show="show2" :closeOnClickOverlay="true" @close="show2 = false"></u-picker>
|
||||||
<u-checkbox>雪梨</u-checkbox>
|
|
||||||
<u-checkbox>柠檬</u-checkbox>
|
|
||||||
<u-checkbox>橘子</u-checkbox>
|
|
||||||
</u-checkbox-group>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="味道">
|
<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
<u-radio-group>
|
<text @click="show3 = true">123</text>
|
||||||
<u-radio>鲜甜</u-radio>
|
<u-picker mode="region" :show="show3" :closeOnClickOverlay="true" @close="show3 = false"></u-picker>
|
||||||
<u-radio>麻辣</u-radio>
|
|
||||||
</u-radio-group>
|
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="开关">
|
<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
|
||||||
<u-switch slot="right"></u-switch>
|
<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-item>
|
||||||
</u-form>
|
</u-form>
|
||||||
</view>
|
</view>
|
||||||
@@ -35,13 +45,27 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
city:'',
|
||||||
|
area:'',
|
||||||
|
count:0,
|
||||||
|
show1:false,
|
||||||
|
show2:false,
|
||||||
|
show3:false,
|
||||||
form:{
|
form:{
|
||||||
title:''
|
title:''
|
||||||
}
|
},
|
||||||
|
columns:[
|
||||||
|
['中国', '美国'],
|
||||||
|
['深圳', '厦门', '上海', '拉萨']
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
confirm(e) {
|
||||||
|
this.city = e.value[0]
|
||||||
|
this.area = e.value[1]
|
||||||
|
this.show1 = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -50,4 +74,17 @@
|
|||||||
.form{
|
.form{
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
.input-class{
|
||||||
|
font-size: 30rpx;
|
||||||
|
font-weight:1px;
|
||||||
|
border-style: none
|
||||||
|
}
|
||||||
|
.upload{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
background-color: #F8F8F8;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
</u-input>
|
</u-input>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<ShowShopList></ShowShopList>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -31,7 +32,7 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.search-box {
|
.search-box {
|
||||||
position: absolute;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
width: 84.6%;
|
width: 84.6%;
|
||||||
|
|||||||
Reference in New Issue
Block a user