lex %!s(int64=2) %!d(string=hai) anos
pai
achega
c1199de899

+ 11 - 2
src/components/col-video/index.tsx

@@ -2,7 +2,7 @@ import { defineComponent, PropType } from 'vue'
 import styles from './index.module.less'
 import Plyr from 'plyr'
 import 'plyr/dist/plyr.css'
-import { Button, Icon } from 'vant'
+import { Button, Icon, Loading } from 'vant'
 
 import iconVideoPlay from '@/common/images/icon_video_play.png'
 import { browser } from '@/helpers/utils'
@@ -250,7 +250,16 @@ export default defineComponent({
             style={{
               height: this.height || '210px'
             }}
-          ></div>
+          >
+            <Loading
+              size={36}
+              color="#2dc7aa"
+              vertical
+              style={{ height: '100%', justifyContent: 'center' }}
+            >
+              加载中...
+            </Loading>
+          </div>
         )}
         {/* 试看结束 */}
         {this.trySee && this.computedSeeStatus && !this.loading && (

+ 10 - 8
src/student/teacher-dependent/components/single.tsx

@@ -86,14 +86,16 @@ export default defineComponent({
     const userInfo = this.userInfo
     return (
       <div class={styles.single}>
-        <SectionDetail
-          icon="personal"
-          title="个人介绍"
-          size={24}
-          border={false}
-        >
-          <p class={styles.introduction}>{userInfo.introduction}</p>
-        </SectionDetail>
+        {userInfo.introduction && (
+          <SectionDetail
+            icon="personal"
+            title="个人介绍"
+            size={24}
+            border={false}
+          >
+            <p class={styles.introduction}>{userInfo.introduction}</p>
+          </SectionDetail>
+        )}
 
         {userInfo.styleVideo && userInfo.styleVideo.length > 0 && (
           <SectionDetail