Skip to content

Commit 3d6f5ba

Browse files
committed
update:index.html
1 parent 422ae8a commit 3d6f5ba

File tree

1 file changed

+40
-23
lines changed

1 file changed

+40
-23
lines changed

templates/index.html

Lines changed: 40 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
margin: 1rem 0;
2727
font-size: 30px;
2828
font-weight: bold;
29+
border-radius: 20px;
2930
}
31+
32+
3033
</style>
3134
<script src="/static/asserts/vue.min.js"></script>
3235
<script src="/static/asserts/index.js"></script>
@@ -36,54 +39,57 @@
3639
<el-row v-if="pageNum === 0" class="qu" style="width:400px;margin: 6vh auto 0 auto">
3740
<el-card style="padding-bottom: 1rem">
3841
<el-col :span="24">
39-
<el-input autofocus @change="changeInput" clearable v-model:value="code" maxlength="5"
42+
<el-input round autofocus @change="changeInput" clearable v-model:value="code" maxlength="5"
4043
:disabled="inputDisable" placeholder="请输入五位取件码">
4144
</el-input>
4245
</el-col>
4346
<el-col :span=8>
44-
<el-button @click="listenInput('1')">1</el-button>
47+
<el-button round @click="listenInput('1')">1</el-button>
4548
</el-col>
4649
<el-col :span=8>
47-
<el-button @click="listenInput('2')">2</el-button>
50+
<el-button round @click="listenInput('2')">2</el-button>
4851
</el-col>
4952
<el-col :span=8>
50-
<el-button @click="listenInput('3')">3</el-button>
53+
<el-button round @click="listenInput('3')">3</el-button>
5154
</el-col>
5255
<el-col :span=8>
53-
<el-button @click="listenInput('4')">4</el-button>
56+
<el-button round @click="listenInput('4')">4</el-button>
5457
</el-col>
5558
<el-col :span=8>
56-
<el-button @click="listenInput('5')">5</el-button>
59+
<el-button round @click="listenInput('5')">5</el-button>
5760
</el-col>
5861
<el-col :span=8>
59-
<el-button @click="listenInput('6')">6</el-button>
62+
<el-button round @click="listenInput('6')">6</el-button>
6063
</el-col>
6164
<el-col :span=8>
62-
<el-button @click="listenInput('7')">7</el-button>
65+
<el-button round @click="listenInput('7')">7</el-button>
6366
</el-col>
6467
<el-col :span=8>
65-
<el-button @click="listenInput('8')">8</el-button>
68+
<el-button round @click="listenInput('8')">8</el-button>
6669
</el-col>
6770
<el-col :span=8>
68-
<el-button @click="listenInput('9')">9</el-button>
71+
<el-button round @click="listenInput('9')">9</el-button>
6972
</el-col>
7073
<el-col :span=8>
71-
<el-button type="primary" @click="pageNum=1"><div style="height: 10px" class="el-icon-upload2"></div></el-button>
74+
<el-button round @click="pageNum=1">
75+
<div style="height: 10px" class="el-icon-upload2"></div>
76+
</el-button>
7277
</el-col>
7378
<el-col :span=8>
74-
<el-button @click="listenInput('0')">0</el-button>
79+
<el-button round @click="listenInput('0')">0</el-button>
7580
</el-col>
7681
<el-col :span=8>
77-
<el-button type="primary" plain @click="quDrawer=true"><div class="el-icon-takeaway-box"></div></el-button>
82+
<el-button round @click="quDrawer=true">
83+
<div class="el-icon-takeaway-box"></div>
84+
</el-button>
7885
</el-col>
7986
</el-card>
8087
</el-row>
8188
<el-row v-else style="width:400px;margin: 20vh auto 0 auto">
8289
<el-col :span="24" style="margin: 1rem 0">
8390
<el-card>
84-
8591
<el-row>
86-
<el-input style="width: 200px" placeholder="数量" v-model="uploadData.value"
92+
<el-input style="width: 190px" placeholder="数量" v-model="uploadData.value"
8793
class="input-with-select">
8894
<el-select style="width: 75px" v-model="uploadData.style" slot="prepend" placeholder="请选择">
8995
<el-option label="天数" value="2"></el-option>
@@ -92,11 +98,13 @@
9298
<el-button v-if="uploadData.style === '1'" slot="append" disabled></el-button>
9399
<el-button v-else slot="append" disabled></el-button>
94100
</el-input>
95-
</el-row>
96-
<el-row>
97-
<el-radio-group v-model="uploadData.type">
98-
<el-radio label="1"><div class="el-icon-document-add"></div>文件</el-radio>
99-
<el-radio label="2"><div class="el-icon-document"></div>文本</el-radio>
101+
<el-radio-group style="margin-left: 18px" v-model="uploadData.type">
102+
<el-radio label="1">
103+
文件
104+
</el-radio>
105+
<el-radio label="2">
106+
文本
107+
</el-radio>
100108
</el-radio-group>
101109
</el-row>
102110

@@ -125,9 +133,18 @@
125133
v-model="uploadData.text">
126134
</el-input>
127135
<div class="el-upload__tip">
128-
<el-button @click="pageNum=0"><div class="el-icon-back"></div> 取件</el-button>
129-
<el-button @click="jiDrawer=true"><div class="el-icon-takeaway-box"></div> 我的文件</el-button>
130-
<el-button v-if="uploadData.type === '2'" @click="toUploadData"><div class="el-icon-upload2"></div> 存入</el-button>
136+
<el-button round @click="pageNum=0">
137+
<div class="el-icon-back"></div>
138+
取件
139+
</el-button>
140+
<el-button round @click="jiDrawer=true">
141+
<div class="el-icon-takeaway-box"></div>
142+
我的文件
143+
</el-button>
144+
<el-button round v-if="uploadData.type === '2'" @click="toUploadData">
145+
<div class="el-icon-upload2"></div>
146+
存入
147+
</el-button>
131148
</div>
132149
</el-card>
133150
</el-col>

0 commit comments

Comments
 (0)