Merge branch 'new' of https://gitea.lihaink.cn/mkm/nk-shop2.0 into new
This commit is contained in:
commit
ac6d0f8858
@ -136,6 +136,7 @@
|
|||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
// #ifndef H5
|
// #ifndef H5
|
||||||
|
let that =this;
|
||||||
uni.downloadFile({
|
uni.downloadFile({
|
||||||
url: imageUrl,
|
url: imageUrl,
|
||||||
success(res) {
|
success(res) {
|
||||||
@ -144,7 +145,9 @@
|
|||||||
uni.saveImageToPhotosAlbum({
|
uni.saveImageToPhotosAlbum({
|
||||||
filePath: tempFilePath,
|
filePath: tempFilePath,
|
||||||
success() {
|
success() {
|
||||||
console.log('图片已保存至相册');
|
return that.$util.Tips({
|
||||||
|
title: '图片已保存至相册!'
|
||||||
|
});
|
||||||
},
|
},
|
||||||
fail(err) {
|
fail(err) {
|
||||||
console.error('保存失败', err);
|
console.error('保存失败', err);
|
||||||
@ -195,7 +198,7 @@
|
|||||||
font-family: PingFang SC, PingFang SC;
|
font-family: PingFang SC, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #7A7A7A;
|
color: #7A7A7A;
|
||||||
margin-bottom: 8rpx;
|
margin-bottom: 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.qrcode-img {
|
.qrcode-img {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user