no message
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
<template>
|
||||
<view class="shop-item-view" @click="onJump">
|
||||
<view class="top-img-view flex-r-lr">
|
||||
<image :src="obj.url"></image>
|
||||
</view>
|
||||
<view class="bottom-shop-view">
|
||||
<text class="text-28 text-zu text-overflow1">{{obj.title}}</text>
|
||||
<text class="text-28" style="color:#FF4242">
|
||||
¥{{obj.adPrice}}
|
||||
<text class="text-24 text-fu text-d" style="margin-left:12rpx">
|
||||
¥{{obj.price}}
|
||||
</text>
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
props:{
|
||||
obj:{
|
||||
type:Object,
|
||||
default:null
|
||||
},
|
||||
},
|
||||
mounted(){
|
||||
},
|
||||
methods: {
|
||||
onJump(){
|
||||
this.$emit('click');
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.shop-item-view{
|
||||
width:332rpx;
|
||||
height:498rpx;
|
||||
min-height:498rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 24rpx;
|
||||
overflow: hidden;
|
||||
background-color: #fff;
|
||||
.bottom-shop-view{
|
||||
width:100%;
|
||||
padding: 16rpx 24rpx 0;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.top-img-view{
|
||||
width:332rpx;
|
||||
height:332rpx;
|
||||
min-height:332rpx;
|
||||
image{
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user