فهرست منبع

Merge branch 'master' of http://git.dayaedu.com/lex/orchestra-app

mo 2 سال پیش
والد
کامیت
d129688bfc
1فایلهای تغییر یافته به همراه14 افزوده شده و 12 حذف شده
  1. 14 12
      src/teacher/screen-projection/index.tsx

+ 14 - 12
src/teacher/screen-projection/index.tsx

@@ -76,21 +76,23 @@ export default defineComponent({
             </div>
           )}
           <CellGroup inset>
+            <Cell
+              title="胜强测试"
+              isLink
+              center
+              onClick={() => {
+                location.href = `http://192.168.3.114:1000/#/coursewarePlay?id=${query.lessonCoursewareDetailId}&courseId=${query.courseId}`
+              }}
+            >
+              {{
+                icon: () => (
+                  <Image style={{ marginRight: '12px' }} width={36} height={36} src={icons.music} />
+                )
+              }}
+            </Cell>
             {data.knowledgePointList.map((item: any) => {
               return (
                 <>
-                    <Cell title='胜强测试' isLink center onClick={() => hanldeOpenPlay({a :1610595720511209474})}>
-                          {{
-                            icon: () => (
-                              <Image
-                                style={{ marginRight: '12px' }}
-                                width={36}
-                                height={36}
-                                src={icons.music}
-                              />
-                            )
-                          }}
-                </Cell>
                   {Array.isArray(item.materialList) &&
                     item.materialList.map((n: any) => {
                       return (