Commit 9e4c0a48 authored by shilei's avatar shilei

首页背景图

parent f57133a5
...@@ -10,11 +10,12 @@ ...@@ -10,11 +10,12 @@
<div> <div>
<slot name="title"> <slot name="title">
<p :style="{ maxWidth: titleWidth }" class="ell2"> <p :style="{ maxWidth: titleWidth }" class="ell2">
<um-texthighlight {{title}}
<!-- <um-texthighlight
:text="title || '--'" :text="title || '--'"
:keyword="keyWords" :keyword="keyWords"
color="#4374EF" color="#4374EF"
></um-texthighlight> ></um-texthighlight> -->
</p> </p>
</slot> </slot>
</div> </div>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</div> </div>
<img class="honor-icon" :class="item.iconClass" :src="item.icon" alt=""> <img class="honor-icon" :class="item.iconClass" :src="item.icon" alt="">
</div> </div>
<div class="honor-item flex flex-column align-center" style="width: 100%;text-align: center;padding-top: 14rpx;background-image: url(/static/img/home/bg10.png)"> <div class="honor-item flex flex-column align-center" style="width: 100%;text-align: center;padding-top: 14rpx;background-image: url(https://cfld-hw-obs-01.obs.cn-north-4.myhuaweicloud.com/lyy/img/shucheng/bg10.png)">
<img src="/static/img/home/icon-home10.png" style="width: 49rpx;height: 45rpx;margin-bottom: 10rpx;flex-shrink: 0;" alt=""> <img src="/static/img/home/icon-home10.png" style="width: 49rpx;height: 45rpx;margin-bottom: 10rpx;flex-shrink: 0;" alt="">
<p>国家生态文明建设示范区</p> <p>国家生态文明建设示范区</p>
</div> </div>
...@@ -80,49 +80,49 @@ export default{ ...@@ -80,49 +80,49 @@ export default{
honorList: [ honorList: [
{ {
icon: '/static/img/home/icon-home1.png', icon: '/static/img/home/icon-home1.png',
bg: '/static/img/home/bg1.png', bg: 'https://cfld-hw-obs-01.obs.cn-north-4.myhuaweicloud.com/lyy/img/shucheng/bg1.png',
name: '全国环境百强县' name: '全国环境百强县'
}, },
{ {
icon: '/static/img/home/icon-home2.png', icon: '/static/img/home/icon-home2.png',
bg: '/static/img/home/bg2.png', bg: 'https://cfld-hw-obs-01.obs.cn-north-4.myhuaweicloud.com/lyy/img/shucheng/bg2.png',
name: '安徽省制造业发展增速十快县' name: '安徽省制造业发展增速十快县'
}, },
{ {
icon: '/static/img/home/icon-home3.png', icon: '/static/img/home/icon-home3.png',
bg: '/static/img/home/bg3.png', bg: 'https://cfld-hw-obs-01.obs.cn-north-4.myhuaweicloud.com/lyy/img/shucheng/bg3.png',
name: '安徽省民营经济发展先进县' name: '安徽省民营经济发展先进县'
}, },
{ {
icon: '/static/img/home/icon-home4.png', icon: '/static/img/home/icon-home4.png',
bg: '/static/img/home/bg4.png', bg: 'https://cfld-hw-obs-01.obs.cn-north-4.myhuaweicloud.com/lyy/img/shucheng/bg4.png',
name: '国家卫生县城' name: '国家卫生县城'
}, },
{ {
icon: '/static/img/home/icon-home5.png', icon: '/static/img/home/icon-home5.png',
bg: '/static/img/home/bg5.png', bg: 'https://cfld-hw-obs-01.obs.cn-north-4.myhuaweicloud.com/lyy/img/shucheng/bg5.png',
name: '中国未来投资热点百佳县' name: '中国未来投资热点百佳县'
}, },
{ {
icon: '/static/img/home/icon-home6.png', icon: '/static/img/home/icon-home6.png',
bg: '/static/img/home/bg6.png', bg: 'https://cfld-hw-obs-01.obs.cn-north-4.myhuaweicloud.com/lyy/img/shucheng/bg6.png',
name: '全国科技进步先进县' name: '全国科技进步先进县'
}, },
{ {
icon: '/static/img/home/icon-home10.png', icon: '/static/img/home/icon-home10.png',
bg: '/static/img/home/bg7.png', bg: 'https://cfld-hw-obs-01.obs.cn-north-4.myhuaweicloud.com/lyy/img/shucheng/bg7.png',
name: '全国交通运输一体化创建示范县', name: '全国交通运输一体化创建示范县',
iconClass: 'w49' iconClass: 'w49'
}, },
{ {
icon: '/static/img/home/icon-home8.png', icon: '/static/img/home/icon-home8.png',
bg: '/static/img/home/bg8.png', bg: 'https://cfld-hw-obs-01.obs.cn-north-4.myhuaweicloud.com/lyy/img/shucheng/bg8.png',
name: '全国电子商务进农村综合示范县', name: '全国电子商务进农村综合示范县',
iconClass: 'w49' iconClass: 'w49'
}, },
{ {
icon: '/static/img/home/icon-home9.png', icon: '/static/img/home/icon-home9.png',
bg: '/static/img/home/bg9.png', bg: 'https://cfld-hw-obs-01.obs.cn-north-4.myhuaweicloud.com/lyy/img/shucheng/bg9.png',
name: '安徽省质量认证示范县', name: '安徽省质量认证示范县',
iconClass: 'w49' iconClass: 'w49'
}, },
...@@ -178,7 +178,14 @@ export default{ ...@@ -178,7 +178,14 @@ export default{
// this.allowScroll = false // this.allowScroll = false
// } // }
// } // }
} },
// onShareAppMessage() {
// return {
// title: '',
// path: `/pages/index/index`,
// imageUrl: ""
// }
// },
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment