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