WINDOWS-7IFQK7E\EDY il y a 2 ans
Parent
commit
d42f787a74
3 fichiers modifiés avec 24 ajouts et 23 suppressions
  1. 8 6
      src/components.d.ts
  2. 10 11
      src/pages/stxkbzr/index.vue
  3. 6 6
      src/store/user.js

+ 8 - 6
src/components.d.ts

@@ -11,20 +11,22 @@ declare module '@vue/runtime-core' {
     RemoteList: typeof import('./components/RemoteList/index.vue')['default']
     RouterLink: typeof import('vue-router')['RouterLink']
     RouterView: typeof import('vue-router')['RouterView']
+    VanButton: typeof import('vant/es')['Button']
     VanCard: typeof import('vant/es')['Card']
+    VanCheckbox: typeof import('vant/es')['Checkbox']
+    VanCheckboxGroup: typeof import('vant/es')['CheckboxGroup']
     VanConfigProvider: typeof import('vant/es')['ConfigProvider']
-    VanCountDown: typeof import('vant/es')['CountDown']
-    VanDivider: typeof import('vant/es')['Divider']
+    VanField: typeof import('vant/es')['Field']
+    VanForm: typeof import('vant/es')['Form']
     VanGrid: typeof import('vant/es')['Grid']
     VanGridItem: typeof import('vant/es')['GridItem']
     VanIcon: typeof import('vant/es')['Icon']
-    VanImage: typeof import('vant/es')['Image']
     VanList: typeof import('vant/es')['List']
     VanNavBar: typeof import('vant/es')['NavBar']
+    VanOverlay: typeof import('vant/es')['Overlay']
     VanPullRefresh: typeof import('vant/es')['PullRefresh']
-    VanSkeleton: typeof import('vant/es')['Skeleton']
-    VanSticky: typeof import('vant/es')['Sticky']
-    VanSubmitBar: typeof import('vant/es')['SubmitBar']
+    VanRadio: typeof import('vant/es')['Radio']
+    VanRadioGroup: typeof import('vant/es')['RadioGroup']
     VanSwipe: typeof import('vant/es')['Swipe']
     VanSwipeItem: typeof import('vant/es')['SwipeItem']
     VanTab: typeof import('vant/es')['Tab']

+ 10 - 11
src/pages/stxkbzr/index.vue

@@ -27,10 +27,9 @@
 
     <div class="class-number" v-show="state.showIndex === index" v-for="(week, index) in classWeek" :key="week">
       <p>课程数量({{ week?.course?.length ?? 0 }})</p>
-      <p>
-        今日本班学生到校:
-        <span style="color: #003eee">{{ week.dmxx.xsqd }}</span>/{{ week.dmxx.xszs }}
-        <span @click="(toSignUp = true)">预点名</span>
+      <p class="flex justify-between">
+            <div>  今日本班学生到校: <span style="color: #003eee">{{ week.dmxx.xsqd }}</span>/{{ week.dmxx.xszs }}</div>
+      <div class="ydmBtn">  <span @click="(toSignUp = true)">预点名</span></div>
       </p>
       <div class="class-list" v-for="(c,i) in week.course" :key="i">
         <div class="class-left"></div>
@@ -414,20 +413,20 @@ export default {
     font-family: SimHei;
     text-align: left;
     color: #000000;
-    //   margin-bottom: 0.2 * 13.3vw;
+     margin-bottom: 0.2 * 13.3vw;
   }
   p:last-of-type {
     margin-left: 0.325 * 13.3vw;
     width: 95%;
-    height: 0.37 * 13.3vw;
+    height: 0.48 * 13.3vw;
     font-size: 0.28 * 13.3vw;
     font-family: AdobeHeitiStd-Regular;
     text-align: left;
     color: #a0a0a0;
-    line-height: 0.35 * 13.3vw;
-
-    & > span:last-of-type {
-      display: inline-block;
+    line-height: 0.48 * 13.3vw;
+    padding-right: 0.325 * 13.3vw;
+    .ydmBtn{
+     // display: inline-block;
       width: 1.3 * 13.3vw;
       height: 0.48 * 13.3vw;
       line-height: 0.48 * 13.3vw;
@@ -438,7 +437,7 @@ export default {
       font-weight: 400;
       text-align: center;
       color: #ffffff;
-      margin-left: 2.2 * 13.3vw;
+     // margin-left: 2.2 * 13.3vw;
     }
   }
 

Fichier diff supprimé car celui-ci est trop grand
+ 6 - 6
src/store/user.js