罗世杰:faet:店铺转让、店铺选址页面初始化
This commit is contained in:
50
components/DropDown/DropDown.vue
Normal file
50
components/DropDown/DropDown.vue
Normal file
@@ -0,0 +1,50 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<view
|
||||
class="title-view"
|
||||
v-for="item in title"
|
||||
>
|
||||
<text>{{item}}</text>
|
||||
<view class="arrow">
|
||||
<u-image src="/static/dropdown/dp_icon_lxia.png" width="14rpx" height="11rpx"/>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name:"DropDown",
|
||||
data() {
|
||||
return {
|
||||
title: ['行业','区域','面积','筛选']
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.container{
|
||||
height: 100rpx;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
.title-view {
|
||||
display: flex;
|
||||
>text {
|
||||
font-size: 14px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
.arrow {
|
||||
margin-left: 8rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
8
components/DropDown/DropDownItem.vue
Normal file
8
components/DropDown/DropDownItem.vue
Normal file
@@ -0,0 +1,8 @@
|
||||
<template>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
@@ -29,7 +29,7 @@
|
||||
showStyle:{
|
||||
type: Number,
|
||||
default() {
|
||||
return 1
|
||||
return 0
|
||||
}
|
||||
},
|
||||
isADshow: {
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import HomeNoticeBar from "./HomeNoticeBar.vue"
|
||||
import HomeNavCard from "./HomeNavCard.vue"
|
||||
import Statistics from "./Statistics.vue"
|
||||
import HomeNoticeBar from "./HomeMainContent/HomeNoticeBar.vue"
|
||||
import HomeNavCard from "./HomeMainContent/HomeNavCard.vue"
|
||||
import Statistics from "./HomeMainContent/Statistics.vue"
|
||||
export default {
|
||||
components: {
|
||||
HomeNavCard,
|
||||
@@ -32,7 +32,7 @@
|
||||
data() {
|
||||
return {
|
||||
notice: '寒雨连江夜入吴 平明送客楚山孤 洛阳亲友如相问 一片冰心在玉壶',
|
||||
chooseIndex: 1,
|
||||
chooseIndex: 0,
|
||||
statisticsNum: [231753, 1345]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
<template>
|
||||
<view>
|
||||
找店地址
|
||||
<view class="root">
|
||||
<InputAndSwiper></InputAndSwiper>
|
||||
|
||||
<view style="margin-top: 10px;">
|
||||
<DropDown></DropDown>
|
||||
</view>
|
||||
|
||||
<SearchShopList :showStyle="1"></SearchShopList>
|
||||
<TabBar :current-page="3"></TabBar>
|
||||
</view>
|
||||
</template>
|
||||
@@ -18,6 +24,11 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
<style lang="scss">
|
||||
page {
|
||||
background-color: $uni-bg-color-grey;
|
||||
}
|
||||
.root{
|
||||
margin: 0 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
<template>
|
||||
<view>
|
||||
店铺转让
|
||||
<view class="root">
|
||||
<InputAndSwiper></InputAndSwiper>
|
||||
|
||||
<view style="margin-top: 10px;">
|
||||
<DropDown></DropDown>
|
||||
</view>
|
||||
|
||||
<ShowShopList :showStyle="1"></ShowShopList>
|
||||
<TabBar :current-page="1"></TabBar>
|
||||
</view>
|
||||
</template>
|
||||
@@ -9,7 +15,30 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
value1: 1,
|
||||
value2: 2,
|
||||
options1: [{
|
||||
label: '默认排序',
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
label: '距离优先',
|
||||
value: 2,
|
||||
},
|
||||
{
|
||||
label: '价格优先',
|
||||
value: 3,
|
||||
}
|
||||
],
|
||||
options2: [{
|
||||
label: '去冰',
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
label: '加冰',
|
||||
value: 2,
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -18,6 +47,12 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
<style lang="scss">
|
||||
page {
|
||||
background-color: $uni-bg-color-grey;
|
||||
}
|
||||
.root {
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
BIN
static/dropdown/dp_icon_hlxia.png
Normal file
BIN
static/dropdown/dp_icon_hlxia.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 270 B |
BIN
static/dropdown/dp_icon_lxia.png
Normal file
BIN
static/dropdown/dp_icon_lxia.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 273 B |
Reference in New Issue
Block a user