5 changed files with 150 additions and 4 deletions
-
6src/pages.json
-
70src/pages/index/index.vue
-
78src/pages/store_list/store_list.vue
-
BINsrc/static/images/icon/index/header_bg_a.png
-
BINsrc/static/images/icon/index/header_bg_b.png
@ -0,0 +1,78 @@ |
|||||
|
<template> |
||||
|
<view class="store-list"> |
||||
|
<view class="sl-list"> |
||||
|
<view class="sl-item" v-for="e in 10" :key="e"> |
||||
|
<view class="si-tit">欧轩智能羽毛球馆(永泰店)</view> |
||||
|
<view class="si-info"> |
||||
|
<view>营业状态:正常</view> |
||||
|
<view> |
||||
|
<view>微信商户号:17098768441</view> |
||||
|
<image mode="aspectFit" src="/static/images/icon/arrow_b2.png"></image> |
||||
|
</view> |
||||
|
</view> |
||||
|
<view class="si-user">许大仙 | 18046809331</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</view> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
|
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
@import "../../../style/public.scss"; |
||||
|
.store-list{ |
||||
|
view{ |
||||
|
line-height: 40upx; |
||||
|
font-size: 28upx; |
||||
|
color: #9c9c9f; |
||||
|
} |
||||
|
} |
||||
|
.sl-list{ |
||||
|
padding: 24upx; |
||||
|
} |
||||
|
.sl-item{ |
||||
|
padding: 32upx 24upx 0; |
||||
|
margin-bottom: 24upx; |
||||
|
border-radius: 10upx; |
||||
|
height: 228upx; |
||||
|
background-color: #fff; |
||||
|
.si-tit{ |
||||
|
margin-bottom: 30upx; |
||||
|
font-size: 32upx; |
||||
|
line-height: 44upx; |
||||
|
color: #1a1a1a; |
||||
|
@include textHide(1); |
||||
|
} |
||||
|
.si-info{ |
||||
|
margin-bottom: 10upx; |
||||
|
@include centerFlex(space-between); |
||||
|
>view{ |
||||
|
&:first-child{ |
||||
|
flex-shrink: 0; |
||||
|
} |
||||
|
&+view{ |
||||
|
flex-grow: 1; |
||||
|
@include centerFlex(flex-end); |
||||
|
>view{ |
||||
|
flex-shrink: 1; |
||||
|
flex-grow: 1; |
||||
|
text-align: right; |
||||
|
@include textHide(1); |
||||
|
} |
||||
|
>image{ |
||||
|
margin-left: 6upx; |
||||
|
width: 20upx; |
||||
|
height: 20upx; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
.si-user{ |
||||
|
@include textHide(1); |
||||
|
} |
||||
|
} |
||||
|
</style> |
After Width: 120 | Height: 142 | Size: 815 B |
After Width: 240 | Height: 400 | Size: 1.9 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue