Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
米司特包
wails-template-vue
提交
decf6390
W
wails-template-vue
项目概览
米司特包
/
wails-template-vue
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
wails-template-vue
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
decf6390
编写于
9月 09, 2021
作者:
米司特包
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: switch the css preprocessor from stylus to sass
上级
68b6a2b0
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
297 addition
and
400 deletion
+297
-400
frontend/package-lock.tmpl.json
frontend/package-lock.tmpl.json
+226
-333
frontend/package.tmpl.json
frontend/package.tmpl.json
+4
-4
frontend/src/App.vue
frontend/src/App.vue
+15
-13
frontend/src/components/public/OpenLink.vue
frontend/src/components/public/OpenLink.vue
+4
-4
frontend/src/views/About.vue
frontend/src/views/About.vue
+19
-20
frontend/src/views/Home.vue
frontend/src/views/Home.vue
+29
-26
未找到文件。
frontend/package-lock.tmpl.json
浏览文件 @
decf6390
此差异已折叠。
点击以展开。
frontend/package.tmpl.json
浏览文件 @
decf6390
{
"name"
:
"{{.ProjectName}}"
,
"version"
:
"
1.0.0
"
,
"version"
:
"
0.0.1
"
,
"private"
:
true
,
"scripts"
:
{
"dev"
:
"vue-cli-service serve"
,
...
...
@@ -16,8 +16,8 @@
"@vue/cli-plugin-router"
:
"~4.5.0"
,
"@vue/cli-service"
:
"~4.5.0"
,
"@vue/compiler-sfc"
:
"^3.0.0"
,
"s
erve"
:
"^12.0.0
"
,
"s
tylus"
:
"^0.54.7
"
,
"s
tylus-loader"
:
"^3.0.2
"
"s
ass"
:
"^1.26.5
"
,
"s
ass-loader"
:
"^8.0.2
"
,
"s
erve"
:
"^12.0.0
"
}
}
frontend/src/App.vue
浏览文件 @
decf6390
...
...
@@ -84,21 +84,23 @@ export default {
}
</
script
>
<
style
lang=
"s
tylu
s"
>
<
style
lang=
"s
cs
s"
>
@import
url("./assets/css/reset.css")
;
html
,
body
{
width
:
100%
;
height
:
100%
;
margin
0
padding
0
margin
:
0
;
padding
:
0
;
}
#app
{
position
:
relative
;
// width: 900px;
// height: 520px;
width
100%
height
100%
width
:
100%
;
height
:
100%
;
background-color
:
#dbbcef
;
}
.header
{
...
...
@@ -116,7 +118,7 @@ body {
min-width
:
50px
;
height
:
30px
;
line-height
:
30px
;
padding
0 5px
padding
:
0
5px
;
margin-right
:
8px
;
background-color
:
#ab7edc
;
border-radius
:
2px
;
...
...
@@ -124,7 +126,7 @@ body {
text-decoration
:
none
;
color
:
#000000
;
font-size
:
14px
;
white-space
nowrap
white-space
:
nowrap
;
&
:hover
,
&
.router-link-exact-active
{
background-color
:
#d7a8d8
;
...
...
@@ -148,13 +150,13 @@ body {
min-width
:
50px
;
height
:
30px
;
line-height
:
30px
;
padding
0 5px
padding
:
0
5px
;
background-color
:
transparent
;
text-align
:
center
;
text-decoration
:
none
;
color
:
#000000
;
font-size
:
14px
;
&:hover{
&
:hover
{
background-color
:
#ff0505
42
;
cursor
:
pointer
;
}
...
...
@@ -170,14 +172,14 @@ body {
flex-direction
:
row
;
flex-wrap
:
nowrap
;
align-items
:
center
;
justify-content
flex-end
min-width
150px
justify-content
:
flex-end
;
min-width
:
150px
;
.bar-btn
{
display
:
inline-block
;
min-width
:
50px
;
height
:
30px
;
line-height
:
30px
;
padding
0 5px
padding
:
0
5px
;
margin-left
:
8px
;
background-color
:
#ab7edc
;
border-radius
:
2px
;
...
...
@@ -201,6 +203,6 @@ body {
left
:
0
;
right
:
0
;
bottom
:
0
;
overflow
hidden
overflow
:
hidden
;
}
</
style
>
frontend/src/components/public/OpenLink.vue
浏览文件 @
decf6390
...
...
@@ -28,9 +28,9 @@ export default {
};
</
script
>
<
style
lang=
"s
tylu
s"
>
.openlink{
cursor
pointer
text-decoration
underline
<
style
lang=
"s
cs
s"
>
.openlink
{
cursor
:
pointer
;
text-decoration
:
underline
;
}
</
style
>
frontend/src/views/About.vue
浏览文件 @
decf6390
...
...
@@ -29,32 +29,31 @@
<div
class=
"thank"
>
{{
$t
(
'
aboutpage.thanks
'
)
}}
</div>
</div>
</
template
>
<
style
lang=
"s
tylu
s"
>
.about{
.title{
margin
30px auto
font-size
36px
color
#a150b5
text-align
center
<
style
lang=
"s
cs
s"
>
.about
{
.title
{
margin
:
30px
auto
;
font-size
:
36px
;
color
:
#a150b5
;
text-align
:
center
;
}
.info{
margin
14px 60px
.info
{
margin
:
14px
60px
;
// background-color red
font-size 24px
.info-item{
height 60px
line-height 60px
white-space nowrap
.name{
color #6d6363
font-size
:
24px
;
.info-item
{
height
:
60px
;
line-height
:
60px
;
white-space
:
nowrap
;
.name
{
color
:
#6d6363
;
}
.link{
color
#5f6c86
.link
{
color
:
#5f6c86
;
}
}
}
.thank{
.thank
{
height
:
68px
;
line-height
:
68px
;
margin
:
47px
auto
;
...
...
frontend/src/views/Home.vue
浏览文件 @
decf6390
...
...
@@ -6,7 +6,10 @@
<!-- Bottom button -->
<!-- 底部按钮 -->
<div
class=
"link"
>
<OpenLink
href=
"https://beta.wails.io"
class=
"btn start"
>
{{
$t
(
'
homepage.getting-started
'
)
}}
</OpenLink>
<OpenLink
href=
"https://github.com/wailsapp/wails#nav-6"
class=
"btn start"
>
{{
$t
(
'
homepage.getting-started
'
)
}}
</OpenLink>
<OpenLink
href=
"https://github.com/misitebao/wails-template-vue"
class=
"btn star"
...
...
@@ -29,22 +32,22 @@ export default {
},
};
</
script
>
<
style
lang=
"s
tylu
s"
>
.home{
.logo{
display
block
width
620px
height
280px
margin
30px auto 10px
<
style
lang=
"s
cs
s"
>
.home
{
.logo
{
display
:
block
;
width
:
620px
;
height
:
280px
;
margin
:
30px
auto
10px
;
}
.link{
display
flex
flex-direction
row
flex-wrap
nowrap
align-items
center
justify-content
center
margin
24px auto
.btn{
.link
{
display
:
flex
;
flex-direction
:
row
;
flex-wrap
:
nowrap
;
align-items
:
center
;
justify-content
:
center
;
margin
:
24px
auto
;
.btn
{
display
:
block
;
width
:
150px
;
height
:
50px
;
...
...
@@ -57,18 +60,18 @@ export default {
white-space
:
nowrap
;
text-decoration
:
none
;
cursor
:
pointer
;
&.start{
background-color
#fd0404
color
#ffffff
&:hover{
background-color
#ec2e2e
&
.start
{
background-color
:
#fd0404
;
color
:
#ffffff
;
&
:hover
{
background-color
:
#ec2e2e
;
}
}
&.star{
background-color
#ffffff
color
#fd0404
&:hover{
background-color
#f3f3f3
&
.star
{
background-color
:
#ffffff
;
color
:
#fd0404
;
&
:hover
{
background-color
:
#f3f3f3
;
}
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录