Commit d484bacb by fanx

修改根尺寸

1 parent 3050d4ce
......@@ -9,7 +9,7 @@ module.exports = ({ file }) => {
if (file && file.dirname && file.dirname.indexOf('vant') > -1) {
rootValue = 37.5
} else {
rootValue = 82.8 //75
rootValue = 41.4 //75
}
return {
plugins: [
......
......@@ -3,5 +3,5 @@
.icon-bg-mine { width: 828px; height: 340px; background-position: 0px -432px; }
.icon-bg-navigation { width: 828px; height: 176px; background-position: -848px -206px; }
.icon-bg-search { width: 828px; height: 186px; background-position: -848px 0px; }
.icon-logo { width: 200px; height: 200px; background-position: -848px -402px; }
.icon-user-question { width: 32px; height: 36px; background-position: -1068px -402px; }
\ No newline at end of file
.icon-logo { width: 224px; height: 224px; background-position: -848px -402px; }
.icon-user-question { width: 32px; height: 36px; background-position: -1092px -402px; }
\ No newline at end of file

6.69 KB | W: | H:

28.7 KB | W: | H:

src/assets/icon/logo.png
src/assets/icon/logo.png
src/assets/icon/logo.png
src/assets/icon/logo.png
  • 2-up
  • Swipe
  • Onion skin

268 KB | W: | H:

302 KB | W: | H:

src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -146,7 +146,7 @@ section {
display: flex;
align-items: center;
justify-content: center;
font-size: 36px;
font-size: 18px;
z-index: -1;
}
.nav_right {
......
<template>
<div class="user_container">
<!-- 右侧插槽 -->
<div class="logo">
<img :src="require('@/assets/icon/logo.png')" alt="">
</div>
<!-- 顶部插槽 -->
<div class="user_navigation" v-if="$slots.top" slot="top">
<slot name="top" />
</div>
......@@ -16,5 +20,15 @@ export default {
background-image: url(../assets/icon/bg_login.png);
background-repeat: no-repeat;
background-size: 100%;
height: 450px;
}
.logo {
display: flex;
justify-content: center;
img {
margin-top: 280px;
width: 224px;
height: 224px;
}
}
</style>
\ No newline at end of file
......@@ -3,33 +3,6 @@
* import utils from "@/utils";
*/
/**
* table滚动
*/
const tableScroll = (columns, y) => {
let _y = (typeof y == "string" || typeof y == 'number') ? y : document.body.clientHeight - y.getBoundingClientRect().top - 150;
let opt = {
x: (typeof columns == "string" || typeof columns == 'number') ? columns : columns.reduce((c, n) => {
let cn = typeof c == "number" ? c : parseInt(c['width'] || 300);
let nn = parseInt(n['width'] || 300);
return cn + nn;
}),
y: Math.max(_y, 300)
}
// console.log(opt);
return opt
}
// table 表格各项配置
const tableConfig = {
align: 'center', // 表格内容排列方式
ellipsis: true, // 表格内容超出宽度,省略显示
}
// 封装接口返回数据
const handlePromise = (promise) => {
return promise.then(res => {
......@@ -40,7 +13,5 @@ const handlePromise = (promise) => {
}
export {
tableScroll,
tableConfig,
handlePromise
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!