diff --git a/package.json b/package.json index 3313a99..17aac7c 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "element-ui": "^2.13.2", "moment": "^2.28.0", "vue": "^2.6.11", + "vue-awesome-swiper": "^4.1.1", "vue-router": "^3.2.0", "vuex": "^3.4.0" }, diff --git a/public/index.html b/public/index.html index 9862c63..9b59577 100644 --- a/public/index.html +++ b/public/index.html @@ -4,10 +4,10 @@ - - + - 瑜璟缘国际形象礼仪,国际礼仪培训机构,企业培训机构,形象礼仪,形象礼仪培训师 + 武汉富茂链客科技有限公司 -
-

{{data.title}}

-

{{data.publishDate}}

-
+
+
+ +
+
+

标题:{{data.title}}

+

日期:{{data.publishDate}}

+

姓名:{{data.author}}

+

电话:{{setPhone(data.phone)}} 获取联系方式

+

地址:{{data.address}}

+
+ +

虚假信息,检举举报. service@iformall.com

+

如有违法违规行为,依法处理

+

提防诈骗,本站不提供线上线下交易。

+

商务合作,请联系 service@iformall.com

+
- - +
+

信息详情

+
+ + + + + +
+
+
+ +

{{data.phone}}

+ + 取 消 + 确 定 + +
\ No newline at end of file diff --git a/src/page/home/home.vue b/src/page/home/home.vue index 2f698a1..a9f6d82 100644 --- a/src/page/home/home.vue +++ b/src/page/home/home.vue @@ -9,11 +9,11 @@
{{busOneData.title}}
-

+

@@ -24,7 +24,7 @@

生活服务MORE+

@@ -75,7 +75,7 @@

{{item.title}}MORE+

@@ -86,7 +86,7 @@

生活服务MORE+

- + {{item.title}} @@ -112,7 +112,6 @@ export default { data() { return { slideList: [], - partnersList: [], newsList: [], busOneData: {}, busList: [], @@ -162,22 +161,12 @@ export default { this.slideList = res.list }) }, - /* 左侧合作伙伴 */ - getPartnersList() { - let data = { - pageNum: 1, - pageSize: 5 - } - homeService.getPartnersList(data).then(res => { - this.partnersList = res.list - }) - }, /* 新闻列表 */ getNewsList() { let data = { // type: 1, pageNum: 1, - pageSize: 10 + pageSize: 90 } homeService.getNewsList(data).then(res => { res.list.forEach(ele => { @@ -206,11 +195,14 @@ export default { go(path) { this.$router.push(`/${path}`); }, + removeImg(con) { + if(con) { + return con.replace(//g ,''); + } + } }, created() { - this.getSlideList() - this.getPartnersList() - + this.getSlideList() this.getNewsList() } }; @@ -288,13 +280,16 @@ export default { .con_txt{ width: 352px; ul{ - height: 172px; + height: 158px; overflow: hidden; + padding-top: 6px; } .headline{ border-bottom: 1px dashed #dadada; - padding-bottom: 10px; + padding-bottom: 15px; cursor: pointer; + height: 80px; + overflow: hidden; h6{ font-size: 16px; font-weight: bold; @@ -404,6 +399,7 @@ export default { display: block; color: #333; margin-top: 20px; + max-width: 198px; } margin: 20px; } diff --git a/src/router/index.js b/src/router/index.js index 907bc20..df9b7c1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -211,12 +211,12 @@ const router = new VueRouter({ router.beforeEach((to, from, next) => { document.documentElement.scrollTop = 0 - let head = document.getElementsByTagName('head'); - let meta = document.createElement('meta'); - document.querySelector('meta[name="keywords"]').setAttribute('content', '礼仪培训师资格证,线上礼仪培训班,礼仪培训网课,形象礼仪培训师在线考证') - document.querySelector('meta[name="description"]').setAttribute('content', '瑜璟缘国际形象礼仪主营:礼仪培训,礼仪培训师,商务礼仪培训,社交礼仪培训,服务礼仪培训,企业礼仪培训,职场礼仪培训,礼仪培训班,政务礼仪培训的培训团队。电话:13121112777欢迎您来电咨询!') - head[0].appendChild(meta) - document.title = '瑜璟缘国际形象礼仪,国际礼仪培训机构,企业培训机构,形象礼仪,形象礼仪培训师' + // let head = document.getElementsByTagName('head'); + // let meta = document.createElement('meta'); + // document.querySelector('meta[name="keywords"]').setAttribute('content', '礼仪培训师资格证,线上礼仪培训班,礼仪培训网课,形象礼仪培训师在线考证') + // document.querySelector('meta[name="description"]').setAttribute('content', '瑜璟缘国际形象礼仪主营:礼仪培训,礼仪培训师,商务礼仪培训,社交礼仪培训,服务礼仪培训,企业礼仪培训,职场礼仪培训,礼仪培训班,政务礼仪培训的培训团队。电话:13121112777欢迎您来电咨询!') + // head[0].appendChild(meta) + document.title = '武汉富茂链客科技有限公司' next() }) export default router