Merge branch 'test' of https://e.coding.net/g-cphe0354/xiaochengxusaomadiancan/cashier_weapp into gaohao
This commit is contained in:
@@ -18,8 +18,12 @@
|
|||||||
<text>会员享低价</text>
|
<text>会员享低价</text>
|
||||||
<text>长按保存,微信内扫一扫加好友</text>
|
<text>长按保存,微信内扫一扫加好友</text>
|
||||||
</view>
|
</view>
|
||||||
|
<!-- #ifdef MP-WEIXIN -->
|
||||||
|
<u-image width="152" height="152" radius="16" :src="listinfo.shopQrcode" ></u-image>
|
||||||
|
<!-- #endif -->
|
||||||
|
<!-- #ifdef MP-ALIPAY -->
|
||||||
<image style="height: 150rpx;width: 150rpx;" :src="listinfo.shopQrcode" @longpress="saveImage(listinfo.shopQrcode)" mode="aspectFill"></image>
|
<image style="height: 150rpx;width: 150rpx;" :src="listinfo.shopQrcode" @longpress="saveImage(listinfo.shopQrcode)" mode="aspectFill"></image>
|
||||||
<!-- <u-image width="152" height="152" radius="16" :src="listinfo.shopQrcode" ></u-image> -->
|
<!-- #endif -->
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<orderInfoAfter ref="orderInfoAfter" :listinfo="listinfo" v-if="listinfo.useType == 'dine-in-after'"></orderInfoAfter>
|
<orderInfoAfter ref="orderInfoAfter" :listinfo="listinfo" v-if="listinfo.useType == 'dine-in-after'"></orderInfoAfter>
|
||||||
@@ -107,7 +111,7 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
saveImage (url) {
|
saveImage (url) {
|
||||||
my.saveImage({
|
uni.saveImage({
|
||||||
url: url,
|
url: url,
|
||||||
success: () => {
|
success: () => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|||||||
Reference in New Issue
Block a user