@@ -223,3 +223,13 @@ div {
font-size: 13px;
padding: 0 15px;
}
+.el-button:focus, .el-button:hover{
+ color: unset;
+ border-color: unset;
+ background-color: unset;
+ /* background-image: linear-gradient(124deg, rgba(245, 201, 82, 0.4) 0%, rgba(239, 149, 57, 0.4) 100%); */
+}
+.el-button--primary{
+ background-color: #FD9429;
+ border-color: #F5C952;
@@ -113,11 +113,12 @@
top="35vh"
:modal="false"
style="pointer-events: auto;"
+ :before-close="cancelHandle"
>
<span>当前AI使用火爆,请继续尝试</span>
<span slot="footer" class="dialog-footer">
- <el-button @click.stop="dialogVisible = false;cancelHandle();">取消等待</el-button>
- <el-button type="primary" @click.stop="dialogVisible = false;confirmHandle();">继续尝试</el-button>
+ <el-button @click.stop="cancelHandle();">取消等待</el-button>
+ <el-button type="primary" @click.stop="confirmHandle();">继续尝试</el-button>
</span>
</el-dialog>
</div>
@@ -726,6 +726,8 @@
self.clearInterval();//停止轮询
// self.$message.warning("AI开了个小差,请稍后再试");
self.dialogVisible = true;
+ self.aiFlag = false;
+ self.aiImage = "";
clearTimeout(self.outTimer);
self.outTimer = null
@@ -733,11 +735,13 @@
},
confirmHandle(){
console.log('用户点击确定')
+ this.dialogVisible = false;
this.subType = 1;
this.startServer();
cancelHandle(){
console.log('用户点击取消')
this.subType = 0;
// 轮询获取图片结果