提交 00622c5c authored 作者: 翟畅's avatar 翟畅

zc布局页面

上级 fad08b0a
VUE_APP_URL = "http://192.168.2.193:8098"
VUE_APP_URL = "http://test25.zhongdianyun.com"
VUE_APP_URL = "http://192.168.2.193:8098"
VUE_APP_URL = "http://test25.zhongdianyun.com"
......@@ -21,7 +21,7 @@
<script type="text/javascript" src="http://api.map.baidu.com/library/SearchInfoWindow/1.5/src/SearchInfoWindow_min.js"></script>
<script type="text/javascript" src="http://lbsyun.baidu.com/custom/stylelist.js"></script>
<script type="text/javascript">
(function () {var sUserAgent = navigator.userAgent;if (sUserAgent.indexOf('Android') > -1 || sUserAgent.indexOf('iPhone') > -1 || sUserAgent.indexOf('iPad') > -1 || sUserAgent.indexOf('iPod') > -1 || sUserAgent.indexOf('Symbian') > -1) {location.href = 'http://192.168.2.193:8098/h5/index.html#';} else {}})();
(function () {var sUserAgent = navigator.userAgent;if (sUserAgent.indexOf('Android') > -1 || sUserAgent.indexOf('iPhone') > -1 || sUserAgent.indexOf('iPad') > -1 || sUserAgent.indexOf('iPod') > -1 || sUserAgent.indexOf('Symbian') > -1) {location.href = 'http://test25.zhongdianyun.com/h5/index.html#';} else {}})();
</script>
<style>
......
......@@ -28,7 +28,7 @@
let paySuccess = false
window.StaClass = function (params) {
let _this = this;
this.basePath = "http://192.168.2.193:8098/statistics/api/";
this.basePath = "http://test25.zhongdianyun.com/statistics/api/";
this.debug = true;
this.explorer = getBrowser();
this.etype = getEquipment();
......
......@@ -158,10 +158,10 @@ export default {
},
methods: {
toLinkDetail(val){
window.open(val,'_blank')
window.open(val,'_self')
},
toLink(url){
window.open(url,'_blank')
window.open(url,'_self')
},
icpUrl(){
window.open('https://beian.miit.gov.cn/#/Integrated/index','_blank')
......
......@@ -244,7 +244,7 @@ export default {
this.$forceUpdate()
},
toSearchHot(item){
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=&userInput=' + item.url)
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=&userInput=' + item.url ,'_self')
},
keyup_submit(){
let evt = window.event || e;
......
......@@ -24,7 +24,7 @@ Vue.use(ElementUI);
Vue.component("v-distpicker", VDistpicker);
Vue.prototype.$filePath =
"http://192.168.2.193:8098/file/file/?fileName=";
"http://test25.zhongdianyun.com/file/file/?fileName=";
import Bus from "@/utils/bus";
Vue.use(Bus);
// //图片地址
......
......@@ -529,7 +529,7 @@ export default {
//咨询信息跳转
toDetailMessage(item){
window.open('http://www.class.com.cn/fg/book/toBookDetail.html?bookId=' + item.id)
window.open('http://www.class.com.cn/fg/book/toBookDetail.html?bookId=' + item.id ,'_self')
},
......
......@@ -440,23 +440,26 @@ export default {
toNewsMore(num){
console.log(num,'00000')
},
toNewsDetail(item){
console.log(item,'0-0-0-')
},
//图书产品跳转
toDetailLabel(item){
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=' + item.id)
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=' + item.id ,'_self')
},
//新书推荐
toDetailBook(item){
window.open('http://www.class.com.cn/fg/book/toBookDetail.html?bookId=' + item.id)
window.open('http://www.class.com.cn/fg/book/toBookDetail.html?bookId=' + item.id ,'_self')
},
//数字产品跳转
toDigitalDetail(id){
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=' + id)
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=' + id ,'_self')
},
toDigitalDetail2(item){
window.open('http://www.class.com.cn/fg/resource/toResourceDetail.html?resourceId=' + item.id)
window.open('http://www.class.com.cn/fg/resource/toResourceDetail.html?resourceId=' + item.id ,'_self')
},
//资源平台跳转
......
......@@ -214,11 +214,6 @@ export default {
{ date: '2016-05-01', name: '王小虎', address: '上海市普陀区金沙江路 1519 弄' },
{ date: '2016-05-03', name: '王小虎', address: '上海市普陀区金沙江路 1516 弄' }
],
resourcePlatformList:[
{ name:'技工教育网',url:'https://jg.class.com.cn/cms/',picUrl:require('@/assets/home/jigong.png') },
{ name:'中国人事考试图书网',url:'https://rsks.class.com.cn/index',picUrl:require('@/assets/home/renshi.png') },
{ name:'中国职业培训在线',url:'https://px.class.com.cn/custom/index',picUrl:require('@/assets/home/peixun.png') },
],
hash:null,
// iframeUrl:'http://www.class.com.cn/baiduMap.html',
};
......@@ -268,7 +263,7 @@ export default {
//图书产品跳转
skipUrl(url){
window.open(url,'_blank')
window.open(url,'_self')
},
//下载服务
......@@ -284,15 +279,15 @@ export default {
//数字产品跳转
toDigitalDetail(id){
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=' + id)
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=' + id ,'_self')
},
toDigitalDetail2(item){
window.open('http://www.class.com.cn/fg/resource/toResourceDetail.html?resourceId=' + item.id)
window.open('http://www.class.com.cn/fg/resource/toResourceDetail.html?resourceId=' + item.id ,'_self')
},
//资源平台跳转
toResourcePlat(url){
window.open(url,'_blank');
window.open(url,'_self');
},
//期刊跳转
......@@ -327,7 +322,7 @@ export default {
toCourseDetail(obj,index){
if(obj.resourceType == '10'){
let route = this.$router.resolve({name:'curriculumDetail',query:{courseId:obj.id}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}
},
},
......
......@@ -262,11 +262,6 @@ export default {
{ name:'强势股精析:股票投资 ', id:'8a9494b87f44d894018064d94cc47eb6' },
{ name:'常见的触电方式', id:'8a9494b87f44d894018064d94cc47eb6' },
],
resourcePlatformList:[
{ name:'技工教育网',url:'https://jg.class.com.cn/cms/',picUrl:require('@/assets/home/jigong.png') },
{ name:'中国人事考试图书网',url:'https://rsks.class.com.cn/index',picUrl:require('@/assets/home/renshi.png') },
{ name:'中国职业培训在线',url:'https://px.class.com.cn/custom/index',picUrl:require('@/assets/home/peixun.png') },
],
hash:null,
// iframeUrl:'http://www.class.com.cn/baiduMap.html',
};
......@@ -359,30 +354,30 @@ export default {
//图书产品跳转
toDetailLabel(item){
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=' + item.id)
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=' + item.id ,'_self')
},
//新书推荐
toDetailBook(item){
window.open('http://www.class.com.cn/fg/book/toBookDetail.html?bookId=' + item.id)
window.open('http://www.class.com.cn/fg/book/toBookDetail.html?bookId=' + item.id ,'_self')
},
//数字产品跳转
toDigitalDetail(id){
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=' + id)
window.open('http://www.class.com.cn/fg/book/book_list.html?categoryId=' + id ,'_self')
},
toDigitalDetail2(item){
window.open('http://www.class.com.cn/fg/resource/toResourceDetail.html?resourceId=' + item.id)
window.open('http://www.class.com.cn/fg/resource/toResourceDetail.html?resourceId=' + item.id ,'_self')
},
//资源平台跳转
toResourcePlat(url){
window.open(url,'_blank');
window.open(url,'_self');
},
//期刊跳转
toFamily(){
window.open('http://www.class.com.cn/fg/periodical/toIndex.html')
window.open('http://www.class.com.cn/fg/periodical/toIndex.html' ,'_self')
},
......@@ -412,7 +407,7 @@ export default {
toCourseDetail(obj,index){
if(obj.resourceType == '10'){
let route = this.$router.resolve({name:'curriculumDetail',query:{courseId:obj.id}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}
},
},
......
......@@ -372,11 +372,6 @@ export default {
{ name:'强势股精析:股票投资 ', id:'8a9494b87f44d894018064d94cc47eb6' },
{ name:'常见的触电方式', id:'8a9494b87f44d894018064d94cc47eb6' },
],
resourcePlatformList:[
{ name:'技工教育网',url:'https://jg.class.com.cn/cms/',picUrl:require('@/assets/home/jigong.png') },
{ name:'中国人事考试图书网',url:'https://rsks.class.com.cn/index',picUrl:require('@/assets/home/renshi.png') },
{ name:'中国职业培训在线',url:'https://px.class.com.cn/custom/index',picUrl:require('@/assets/home/peixun.png') },
],
hash:null,
// iframeUrl:'http://www.class.com.cn/baiduMap.html',
};
......@@ -457,7 +452,7 @@ export default {
//banner检索跳转
openUrl(url){
window.open(url,'_blank')
window.open(url,'_self')
},
},
......
......@@ -157,10 +157,10 @@ export default {
linkDetails(id,template) {
if(template == 2){
let route = this.$router.resolve({name:'specialDetFirst',query:{id:id}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}else if(template == 1){
let route = this.$router.resolve({name:'specialDetSecond',query:{id:id}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}
},
......
......@@ -144,16 +144,16 @@ export default {
toSpecialDetail(item){
if(item.resourceType == '16'){
let route = this.$router.resolve({name:'digitalDetail',query:{id:item.resourceId}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}else if(item.resourceType == '6'){
let route = this.$router.resolve({name:'audioDetail',query:{id:item.resourceId}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}else if(item.resourceType == '2'){
let route = this.$router.resolve({name:'bookDetail',query:{id:item.resourceId}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}else if(item.resourceType == '5'){
let route = this.$router.resolve({name:'videoDetail',query:{id:item.resourceId}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}
},
toSpecialTab(obj,index){
......
......@@ -118,16 +118,16 @@ export default {
toSpecialDet(item){
if(item.resourceType == '16'){
let route = this.$router.resolve({name:'digitalDetail',query:{id:item.resourceId}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}else if(item.resourceType == '6'){
let route = this.$router.resolve({name:'audioDetail',query:{id:item.resourceId}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}else if(item.resourceType == '2'){
let route = this.$router.resolve({name:'bookDetail',query:{id:item.resourceId}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}else if(item.resourceType == '5'){
let route = this.$router.resolve({name:'videoDetail',query:{id:item.resourceId}})
window.open(route.href,'_blank')
window.open(route.href,'_self')
}
},
getMemberInfo() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论