update order style

This commit is contained in:
AceDataCloud committed 2023-03-20 22:27:33 +08:00
1 parent a42b794706
commit 9f0f5b769b
11 files changed
+92 -9

No files matched your search

-3
View File
@@ -114,7 +114,6 @@ import { ElPopover, ElInput, ElSelect, ElButton, ElTooltip, ElOption, ElMessage
import { ERROR_CODE_DUPLICATION, ERROR_CODE_UNVERIFIED } from '@/constants/errorCode';
import { getVerificationUrl } from '@/utils';
import ApplicationConfirm from '@/components/application/Confirm.vue';
import { ROUTE_AUTH_LOGIN } from '@/router/constants';
interface IData {
value: {
@@ -127,12 +126,10 @@ interface IData {
export default defineComponent({
name: 'ApiForm',
components: {
FontAwesomeIcon,
ElPopover,
ElInput,
ElSelect,
ElButton,
ElTooltip,
ElOption,
ApplicationConfirm
},
@@ -0,0 +1,46 @@
<template>
<el-tooltip effect="dark" :content="$t('application.message.rotateCredential')" placement="top-start">
<el-popconfirm
:title="$t('application.message.rotateCredentialConfirm')"
:confirm-button-text="$t('common.button.confirm')"
:cancel-button-text="$t('common.button.cancel')"
:width="290"
@confirm="onConfirm"
>
<template #reference>
<font-awesome-icon icon="fa-solid fa-arrows-rotate" class="icon-rotate" />
</template>
</el-popconfirm>
</el-tooltip>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import { ElTooltip, ElPopconfirm } from 'element-plus';
export default defineComponent({
name: 'RotateCredential',
components: {
FontAwesomeIcon,
ElTooltip,
ElPopconfirm
},
emits: ['rotate'],
data() {
return {};
},
methods: {
onConfirm() {
this.$emit('rotate');
}
}
});
</script>
<style lang="scss" scoped>
.icon-rotate {
cursor: pointer;
margin-left: 5px;
}
</style>
@@ -46,5 +46,6 @@ export default defineComponent({
.icon-check,
.icon-copy {
margin-left: 5px;
cursor: pointer;
}
</style>
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<el-dialog :model-value="visible" :title="$t('application.title.buyService')" width="60%" center>
<el-dialog :model-value="visible" :title="$t('application.title.buyService')" width="500px" center>
<el-form label-width="120px">
<el-form-item v-if="application?.api?.title" :label="$t('application.field.service')">
{{ application?.api?.title }}
+1 -1
View File
@@ -1,5 +1,5 @@
<template>
<el-dialog :model-value="visible" :title="$t('application.title.buyService')" width="60%" center>
<el-dialog :model-value="visible" :title="$t('application.title.buyService')" width="500px" center>
<el-row class="paycodes">
<el-col :span="12">
<div class="paycode wechat">