Browse Source

edit css

master
chutingting 1 year ago
parent
commit
5eb32e11c8
5 changed files with 13 additions and 3 deletions
  1. +3
    -0
      src/styles/index.scss
  2. +4
    -1
      src/views/aigc/index.vue
  3. +2
    -0
      src/views/home/index.vue
  4. +1
    -0
      src/views/information/index.vue
  5. +3
    -2
      src/views/metadaily/index.vue

+ 3
- 0
src/styles/index.scss View File

@@ -11,4 +11,7 @@ html {
-ms-overflow-style: none; /* IE 和 Edge */ -ms-overflow-style: none; /* IE 和 Edge */
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
overflow: scroll; /* 保持滚动功能 */ overflow: scroll; /* 保持滚动功能 */
}
img{
display: block;
} }

+ 4
- 1
src/views/aigc/index.vue View File

@@ -76,7 +76,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="gg">
<div class="gg gg2">
<img :src="gg2" alt=""> <img :src="gg2" alt="">
</div> </div>
</div> </div>
@@ -589,4 +589,7 @@ export default {
width: 100%; width: 100%;
} }
} }
.gg2{
margin-bottom: 200px;
}
</style> </style>

+ 2
- 0
src/views/home/index.vue View File

@@ -308,6 +308,8 @@ export default {
height: 28px; height: 28px;
margin-right: 10px; margin-right: 10px;
vertical-align: middle; vertical-align: middle;
float: left;
margin-top: 5px;
} }
} }
p { p {


+ 1
- 0
src/views/information/index.vue View File

@@ -457,6 +457,7 @@ export default {
} }
#wk { #wk {
padding-bottom: 200px;
.content { .content {
background-color: #FFFFFF; background-color: #FFFFFF;
display: flex; display: flex;


+ 3
- 2
src/views/metadaily/index.vue View File

@@ -84,7 +84,7 @@
</template> </template>
<script> <script>
// zixun // zixun
import { guanggao, lunboList, hotNewsConfig, shendu, hotnews } from '@/api/metadaily.js'
import { guanggao, lunboList, hotNewsConfig, shendu, zixun, hotnews } from '@/api/metadaily.js'
export default { export default {
name: 'metadaily', name: 'metadaily',
data () { data () {
@@ -203,7 +203,7 @@ export default {
}, },
async getzixun () { async getzixun () {
this.zixun = [] this.zixun = []
const { data: { message, data } } = await shendu(1, 10, this.informationitem)
const { data: { message, data } } = await zixun(1, 10, this.informationitem)
if (message === 'success') { if (message === 'success') {
for (const iter of data.list) { for (const iter of data.list) {
this.zixun.push({ this.zixun.push({
@@ -417,6 +417,7 @@ export default {
} }
} }
#wk { #wk {
padding-bottom: 200px;
.content { .content {
background-color: #FFFFFF; background-color: #FFFFFF;
} }


Loading…
Cancel
Save