Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
ty_patentSys
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanxiao
ty_patentSys
Commits
5363015f
Commit
5363015f
authored
Dec 28, 2023
by
heshihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 界面修改
parent
da39bb6a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
11 deletions
+12
-11
src/App.vue
+5
-3
src/main.js
+1
-2
src/views/screen/index.vue
+0
-0
vue.config.js
+6
-6
No files found.
src/App.vue
View file @
5363015f
...
@@ -5,11 +5,13 @@
...
@@ -5,11 +5,13 @@
</div>
</div>
<router-view/>
-->
<router-view/>
-->
<v-scale-screen
width=
"1920"
height=
"960"
>
<router-view
/>
<router-view
/>
</v-scale-screen>
</
template
>
</
template
>
<
script
>
export
default
{};
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
#app
{
#app
{
//
height
:
100%
;
//
height
:
100%
;
...
...
src/main.js
View file @
5363015f
...
@@ -5,6 +5,5 @@ import store from "./store";
...
@@ -5,6 +5,5 @@ import store from "./store";
import
Antd
from
"ant-design-vue"
;
import
Antd
from
"ant-design-vue"
;
// import "./utils/rem";
// import "./utils/rem";
import
"ant-design-vue/dist/antd.css"
;
import
"ant-design-vue/dist/antd.css"
;
import
VScaleScreen
from
"v-scale-screen"
;
createApp
(
App
).
use
(
store
).
use
(
Antd
).
use
(
router
).
use
(
VScaleScreen
).
mount
(
"#app"
);
createApp
(
App
).
use
(
store
).
use
(
Antd
).
use
(
router
).
mount
(
"#app"
);
src/views/screen/index.vue
View file @
5363015f
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
5363015f
...
@@ -3,13 +3,13 @@ function resolve(dir) {
...
@@ -3,13 +3,13 @@ function resolve(dir) {
return
path
.
join
(
__dirname
,
dir
);
return
path
.
join
(
__dirname
,
dir
);
}
}
// 引入等比适配插件
// 引入等比适配插件
const
px2rem
=
require
(
"postcss-px2rem"
);
//
const px2rem = require("postcss-px2rem");
// 配置基本大小
//
//
配置基本大小
const
postcss
=
px2rem
({
//
const postcss = px2rem({
// 基准大小 baseSize,需要和rem.js中相同
//
// 基准大小 baseSize,需要和rem.js中相同
remUnit
:
16
,
//
remUnit: 16,
});
//
});
module
.
exports
=
{
module
.
exports
=
{
devServer
:
{
devServer
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment