Commit fe95909e by 林家欣

修改bootStrap5为bootStrap4

parent 43ffb284
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"dependencies": { "dependencies": {
"@popperjs/core": "^2.10.1", "@popperjs/core": "^2.10.1",
"@tweenjs/tween.js": "^18.5.0", "@tweenjs/tween.js": "^18.5.0",
"bootstrap": "^5.1.0", "bootstrap": "^4.6",
"clear": "^0.1.0", "clear": "^0.1.0",
"core-js": "^2.6.11", "core-js": "^2.6.11",
"echarts": "^4.7.0", "echarts": "^4.7.0",
......
...@@ -6,11 +6,12 @@ ...@@ -6,11 +6,12 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="referrer" content="never"> <meta name="referrer" content="never">
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href='https://cdn.bootcss.com/social-share.js/1.0.16/css/share.min.css' rel="stylesheet">
<link rel="stylesheet" href="//at.alicdn.com/t/font_3100457_m1ptblb5k5c.css"> <link rel="stylesheet" href="//at.alicdn.com/t/font_3100457_m1ptblb5k5c.css">
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" ></script> <link href='https://cdn.bootcss.com/social-share.js/1.0.16/css/share.min.css' rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" ></script> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.min.js" ></script>
<!-- <link rel="shortcut icon" href="/favicon.ico"/> --> <!-- <link rel="shortcut icon" href="/favicon.ico"/> -->
<title>中国物品编码中心</title> <title>中国物品编码中心</title>
</head> </head>
......
...@@ -593,7 +593,7 @@ button::-moz-focus-inner { ...@@ -593,7 +593,7 @@ button::-moz-focus-inner {
.tox .tox-collection__item-label { .tox .tox-collection__item-label {
color: currentColor; color: currentColor;
display: inline-block; display: inline-block;
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
font-size: 14px; font-size: 14px;
font-style: normal; font-style: normal;
...@@ -1147,7 +1147,7 @@ button::-moz-focus-inner { ...@@ -1147,7 +1147,7 @@ button::-moz-focus-inner {
.tox .tox-dialog__body { .tox .tox-dialog__body {
color: #222f3e; color: #222f3e;
display: flex; display: flex;
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
font-size: 16px; font-size: 16px;
font-style: normal; font-style: normal;
...@@ -1196,7 +1196,7 @@ button::-moz-focus-inner { ...@@ -1196,7 +1196,7 @@ button::-moz-focus-inner {
.tox .tox-dialog__body-content { .tox .tox-dialog__body-content {
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex: 1; flex-grow: 1;
flex-direction: column; flex-direction: column;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
max-height: 650px; max-height: 650px;
...@@ -1339,17 +1339,17 @@ button::-moz-focus-inner { ...@@ -1339,17 +1339,17 @@ button::-moz-focus-inner {
} }
.tox .tox-dialog__body-iframe { .tox .tox-dialog__body-iframe {
display: flex; display: flex;
flex: 1; flex-grow: 1;
flex-direction: column; flex-direction: column;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
} }
.tox .tox-dialog__body-iframe .tox-navobj { .tox .tox-dialog__body-iframe .tox-navobj {
display: flex; display: flex;
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
} }
.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { .tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) {
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
height: 100%; height: 100%;
} }
...@@ -1409,7 +1409,7 @@ body.tox-dialog__disable-scroll { ...@@ -1409,7 +1409,7 @@ body.tox-dialog__disable-scroll {
} }
.tox .tox-dropzone-container { .tox .tox-dropzone-container {
display: flex; display: flex;
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
} }
.tox .tox-dropzone { .tox .tox-dropzone {
...@@ -1430,7 +1430,7 @@ body.tox-dialog__disable-scroll { ...@@ -1430,7 +1430,7 @@ body.tox-dialog__disable-scroll {
} }
.tox .tox-edit-area { .tox .tox-edit-area {
display: flex; display: flex;
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
...@@ -1439,7 +1439,7 @@ body.tox-dialog__disable-scroll { ...@@ -1439,7 +1439,7 @@ body.tox-dialog__disable-scroll {
background-color: #fff; background-color: #fff;
border: 0; border: 0;
box-sizing: border-box; box-sizing: border-box;
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
height: 100%; height: 100%;
position: absolute; position: absolute;
...@@ -1483,7 +1483,7 @@ body.tox-dialog__disable-scroll { ...@@ -1483,7 +1483,7 @@ body.tox-dialog__disable-scroll {
transition-delay: 0s; transition-delay: 0s;
} }
.tox .tox-control-wrap { .tox .tox-control-wrap {
flex: 1; flex-grow: 1;
position: relative; position: relative;
} }
.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, .tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,
...@@ -1604,7 +1604,7 @@ body.tox-dialog__disable-scroll { ...@@ -1604,7 +1604,7 @@ body.tox-dialog__disable-scroll {
} }
.tox .tox-form { .tox .tox-form {
display: flex; display: flex;
flex: 1; flex-grow: 1;
flex-direction: column; flex-direction: column;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
} }
...@@ -1613,7 +1613,7 @@ body.tox-dialog__disable-scroll { ...@@ -1613,7 +1613,7 @@ body.tox-dialog__disable-scroll {
margin-bottom: 4px; margin-bottom: 4px;
} }
.tox .tox-form-group--maximize { .tox .tox-form-group--maximize {
flex: 1; flex-grow: 1;
} }
.tox .tox-form__group--error { .tox .tox-form__group--error {
color: #c00; color: #c00;
...@@ -1646,21 +1646,21 @@ body.tox-dialog__disable-scroll { ...@@ -1646,21 +1646,21 @@ body.tox-dialog__disable-scroll {
} }
.tox .tox-form__group--stretched { .tox .tox-form__group--stretched {
display: flex; display: flex;
flex: 1; flex-grow: 1;
flex-direction: column; flex-direction: column;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
} }
.tox .tox-form__group--stretched .tox-textarea { .tox .tox-form__group--stretched .tox-textarea {
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
} }
.tox .tox-form__group--stretched .tox-navobj { .tox .tox-form__group--stretched .tox-navobj {
display: flex; display: flex;
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
} }
.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { .tox .tox-form__group--stretched .tox-navobj :nth-child(2) {
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
height: 100%; height: 100%;
} }
...@@ -1827,7 +1827,7 @@ body.tox-dialog__disable-scroll { ...@@ -1827,7 +1827,7 @@ body.tox-dialog__disable-scroll {
background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==);
} }
.tox .tox-image-tools__toolbar > .tox-spacer { .tox .tox-image-tools__toolbar > .tox-spacer {
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
} }
.tox .tox-croprect-block { .tox .tox-croprect-block {
...@@ -2356,7 +2356,7 @@ body.tox-dialog__disable-scroll { ...@@ -2356,7 +2356,7 @@ body.tox-dialog__disable-scroll {
.tox .tox-slider { .tox .tox-slider {
align-items: center; align-items: center;
display: flex; display: flex;
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
height: 24px; height: 24px;
justify-content: center; justify-content: center;
...@@ -2848,7 +2848,7 @@ body.tox-dialog__disable-scroll { ...@@ -2848,7 +2848,7 @@ body.tox-dialog__disable-scroll {
border: 1px solid #cccccc; border: 1px solid #cccccc;
border-radius: 3px; border-radius: 3px;
display: flex; display: flex;
flex: 1; flex-grow: 1;
position: relative; position: relative;
} }
/* stylelint-disable */ /* stylelint-disable */
...@@ -2868,12 +2868,12 @@ body.tox-dialog__disable-scroll { ...@@ -2868,12 +2868,12 @@ body.tox-dialog__disable-scroll {
} }
.tox .tox-dialog__content-js { .tox .tox-dialog__content-js {
display: flex; display: flex;
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
} }
.tox .tox-dialog__body-content .tox-collection { .tox .tox-dialog__body-content .tox-collection {
display: flex; display: flex;
flex: 1; flex-grow: 1;
-ms-flex-preferred-size: auto; -ms-flex-preferred-size: auto;
} }
.tox .tox-image-tools-edit-panel { .tox .tox-image-tools-edit-panel {
......
...@@ -229,7 +229,7 @@ ...@@ -229,7 +229,7 @@
background-color: #fff; background-color: #fff;
border-bottom: 1px solid #cccccc; border-bottom: 1px solid #cccccc;
display: flex; display: flex;
flex: 1; flex-grow: 1;
height: 2.5em; height: 2.5em;
width: 100%; width: 100%;
/* Make it no larger than the toolstrip, so that it needs to scroll */ /* Make it no larger than the toolstrip, so that it needs to scroll */
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
align-items: center; align-items: center;
display: flex; display: flex;
height: 100%; height: 100%;
flex: 1; flex-grow: 1;
} }
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-exit-container { .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-exit-container {
background: #f44336; background: #f44336;
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
align-items: center; align-items: center;
display: flex; display: flex;
height: 100%; height: 100%;
flex: 1; flex-grow: 1;
padding-bottom: 0.4em; padding-bottom: 0.4em;
padding-top: 0.4em; padding-top: 0.4em;
/* Make any buttons appearing on the left and right display in the centre (e.g. color edges) */ /* Make any buttons appearing on the left and right display in the centre (e.g. color edges) */
...@@ -371,7 +371,7 @@ ...@@ -371,7 +371,7 @@
} }
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider { .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider {
display: flex; display: flex;
flex: 1; flex-grow: 1;
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;
padding: 0.28em 0; padding: 0.28em 0;
...@@ -386,7 +386,7 @@ ...@@ -386,7 +386,7 @@
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container .tinymce-mobile-slider-size-line { .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container .tinymce-mobile-slider-size-line {
background: #cccccc; background: #cccccc;
display: flex; display: flex;
flex: 1; flex-grow: 1;
height: 0.2em; height: 0.2em;
margin-bottom: 0.3em; margin-bottom: 0.3em;
margin-top: 0.3em; margin-top: 0.3em;
...@@ -404,7 +404,7 @@ ...@@ -404,7 +404,7 @@
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container .tinymce-mobile-slider-gradient { .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container .tinymce-mobile-slider-gradient {
background: linear-gradient(to right, hsl(0, 100%, 50%) 0%, hsl(60, 100%, 50%) 17%, hsl(120, 100%, 50%) 33%, hsl(180, 100%, 50%) 50%, hsl(240, 100%, 50%) 67%, hsl(300, 100%, 50%) 83%, hsl(0, 100%, 50%) 100%); background: linear-gradient(to right, hsl(0, 100%, 50%) 0%, hsl(60, 100%, 50%) 17%, hsl(120, 100%, 50%) 33%, hsl(180, 100%, 50%) 50%, hsl(240, 100%, 50%) 67%, hsl(300, 100%, 50%) 83%, hsl(0, 100%, 50%) 100%);
display: flex; display: flex;
flex: 1; flex-grow: 1;
height: 0.2em; height: 0.2em;
margin-bottom: 0.3em; margin-bottom: 0.3em;
margin-top: 0.3em; margin-top: 0.3em;
...@@ -456,7 +456,7 @@ ...@@ -456,7 +456,7 @@
align-items: center; align-items: center;
display: flex; display: flex;
height: 100%; height: 100%;
flex: 1; flex-grow: 1;
} }
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper { .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper {
flex-direction: column; flex-direction: column;
......
...@@ -3,6 +3,29 @@ body { ...@@ -3,6 +3,29 @@ body {
font-family: $yahei; font-family: $yahei;
} }
@media (min-width: 1400px) {
.container {
max-width: 1320px;
}
.container-sm {
max-width: 1320px;
}
.container-md {
max-width: 1320px;
}
.container-lg {
max-width: 1320px;
}
.container-xl {
max-width: 1320px;
}
.container-xxl {
max-width: 1320px;
}
.container-fluid {
max-width: 100%;
}
}
// 查询表单 // 查询表单
.content-query { .content-query {
.el-form { .el-form {
......
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
.el-range-input { .el-range-input {
background: none; background: none;
color: $color; color: $color;
flex: 1; flex-grow: 1;
font-size: calcvw(14); font-size: calcvw(14);
&::placeholder { &::placeholder {
color: $placeholderColor; color: $placeholderColor;
......
...@@ -40,11 +40,10 @@ export default { ...@@ -40,11 +40,10 @@ export default {
const homeGetUrlRes = await this.$api.homeGetUrl(); const homeGetUrlRes = await this.$api.homeGetUrl();
const { returnCode, data } = homeGetUrlRes; const { returnCode, data } = homeGetUrlRes;
if (returnCode === "0") { if (returnCode === "0") {
console.log(homeGetUrlRes, 'homeGetUrlRes'); console.log(homeGetUrlRes, "homeGetUrlRes");
this.setUrl(data); this.setUrl(data);
} }
}, },
}, },
}; };
</script> </script>
...@@ -79,7 +79,7 @@ $dialog-border-radius: 20px; ...@@ -79,7 +79,7 @@ $dialog-border-radius: 20px;
border-radius: $dialog-border-radius $dialog-border-radius 0 0; border-radius: $dialog-border-radius $dialog-border-radius 0 0;
.el-dialog__title { .el-dialog__title {
flex: 1; flex-grow: 1;
font-size: 21px; font-size: 21px;
font-weight: bold; font-weight: bold;
color:#8A4E22; color:#8A4E22;
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
color: #454545; color: #454545;
cursor: pointer; cursor: pointer;
.list-left { .list-left {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -11,13 +11,8 @@ ...@@ -11,13 +11,8 @@
> >
<button <button
:class="['nav-link', { active: current === tmp.type }]" :class="['nav-link', { active: current === tmp.type }]"
:id="tmp.type + '-tab'" data-toggle="pill"
data-bs-toggle="tab" :href="`#${tmp.type}`"
:data-bs-target="'#' + tmp.type"
type="button"
role="tab"
:aria-controls="tmp.type"
aria-selected="true"
@click="jump(i)" @click="jump(i)"
> >
{{ tmp.name }} {{ tmp.name }}
...@@ -35,8 +30,6 @@ ...@@ -35,8 +30,6 @@
:key="i" :key="i"
:class="['tab-pane', 'fade', { 'show active': current === tmp.type }]" :class="['tab-pane', 'fade', { 'show active': current === tmp.type }]"
:id="tmp.type" :id="tmp.type"
role="tabpanel"
:aria-labelledby="tmp.type + '-tab'"
> >
<faqTable :list="tmp.data" @toTableFather="receiveTableFather" /> <faqTable :list="tmp.data" @toTableFather="receiveTableFather" />
<pages <pages
...@@ -227,6 +220,7 @@ export default { ...@@ -227,6 +220,7 @@ export default {
border: 0; border: 0;
color: #454545; color: #454545;
font-size: 15px; font-size: 15px;
background: none;
&.active, &.active,
&:hover { &:hover {
border-bottom: 3px solid #f26335; border-bottom: 3px solid #f26335;
......
...@@ -11,13 +11,8 @@ ...@@ -11,13 +11,8 @@
> >
<button <button
:class="['nav-link', { active: $route.query.type === tmp.type }]" :class="['nav-link', { active: $route.query.type === tmp.type }]"
:id="tmp.type + '-tab'" data-toggle="pill"
data-bs-toggle="tab" :href="`#${tmp.type}`"
:data-bs-target="'#' + tmp.type"
type="button"
role="tab"
:aria-controls="tmp.type"
aria-selected="true"
@click="jump(i)" @click="jump(i)"
> >
{{ tmp.name }} {{ tmp.name }}
...@@ -34,8 +29,6 @@ ...@@ -34,8 +29,6 @@
{ 'show active': $route.query.type === tmp.type }, { 'show active': $route.query.type === tmp.type },
]" ]"
:id="tmp.type" :id="tmp.type"
role="tabpanel"
:aria-labelledby="tmp.type + '-tab'"
> >
<list :list="tmp.data" @toListFather="receiveListChild" /> <list :list="tmp.data" @toListFather="receiveListChild" />
<pages :currPage="pageParams.currPage" :pageSize="pageParams.pageSize" :total="pageParams.total" @getLimit="receivePagesChild"/> <pages :currPage="pageParams.currPage" :pageSize="pageParams.pageSize" :total="pageParams.total" @getLimit="receivePagesChild"/>
...@@ -181,6 +174,7 @@ export default { ...@@ -181,6 +174,7 @@ export default {
border: 0; border: 0;
color: #454545; color: #454545;
font-size: 15px; font-size: 15px;
background: none;
&.active, &.active,
&:hover { &:hover {
border-bottom: 3px solid #f26335; border-bottom: 3px solid #f26335;
......
...@@ -21,13 +21,8 @@ ...@@ -21,13 +21,8 @@
> >
<button <button
:class="['nav-link', { active: i === 0 }]" :class="['nav-link', { active: i === 0 }]"
:id="tmp.id" data-toggle="pill"
data-bs-toggle="tab" :href="`#${tmp.id}`"
data-bs-target="#home"
type="button"
role="tab"
aria-controls="home"
aria-selected="true"
@click="handelTab(i)" @click="handelTab(i)"
> >
{{ tmp.name }} {{ tmp.name }}
...@@ -42,9 +37,7 @@ ...@@ -42,9 +37,7 @@
{ show: i === 0 }, { show: i === 0 },
{ active: i === 0 }, { active: i === 0 },
]" ]"
id="home" :id="tmp.id"
role="tabpanel"
:aria-labelledby="tmp.id"
v-for="(tmp, i) in tabs" v-for="(tmp, i) in tabs"
:key="i" :key="i"
> >
...@@ -232,6 +225,7 @@ export default { ...@@ -232,6 +225,7 @@ export default {
padding-left: 30px; padding-left: 30px;
padding-right: 30px; padding-right: 30px;
font-size: 15px; font-size: 15px;
background: none;
&.active, &.active,
&:hover { &:hover {
border-bottom: 3px solid #f26335; border-bottom: 3px solid #f26335;
......
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
transform: rotate(45deg); transform: rotate(45deg);
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
color: #454545; color: #454545;
cursor: pointer; cursor: pointer;
.list-left { .list-left {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
color: #454545; color: #454545;
cursor: pointer; cursor: pointer;
.list-left { .list-left {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
padding-left: 30px; padding-left: 30px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
} }
&:nth-child(3) { &:nth-child(3) {
width: 125px; width: 125px;
......
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
color: rgba(0, 121, 158, 1); color: rgba(0, 121, 158, 1);
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
cursor: pointer; cursor: pointer;
span { span {
&:nth-child(1) { &:nth-child(1) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
//justify-content: space-around; //justify-content: space-around;
li { li {
flex: 1; flex-grow: 1;
margin: 0 15px; margin: 0 15px;
padding: 15px 0; padding: 15px 0;
text-align: center; text-align: center;
......
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
padding: 20px 0; padding: 20px 0;
margin: 0; margin: 0;
.list-left { .list-left {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
cursor: pointer; cursor: pointer;
} }
......
<template> <template>
<div class="list"> <div class="list">
<div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg(tmp)"> <div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg(tmp)">
<div class="col-9 col-lg-10 list-left"> <div class="col-9 col-md-10 list-left">
<span></span> <span></span>
<span :title="tmp.title">{{ tmp.title }}</span> <span :title="tmp.title">{{ tmp.title }}</span>
</div> </div>
<div class="col-3 col-lg-2 list-right">{{ tmp.time }}</div> <div class="col-3 col-md-2 list-right">{{ tmp.time }}</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col"> <div class="col">
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
.list-left { .list-left {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
color: #414345; color: #414345;
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
.li { .li {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 14px; font-size: 14px;
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -128,6 +128,7 @@ export default { ...@@ -128,6 +128,7 @@ export default {
right: 19px; right: 19px;
top: 19px; top: 19px;
cursor: pointer; cursor: pointer;
z-index: 9;
} }
.container { .container {
padding: 0; padding: 0;
......
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
.li { .li {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 14px; font-size: 14px;
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
padding: 6.1px 0; padding: 6.1px 0;
margin: 0; margin: 0;
.li { .li {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -27,13 +27,8 @@ ...@@ -27,13 +27,8 @@
<li class="nav-item" role="presentation" @click="initListFn(1,'')"> <li class="nav-item" role="presentation" @click="initListFn(1,'')">
<button <button
class="nav-link active" class="nav-link active"
id="home-tab" href="#qbwt"
data-bs-toggle="tab" data-toggle="pill"
data-bs-target="#home"
type="button"
role="tab"
aria-controls="home"
aria-selected="true"
> >
<span>全部问题</span> <span>全部问题</span>
</button> </button>
...@@ -41,13 +36,8 @@ ...@@ -41,13 +36,8 @@
<li class="nav-item" role="presentation" @click="initListFn(1,'1')"> <li class="nav-item" role="presentation" @click="initListFn(1,'1')">
<button <button
class="nav-link" class="nav-link"
id="profile-tab" href="#bzky"
data-bs-toggle="tab" data-toggle="pill"
data-bs-target="#profile"
type="button"
role="tab"
aria-controls="profile"
aria-selected="false"
> >
<span>标准科研</span> <span>标准科研</span>
</button> </button>
...@@ -55,13 +45,8 @@ ...@@ -55,13 +45,8 @@
<li class="nav-item" role="presentation" @click="initListFn(1,'2')"> <li class="nav-item" role="presentation" @click="initListFn(1,'2')">
<button <button
class="nav-link" class="nav-link"
id="profile-tab" href="#zcfg"
data-bs-toggle="tab" data-toggle="pill"
data-bs-target="#profile"
type="button"
role="tab"
aria-controls="profile"
aria-selected="false"
> >
<span>政策法规</span> <span>政策法规</span>
</button> </button>
...@@ -69,13 +54,8 @@ ...@@ -69,13 +54,8 @@
<li class="nav-item" role="presentation" @click="initListFn(1,'3,31,32')"> <li class="nav-item" role="presentation" @click="initListFn(1,'3,31,32')">
<button <button
class="nav-link" class="nav-link"
id="profile-tab" href="#zxdt"
data-bs-toggle="tab" data-toggle="pill"
data-bs-target="#profile"
type="button"
role="tab"
aria-controls="profile"
aria-selected="false"
> >
<span>资讯动态</span> <span>资讯动态</span>
</button> </button>
...@@ -83,13 +63,8 @@ ...@@ -83,13 +63,8 @@
<li class="nav-item" role="presentation" @click="initListFn(1,'5')"> <li class="nav-item" role="presentation" @click="initListFn(1,'5')">
<button <button
class="nav-link" class="nav-link"
id="profile-tab" href="#yyly"
data-bs-toggle="tab" data-toggle="pill"
data-bs-target="#profile"
type="button"
role="tab"
aria-controls="profile"
aria-selected="false"
> >
<span>应用领域</span> <span>应用领域</span>
</button> </button>
...@@ -97,13 +72,8 @@ ...@@ -97,13 +72,8 @@
<li class="nav-item" role="presentation" @click="initListFn(1,'6')"> <li class="nav-item" role="presentation" @click="initListFn(1,'6')">
<button <button
class="nav-link" class="nav-link"
id="profile-tab" href="#jszs"
data-bs-toggle="tab" data-toggle="pill"
data-bs-target="#profile"
type="button"
role="tab"
aria-controls="profile"
aria-selected="false"
> >
<span>技术知识</span> <span>技术知识</span>
</button> </button>
...@@ -126,24 +96,7 @@ ...@@ -126,24 +96,7 @@
> >
</el-date-picker> --> </el-date-picker> -->
</div> </div>
<div class="tab-content" id="myTabContent">
<div
class="tab-pane fade show active"
id="home"
role="tabpanel"
aria-labelledby="home-tab"
>
</div>
<div
class="tab-pane fade"
id="profile"
role="tabpanel"
aria-labelledby="profile-tab"
>
</div>
</div>
<sousuoList :list="pageParams.list" /> <sousuoList :list="pageParams.list" />
<pages <pages
:currPage="pageParams.currPage" :currPage="pageParams.currPage"
...@@ -310,6 +263,7 @@ export default { ...@@ -310,6 +263,7 @@ export default {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
font-size: 15px; font-size: 15px;
background: none;
&.active, &.active,
&:hover { &:hover {
border-bottom: 4px solid #f26335; border-bottom: 4px solid #f26335;
......
...@@ -615,7 +615,7 @@ export default { ...@@ -615,7 +615,7 @@ export default {
} }
.value { .value {
flex: 1; flex-grow: 1;
padding-left: 10px; padding-left: 10px;
color: #414345; color: #414345;
overflow: hidden; overflow: hidden;
......
...@@ -306,7 +306,7 @@ export default { ...@@ -306,7 +306,7 @@ export default {
.gs-ac-st-table { .gs-ac-st-table {
width: 100%; width: 100%;
flex: 1; flex-grow: 1;
overflow: hidden; overflow: hidden;
} }
......
...@@ -214,7 +214,7 @@ export default { ...@@ -214,7 +214,7 @@ export default {
.gs-ac-st-table { .gs-ac-st-table {
width: 100%; width: 100%;
flex: 1; flex-grow: 1;
overflow: hidden; overflow: hidden;
} }
......
...@@ -215,7 +215,7 @@ export default { ...@@ -215,7 +215,7 @@ export default {
.gs-ac-st-table { .gs-ac-st-table {
width: 100%; width: 100%;
flex: 1; flex-grow: 1;
overflow: hidden; overflow: hidden;
} }
......
...@@ -235,7 +235,7 @@ export default { ...@@ -235,7 +235,7 @@ export default {
.gs-ac-st-table { .gs-ac-st-table {
width: 100%; width: 100%;
flex: 1; flex-grow: 1;
overflow: hidden; overflow: hidden;
} }
......
...@@ -75,7 +75,7 @@ $dialog-border-radius: 20px; ...@@ -75,7 +75,7 @@ $dialog-border-radius: 20px;
.el-dialog__title { .el-dialog__title {
flex: 1; flex-grow: 1;
font-size: 14px; font-size: 14px;
color:#fff!important; color:#fff!important;
line-height: 60px; line-height: 60px;
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
color: #454545; color: #454545;
cursor: pointer; cursor: pointer;
.list-left { .list-left {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
.list-left { .list-left {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
......
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
>div { >div {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
cursor: pointer; cursor: pointer;
a{ a{
......
...@@ -611,7 +611,7 @@ export default { ...@@ -611,7 +611,7 @@ export default {
@include ellipsis; @include ellipsis;
font-size: 14px; font-size: 14px;
color: #414345; color: #414345;
flex: 1; flex-grow: 1;
} }
} }
} }
......
...@@ -355,7 +355,7 @@ export default { ...@@ -355,7 +355,7 @@ export default {
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
> div { > div {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
...@@ -370,7 +370,7 @@ export default { ...@@ -370,7 +370,7 @@ export default {
width: 20px; width: 20px;
} }
&.name { &.name {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
cursor: pointer; cursor: pointer;
} }
......
...@@ -369,7 +369,7 @@ export default { ...@@ -369,7 +369,7 @@ export default {
margin: 0; margin: 0;
> div { > div {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
...@@ -384,7 +384,7 @@ export default { ...@@ -384,7 +384,7 @@ export default {
width: 20px; width: 20px;
} }
&.name { &.name {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
cursor: pointer; cursor: pointer;
} }
......
...@@ -31,12 +31,8 @@ ...@@ -31,12 +31,8 @@
<button <button
:class="['nav-link', { active: i === 0 }]" :class="['nav-link', { active: i === 0 }]"
:id="tmp.id" :id="tmp.id"
data-bs-toggle="tab" data-toggle="pill"
data-bs-target="#home" :href="`#${tmp.id}`"
type="button"
role="tab"
aria-controls="home"
aria-selected="true"
@click="handelTab(i)" @click="handelTab(i)"
> >
{{ tmp.name }} {{ tmp.name }}
...@@ -46,9 +42,7 @@ ...@@ -46,9 +42,7 @@
<div class="tab-content" id="myTabContent"> <div class="tab-content" id="myTabContent">
<div <div
:class="['tab-pane', 'fade', {'show': i===0}, {'active': i===0}]" :class="['tab-pane', 'fade', {'show': i===0}, {'active': i===0}]"
id="home" :id="tmp.id"
role="tabpanel"
:aria-labelledby="tmp.id"
v-for="(tmp, i) in tabs" v-for="(tmp, i) in tabs"
:key="i" :key="i"
> >
...@@ -323,7 +317,13 @@ export default { ...@@ -323,7 +317,13 @@ export default {
justify-content: center; justify-content: center;
} }
.alert-danger { .alert-danger {
@include alert-variant(#fef1ec, none, #f26335); // @include alert-variant(#fef1ec, none, #f26335);
background: #fef1ec;
border: none;
color: #F26335;
svg{
margin-right: 10px;
}
} }
.nav-tabs { .nav-tabs {
background: #ffffff; background: #ffffff;
...@@ -336,6 +336,7 @@ export default { ...@@ -336,6 +336,7 @@ export default {
padding-right: 30px; padding-right: 30px;
// font-family: PingFangSC-Regular, PingFang SC; // font-family: PingFangSC-Regular, PingFang SC;
font-size: 15px; font-size: 15px;
background: none;
&.active, &.active,
&:hover { &:hover {
border-bottom: 3px solid #f26335; border-bottom: 3px solid #f26335;
......
...@@ -9,13 +9,8 @@ ...@@ -9,13 +9,8 @@
> >
<button <button
:class="['nav-link', { active: i === 0 }]" :class="['nav-link', { active: i === 0 }]"
:id="tmp.id" data-toggle="pill"
data-bs-toggle="tab" :href="`#${tmp.id}`"
data-bs-target="#home"
type="button"
role="tab"
aria-controls="home"
aria-selected="true"
@click="handelTab(i)" @click="handelTab(i)"
> >
{{ tmp.name }} {{ tmp.name }}
...@@ -25,9 +20,7 @@ ...@@ -25,9 +20,7 @@
<div class="tab-content" id="myTabContent"> <div class="tab-content" id="myTabContent">
<div <div
:class="['tab-pane', 'fade', {'show': i===0}, {'active': i===0}]" :class="['tab-pane', 'fade', {'show': i===0}, {'active': i===0}]"
id="home" :id="tmp.id"
role="tabpanel"
:aria-labelledby="tmp.id"
v-for="(tmp, i) in tabs" v-for="(tmp, i) in tabs"
:key="i" :key="i"
> >
...@@ -542,9 +535,6 @@ export default { ...@@ -542,9 +535,6 @@ export default {
font-size: 14px; font-size: 14px;
justify-content: center; justify-content: center;
} }
.alert-danger {
@include alert-variant(#fef1ec, none, #f26335);
}
.nav-tabs { .nav-tabs {
background: #ffffff; background: #ffffff;
box-shadow: 0px 3px 10px 0px rgba(4, 64, 141, 0.1); box-shadow: 0px 3px 10px 0px rgba(4, 64, 141, 0.1);
...@@ -555,6 +545,7 @@ export default { ...@@ -555,6 +545,7 @@ export default {
padding-left: 30px; padding-left: 30px;
padding-right: 30px; padding-right: 30px;
font-size: 15px; font-size: 15px;
background: none;
&.active, &.active,
&:hover { &:hover {
border-bottom: 3px solid #f26335; border-bottom: 3px solid #f26335;
......
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
padding-left: 30px; padding-left: 30px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
} }
&:nth-child(3) { &:nth-child(3) {
width: 125px; width: 125px;
......
...@@ -163,7 +163,7 @@ export default { ...@@ -163,7 +163,7 @@ export default {
} }
.value { .value {
flex: 1; flex-grow: 1;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #414345; color: #414345;
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
color: #454545; color: #454545;
cursor: pointer; cursor: pointer;
.list-left { .list-left {
flex: 1; flex-grow: 1;
display: flex; display: flex;
align-items: center; align-items: center;
@include ellipsis; @include ellipsis;
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
margin-right: 10px; margin-right: 10px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex-grow: 1;
@include ellipsis; @include ellipsis;
} }
} }
......
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
flex: 1; flex-grow: 1;
padding: 20px 20px; padding: 20px 20px;
.title { .title {
......
...@@ -82,13 +82,13 @@ export default { ...@@ -82,13 +82,13 @@ export default {
} }
.body { .body {
flex: 1; flex-grow: 1;
max-width: 1500px; max-width: 1500px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.content { .content {
flex: 1; flex-grow: 1;
padding-top: 148px; padding-top: 148px;
text-align: center; text-align: center;
} }
......
...@@ -43,6 +43,8 @@ export default { ...@@ -43,6 +43,8 @@ export default {
.bread-crumb { .bread-crumb {
.breadcrumb { .breadcrumb {
margin: 20px 0; margin: 20px 0;
padding: 0;
background: transparent;
&-item { &-item {
font-size: 12px; font-size: 12px;
} }
......
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.cate-left{ .cate-left{
flex: 1; flex-grow: 1;
span{ span{
cursor: pointer; cursor: pointer;
} }
......
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.cate-left{ .cate-left{
flex: 1; flex-grow: 1;
text-align: center; text-align: center;
} }
} }
......
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