|
@@ -12,7 +12,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
</a-input>
|
|
</a-input>
|
|
|
<template #extra>
|
|
<template #extra>
|
|
|
- <div>默认账号:ctbu+学号,如ctbu2024412000</div>
|
|
|
|
|
|
|
+ <div>默认账号:手机号/身份证号/ctbu+学号</div>
|
|
|
</template>
|
|
</template>
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
<a-form-item field="password" label="密码">
|
|
<a-form-item field="password" label="密码">
|
|
@@ -48,15 +48,16 @@
|
|
|
<a-table :data="data" stripe hoverable :pagination="false" column-resizable class="table" :loading="loading"
|
|
<a-table :data="data" stripe hoverable :pagination="false" column-resizable class="table" :loading="loading"
|
|
|
:columns="columns">
|
|
:columns="columns">
|
|
|
<template #imgUrl="{ record }">
|
|
<template #imgUrl="{ record }">
|
|
|
|
|
+ <a-image width="50" height="50" fit="contain" v-if="record.imgUrl" :src="record.imgUrl" />
|
|
|
<a-avatar shape="square" :size="50" :style="{ backgroundColor: 'rgba(0,0,0,0.25)' }"
|
|
<a-avatar shape="square" :size="50" :style="{ backgroundColor: 'rgba(0,0,0,0.25)' }"
|
|
|
- v-if="!bookInfo[record.isbn]?.img">
|
|
|
|
|
|
|
+ v-else-if="!bookInfo[record.isbn]?.img">
|
|
|
<icon-book />
|
|
<icon-book />
|
|
|
</a-avatar>
|
|
</a-avatar>
|
|
|
<a-image width="50" height="50" fit="contain" v-else :src="bookInfo[record.isbn]?.img" />
|
|
<a-image width="50" height="50" fit="contain" v-else :src="bookInfo[record.isbn]?.img" />
|
|
|
</template>
|
|
</template>
|
|
|
<template #textbookPrice="{ record }">
|
|
<template #textbookPrice="{ record }">
|
|
|
- <span class="oldPrice"><del>¥{{ record.textbookPrice }}</del></span> ¥{{
|
|
|
|
|
- record.textbookDiscountedPrice }}
|
|
|
|
|
|
|
+ <span class="oldPrice" v-if="record.textbookPrice"><del>¥{{ record.textbookPrice }}</del></span> ¥{{
|
|
|
|
|
+ record.textbookDiscountedPrice ?? record.totalDiscountedPrice }}
|
|
|
</template>
|
|
</template>
|
|
|
<template #crouseName="{ record }">
|
|
<template #crouseName="{ record }">
|
|
|
{{ record.crouseName }}({{ record.courseType }})
|
|
{{ record.crouseName }}({{ record.courseType }})
|
|
@@ -66,7 +67,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
</a-table>
|
|
</a-table>
|
|
|
<div class="total">
|
|
<div class="total">
|
|
|
- 共找到 {{ data.length }} 本书籍,封面图片及介绍来自第三方,仅供参考
|
|
|
|
|
|
|
+ 共找到 {{ data.length }} 本书籍
|
|
|
</div>
|
|
</div>
|
|
|
</a-card>
|
|
</a-card>
|
|
|
</div>
|
|
</div>
|