搜索页、行业报告 分包

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 style="margin-top: 20rpx; height: 1176rpx;background: #FFFFFF;">
<certifiedCj></certifiedCj>
<view v-if="cjsShow" class="no-data">已经到底啦</view>
</view>
</template>
<script>
export default {
data() {
return {
cjsShow: true,
}
},
methods: {
// this.cjsShow = this.list.length === 0 ? true : false
}
}
</script>
<style lang="scss">
.no-data {
text-align: center;
margin-top: 29rpx;
font-size: 20rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #BBBBBB;
line-height: 28rpx;
}
.xw_content {
background: #FFFFFF;
border: 1rpx solid #EEEEEE;
display: flex;
padding: 29rpx 19rpx;
.xw_right {
padding-left: 19rpx;
display: flex;
flex-direction: column;
.xw_title {
font-size: 30rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: bold;
color: #3E3E3E;
line-height: 42rpx;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.cj_tags {
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #969696;
line-height: 33rpx;
padding-right: 10rpx;
margin-top: 35rpx;
}
}
}
</style>

View File

@@ -0,0 +1,145 @@
<template>
<view>
<u--image :src="src" width="750rpx" height="290rpx" :lazy-load="true">
</u--image>
<view class="feature">
<text class="one_title">经营范围及特色</text>
<view class="green_block">
<text class="green_features">{{features}}</text>
</view>
</view>
<view class="introduce">
<view class="introduce_title">企业介绍</view>
<text class="business_introduce">{{business_introduce}}</text>
</view>
<view class="show">
<view class="introduce_title">企业展示</view>
<u-grid :border="false" col="4">
<u-grid-item v-for="(listItem,listIndex) in showList" :key="listIndex">
<u--image :src="listItem.src" width="170rpx" height="170rpx" :lazy-load="true">
</u--image>
</u-grid-item>
</u-grid>
</view>
<view class="footer">
<u-icon name="kefu-ermai" color="#fff" size="30rpx"></u-icon>
<text>联系客服</text>
</view>
</view>
</template>
<script>
export default {
data() {
return {
src: '/static/detail/cj_bg.png',
features: '活冻鲍鱼,冻煮鲍鱼,鲍鱼罐头 佛跳墙,海螺片',
business_introduce: '福建省海纳川食品有限公司是一家从事水产养殖,加工与销售为一体的现代化企业,公司主要加工:活冻鲍鱼,溏心皇金鲍,兰花蟹,黄金鲍片,佛跳墙,大盆菜,火锅小章鱼,鲨鱼礼盒等系列产品。公司位于福建省自由贸易试验区马尾片区,离全国大的水产交易市场--马尾名成水产市场不到一公里,这里交通方便,商贾云集,冷链物流通达全国。',
showList: [{
src: '/static/report/zhanwei_xf(1).png'
}, {
src: '/static/report/zhanwei_xf(1).png'
}, {
src: '/static/report/zhanwei_xf(1).png'
},
{
src: '/static/report/zhanwei_xf(1).png'
},
]
}
},
methods: {
}
}
</script>
<style lang="scss">
.feature {
padding: 20rpx 16rpx;
background-color: #fff;
margin-bottom: 30rpx;
.one_title {
font-size: 28rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: bold;
color: #3E3E3E;
line-height: 40rpx;
}
.green_block {
background-color: #16CA65;
margin-top: 20rpx;
height: 139rpx;
border-radius: 6rpx;
.green_features {
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
line-height: 33rpx;
margin-left: 20rpx;
margin-top: 14rpx;
}
}
}
.introduce {
padding: 20rpx 16rpx;
background-color: #fff;
margin-bottom: 30rpx;
.introduce_title {
font-size: 28rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: bold;
color: #3E3E3E;
line-height: 40rpx;
margin-bottom: 10rpx;
}
.business_introduce {
font-size: 24rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #666666;
line-height: 33rpx;
}
}
.show {
padding: 20rpx 16rpx;
background-color: #fff;
margin-bottom: 78rpx;
.u-grid {
padding-top: 22rpx !important;
}
}
.footer {
height: 100rpx;
background: #0EBB5B;
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
text-align: center;
.u-icon {
justify-content: center;
}
text {
font-size: 20rpx;
font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
font-weight: bold;
color: #FFFFFF;
line-height: 26rpx;
}
}
</style>

View File

@@ -0,0 +1,34 @@
<template>
<view style="margin-top: 20rpx; height: 1176rpx;background: #FFFFFF;">
<news></news>
<view v-if="newsShow" class="no-data">已经到底啦</view>
</view>
</template>
<script>
export default {
data() {
return {
newsShow: true,
}
},
onLoad() {
},
methods: {
// this.newsShow = this.list.length === 0 ? true : false
}
}
</script>
<style lang="scss">
.no-data {
text-align: center;
margin-top: 29rpx;
font-size: 20rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #BBBBBB;
line-height: 28rpx;
}
</style>

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>