提交 5c57fee1 authored 作者: 王鹏飞's avatar 王鹏飞

updates

上级 a9000e4e
...@@ -42,7 +42,9 @@ Page({ ...@@ -42,7 +42,9 @@ Page({
wx.showModal({ title: '账号不存在', content: '是否要成为学员', showCancel: true }).then(res => { wx.showModal({ title: '账号不存在', content: '是否要成为学员', showCancel: true }).then(res => {
res.confirm && res.confirm &&
wx.navigateTo({ wx.navigateTo({
url: '/pages/web/index?url=https://webapp-pub.ezijing.com/pages/ciis/ciis.html' url: `/pages/web/index?url=${encodeURIComponent(
'https://webapp-pub.ezijing.com/pages/ciis/ciis.html?channel_num=96091'
)}`
}) })
}) })
} else { } else {
......
...@@ -69,7 +69,9 @@ Page({ ...@@ -69,7 +69,9 @@ Page({
wx.showModal({ title: '账号不存在', content: '是否要成为学员', showCancel: true }).then(res => { wx.showModal({ title: '账号不存在', content: '是否要成为学员', showCancel: true }).then(res => {
res.confirm && res.confirm &&
wx.navigateTo({ wx.navigateTo({
url: '/pages/web/index?url=https://webapp-pub.ezijing.com/pages/ciis/ciis.html' url: `/pages/web/index?url=${encodeURIComponent(
'https://webapp-pub.ezijing.com/pages/ciis/ciis.html?channel_num=96091'
)}`
}) })
}) })
} else { } else {
......
...@@ -43,7 +43,9 @@ Page({ ...@@ -43,7 +43,9 @@ Page({
wx.showModal({ title: '账号不存在', content: '是否要成为学员', showCancel: true }).then(res => { wx.showModal({ title: '账号不存在', content: '是否要成为学员', showCancel: true }).then(res => {
res.confirm && res.confirm &&
wx.navigateTo({ wx.navigateTo({
url: '/pages/web/index?url=https://webapp-pub.ezijing.com/pages/ciis/ciis.html' url: `/pages/web/index?url=${encodeURIComponent(
'https://webapp-pub.ezijing.com/pages/ciis/ciis.html?channel_num=96091'
)}`
}) })
}) })
} else { } else {
......
...@@ -4,7 +4,7 @@ Page({ ...@@ -4,7 +4,7 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
url: '' url: 'https://webapp-pub.ezijing.com/pages/ciis/ciis.html?channel_num=96091'
}, },
/** /**
...@@ -12,7 +12,7 @@ Page({ ...@@ -12,7 +12,7 @@ Page({
*/ */
onLoad: function (options) { onLoad: function (options) {
const { url } = options const { url } = options
url && this.setData({ url: `${url}?t=${Date.now()}` }) url && this.setData({ url: decodeURIComponent(url) })
}, },
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论