Commit 5aea844f authored by Z's avatar Z

Z: Dot: 注释掉相关开发调试用alert与界面元素。

parent 6ef23f42
......@@ -82,7 +82,7 @@ Vue.prototype.getAgentAuth = function () {
let config = res.data
wx.config({
beta: true,
debug: true, //调试的时候可以开启
debug: false, //调试的时候可以开启
appId: config.jsApiSignature.appId, // 必填,公众号的唯一标识
timestamp: config.jsApiSignature.timestamp, // 必填,生成签名的时间戳
nonceStr: config.jsApiSignature.nonceStr, // 必填,生成签名的随机串
......@@ -187,7 +187,7 @@ function configWx(to) {
let config = res.data
wx.config({
beta: true,
debug: true, //调试的时候可以开启
debug: false, //调试的时候可以开启
appId: config.jsApiSignature.appId, // 必填,公众号的唯一标识
timestamp: config.jsApiSignature.timestamp, // 必填,生成签名的时间戳
nonceStr: config.jsApiSignature.nonceStr, // 必填,生成签名的随机串
......
......@@ -117,7 +117,7 @@ service.interceptors.request.use(
return req
},
error => {
alert(`--->PostToEA: bRequestEa.js: err = ${JSON.stringify(error)}`)
// alert(`--->PostToEA: bRequestEa.js: err = ${JSON.stringify(error)}`)
Promise.reject(error)
}
)
......
......@@ -6,7 +6,7 @@
<div class="main">
<!-- <div class="tops"></div> -->
<div class="lists">
<div v-if="this.$route.query.code !== undefined" style="font-size: 14px;">Code: {{this.$route.query.code}}</div>
<!-- <div v-if="this.$route.query.code !== undefined" style="font-size: 14px;">Code: {{this.$route.query.code}}</div> -->
<div v-for="(item, index) of list.main" :key="index">
<div class="list" @click="listClick(item.redirect)">
<div>
......@@ -124,7 +124,7 @@ export default {
this.zcache.nowUrl = JSON.stringify(this.$route.query);
this.zcache.code = String(this.$route.query.code);
alert(`--->nowUrl and code =${this.zcache.nowUrl}`)
// alert(`--->nowUrl and code =${this.zcache.nowUrl}`)
zlog("%c--->zTestGetNowUrlInfo: ", "color: orange;", this.zcache.nowUrl);
},
......
......@@ -24,8 +24,13 @@ export default {
},
methods: {
cleanUrl() {
// alert(`!-->cleanUrl: IN.`)
// alert(`!-->cleanUrl: url =${JSON.stringify(this.$route)}`)
// alert(`!-->cleanUrl: url =${JSON.stringify(this.$route.params)}`)
const url = this.$route;
this.nowUrl = url.split("&")[0].slice(41);
this.activeId = url.split("&")[1].split("=")[1];
this.voucherId = url.split("&")[2].split("=")[1];
......@@ -44,7 +49,7 @@ export default {
createCode() {
let _this = this;
let pageUrl = `/wxx/cgi-bin/wxaapp/createwxaqrcode?access_token=${_this.accessToken}`;
alert(`!-->ajax: data: path: ${_this.nowUrl}&detailid=${_this.voucherId}&actionid=${_this.activeId}&unionid=${_this.unionId}`)
// alert(`!-->createCode: data: path: ${_this.nowUrl}&detailid=${_this.voucherId}&actionid=${_this.activeId}&unionid=${_this.unionId}`)
$.ajax({
type: "POST",
url: pageUrl,
......
......@@ -2,8 +2,8 @@
<div class="main">
<!-- <div class="tops"></div> -->
<div class="contents">
<div style="font-size: 12px;">userId={{zcache.userId}}</div>
<div style="font-size: 12px;">storeId={{zcache.userInfo}}</div>
<!-- <div style="font-size: 12px;">userId={{zcache.userId}}</div> -->
<!-- <div style="font-size: 12px;">storeId={{zcache.userInfo}}</div> -->
<div class="zListActive">
<div class="inputs">
<!-- <div class="button" @click="zTest">Redirect</div>
......@@ -253,7 +253,7 @@ export default {
},
zpick(inMsgType, inUrl) {
alert(`--->discount.vue: zpick: IN.`);
// alert(`--->discount.vue: zpick: IN.`);
switch (inMsgType) {
case "text":
......@@ -267,11 +267,11 @@ export default {
},
function(res) {
if (res.err_msg == "sendChatMessage:ok") {
alert("--->discount.vue: zpick: text 分享成功!");
// alert("--->discount.vue: zpick: text 分享成功!");
} else if (res.err_msg != "sendChatMessage:ok") {
alert(
`--->discount.vue: zpick: text 分享失败: res =${res.err_msg}`
);
// alert(
// `--->discount.vue: zpick: text 分享失败: res =${res.err_msg}`
// );
}
}
);
......@@ -292,12 +292,12 @@ export default {
},
function(res) {
if (res.err_msg == "sendChatMessage:ok") {
alert("--->discount.vue: zpick: h5 分享成功!");
// alert("--->discount.vue: zpick: h5 分享成功!");
} else if (res.err_msg != "sendChatMessage:ok") {
alert(`--->discount.vue: zpick: h5 分享失败: res =${res}`);
alert(
`--->discount.vue: zpick: h5 分享失败: res =${res.err_msg}`
);
// alert(`--->discount.vue: zpick: h5 分享失败: res =${res}`);
// alert(
// `--->discount.vue: zpick: h5 分享失败: res =${res.err_msg}`
// );
}
}
);
......
......@@ -25,7 +25,7 @@ export default {
methods: {
redirect() {
// wx.miniProgram.navigateTo({url: '/pages/coupon/detail/detailid=100000338&actionid=97'})
alert('--->voucherInfo: redirect: IN.')
// alert('--->voucherInfo: redirect: IN.')
window.location.href = 'https://mp.weixin.qq.com/a/~PLEzZIqxoasdl5QDu_HZEw~~';
......
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