From d5b04f544a09da42b6f68fdf303ece2ac764340d Mon Sep 17 00:00:00 2001 From: Penny <2500338766@qq.com> Date: Sat, 20 May 2023 20:43:12 +0800 Subject: [PATCH] =?UTF-8?q?hotfix:=E4=BC=98=E5=8C=96=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/creator.js | 2 +- api/userInfo.js | 9 + pages/ai/paint/loverPainResult.vue | 8 +- pages/ai/paint/paint.vue | 2 +- pages/creator/imgDetail.vue | 1883 ++++++++++++++++------------ pages/index/indexProto.vue | 2 +- pages/userInfo/userInfo.vue | 6 +- 7 files changed, 1094 insertions(+), 818 deletions(-) diff --git a/api/creator.js b/api/creator.js index 76487dd..917d4b6 100644 --- a/api/creator.js +++ b/api/creator.js @@ -126,6 +126,6 @@ export function checkUserCanDownload(data, headers) { url: `${serviceTitle}${prefix}/checkUserCanDownload`, method: 'post', data, - headers: headers + //headers: headers }) } \ No newline at end of file diff --git a/api/userInfo.js b/api/userInfo.js index 2ef01e6..2452896 100644 --- a/api/userInfo.js +++ b/api/userInfo.js @@ -40,3 +40,12 @@ export function unifiedOrder(data) { data }) } + +//获取当日下载/绘画奖励剩余次数 +export function getRestNum(data) { + return request({ + url: `${serviceTitle}${prefix}/getRestNum`, + method: 'post', + data + }) +} diff --git a/pages/ai/paint/loverPainResult.vue b/pages/ai/paint/loverPainResult.vue index 3d41b2c..6a91494 100644 --- a/pages/ai/paint/loverPainResult.vue +++ b/pages/ai/paint/loverPainResult.vue @@ -212,7 +212,7 @@ width: 677rpx; height: 245rpx; // border: 1px solid black; - background-image: url('https://vediocnd.corpring.com/520love/520_title.png'); + background-image: url('https://img.bnyer.cn/520_title.png'); background-size: 100% 100%; // z-index: 10; margin-bottom: -10px; @@ -221,7 +221,7 @@ // margin-top: -10px; width: 100%; height: 750rpx; - background-image: url('https://vediocnd.corpring.com/520love/love_bg_1.gif'); + background-image: url('https://img.bnyer.cn/love_bg_1.gif'); background-size: 110% 110%; background-position: center; padding: 200rpx 30rpx; @@ -246,7 +246,7 @@ top: 50%; left: 50%; transform: translate(-50%, -50%); - background-image: url('https://vediocnd.corpring.com/520love/heart_icon_1.png'); + background-image: url('https://img.bnyer.cn/heart_icon_1.png'); background-size: 100% 100%; } .img-item { @@ -267,7 +267,7 @@ .save-button { width: 250rpx; height: 75rpx; - background-image: url('https://vediocnd.corpring.com/520love/save_button.png'); + background-image: url('https://img.bnyer.cn/save_button.png'); background-size: 100% 100%; } } diff --git a/pages/ai/paint/paint.vue b/pages/ai/paint/paint.vue index 740039e..00bf6fd 100644 --- a/pages/ai/paint/paint.vue +++ b/pages/ai/paint/paint.vue @@ -73,7 +73,7 @@ - 高级设置 + 高级设置 diff --git a/pages/creator/imgDetail.vue b/pages/creator/imgDetail.vue index 696e2db..325c9a4 100644 --- a/pages/creator/imgDetail.vue +++ b/pages/creator/imgDetail.vue @@ -1,809 +1,1074 @@ - - - - - + + + + + diff --git a/pages/index/indexProto.vue b/pages/index/indexProto.vue index 61f9de9..655d5c6 100644 --- a/pages/index/indexProto.vue +++ b/pages/index/indexProto.vue @@ -260,7 +260,7 @@ .love-icon { width: 140rpx; height: 140rpx; - background-image: url('https://vediocnd.corpring.com/520love/520_icon.png'); + background-image: url('https://img.bnyer.cn/520_icon.png'); background-size: 100% 100%; position: fixed; bottom: 40rpx; diff --git a/pages/userInfo/userInfo.vue b/pages/userInfo/userInfo.vue index 2158c10..0d7c28b 100644 --- a/pages/userInfo/userInfo.vue +++ b/pages/userInfo/userInfo.vue @@ -137,8 +137,10 @@ import UniIcons from "../../uni_modules/uni-icons/components/uni-icons/uni-icons console.log('res===', res); if (res.data.code === 200) { if(res.data.data.isVip == '1') { - that.isVip = true; - } + that.isVip = true; + }else{ + that.isVip = false; + } }else { uni.showModal({ content: '网络错误,请稍后再试~',