Browse Source

增加科目二和科目三,跳转按钮都是开放标签,增加跳转的参数

zhangyujun 3 years ago
parent
commit
ebd6ad8ed8

+ 2 - 2
src/views/home/children/test/components/sujectThree.vue

@@ -11,7 +11,7 @@
 import { ref } from "vue";
 let sc = "script";
 let sty = "style";
-let wxHtml0 =  ref(`	<wx-open-launch-weapp style="display: block;text-align:center;height:48px;border: none;z-index:9999;opacity:1" id="launch-btn" username="gh_a994fd2f498e" path="pages/lightMock/index.html?living_code=LIVING_CODE">
+let wxHtml0 =  ref(`	<wx-open-launch-weapp style="display: block;text-align:center;height:48px;border: none;z-index:9999;opacity:1" id="launch-btn" username="gh_a994fd2f498e" path="pages/lightMock/index.html?active=2">
 			<${sc} v-is="'script'" type="text/wxtag-template">
 				<${sty} v-is="'style'">.openbtn{background-color:#1989fa;color:#fff;width:75%;margin:0 auto;height:40px;line-height:40px;text-align:center;}</${sty}>
 				<div class="openbtn"><span >前往灯光模拟</span></div>
@@ -19,7 +19,7 @@ let wxHtml0 =  ref(`	<wx-open-launch-weapp style="display: block;text-align:cent
 			</${sc}>
 		</wx-open-launch-weapp>`);
 
-let wxHtml1 =  ref(`	<wx-open-launch-weapp style="display: block;text-align:center;height:48px;border: none;z-index:9999;opacity:1" id="launch-btn" username="gh_a994fd2f498e" path="pages/carVideo/index.html?living_code=LIVING_CODE">
+let wxHtml1 =  ref(`	<wx-open-launch-weapp style="display: block;text-align:center;height:48px;border: none;z-index:9999;opacity:1" id="launch-btn" username="gh_a994fd2f498e" path="pages/carVideo/index.html?active=2">
 			<${sc} v-is="'script'" type="text/wxtag-template">
 				<${sty} v-is="'style'">.openbtn{background-color:#1989fa;color:#fff;width:75%;margin:0 auto;height:40px;line-height:40px;text-align:center;}</${sty}>
 				<div class="openbtn"><span >前往观看视频</span></div>

+ 3 - 3
src/views/home/children/test/components/sujectTwo.vue

@@ -11,7 +11,7 @@
 import { ref } from "vue";
 let sc = "script";
 let sty = "style";
-let wxHtml0 = ref(`	<wx-open-launch-weapp style="display: block;text-align:center;width:100%;height:48px;border: none;z-index:9999;opacity:1" id="launch-btn" username="gh_a994fd2f498e" path="pages/carVideo/index.html?living_code=LIVING_CODE">
+let wxHtml0 = ref(`	<wx-open-launch-weapp style="display: block;text-align:center;width:100%;height:48px;border: none;z-index:9999;opacity:1" id="launch-btn" username="gh_a994fd2f498e" path="pages/carVideo/index.html?active=1">
 			<${sc} v-is="'script'" type="text/wxtag-template">
 				<${sty} v-is="'style'">.openbtn{background-color:#1989fa;color:#fff;width:75%;margin:0 auto;height:40px;line-height:40px;text-align:center;}</${sty}>
 				<div class="openbtn"><span >前往观看视频</span></div>
@@ -27,10 +27,10 @@ let wxHtml0 = ref(`	<wx-open-launch-weapp style="display: block;text-align:cente
 	justify-content: center;
 	position: relative;
 }
-.open{
+.open {
 	width: 690px;
 	margin: 0 auto;
-		margin-top: 25px;
+	margin-top: 25px;
 }
 .my-button {
 	margin-top: 25px;