You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

125 lines
3.0 KiB

4 months ago
<template>
4 months ago
<view class="bg">
<headerVue />
4 months ago
<image src="https://static.ticket.sz-trip.com/epicSoul/readingBody/xiangImg.png" mode="widthFix" class="topImg"></image>
<view class="box">
<view v-for="(item,index) in list" :key="index" class="item">
<image :src="showImg(item.img)" mode="aspectFill" class="headimg"></image>
<view class="content">
<view class="title text-overflow">{{item.title}}</view>
<view class="flex-between">
<view class="price">{{(item.price / 100).toFixed(2)}}</view>
<image src="https://static.ticket.sz-trip.com/epicSoul/readingBody/gwc.png" mode="" class="gwc"></image>
</view>
</view>
</view>
</view>
<view style="margin: 80rpx 50rpx;">
富文本 富文本
两千年的柏树自西汉年便扎根江南太湖畔的光福每年柏子熟时遵循古老的仪式于古柏枝干系上红绳燃清香向自然致以敬意这是江南百姓世代流传的生存智慧将草木荣枯视为对生命共同体的敬畏也感恩时间的馈赠
</view>
4 months ago
</view>
4 months ago
</template>
<script>
4 months ago
import headerVue from "@/components/header.vue"
export default {
components: {
headerVue
},
data() {
return {
4 months ago
list: [
{
img: 'https://static.ticket.sz-trip.com/epicSoul/readingBody/productImg.png',
title: '湖石初醒湖石初醒湖石初醒湖石初醒湖石初醒',
price: '13800'
},
{
img: 'https://static.ticket.sz-trip.com/epicSoul/readingBody/productImg.png',
title: '湖石初醒',
price: '13800'
},
{
img: 'https://static.ticket.sz-trip.com/epicSoul/readingBody/productImg.png',
title: '湖石初醒',
price: '13800'
},
{
img: 'https://static.ticket.sz-trip.com/epicSoul/readingBody/productImg.png',
title: '湖石初醒',
price: '13800'
},
{
img: 'https://static.ticket.sz-trip.com/epicSoul/readingBody/productImg.png',
title: '湖石初醒',
price: '13800'
},
{
img: 'https://static.ticket.sz-trip.com/epicSoul/readingBody/productImg.png',
title: '湖石初醒',
price: '13800'
},
{
img: 'https://static.ticket.sz-trip.com/epicSoul/readingBody/productImg.png',
title: '湖石初醒',
price: '13800'
}
]
4 months ago
}
}
}
4 months ago
</script>
4 months ago
<style lang="scss" scoped>
.bg {
padding-bottom: 200rpx;
}
4 months ago
.topImg {
width: 100%;
}
.box {
margin: 95rpx 45rpx 0;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.item {
margin-bottom: 45rpx;
.headimg {
width: 204rpx;
height: 204rpx;
}
.content {
width: 204rpx;
margin-top: 5rpx;
.flex-between {
margin-top: 10rpx;
}
.title {
font-weight: 400;
font-size: 30rpx;
color: #000000;
}
.price {
font-size: 18rpx;
}
.gwc {
width: 28.18rpx;
height: 24.58rpx;
}
}
}
}
4 months ago
</style>