|
@@ -26,7 +26,7 @@
|
|
|
<div class="flex items-center w-full mt-2">
|
|
|
<span>姓名</span>
|
|
|
<input
|
|
|
- class="pl-2 py-2 ml-2 w-7/9"
|
|
|
+ class="pl-2 py-2 ml-2 w-70vw"
|
|
|
style="border: 1px solid #f2f2f2; border-radius: 5px"
|
|
|
v-model="g.student_realname"
|
|
|
label="姓名"
|
|
@@ -36,10 +36,10 @@
|
|
|
<div class="flex items-center w-full mt-2">
|
|
|
<span>年级</span>
|
|
|
<select
|
|
|
- class="w-7/9 bg-light-100 py-3 pl-2 ml-2 border_gray"
|
|
|
+ class="w-70vw bg-light-100 py-3 pl-2 ml-2 border_gray"
|
|
|
v-model="g.gradenum"
|
|
|
>
|
|
|
- <option value="" label="年级" disabled class="text-gray-500">
|
|
|
+ <option value="" label="年级" disabled class="text-gray-500 w-70vw">
|
|
|
年级
|
|
|
</option>
|
|
|
<option
|
|
@@ -55,11 +55,11 @@
|
|
|
<div class="flex items-center w-full mt-2">
|
|
|
<span>班级</span>
|
|
|
<select
|
|
|
- class="w-7/9 bg-light-100 py-3 pl-2 ml-2 border_gray"
|
|
|
+ class="w-70vw bg-light-100 py-3 pl-2 ml-2 border_gray"
|
|
|
v-model="g.classnum"
|
|
|
>
|
|
|
- <option class="w-full" value="" label="班级" disabled>班级</option>
|
|
|
- <option v-for="b in 30" :key="b" :value="b" :label="b + '班'">
|
|
|
+ <option class="w-70vw" value="" label="班级" disabled>班级</option>
|
|
|
+ <option class="w-70vw" v-for="b in 30" :key="b" :value="b" :label="b + '班'">
|
|
|
{{ b }}班
|
|
|
</option>
|
|
|
</select>
|
|
@@ -67,11 +67,11 @@
|
|
|
<div class="flex items-center w-full my-2">
|
|
|
<span>关系</span>
|
|
|
<select
|
|
|
- class="w-7/9 bg-light-100 py-3 pl-2 ml-2 border_gray"
|
|
|
+ class="w-70vw bg-light-100 py-3 pl-2 ml-2 border_gray"
|
|
|
v-model="g.relation"
|
|
|
>
|
|
|
- <option class="w-full" value="" label="关系" disabled>关系</option>
|
|
|
- <option class="w-full" v-for="(b,i) in relationList" :key="i" :value="b" :label="b">
|
|
|
+ <option class="w-70vw" value="" label="关系" disabled>关系</option>
|
|
|
+ <option class="w-70vw" v-for="(b,i) in relationList" :key="i" :value="b" :label="b">
|
|
|
{{ b }}
|
|
|
</option>
|
|
|
</select>
|
|
@@ -247,4 +247,11 @@ function handleBack() {
|
|
|
background-color: #000000;
|
|
|
opacity: 0.3;
|
|
|
}
|
|
|
+select{
|
|
|
+ appearance:none;
|
|
|
+ -moz-appearance:none;
|
|
|
+ -webkit-appearance:none;
|
|
|
+ outline: none;
|
|
|
+}
|
|
|
+select::-ms-expand { display: none; }
|
|
|
</style>
|