首页基本完成
This commit is contained in:
51
pageB/components/shpoone/index.vue
Normal file
51
pageB/components/shpoone/index.vue
Normal file
@@ -0,0 +1,51 @@
|
||||
<template>
|
||||
<view class="shopone">
|
||||
<image></image>
|
||||
<view>
|
||||
<text>sadas</text>
|
||||
<text>dasadas</text>
|
||||
<text>dsadas</text>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
image{
|
||||
background-color: #0f0;
|
||||
}
|
||||
.shopone{
|
||||
width: 442rpx;
|
||||
height: 200rpx;
|
||||
background:rgba(0,0,0,0.4);
|
||||
padding: 20rpx;
|
||||
display: flex;
|
||||
border-radius: 10rpx;
|
||||
>image{
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
}
|
||||
>view{
|
||||
margin-left: 20rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
>text{
|
||||
font-size: 24rpx;
|
||||
color: #fff;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
>text:first-child{
|
||||
font-size: 28rpx;
|
||||
|
||||
}
|
||||
>text:last-child{
|
||||
font-size: 28rpx;
|
||||
color: #FF3131;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
export default {
|
||||
name:"shopone"
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user