搜索完成
This commit is contained in:
53
pageB/components/search/shop.vue
Normal file
53
pageB/components/search/shop.vue
Normal 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>
|
||||
Reference in New Issue
Block a user