支付宝小程序、微信小程序输出到不同dist目录;一些小调整
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
#myQrcode {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin: 30px auto;
|
||||
}
|
||||
|
||||
#show-text {
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<view id="codeView" :style="{ display: isShow }">
|
||||
<view id="user-text"><text>{{ userText }}</text></view>
|
||||
<view id="time-text"><text>{{ time }}</text></view>
|
||||
<canvas type="2d" style="width: 70vw; height: 70vw;" id="myQrcode"></canvas>
|
||||
<canvas type="2d" style="width: 250px; height: 250px;" id="myQrcode"></canvas>
|
||||
<view id="show-text"><text :style="{ color: showTextColor }">{{ showText }}</text></view>
|
||||
<view id="small-text"><text>下拉可刷新</text></view>
|
||||
</view>
|
||||
@@ -40,6 +40,7 @@ export default {
|
||||
console.log('onHide')
|
||||
clearInterval(this.timeInterval);
|
||||
this.isShow = 'none'
|
||||
this.time = ''
|
||||
},
|
||||
|
||||
onPullDownRefresh() {
|
||||
@@ -47,6 +48,7 @@ export default {
|
||||
Taro.showNavigationBarLoading();
|
||||
clearInterval(this.timeInterval);
|
||||
this.isShow = 'none'
|
||||
this.time = ''
|
||||
this.userInfo = Taro.getStorageSync("userInfo");
|
||||
if (!this.userInfo) {
|
||||
Taro.redirectTo({
|
||||
@@ -112,7 +114,7 @@ export default {
|
||||
canvas: canvas,
|
||||
canvasId: 'myQrcode',
|
||||
width: 260,
|
||||
padding: 30,
|
||||
padding: 0,
|
||||
background: '#ffffff',
|
||||
foreground: foreground,
|
||||
text: text,
|
||||
|
Reference in New Issue
Block a user