| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <!-- 课程学习 -->
- <template>
- <view id="courseLearning-web-view">
- <web-view v-if="webViewType" :src="dataText"></web-view>
- </view>
- </template>
- <script>
- export default {
- name: "courseLearning-web-view",
- data() {
- return {
- webViewType: false,
- dataText:'',
- }
- },
- onLoad(option) {
- this.$set(this,'dataText',
- uni.getStorageSync('cameraExtranetAgent')+
- // 'http://192.168.1.8/stream/#/'+
- '?pageType=learningCourse&touken='+uni.getStorageSync('token')+
- '&courseId='+option.courseId+
- '&examId='+option.examId
- );
- this.$set(this,'webViewType',true);
- },
- mounted() {
- },
- methods: {
-
- },
- }
- </script>
- <style lang="stylus" scoped>
- #courseLearning-web-view {
- overflow:scroll;
- }
- </style>
|