Skip to content

Commit

Permalink
修复分销中心下载二维码黑色
Browse files Browse the repository at this point in the history
  • Loading branch information
gooking committed Oct 17, 2019
1 parent c2a290a commit 6304cde
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ module.exports = {

- [更多问题?](https://www.it120.cc/info/all)

- 如何删除小程序源码中的广告位?

1. 在小程序开发工具中全局搜索关键词: <ad
2. 找到以后,将这一行广告位的代码删除即可

## 如何升级到最新版

- 小程序程序的修改和您后台的数据是独立的,所以不用担心您会丢失数据
Expand Down
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
version: "6.12.1",
note: '订单支付防止重复点击',
version: "6.12.2",
note: '修复分销中心下载二维码黑色',
subDomain: "tz", // https://admin.it120.cc 登录后台首页的专属域名
appid: "wxa46b09d413fbcaff", // 您的小程序的appid,购物单功能需要使用
shareProfile: '百款精品商品,总有一款适合您', // 首页转发的时候话术
Expand Down
4 changes: 2 additions & 2 deletions pages/fx/apply-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ Page({
canvasHeight: qrcodeWidth
})
ctx = wx.createCanvasContext('firstCanvas')
// ctx.setFillStyle('#fff')
// ctx.fillRect(0, 0, imageSize.windowWidth, imageSize.imageHeight + additionHeight + qrcodeWidth)
ctx.setFillStyle('#fff')
ctx.fillRect(0, 0, imageSize.windowWidth, imageSize.imageHeight + qrcodeWidth)
ctx.drawImage(res.path, (imageSize.windowWidth - qrcodeWidth) / 2, 0, qrcodeWidth, qrcodeWidth)
setTimeout(function () {
wx.hideLoading()
Expand Down

0 comments on commit 6304cde

Please sign in to comment.