Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
vito committed Dec 30, 2019
1 parent 77824ae commit fa4a56f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@
### 导入相册

- 按照 抽奖号-照片的一对一导入,(可在现场将号码发出签到后,每发一个号码,导入一个照片)。抽奖结果将以照片形式展示。
- 照片格式支持`.jpg``.png`,照片大小不能超过 `150kb`,建议 `20-50kb`,建议尺寸为 `160*160px`

## 温馨提示

- 本抽奖程序无暗箱操作,无后台,无后门。
- 建议使用最新的 Chrome 浏览器打开体验最佳
- 名单和照片显示只需导入一种即可。
- 建议使用最新的 Chrome 浏览器打开体验最佳。

## License

Expand Down
5 changes: 4 additions & 1 deletion src/components/Importphoto.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -133,7 +136,7 @@ export default {
<style lang="scss">
.c-Importphoto {
.el-dialog {
height: 330px;
height: 380px;
}
label {
margin-right: 20px;
Expand Down

0 comments on commit fa4a56f

Please sign in to comment.