Ver Fonte

新增免费观看参数来控制科目三视频3

JXDS18FUJT há 1 ano atrás
pai
commit
68930fb3fd

+ 2 - 2
src/views/courseCatalog/components/courseCatalog/index.tsx

@@ -50,7 +50,7 @@ export const CourseCatalog: React.FC = (props: any) => {
             return (<div
 
                 className="pay"
-            ><span className="pay-text">免费观看</span><img style={{ width: '100%' }} src='https://ndata.zzxcx.net/ctjk/mp-wx/courseCatalog/alreadyPay.png'></img></div>)
+            ><span className="pay-text">限时免费</span><img style={{ width: '100%' }} src='https://ndata.zzxcx.net/ctjk/mp-wx/courseCatalog/alreadyPay.png'></img></div>)
         }
         if (isVideoFree == '0' && !myExamIds.current.includes(Number(id))) {
             return (<div className='pay'>
@@ -98,7 +98,7 @@ export const CourseCatalog: React.FC = (props: any) => {
    
 
     const allowLook = (item: any) => {
-        //全局免费观看
+        //全局限时免费
         if(isVideoFree=='1'){
             window.location.href = item.videoUrl
             return