Commit de23b5ec2002bb9855445d1c007cb4f6a3029459

Authored by 刘淇
1 parent fd014141

生成二维码

pages/businessCard/printCard.vue
... ... @@ -15,15 +15,16 @@
15 15 <image :src="qrUrl"></image>
16 16 </view>
17 17  
  18 + <view>长按上面二维码可以保存为图片</view>
18 19  
19 20 <view class=" uni-card" style="padding: 10px 15px">
20   - 二维码有效期:(自打印时间算起)
  21 + 二维码有效期(小时):(自打印时间算起)
21 22 <uni-number-box @change="changeValue" min="1"/>
22 23 </view>
23 24  
24 25 <view class="uni-padding-wrap uni-common-mt">
25 26 <!--<button type="primary" style="margin-bottom: 15px">停止自动发放</button>-->
26   - <button type="warn" @click="changeTime">立即打印</button>
  27 + <button type="warn" @click="changeTime">重新生成二维码</button>
27 28 </view>
28 29  
29 30  
... ...
pages/businessCard/provideCard.vue
... ... @@ -24,7 +24,7 @@
24 24  
25 25 <view class="uni-padding-wrap uni-common-mt">
26 26 <button type="primary" style="margin-bottom: 15px" @click="stopProvide">{{provideText}}</button>
27   - <button type="warn" @click="toPrintCard">打印静态二维码</button>
  27 + <button type="warn" @click="toPrintCard">生成静态二维码图片</button>
28 28 </view>
29 29  
30 30  
... ...