搜索页、行业报告 分包

This commit is contained in:
”chenxuelian“
2022-12-18 21:03:41 +08:00
parent 48393c72ed
commit 49a52425c5
9 changed files with 67 additions and 57 deletions

View File

@@ -0,0 +1,67 @@
<template>
<view>
<view class="xw_title">
{{title}}
</view>
<view style="display: flex;">
<text class="xw_time">
{{time}}
</text>
<text class="xw_time xw_place">
{{place}}
</text>
</view>
<view class="xw_content">
<u-parse :content="news" @preview="preview" @navigate="navigate"></u-parse>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: '2022近50款食品饮料新品创新的方向都在这里',
time: '2022-12-03 09:59',
place: '第一食品资讯官方账号',
news: '<h1>一级标题</h1><br/><h2>二级标题</h2>'
}
},
methods: {
}
}
</script>
<style lang="scss">
page {
background-color: #fff;
padding: 12rpx 16rpx;
}
.xw_title {
font-size: 38rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: bold;
color: #3E3E3E;
line-height: 53rpx;
letter-spacing: 1rpx;
}
.xw_time {
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #969696;
line-height: 33rpx;
margin-top: 6rpx;
}
.xw_place {
padding-left: 20rpx;
}
.xw_content {
margin-top: 38rpx;
}
</style>