|
@@ -254,14 +254,15 @@ function loginOut() { |
|
|
if (userInfoModulesPinia.createTimes) { |
|
|
if (userInfoModulesPinia.createTimes) { |
|
|
uni.showModal({ |
|
|
uni.showModal({ |
|
|
title: "是否结束拍摄?", |
|
|
title: "是否结束拍摄?", |
|
|
content: `您还有${userInfoModulesPinia.createTimes}次拍摄机会`, |
|
|
|
|
|
|
|
|
content: `您还有${userInfoModulesPinia.createTimes}次拍摄机会,请继续`, |
|
|
confirmColor: "#ff4f00", |
|
|
confirmColor: "#ff4f00", |
|
|
confirmText: "再来一套", |
|
|
confirmText: "再来一套", |
|
|
cancelText: "结束拍摄", |
|
|
cancelText: "结束拍摄", |
|
|
success: function (res) { |
|
|
success: function (res) { |
|
|
if (res.confirm) { |
|
|
if (res.confirm) { |
|
|
console.log("用户点击确定"); |
|
|
console.log("用户点击确定"); |
|
|
uni.navigateTo({ url: "/pages/chooseStyle/index" }); |
|
|
|
|
|
|
|
|
//uni.navigateTo({ url: "/pages/chooseStyle/index" }); |
|
|
|
|
|
showQrCode.value = true; |
|
|
} else if (res.cancel) { |
|
|
} else if (res.cancel) { |
|
|
console.log("用户点击取消"); |
|
|
console.log("用户点击取消"); |
|
|
showQrCode.value = true; |
|
|
showQrCode.value = true; |
|
|