提交 a6f014a7 authored 作者: xuyanwei's avatar xuyanwei

返回跳转错误

......@@ -2,5 +2,5 @@
module.exports = {
NODE_ENV: '"production"',
ENV_CONFIG: '"prod"',
BASE_API: '"http://192.168.2.242:8996/"'
BASE_API: '"http://117.78.46.153"'
}
File added
......@@ -37,10 +37,10 @@
<meta name="msapplication-tap-highlight" content="no">-->
<title>公共就业服务平台</title>
<script src="static/simple-share.js"></script>
<script src="static/ckplayer/ckplayer.js"></script>
<script src="static/vconsole.min.js"></script>
<!-- <script src="static/ckplayer/ckplayer.js"></script> -->
<!-- <script src="static/vconsole.min.js"></script>
<script src="https://cdn.bootcss.com/vConsole/3.2.2/vconsole.min.js"></script>
<script>var vConsole = new VConsole();</script>
<script>var vConsole = new VConsole();</script> -->
<!--<link rel="shortcut icon" href="/src/assets/img/favicon.ico" type="image/x-icon" />-->
<script>
~ function () {
......
......@@ -36,7 +36,7 @@ export default {
top: 0;
left: 0;
right: 0;
z-index: 1111;
z-index: 99999999999999;
.dialog-wrap{
margin: 2.5rem auto 0;
width: 3.01rem;
......
......@@ -2,10 +2,12 @@
<div class="type-text">
<div class="answer-cnt" :style="{'height':(open ? autoHeight:'2rem')}">
<div class="detail-cnt" v-html="dataObj.content"></div>
<!-- <video class="video" v-if="dataObj.video" :src="videoUrl(dataObj.video)" controls></video> -->
<div class="video" v-if="dataObj.video">
<video class="video" v-if="dataObj.video" :src="videoUrl(dataObj.video)" controls="controls"
x5-playsinline="" playsinline="true" webkit-playsinline="true" x-webkit-airplay="true"
x5-video-player-type="h5-page" x5-video-player-fullscreen="" x5-video-orientation="portraint"></video>
<!-- <div class="video" v-if="dataObj.video">
<div id="mse"></div>
</div>
</div> -->
</div>
<div class="answer-text">
......@@ -19,7 +21,7 @@
<script>
import { videoUrl } from '@/utils/global'
import Player from 'xgplayer'
// import Player from 'xgplayer'
export default {
name: 'textCase',
props:{
......@@ -51,8 +53,8 @@ export default {
mounted() {
console.log(this.videoUrl(this.dataObj.video),11111111);
this.playerConfig.url = this.videoUrl(this.dataObj.video)
this.player = new Player(this.playerConfig)
// this.playerConfig.url = this.videoUrl(this.dataObj.video)
// this.player = new Player(this.playerConfig)
},
watch: {},
methods: {
......
......@@ -42,9 +42,9 @@ Vue.use(VideoPlayer)
import valert from './components/alertMess/index.js'
Vue.use(valert);
import Vconsole from 'vconsole';
const vConsole = new Vconsole();
export default vConsole;
// import Vconsole from 'vconsole';
// const vConsole = new Vconsole();
// export default vConsole;
/*id图片路径*/
Vue.prototype.imgLink=function(id){
......
......@@ -103,7 +103,8 @@ export default {
})
},
backTo() {
this.$router.push({name:'my'})
this.$router.back(-1)
// this.$router.push({name:'my'})
}
}
};
......
......@@ -311,7 +311,7 @@
content: '*';
position: absolute;
left: -.07rem;
top:.05rem;
top:.03rem;
color: #f56c6c;
}
......
......@@ -23,7 +23,7 @@
<h3 :class="`color-div${index%6+1}`">{{index<9?'0'+(index+1):index+1}}</h3>
<div class="word">
<p><span>{{item.name}}</span> <span>{{item.num}}道题</span></p>
<h2>查看</h2>
<h2 @click="toView(item)">查看</h2>
</div>
</li>
</ul>
......@@ -35,6 +35,7 @@
<script>
import {getCollectionNumAPI} from '@/api/xywApi.js';
import {Icon, List, NavBar, Picker} from "vant";
import { Toast } from 'vant';
export default {
name: 'HelloWorld',
data() {
......@@ -64,6 +65,11 @@
}
})
},
toView(item){
console.log(item,1);
Toast.fail('功能开发中')
// this.$router.push({name:'myWrongDetail',query:{code:item.code}})
}
},
}
......
......@@ -391,7 +391,7 @@
content: '*';
position: absolute;
left: -.07rem;
top:.05rem;
top:.03rem;
color: #f56c6c;
}
}
......
......@@ -18,7 +18,7 @@
<h3>GO<img src="../../assets/img/home/triangle.png" alt=""></h3>
</div>
</li>
<li @click="$router.push({name:'moonMatch'})"><h1><img src="../../assets/img/home/icon_kaoshi.png" alt=""></h1>
<li @click="toMoon"><h1><img src="../../assets/img/home/icon_kaoshi.png" alt=""></h1>
<div class="other">
<h2>在线考试</h2>
<h3>GO<img src="../../assets/img/home/triangle.png" alt=""></h3>
......@@ -39,6 +39,7 @@
<script>
import Foot from '../../components/Foot';
import {Toast} from "vant";
export default {
name: 'HelloWorld',
data() {
......@@ -48,7 +49,12 @@
created() {
},
watch: {},
methods: {},
methods: {
toMoon(){
Toast.fail('功能开发中')
// this.$router.push({name:'moonMatch'})
}
},
}
</script>
......
......@@ -24,6 +24,7 @@
import topHeader from "@/components/header/topHeader.vue";
import listFooter from '@/components/header/listFooter'
import { getMoonListAPI } from '@/api/moon'
import { Toast } from 'vant';
export default {
name: "moonMatch",
components: {
......@@ -98,7 +99,8 @@ export default {
'-1':()=> false,
'-2':()=> false,
}
status[item.examStatus]()
// status[item.examStatus]()
Toast.fail('功能开发中')
// this.$router.push({name:'match',query:{id:item.id, title:item.name}})
}
}
......
......@@ -36,7 +36,7 @@
<script>
import {getErrorbookAPI} from '@/api/xywApi';
import {Icon, List, NavBar, Picker} from "vant";
import {Icon, List, NavBar, Picker,Toast} from "vant";
export default {
name: 'HelloWorld',
data() {
......@@ -69,7 +69,8 @@
},
toView(item){
console.log(item,1);
this.$router.push({name:'myWrongDetail',query:{code:item.code}})
Toast.fail('功能开发中')
// this.$router.push({name:'myWrongDetail',query:{code:item.code}})
}
},
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论