Browse Source

hotfix:修正绘图显示数据

feature-1.1-dev
Penny 3 years ago
parent
commit
2976e024e8
  1. 2
      pages/ai/paint/loverPaint.vue
  2. 24
      pages/ai/paint/paint.vue

2
pages/ai/paint/loverPaint.vue

@ -50,7 +50,7 @@
</view> </view>
<view class="draw-button" @click="checkIsVip()"> <view class="draw-button" @click="checkIsVip()">
生成图片<br/>(消耗{{goldNum}}点画意值) 生成<br/>(消耗{{goldNum}}点画意值)
</view> </view>

24
pages/ai/paint/paint.vue

@ -130,8 +130,11 @@
</view> </view>
<view class="bottom"> <view class="bottom">
<view> <!-- <view>
<button type="default" @click="$noMultipleClicks(startPaint)" class="startPaint">开始创作(消耗{{formData.goldNum}}点画意值)</button> <button type="default" @click="$noMultipleClicks(startPaint)" class="startPaint">开始创作<br/>消耗{{formData.goldNum}}点画意值</button>
</view> -->
<view class="startPaint" @click="$noMultipleClicks(startPaint)">
开始创作<br/>消耗{{formData.goldNum}}点画意值
</view> </view>
</view> </view>
</uni-forms> </uni-forms>
@ -756,12 +759,23 @@
width: calc(100% - 40rpx); width: calc(100% - 40rpx);
position: fixed; position: fixed;
bottom: 20rpx; bottom: 20rpx;
left: 25%;
} }
.startPaint{ .startPaint{
width: 300rpx; width: 400rpx;
height: 100rpx;
bottom: 50rpx;
background-color: $uni-primary; background-color: $uni-primary;
border: 1px solid $uni-primary; // border: 1px solid $uni-primary;
border-radius: 40rpx; border-radius: 50rpx;
padding-bottom: 50 rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #fff;
font-size: 16px;
color: $uni-white; color: $uni-white;
} }
.startPaint::after { .startPaint::after {

Loading…
Cancel
Save