罗世杰:fix:修改样式
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
<template>
|
||||
<view class="root">
|
||||
<InputAndSwiper></InputAndSwiper>
|
||||
|
||||
<view style="margin-top: 10px;">
|
||||
<DropDown></DropDown>
|
||||
<view class="content">
|
||||
<view style="margin-top: 10px;">
|
||||
<DropDown></DropDown>
|
||||
</view>
|
||||
|
||||
<SearchShopList :showStyle="1"></SearchShopList>
|
||||
</view>
|
||||
|
||||
<SearchShopList :showStyle="1"></SearchShopList>
|
||||
<TabBar :current-page="3"></TabBar>
|
||||
</view>
|
||||
</template>
|
||||
@@ -28,7 +30,7 @@
|
||||
page {
|
||||
background-color: $uni-bg-color-grey;
|
||||
}
|
||||
.root{
|
||||
.content{
|
||||
margin: 0 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -2,43 +2,27 @@
|
||||
<view class="root">
|
||||
<InputAndSwiper></InputAndSwiper>
|
||||
|
||||
<view style="margin-top: 10px;">
|
||||
<DropDown></DropDown>
|
||||
<view class="content">
|
||||
<view style="margin-top: 10px;">
|
||||
<DropDown></DropDown>
|
||||
</view>
|
||||
|
||||
<ShowShopList :showStyle="1"></ShowShopList>
|
||||
</view>
|
||||
|
||||
<ShowShopList :showStyle="1"></ShowShopList>
|
||||
<DropDownItem></DropDownItem>
|
||||
<TabBar :current-page="1"></TabBar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import DropDownItem from "@/components/DropDown/DropDownItem.vue"
|
||||
export default {
|
||||
components: {
|
||||
DropDownItem
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
value1: 1,
|
||||
value2: 2,
|
||||
options1: [{
|
||||
label: '默认排序',
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
label: '距离优先',
|
||||
value: 2,
|
||||
},
|
||||
{
|
||||
label: '价格优先',
|
||||
value: 3,
|
||||
}
|
||||
],
|
||||
options2: [{
|
||||
label: '去冰',
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
label: '加冰',
|
||||
value: 2,
|
||||
},
|
||||
],
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -51,7 +35,7 @@
|
||||
page {
|
||||
background-color: $uni-bg-color-grey;
|
||||
}
|
||||
.root {
|
||||
.content{
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user