Explorar el Código

修改样式

1
mo hace 2 años
padre
commit
221edf40c8

+ 1 - 1
src/school/attendance/components/attend-student.tsx

@@ -234,7 +234,7 @@ export default defineComponent({
             </List>
           </OFullRefresh>
         ) : (
-          <OEmpty></OEmpty>
+          <OEmpty tips="暂无考勤"></OEmpty>
         )}
 
         <Popup v-model:show={state.showPopoverTime} position="bottom" style="{ height: '30%' }">

+ 1 - 1
src/school/attendance/components/attend-teacher.tsx

@@ -232,7 +232,7 @@ export default defineComponent({
             </List>
           </OFullRefresh>
         ) : (
-          <OEmpty />
+          <OEmpty tips="暂无考勤" />
         )}
 
         <Popup v-model:show={state.showPopoverTime} position="bottom" style="{ height: '30%' }">

+ 1 - 0
src/school/school-detail/eidt-school.tsx

@@ -202,6 +202,7 @@ export default defineComponent({
                 label-align="top"
                 maxlength={50}
                 placeholder="请选择学校地址"
+                type="textarea"
                 disabled
                 onClick={() => setAddress()}
               >

+ 1 - 1
src/school/school-detail/index.tsx

@@ -125,7 +125,7 @@ export default defineComponent({
               </p>
             </div>
           </div>
-          <div class={styles.teacherList}>
+          <div class={[styles.teacherList]}>
             <h2 class={styles.teacherTitle}>
               <div class={styles.dot}></div>
               <p>伴学指导</p>

+ 4 - 0
src/styles/index.less

@@ -259,3 +259,7 @@ body {
     align-items: center;
   }
 }
+
+input {
+  caret-color: #ff8057;
+}

+ 1 - 1
src/views/exercise-record/exercis-detail.module.less

@@ -127,7 +127,7 @@
   padding: 0 25px 30px;
   p {
     font-size: 16px;
-    line-height: 22px;
+    line-height: 30px;
     color: #333;
   }
 }

+ 1 - 1
src/views/exercise-record/exercis-detail.tsx

@@ -267,7 +267,7 @@ export default defineComponent({
               </List>
             </OFullRefresh>
           ) : (
-            <OEmpty />
+            <OEmpty tips="暂无测评" />
           )}
         </div>
 

+ 21 - 1
src/views/exercise-record/index.tsx

@@ -14,7 +14,8 @@ import {
   List,
   PullRefresh,
   ActionSheet,
-  showToast
+  showToast,
+  Picker
 } from 'vant'
 import OFullRefresh from '@/components/o-full-refresh'
 
@@ -134,6 +135,9 @@ export default defineComponent({
       getList()
     }
     const checkOrchestra = (val: any) => {
+      console.log(val)
+      console.log('🚀 ~ file: index.tsx:146 ~ checkOrchestra ~ state.actions', state.actions)
+
       forms.orchestraId = val.value
       forms.orchestraName = val.name
       state.showPopoverOrchestra = false
@@ -141,6 +145,10 @@ export default defineComponent({
       getList()
     }
 
+    const changeOrchestra = (val: any) => {
+      console.log('changeOrchestra', val)
+    }
+
     const checkSubject = (val: any) => {
       forms.subjectId = val.value
       forms.subjectName = val.name
@@ -324,6 +332,18 @@ export default defineComponent({
           actions={state.actions}
           onSelect={checkOrchestra}
         ></ActionSheet>
+        {/* <Popup v-model:show={state.showPopoverOrchestra} position="bottom" round>
+          <Picker
+            columns={state.actions}
+            onCancel={() => (state.showPopoverOrchestra = false)}
+            onConfirm={(val: any) => checkOrchestra(val)}
+            onChange={(val: any) => {
+              console.log('改变')
+              changeOrchestra(val)
+            }}
+            columnsFieldNames={{ text: 'name', value: 'id' }}
+          />
+        </Popup> */}
 
         <ActionSheet
           style={{ height: '40%' }}