Browse Source

去掉星级

lex-xin 1 day ago
parent
commit
742af1209f

+ 2 - 2
src/student/practice-class/practice-item.tsx

@@ -63,7 +63,7 @@ export default defineComponent({
                       index <= 1 && <span class={styles.subject}>{item}</span>
                   )} */}
                 </p>
-                {this.starGrade ? (
+                {/* {this.starGrade ? (
                   <Rate
                     readonly
                     modelValue={this.starGrade}
@@ -77,7 +77,7 @@ export default defineComponent({
                   <span style={{ fontSize: '12px', color: '#999999' }}>
                     暂无评分
                   </span>
-                )}
+                )} */}
               </div>
 
               <div class={styles.piContent}>

+ 2 - 2
src/student/teacher-dependent/model/teacher-header.tsx

@@ -186,7 +186,7 @@ export default defineComponent({
                     {this.userInfo.username ||
                       `游客${this.userInfo.userId || ''}`}
                   </div>
-                  <div class={styles.teacherHonor}>
+                  {/* <div class={styles.teacherHonor}>
                     <div class={styles.level}>
                       {this.starGrade ? (
                         <Rate
@@ -202,7 +202,7 @@ export default defineComponent({
                         ''
                       )}
                     </div>
-                  </div>
+                  </div> */}
                 </div>
                 <div class={styles['teacher-bottom']}>
                   <img src={getAssetsHomeFile('icon-cert.png')} class={styles.iconCert} />

+ 3 - 37
src/student/teacher-dependent/teacher-follow.tsx

@@ -259,42 +259,8 @@ export default defineComponent({
                     </div>
                   </div>
                 </div>
-                <div class={styles.teacherHonor}>
-                  {/* <div>勋章:</div>
-                  <div class={styles.teacherIcons}>
-                    <Image
-                      class={styles.iconOther}
-                      src={
-                        this.checkBadge('STYLE', item.teacher)
-                          ? getAssetsHomeFile('cert_active.png')
-                          : getAssetsHomeFile('cert_default.png')
-                      }
-                    />
-                    <Image
-                      class={styles.iconOther}
-                      src={
-                        this.checkBadge('VIDEO', item.teacher)
-                          ? getAssetsHomeFile('video_active.png')
-                          : getAssetsHomeFile('video_default.png')
-                      }
-                    />
-                    <Image
-                      class={styles.iconOther}
-                      src={
-                        this.checkBadge('LIVE', item.teacher)
-                          ? getAssetsHomeFile('live_active.png')
-                          : getAssetsHomeFile('live_default.png')
-                      }
-                    />
-                    <Image
-                      class={styles.iconOther}
-                      src={
-                        this.checkBadge('MUSIC', item.teacher)
-                          ? getAssetsHomeFile('music_active.png')
-                          : getAssetsHomeFile('music_default.png')
-                      }
-                    />
-                  </div> */}
+                {/* <div class={styles.teacherHonor}>
+                  
                   <div class={styles.score}>评分: </div>
                   <div class={styles.level}>
                     {item.starGrade ? (
@@ -313,7 +279,7 @@ export default defineComponent({
                       </span>
                     )}
                   </div>
-                </div>
+                </div> */}
                 <div class={[styles['teacher-bottom'], styles.followFans]}>
                   <div class={styles['teacher-data']}>
                     <div class={styles['teacher-data_item']}>

+ 2 - 2
src/teacher/open-live/index.tsx

@@ -129,7 +129,7 @@ export default defineComponent({
                     <Image class={styles.cert} src={musicCert} fit="contain" />
                   )} */}
                 </div>
-                <div class={styles.level}>
+                {/* <div class={styles.level}>
                   {this.users?.starGrade ? (
                     <Rate
                       modelValue={this.users?.starGrade}
@@ -144,7 +144,7 @@ export default defineComponent({
                       暂无评分
                     </span>
                   )}
-                </div>
+                </div> */}
               </div>
             </Cell>
 

+ 2 - 2
src/teacher/teacher-dependent/model/teacher-header.tsx

@@ -196,7 +196,7 @@ export default defineComponent({
                   }
                 />
               </div>
-              <div class={styles.score}>评分:</div>
+              {/* <div class={styles.score}>评分:</div>
               <div class={styles.level}>
                 {this.starGrade ? (
                   <Rate
@@ -213,7 +213,7 @@ export default defineComponent({
                     暂无评分
                   </span>
                 )}
-              </div>
+              </div> */}
             </div>
             <div class={styles.piNameSubject}>
               <Image