Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
公瑾
/
lucky-draw
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fa4a56f6
authored
2019-12-30 21:45:25 +0800
by
vito
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
README
1 parent
77824aef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
README.md
src/components/Importphoto.vue
README.md
View file @
fa4a56f
...
...
@@ -29,11 +29,13 @@
### 导入相册
-
按照 抽奖号-照片的一对一导入,(可在现场将号码发出签到后,每发一个号码,导入一个照片)。抽奖结果将以照片形式展示。
-
照片格式支持
`.jpg`
和
`.png`
,照片大小不能超过
`150kb`
,建议
`20-50kb`
,建议尺寸为
`160*160px`
## 温馨提示
-
本抽奖程序无暗箱操作,无后台,无后门。
-
建议使用最新的 Chrome 浏览器打开体验最佳
-
名单和照片显示只需导入一种即可。
-
建议使用最新的 Chrome 浏览器打开体验最佳。
## License
...
...
src/components/Importphoto.vue
View file @
fa4a56f
...
...
@@ -34,6 +34,9 @@
<img
v-if=
"value"
:src=
"value"
alt=
"img"
:width=
"140"
:height=
"140"
/>
<span
v-else
>
暂未选择
</span>
</el-row>
<el-row>
支持jpg和png,照片大小不能超过150kb,建议20-50kb,建议尺寸为160*160px
</el-row>
<el-row
class=
"center"
>
<el-button
size=
"mini"
type=
"primary"
@
click=
"saveHandler"
>
保存
</el-button
...
...
@@ -133,7 +136,7 @@ export default {
<
style
lang=
"scss"
>
.c-Importphoto
{
.el-dialog
{
height
:
3
3
0px
;
height
:
3
8
0px
;
}
label
{
margin-right
:
20px
;
...
...
Please
register
or
sign in
to post a comment