|
@@ -232,47 +232,28 @@ export default {
|
|
|
},
|
|
|
// bannaer 点击事件
|
|
|
async bannerSwiperHandler(item) {
|
|
|
- let { Type, SourceId } = item.BannerUrlResp;
|
|
|
+ let { Type, SourceId, Path } = item.BannerUrlResp;
|
|
|
if (Type == 1) return;
|
|
|
await Home.bannerHistory({
|
|
|
BannerId: item.BannerId,
|
|
|
});
|
|
|
- switch (Type) {
|
|
|
- case 2:
|
|
|
+ if (Type == 5) {
|
|
|
+ let obj = {
|
|
|
+ BackgroundImg: "https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/my_log.png",
|
|
|
+ Id: SourceId,
|
|
|
+ PlaySeconds: "15",
|
|
|
+ ResourceUrl: "https://hzstatic.hzinsights.com/static/yb/video/8617330c2a76e0c35999f6466b4470c4.mp4",
|
|
|
+ Title: "三分钟了解弘则研究体系和方法论",
|
|
|
+ Type: "三分钟了解弘则研究体系和方法论",
|
|
|
+ };
|
|
|
+ this.videoPopListUp = obj;
|
|
|
+ this.showVideoPopUp = true;
|
|
|
+ await Mine.addHistory();
|
|
|
+ } else {
|
|
|
+ Path &&
|
|
|
uni.navigateTo({
|
|
|
- url: "/pageMy/reportDetail/reportDetail?id=" + SourceId,
|
|
|
+ url: Path + SourceId,
|
|
|
});
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- uni.navigateTo({
|
|
|
- url: "/activityPages/activityDetail/activityDetail?id=" + SourceId,
|
|
|
- });
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- uni.navigateTo({
|
|
|
- url: "/reportPages/IndustryReport/IndustryReport?id=" + SourceId,
|
|
|
- });
|
|
|
- break;
|
|
|
- case 6:
|
|
|
- uni.navigateTo({
|
|
|
- url: "/reportPages/internalDetials/internalDetials?id=" + SourceId,
|
|
|
- });
|
|
|
- break;
|
|
|
- case 5:
|
|
|
- let obj = {
|
|
|
- BackgroundImg: "https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/my_log.png",
|
|
|
- Id: SourceId,
|
|
|
- PlaySeconds: "15",
|
|
|
- ResourceUrl: "https://hzstatic.hzinsights.com/static/yb/video/8617330c2a76e0c35999f6466b4470c4.mp4",
|
|
|
- Title: "关于我们",
|
|
|
- Type: "关于我们",
|
|
|
- };
|
|
|
- this.videoPopListUp = obj;
|
|
|
- this.showVideoPopUp = true;
|
|
|
- await Mine.addHistory();
|
|
|
- break;
|
|
|
- default:
|
|
|
- "";
|
|
|
}
|
|
|
},
|
|
|
},
|