72 lines
1.4 KiB
Vue
72 lines
1.4 KiB
Vue
<template>
|
|
<view class="youhq">
|
|
<view class="top">
|
|
<text>全部优惠券</text>
|
|
<text>查看更多></text>
|
|
</view>
|
|
<view class="label">
|
|
<text>sda</text>
|
|
<text>asda</text>
|
|
<text>dsad</text>
|
|
<text>asdas</text>
|
|
</view>
|
|
<scroll-view style="width:100%;margin-top: 21rpx;" scroll-x="true">
|
|
<view class="list">
|
|
<sitem></sitem>
|
|
<sitem></sitem>
|
|
<sitem></sitem>
|
|
<sitem></sitem>
|
|
<sitem></sitem>
|
|
</view>
|
|
</scroll-view>
|
|
|
|
|
|
</view>
|
|
</template>
|
|
<script>
|
|
import sitem from "./item"
|
|
export default {
|
|
name:"youhq",
|
|
components:{
|
|
sitem
|
|
},
|
|
data(){
|
|
return {
|
|
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.youhq{
|
|
.top{
|
|
height: 90rpx;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
>text:first-child{
|
|
font-size: 30rpx;
|
|
color: #333;
|
|
}
|
|
>text:last-child{
|
|
font-size: 18rpx;
|
|
color: #999;
|
|
}
|
|
}
|
|
.label{
|
|
display: flex;
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
>text{
|
|
margin-right: 34rpx;
|
|
}
|
|
}
|
|
.list{
|
|
display: flex;
|
|
// justify-content: space-between;
|
|
width: auto;
|
|
|
|
}
|
|
}
|
|
</style> |