Merge pull request 'lh' (#13) from lh into master
Reviewed-on: http://git.feashow.cn/odjbin/city-store-transfer/pulls/13
This commit is contained in:
120
components/publishSlide/publishSlide.vue
Normal file
120
components/publishSlide/publishSlide.vue
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
<template>
|
||||||
|
<view class="slide">
|
||||||
|
<view class="mask" @click.self="quitSlide">
|
||||||
|
<view class="content" @click.stop>
|
||||||
|
<view class="container">
|
||||||
|
<view class="content-1" @click="enterTransfer">
|
||||||
|
<image src="/static/publish/fb_icon_dpzr.png" mode="aspectFit" class="selecter"></image>
|
||||||
|
<text class="text">店铺转让</text>
|
||||||
|
</view>
|
||||||
|
<view class="content-1" @click="enterAddress">
|
||||||
|
<image src="/static/publish/fb_icon_zdxz.png" mode="aspectFit" class="selecter"></image>
|
||||||
|
<text class="text">找店选址</text>
|
||||||
|
</view>
|
||||||
|
<view class="content-1" @click="enterRent">
|
||||||
|
<image src="/static/publish/fb_icon_dpcz.png" mode="aspectFit" class="selecter"></image>
|
||||||
|
<text class="text">店铺出租</text>
|
||||||
|
</view>
|
||||||
|
<view class="content-1" @click="enterInvestment">
|
||||||
|
<image src="/static/publish/fb_icon_xmzs.png" mode="aspectFit" class="selecter"></image>
|
||||||
|
<text class="text">项目招商</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default{
|
||||||
|
data(){
|
||||||
|
return{
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
quitSlide(){
|
||||||
|
this.$emit("quitSlide")
|
||||||
|
},
|
||||||
|
enterTransfer(){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:'/pages/publish/publishTransfer/publishTransfer'
|
||||||
|
})
|
||||||
|
},
|
||||||
|
enterAddress(){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:'/pages/publish/publishAddress/publishAddress'
|
||||||
|
})
|
||||||
|
},
|
||||||
|
enterRent(){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:'/pages/publish/publishRent/publishRent'
|
||||||
|
})
|
||||||
|
},
|
||||||
|
enterInvestment(){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:'/pages/publish/publishInvestment/publishInvestment'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</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;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
"quickapp" : {},
|
"quickapp" : {},
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"mp-weixin" : {
|
"mp-weixin" : {
|
||||||
"appid" : "",
|
"appid" : "wxda178d12ae834c45",
|
||||||
"setting" : {
|
"setting" : {
|
||||||
"urlCheck" : false
|
"urlCheck" : false
|
||||||
},
|
},
|
||||||
|
|||||||
36
pages.json
36
pages.json
@@ -72,6 +72,42 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
,{
|
||||||
|
"path" : "pages/publish/publishTransfer/publishTransfer",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
,{
|
||||||
|
"path" : "pages/publish/publishAddress/publishAddress",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
,{
|
||||||
|
"path" : "pages/publish/publishRent/publishRent",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
,{
|
||||||
|
"path" : "pages/publish/publishInvestment/publishInvestment",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"tabBar" : {
|
"tabBar" : {
|
||||||
"color" : "#CCCCCC",
|
"color" : "#CCCCCC",
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
发布
|
<view class="test">
|
||||||
|
<button @click="slide()">test</button>
|
||||||
|
<publishSlide v-if="slideVisit" @quitSlide="quitSlide"></publishSlide>
|
||||||
|
</view>
|
||||||
<TabBar :current-page="2" />
|
<TabBar :current-page="2" />
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -9,12 +12,18 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
slideVisit : false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
slide(){
|
||||||
|
this.slideVisit = true
|
||||||
|
},
|
||||||
|
quitSlide(){
|
||||||
|
this.slideVisit = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
22
pages/publish/publishAddress/publishAddress.vue
Normal file
22
pages/publish/publishAddress/publishAddress.vue
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<template>
|
||||||
|
<view>
|
||||||
|
发布店铺地址
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
22
pages/publish/publishInvestment/publishInvestment.vue
Normal file
22
pages/publish/publishInvestment/publishInvestment.vue
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<template>
|
||||||
|
<view>
|
||||||
|
发布招商合作
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
22
pages/publish/publishRent/publishRent.vue
Normal file
22
pages/publish/publishRent/publishRent.vue
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<template>
|
||||||
|
<view>
|
||||||
|
发布店铺出租
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
53
pages/publish/publishTransfer/publishTransfer.vue
Normal file
53
pages/publish/publishTransfer/publishTransfer.vue
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<template>
|
||||||
|
<view class="form">
|
||||||
|
<u-form :model="form" ref="uForm">
|
||||||
|
<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-form-item>
|
||||||
|
<u-form-item label="简介">
|
||||||
|
<u-input v-model="form.intro" />
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="性别">
|
||||||
|
<u-input v-model="form.sex" type="select" />
|
||||||
|
</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>
|
||||||
|
<u-form-item label="味道">
|
||||||
|
<u-radio-group>
|
||||||
|
<u-radio>鲜甜</u-radio>
|
||||||
|
<u-radio>麻辣</u-radio>
|
||||||
|
</u-radio-group>
|
||||||
|
</u-form-item>
|
||||||
|
<u-form-item label="开关">
|
||||||
|
<u-switch slot="right"></u-switch>
|
||||||
|
</u-form-item>
|
||||||
|
</u-form>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
form:{
|
||||||
|
title:''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.form{
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
BIN
static/publish/fb_icon_dpcz.png
Normal file
BIN
static/publish/fb_icon_dpcz.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
BIN
static/publish/fb_icon_dpzr.png
Normal file
BIN
static/publish/fb_icon_dpzr.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
BIN
static/publish/fb_icon_xmzs.png
Normal file
BIN
static/publish/fb_icon_xmzs.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
BIN
static/publish/fb_icon_zdxz.png
Normal file
BIN
static/publish/fb_icon_zdxz.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Reference in New Issue
Block a user