Commit b7306ea0 by 田爽

闪动优化,首页轮播,文字排版图片边框

parent e0ffa883
......@@ -9,3 +9,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
background-color: transparent;
}
}
.el-loading-custom-class {
transition: opacity 0s !important;
}
......@@ -671,27 +671,27 @@ export default {
keywords: "",
keyBanner:0,
banner: [
{
brief: "国际物品编码组织(GS1)是全球性的、中立的非营利国际组织,致力于通过制定全球统一的产品标识和电子商务标准,实现供应链的高效运作与可视化。GS1总部设在布鲁塞尔,目前,在全球拥有116个成员组织。",
briefShow: "国际物品编码组织(GS1)是全球性的、中立的非营利国际组织,致力于通过制定全球统一的产品标识和电子商务标准,实现供应链的高效运作与可视化。GS1总部设在布鲁塞尔,目前,在全球拥有116个成员组织。",
checkIndexAuthor: "pwindqq",
checkflagIndex: 1,
classnum: "大轮播",
colorBackground: "#002c6c !important",
colorBrief: "#FFF",
colorMore: "orange",
directpath: "http://www.gs1.org/",
editorIndex: "liun",
id: 6,
isShow: "1",
lasteditorIndex: "pwindqq",
levels: 1,
levelsIndex: 0,
picIndexPath: "http://dynamic.gs1cn.org/office/uploadFileResource/img/demo/index-banner2.jpg",
starttimeIndex: "2018-05-02 10:20:00",
title: "GS1",
updatetimeIndex: "2023-03-09 10:22:32",
},
// {
// brief: "国际物品编码组织(GS1)是全球性的、中立的非营利国际组织,致力于通过制定全球统一的产品标识和电子商务标准,实现供应链的高效运作与可视化。GS1总部设在布鲁塞尔,目前,在全球拥有116个成员组织。",
// briefShow: "国际物品编码组织(GS1)是全球性的、中立的非营利国际组织,致力于通过制定全球统一的产品标识和电子商务标准,实现供应链的高效运作与可视化。GS1总部设在布鲁塞尔,目前,在全球拥有116个成员组织。",
// checkIndexAuthor: "pwindqq",
// checkflagIndex: 1,
// classnum: "大轮播",
// colorBackground: "#002c6c !important",
// colorBrief: "#FFF",
// colorMore: "orange",
// directpath: "http://www.gs1.org/",
// editorIndex: "liun",
// id: 6,
// isShow: "1",
// lasteditorIndex: "pwindqq",
// levels: 1,
// levelsIndex: 0,
// picIndexPath: "http://dynamic.gs1cn.org/office/uploadFileResource/img/demo/index-banner2.jpg",
// starttimeIndex: "2018-05-02 10:20:00",
// title: "GS1",
// updatetimeIndex: "2023-03-09 10:22:32",
// },
], // 首页大轮播图
bannerSettings: {
arrows: true,
......
......@@ -81,9 +81,10 @@ export default {
}
img {
max-width: 100%;
border-style: solid;
}
p{
overflow: hidden;
// overflow: hidden;
}
.custom_dash {
list-style-type: none!important; /* 不显示列表项标记 */
......@@ -99,7 +100,4 @@ export default {
</style>
<style lang="scss" scoped>
</style>
<template>
<div class="msg container" v-loading="loading">
<div class="msg container">
<breadcrumb />
<div class="row">
<div class="col-lg-9">
......@@ -99,6 +99,7 @@ import { mapState,mapMutations } from "vuex";
import breadcrumb from "../comps/breadcrumb.vue";
import list from "./comps/list.vue";
import list2 from "./comps/list2.vue";
import { Loading } from 'element-ui';
export default {
components: {
......@@ -213,6 +214,9 @@ export default {
]
};
},
beforeCreate() {
Loading.service({customClass: 'el-loading-custom-class'});
},
created() {
if(JSON.parse(localStorage.getItem('isList'+this.id)) && JSON.parse(localStorage.getItem('isList'+this.id)) == 1){
let matche=[
......@@ -231,7 +235,6 @@ export default {
this.source = data.source;
this.editor = data.editor;
this.xgljList(data.keyword);
}else{
this.InfoFn();
}
......@@ -239,7 +242,6 @@ export default {
this.newsTop10();
this.announceList();
this.zttjList();
},
mounted() {
window.onbeforeunload = () => {
......@@ -291,6 +293,7 @@ export default {
this.$message.error(returnMsg)
}
this.loading=false
Loading.service().close();
},
// getBreadcrumb(classId){
......
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