搜索完成

This commit is contained in:
2020-06-03 17:17:05 +08:00
parent b5ef323612
commit d71c7fcc24
5 changed files with 240 additions and 10 deletions

View File

@@ -0,0 +1,53 @@
<template>
<view class="shop">
<image></image>
<view class="info">
<text class="title">这是标题</text>
<text class="profile u-line-2">这是简介</text>
</view>
</view>
</template>
<script>
export default {
name:"shop",
data(){
return {
}
}
}
</script>
<style lang="scss" scoped>
.shop{
display: flex;
width: 690rpx;
height: 170rpx;
margin: 0 auto;
margin-bottom: 30rpx;
border-radius: 5rpx;
overflow: hidden;
>image{
width: 220rpx;
height: 170rpx;
flex-shrink: 0;
}
.info{
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
background-color: #f5f5f5;
padding: 30rpx;
>text:first-child{
font-size: 30rpx;
color:#333;
}
>text:last-child{
font-size: 28rpx;
color: #666;
margin-top: 20rpx;
}
}
}
</style>