فهرست منبع

fix: bug修复

TIANYONG 7 ماه پیش
والد
کامیت
ae13973a42

+ 0 - 1
src/components/col-result/index.module.less

@@ -23,7 +23,6 @@
     .van-empty__description {
       margin-top: 8px;
       padding: 0 30px;
-      color: #fff;
     }
   }
 

+ 1 - 1
src/student/member-center/member-record.tsx

@@ -206,7 +206,7 @@ export default defineComponent({
                       api: 'openAccompanyWebView',
                       content: {
                         url:
-                          location.origin + musicScorePath + '/#/' +
+                          location.origin + musicScorePath + '#/' +
                           'evaluat-report?id=' +
                           item.id +
                           '&behaviorId=' +

+ 1 - 1
src/tenant/exercise-record/modals/detail-item.tsx

@@ -64,7 +64,7 @@ export default defineComponent({
         api: 'openAccompanyWebView',
         content: {
           url:
-            location.origin + musicScorePath + '/#/' +
+            location.origin + musicScorePath + '#/' +
             'evaluat-report?id=' +
             props.item.id +
             '&behaviorId=' +

+ 14 - 8
src/views/article-center/help-center.tsx

@@ -32,13 +32,15 @@ export default defineComponent({
         status: 1,
         // STUDENT:学生 TEACHER:老师 ANALYSIS:智能陪练
         catalogType:
+          query.platformType === 'ANALYSIS' ? "ANALYSIS" : 
           query.platformType ||
           (state.projectType === 'tenant' && state.platformType === 'STUDENT')
             ? 'TENANT_STUDENT'
             : state.platformType,
         page: 1,
         rows: 20
-      }
+      },
+      hideTitle: query?.hideTitle == '1' ? true : false, // 嵌入云教练需要隐藏标题栏
     }
   },
   mounted() {
@@ -95,13 +97,17 @@ export default defineComponent({
   render() {
     return (
       <div>
-        <Sticky offsetTop={0} position="top" class={'mb12'}>
-          <ColHeader isFixed={false} title={this.pageTitle} border={false} />
-          <ColSearch
-            type={state.projectType === 'tenant' ? 'tenant' : 'person'}
-            onSearch={this.onSearch}
-          />
-        </Sticky>
+        {
+          <Sticky offsetTop={0} position="top" class={'mb12'}>
+            {
+              !this.hideTitle && <ColHeader isFixed={false} title={this.pageTitle} border={false} />
+            }
+            <ColSearch
+              type={state.projectType === 'tenant' ? 'tenant' : 'person'}
+              onSearch={this.onSearch}
+            />
+          </Sticky>          
+        }
         {this.dataShow ? (
           <List
             v-model:loading={this.loading}