提交 32528f18 编写于 作者: tao.wu's avatar tao.wu

加入页面边距样式 冲突

上级 c2ee2f11
...@@ -854,87 +854,85 @@ ...@@ -854,87 +854,85 @@
} }
return text; return text;
}, },
<<<<<<< HEAD // async jumpPage(url, id) {
// const _this = this;
async jumpPage(url, id) { // if (!!url) {
const _this = this; // // 判断是否有跳转
if (!!url) { // const { token, isWeb } = _this;
// 判断是否有跳转 // _this.videoWatchTime = 0;
const { token, isWeb } = _this; // _this.widgetId = id;
_this.videoWatchTime = 0; // const { data } = await selectAppModuleParam({
_this.widgetId = id; // id: url,
const { data } = await selectAppModuleParam({ // token
id: url, // });
token // const itemData = data.model;
}); // this.$sendBuriedData({ // 积木组件点击埋点
const itemData = data.model; // url: this.baseUrl + "/file/log/trace1",
this.$sendBuriedData({ // 积木组件点击埋点 // action: 'ACTION_CLICK',
url: this.baseUrl + "/file/log/trace1", // component_tag: `200#${_this.tempId}#0#${_this.widgetId}`
action: 'ACTION_CLICK', // });
component_tag: `200#${_this.tempId}#0#${_this.widgetId}` // if (isWeb) {
}); // // TODO: //如果在 web 中在这里写
if (isWeb) { // if (itemData.code == 'M300') {
// TODO: //如果在 web 中在这里写 // let paramList = setEventByModuleCode(itemData);
if (itemData.code == 'M300') { // if (
let paramList = setEventByModuleCode(itemData); // paramList[0].value.search('crrspt.') != -1
if ( // ) {
paramList[0].value.search('crrspt.') != -1 // // 患者招募
) { // paramList[0].value =
// 患者招募 // paramList[0].value + '?' + this.paramString;
paramList[0].value = // }
paramList[0].value + '?' + this.paramString; // if (paramList[0].value.search('/wjdc/') != -1) {
} // // 问卷调查
if (paramList[0].value.search('/wjdc/') != -1) { // //console.log(paramList[0].value + '&pageUrl=' + window.location.href)
// 问卷调查 // location.href =
//console.log(paramList[0].value + '&pageUrl=' + window.location.href) // paramList[0].value +
location.href = // '&pageUrl=' +
paramList[0].value + // window.location.href;
'&pageUrl=' + // return;
window.location.href; // }
return; // location.href = paramList[0].value;
} // } else {
location.href = paramList[0].value; // this.$dialog
} else { // .confirm({
this.$dialog // message: '请下载最新app',
.confirm({ // confirmButtonText: '去下载',
message: '请下载最新app', // className: 'go-down-msg-box'
confirmButtonText: '去下载', // })
className: 'go-down-msg-box' // .then(() => {
}) // location.href =
.then(() => { // 'https://www.yunqueyi.com/mobile/share_pica.html?hideQrcode=true';
location.href = // })
'https://www.yunqueyi.com/mobile/share_pica.html?hideQrcode=true'; // .catch(() => {});
}) // }
.catch(() => {}); // } else {
} // // 增加点击图片时候,是否有loginFlag参数,有,则校验并登录。如未登录去登录,已登录,老逻辑。
} else { // const loginFlag = this.checkLoginFlag(itemData.paramList);
// 增加点击图片时候,是否有loginFlag参数,有,则校验并登录。如未登录去登录,已登录,老逻辑。 // if(loginFlag){
const loginFlag = this.checkLoginFlag(itemData.paramList); // _this.refreshFlag = true;
if(loginFlag){ // _this.$rocNative.getToken().then(res => {
_this.refreshFlag = true; // const { userToken } = res;
_this.$rocNative.getToken().then(res => { // // alert('APP拿到的token=:'+userToken)
const { userToken } = res; // checkToken({ token: userToken }).then(res=>{
// alert('APP拿到的token=:'+userToken) // if(res.code == '200000' || res.code == '200006') {
checkToken({ token: userToken }).then(res=>{ // _this.$rocNative.gotoLogin();
if(res.code == '200000' || res.code == '200006') { // }else{
_this.$rocNative.gotoLogin(); // _this.oldJumpHandle(itemData, userToken);
}else{ // }
_this.oldJumpHandle(itemData, userToken); // })
} // });
}) // }else{
}); // _this.oldJumpHandle(itemData, _this.token);
}else{ // }
_this.oldJumpHandle(itemData, _this.token); // }
} // }
} // },
}
},
getHeaderHeight(val){ getHeaderHeight(val){
this.padTop = val; this.padTop = val;
}, },
}, },
} }
</script>> </script>
<style lang="less"> <style lang="less">
@import '../assets/style/in-activity.less'; @import '../assets/style/in-activity.less';
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册