perf: 样式问题处理

This commit is contained in:
rd
2025-07-07 18:01:02 +08:00
parent 9273c3ade5
commit 0fe45bb2b3

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="container"> <div class="container">
<div class="flex arco-row-justify-space-between flex-center"> <div class="flex arco-row-justify-space-between">
<img class="avatar" :src="props.product.image" :alt="props.product.name" /> <img class="avatar" :src="props.product.image" :alt="props.product.name" />
<a-tag v-if="props.product.status === Status.Enable" class="status status-enable">已开通</a-tag> <a-tag v-if="props.product.status === Status.Enable" class="status status-enable">已开通</a-tag>
<a-tag v-if="props.product.status === Status.Disable" class="status status-disable">未开通</a-tag> <a-tag v-if="props.product.status === Status.Disable" class="status status-disable">未开通</a-tag>
@ -21,7 +21,7 @@
{{ props.product.desc }} {{ props.product.desc }}
</p> </p>
</div> </div>
<div class="footer flex arco-row-justify-start flex-center"> <div class="footer flex arco-row-justify-start">
<a-button <a-button
v-if="props.product.status === Status.Enable || props.product.status === Status.ON_TRIAL" v-if="props.product.status === Status.Enable || props.product.status === Status.ON_TRIAL"
class="primary-button" class="primary-button"