mall.vue
848 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<template>
<view class="mall_container">
<view class="locate">
<u-icon name="map"></u-icon>
<text class="site">南宁市活力篮球公园</text>
</view>
<view class="search_box">
<u-search placeholder="输入商品名字搜索" v-model="shopValue"></u-search>
</view>
<CommonTabbar tabbarValue="mall" />
</view>
</template>
<script>
export default {
data() {
return {
shopValue: '', // 商品名称
};
}
}
</script>
<style lang="scss" scoped>
.mall_container{
min-height: 100vh;
box-sizing: border-box;
.locate{
height: 88rpx;
display: flex;
align-items: center;
padding: 0 20rpx;
.site{
color: #3d3d3d;
font-size: 28rpx;
margin-left: 10rpx;
}
}
.search_box{
height: 106rpx;
box-sizing: border-box;
padding: 14rpx 20rpx 20rpx;
border-bottom: 2rpx solid #eee;
}
}
</style>