task#15348,新加师傅界面

This commit is contained in:
2024-10-10 20:44:06 +08:00
parent a5e4a2d5dd
commit bce648bdc6
11 changed files with 667 additions and 43 deletions

View File

@ -34,12 +34,12 @@ export const myMixins = {
window.android.sendMessage("goBack");
}
},
goH5Detail(item,type){//h5传参到app文档资料培训文档
goH5Detail(item){//h5传参到app文档资料培训文档
let data = {
"action": "goTraining",
"params": {
"id": item.id,
"docType" : type=='培训文档' ? 1 : 2,
// "docType" : type=='培训文档' ? 1 : 2,
}
};
@ -48,7 +48,7 @@ export const myMixins = {
if(isiOS){
window.webkit.messageHandlers.nativeObject.postMessage(data);
}else {
window.android.sendMessage("articleId=" + item.id+','+'docType='+(type=='培训文档' ? 1 : 2));
window.android.sendMessage("articleId=" +'#'+ item.id);
}
},
h5GoBack(){