Browse Source

hotfix:优化细节

feature-1.1-dev
Penny 3 years ago
parent
commit
d5b04f544a
  1. 2
      api/creator.js
  2. 9
      api/userInfo.js
  3. 8
      pages/ai/paint/loverPainResult.vue
  4. 2
      pages/ai/paint/paint.vue
  5. 1883
      pages/creator/imgDetail.vue
  6. 2
      pages/index/indexProto.vue
  7. 6
      pages/userInfo/userInfo.vue

2
api/creator.js

@ -126,6 +126,6 @@ export function checkUserCanDownload(data, headers) {
url: `${serviceTitle}${prefix}/checkUserCanDownload`, url: `${serviceTitle}${prefix}/checkUserCanDownload`,
method: 'post', method: 'post',
data, data,
headers: headers //headers: headers
}) })
} }

9
api/userInfo.js

@ -40,3 +40,12 @@ export function unifiedOrder(data) {
data data
}) })
} }
//获取当日下载/绘画奖励剩余次数
export function getRestNum(data) {
return request({
url: `${serviceTitle}${prefix}/getRestNum`,
method: 'post',
data
})
}

8
pages/ai/paint/loverPainResult.vue

@ -212,7 +212,7 @@
width: 677rpx; width: 677rpx;
height: 245rpx; height: 245rpx;
// border: 1px solid black; // 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%; background-size: 100% 100%;
// z-index: 10; // z-index: 10;
margin-bottom: -10px; margin-bottom: -10px;
@ -221,7 +221,7 @@
// margin-top: -10px; // margin-top: -10px;
width: 100%; width: 100%;
height: 750rpx; 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-size: 110% 110%;
background-position: center; background-position: center;
padding: 200rpx 30rpx; padding: 200rpx 30rpx;
@ -246,7 +246,7 @@
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -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%; background-size: 100% 100%;
} }
.img-item { .img-item {
@ -267,7 +267,7 @@
.save-button { .save-button {
width: 250rpx; width: 250rpx;
height: 75rpx; 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%; background-size: 100% 100%;
} }
} }

2
pages/ai/paint/paint.vue

@ -73,7 +73,7 @@
<view> <view>
<view class="head"> <view class="head">
<view class="left"> <view class="left">
<view class="title">高级设置<uni-icons class="tip-vip-icon" custom-prefix="iconfont" type="icon-tipvip" size="14" color="#f3a73f"/></view> <view class="title">高级设置<uni-icons class="tip-vip-icon" custom-prefix="iconfont" type="icon-tipvip" size="26" color="#f3a73f"/></view>
</view> </view>
<view class="right"> <view class="right">
<switch :checked="advancedSetting" :color="primaryColor" style="transform:scale(0.7)" @change="openAdvancedSetting"/> <switch :checked="advancedSetting" :color="primaryColor" style="transform:scale(0.7)" @change="openAdvancedSetting"/>

1883
pages/creator/imgDetail.vue

File diff suppressed because it is too large

2
pages/index/indexProto.vue

@ -260,7 +260,7 @@
.love-icon { .love-icon {
width: 140rpx; width: 140rpx;
height: 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%; background-size: 100% 100%;
position: fixed; position: fixed;
bottom: 40rpx; bottom: 40rpx;

6
pages/userInfo/userInfo.vue

@ -137,8 +137,10 @@ import UniIcons from "../../uni_modules/uni-icons/components/uni-icons/uni-icons
console.log('res===', res); console.log('res===', res);
if (res.data.code === 200) { if (res.data.code === 200) {
if(res.data.data.isVip == '1') { if(res.data.data.isVip == '1') {
that.isVip = true; that.isVip = true;
} }else{
that.isVip = false;
}
}else { }else {
uni.showModal({ uni.showModal({
content: '网络错误,请稍后再试~', content: '网络错误,请稍后再试~',

Loading…
Cancel
Save