|  |  | @@ -48,6 +48,18 @@ | 
		
	
		
			
			|  |  |  | <view class="orangeBtn" style="margin-top: 60rpx">取 消</view> | 
		
	
		
			
			|  |  |  | </view> | 
		
	
		
			
			|  |  |  | </u-overlay> | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | <u-overlay class="overlay" :show="showQrCodeII" opacity="0.9"> | 
		
	
		
			
			|  |  |  | <view class="content"> | 
		
	
		
			
			|  |  |  | <view class="imageBox"> | 
		
	
		
			
			|  |  |  | <image src="../../assets/img/QRCode.jpg" mode="scaleToFill" /> | 
		
	
		
			
			|  |  |  | </view> | 
		
	
		
			
			|  |  |  | <text>微信扫码查看我的写真相册</text> | 
		
	
		
			
			|  |  |  | <view class="orangeBtn" style="margin-top: 100rpx" @click="cancelUplaod" | 
		
	
		
			
			|  |  |  | >我知道了</view | 
		
	
		
			
			|  |  |  | > | 
		
	
		
			
			|  |  |  | </view> | 
		
	
		
			
			|  |  |  | </u-overlay> | 
		
	
		
			
			|  |  |  | </view> | 
		
	
		
			
			|  |  |  | </template> | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
				|  |  | @@ -150,6 +162,8 @@ async function createing2() { | 
		
	
		
			
			|  |  |  | //#region 获取二维码 | 
		
	
		
			
			|  |  |  | const qrCode = ref(null); //二维码路径 | 
		
	
		
			
			|  |  |  | const showQrCode = ref(false); | 
		
	
		
			
			|  |  |  | const showQrCodeII = ref(false); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | async function getQRCode() { | 
		
	
		
			
			|  |  |  | uni.showLoading({ | 
		
	
		
			
			|  |  |  | title: "加载中", | 
		
	
	
		
			
				|  |  | @@ -317,25 +331,34 @@ function toCamera() { | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | //#endregion --------------------- | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | const cancelUplaod = () => { | 
		
	
		
			
			|  |  |  | showQrCodeII.value = false; | 
		
	
		
			
			|  |  |  | userInfoModulesPinia.clearStorage(); | 
		
	
		
			
			|  |  |  | uni.navigateTo({ url: "/pages/login/index" }); | 
		
	
		
			
			|  |  |  | }; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | //#region 退出登录 | 
		
	
		
			
			|  |  |  | function loginOut() { | 
		
	
		
			
			|  |  |  | uni.showModal({ | 
		
	
		
			
			|  |  |  | title: "是否结束拍摄?", | 
		
	
		
			
			|  |  |  | content: `您还有${1}次拍摄机会`, | 
		
	
		
			
			|  |  |  | confirmColor: "#ff4f00", | 
		
	
		
			
			|  |  |  | confirmText: "再来一套", | 
		
	
		
			
			|  |  |  | cancelText: "结束拍摄", | 
		
	
		
			
			|  |  |  | success: function (res) { | 
		
	
		
			
			|  |  |  | if (res.confirm) { | 
		
	
		
			
			|  |  |  | console.log("用户点击确定"); | 
		
	
		
			
			|  |  |  | uni.navigateTo({ url: "/pages/chooseStyle/index" }); | 
		
	
		
			
			|  |  |  | } else if (res.cancel) { | 
		
	
		
			
			|  |  |  | console.log("用户点击取消"); | 
		
	
		
			
			|  |  |  | userInfoModulesPinia.clearStorage(); | 
		
	
		
			
			|  |  |  | uni.navigateTo({ url: "/pages/login/index" }); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  | if (userInfoModulesPinia.createTimes) { | 
		
	
		
			
			|  |  |  | uni.showModal({ | 
		
	
		
			
			|  |  |  | title: "是否结束拍摄?", | 
		
	
		
			
			|  |  |  | content: `您还有${userInfoModulesPinia.createTimes}次拍摄机会`, | 
		
	
		
			
			|  |  |  | confirmColor: "#ff4f00", | 
		
	
		
			
			|  |  |  | confirmText: "再来一套", | 
		
	
		
			
			|  |  |  | cancelText: "结束拍摄", | 
		
	
		
			
			|  |  |  | success: function (res) { | 
		
	
		
			
			|  |  |  | if (res.confirm) { | 
		
	
		
			
			|  |  |  | console.log("用户点击确定"); | 
		
	
		
			
			|  |  |  | uni.navigateTo({ url: "/pages/chooseStyle/index" }); | 
		
	
		
			
			|  |  |  | } else if (res.cancel) { | 
		
	
		
			
			|  |  |  | console.log("用户点击取消"); | 
		
	
		
			
			|  |  |  | showQrCodeII.value = true; | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  | } else { | 
		
	
		
			
			|  |  |  | showQrCodeII.value = true; | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | //#endregion --------------------- | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
				|  |  | 
 |