Commit ae5bd04b authored by wangxuelai's avatar wangxuelai

'完结'

parent c2939f2e
......@@ -88,7 +88,6 @@ Page({
} catch (error) {
content = [];
}
console.log(content, 'content');
data.content = content;
this.setData({
detail: data,
......
......@@ -182,11 +182,17 @@ Page({
goLink (e) {
const { ad } = e.currentTarget.dataset; // 1-小程序 2-公众号文章 3-自定义连接 4-无
if (ad.redirect_type == 1) {
console.log(ad.redirect_type, 'adsads');
wx.navigateTo({
url: ad.redirect_url,
})
} else if (ad.redirect_type == 2) {
console.log(ad.redirect_type, 'adsads');
wx.navigateTo({
url: `/business/pages/helpcenter/webview?src=${ad.redirect_url}`,
})
} else if (ad.redirect_type == 3) {
console.log(ad.redirect_type, 'adsads');
wx.navigateTo({
url: `/business/pages/helpcenter/webview?src=${ad.redirect_url}`,
})
} else if (ad.redirect_type == 4) {
console.log(ad.redirect_type, 'adsads');
}
......
import { helpList, helpAds } from "../../../service/common.js";
import { imagify } from "../../../utilities/index.js";
var app = getApp();
Page({
data: {
},
onLoad: function(options) {
const { src } = options;
this.setData({
src,
})
},
});
{
"navigationBarTitleText": ""
}
\ No newline at end of file
<web-view src="{{src}}"></web-view>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment