罗世杰: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>
|
||||
Reference in New Issue
Block a user