Skip to content

Commit

Permalink
7.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
starlying committed May 15, 2023
1 parent bdda9cf commit 6dfda97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 32 deletions.
14 changes: 0 additions & 14 deletions src/SSCMS.Web/Pages/shared/_PartialContents.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -242,20 +242,6 @@
{{scope.row.templateName || '<默认>'}}
</template>

<!-- Date -->
<template v-else-if="column.inputType === 'Date'">
<span>
{{ utils.getFriendlyDate(scope.row.getEntityValue(column.attributeName)) }}
</span>
</template>

<!-- DateTime -->
<template v-else-if="column.inputType === 'DateTime'">
<span>
{{ utils.getFriendlyDateTime(scope.row.getEntityValue(column.attributeName)) }}
</span>
</template>

<!-- Others -->
<template v-else>
<span v-html="scope.row.getEntityValue(column.attributeName)"></span>
Expand Down
24 changes: 6 additions & 18 deletions src/SSCMS.Web/Pages/ss-admin/clouds/dashboard.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -228,21 +228,15 @@
</el-form-item>
<el-form-item label="购买时长" prop="periods" :rules="{ required: true, message: '请选择购买时长' }">
<el-radio-group v-model="buyForm.periods" v-on:change="btnChangeClick">
<el-radio-button :label="'M1'">1月</el-radio-button>
<el-radio-button :label="'Y1'">1年</el-radio-button>
<el-radio-button :label="'Y2'">2年</el-radio-button>
</el-radio-group>
</el-form-item>
<el-form-item label="费用合计">
<div style="font-size: 16px;">
<template v-if="buyForm.periods !== 'M1'">
原价:<span style="text-decoration: line-through; margin-right: 10px;">¥{{ getOriginalAmount() }}</span>
现价:<span style="color: #fa5300;">¥{{ buyForm.amount.toFixed(2) }}</span>
(节省:{{ buyForm.save }}%)
</template>
<template v-else>
合计:<span style="color: #fa5300;">¥{{ buyForm.amount.toFixed(2) }}</span>
</template>
原价:<span style="text-decoration: line-through; margin-right: 10px;">¥{{ getOriginalAmount() }}</span>
现价:<span style="color: #fa5300;">¥{{ buyForm.amount.toFixed(2) }}</span>
(节省:{{ buyForm.save }}%)
</div>
</el-form-item>
<el-divider></el-divider>
Expand All @@ -262,21 +256,15 @@
</el-form-item>
<el-form-item label="续费时长" prop="periods" :rules="{ required: true, message: '请选择续费时长' }">
<el-radio-group v-model="buyForm.periods" v-on:change="btnChangeClick">
<el-radio-button :label="'M1'">1月</el-radio-button>
<el-radio-button :label="'Y1'">1年</el-radio-button>
<el-radio-button :label="'Y2'">2年</el-radio-button>
</el-radio-group>
</el-form-item>
<el-form-item label="费用合计">
<div style="font-size: 16px;">
<template v-if="buyForm.periods !== 'M1'">
原价:<span style="text-decoration: line-through; margin-right: 10px;">¥{{ getOriginalAmount() }}</span>
现价:<span style="color: #fa5300;">¥{{ buyForm.amount.toFixed(2) }}</span>
(节省:{{ buyForm.save }}%)
</template>
<template v-else>
合计:<span style="color: #fa5300;">¥{{ buyForm.amount.toFixed(2) }}</span>
</template>
原价:<span style="text-decoration: line-through; margin-right: 10px;">¥{{ getOriginalAmount() }}</span>
现价:<span style="color: #fa5300;">¥{{ buyForm.amount.toFixed(2) }}</span>
(节省:{{ buyForm.save }}%)
</div>
</el-form-item>
<el-divider></el-divider>
Expand Down

0 comments on commit 6dfda97

Please sign in to comment.