|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<!-- 学习与实验 -->
|
|
|
<view class="myComRoot df jcc bgclF8">
|
|
|
- <view class="df fdc contentBox">
|
|
|
+ <view class="df fdc contentBox" v-show='!bShowWebview'>
|
|
|
<!-- 换行的段落文字 -->
|
|
|
<view class="df content-paragraph" v-for="(paragraph,i) in data_XXYSY[checkedIndex_topTitle].content.paragraphList"
|
|
|
:key="i">
|
|
|
@@ -27,8 +27,9 @@
|
|
|
<view class="df aic jcc btn-xxysy" v-show='checkedIndex_topTitle==4'>进入虚拟资源库</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+ <web-view class="webview720" :src="url" v-show='bShowWebview'></web-view>
|
|
|
</view>
|
|
|
+
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
@@ -50,6 +51,8 @@
|
|
|
checkedColor: "#EA252C",
|
|
|
unCheckedColor_text: "#0E0E0E",
|
|
|
unCheckedColor_border: "#C4C4C4",
|
|
|
+ url:'https://www.yuyekeji.cn/H5/720/',
|
|
|
+ bShowWebview:getApp().globalData.bShowWebview,
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -62,7 +65,12 @@
|
|
|
this.$emit("onClick_KSRZ")
|
|
|
},
|
|
|
onClick_KSKC(){
|
|
|
- this.$emit("onClick_KSKC")
|
|
|
+ // https://www.yuyekeji.cn/H5/720/
|
|
|
+ this.bShowWebview = true;
|
|
|
+ // this.$emit("onClick_KSKC")
|
|
|
+ },
|
|
|
+ onClick_shutWebview(){
|
|
|
+ this.bShowWebview = false;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -105,4 +113,14 @@
|
|
|
line-height: px2vw(31);
|
|
|
margin-bottom: px2vw(63);
|
|
|
}
|
|
|
+ .webview720{
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ // .shut_down{
|
|
|
+ // width: px2vw(58);
|
|
|
+ // height: px2vw(58);
|
|
|
+ // background: #000000;
|
|
|
+ // border-radius: px2vw(8);
|
|
|
+ // }
|
|
|
</style>
|