Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-15 12:00:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
18181562bad759fcd49c9597bf7b81fcd8f2fb8d
18181562
1 parent
c6b1be5b
fix 文字显示优化
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
src/views/business/index.vue
src/views/business/login.vue
src/views/business/index.vue
View file @
1818156
...
...
@@ -2,10 +2,19 @@
<div class="all-book-page content-bg">
<div class="modify-top"></div>
<div class="belong-school">
<van-image round width="2rem" height="2rem" lazy-load :src="kgInfo.logo" style="vertical-align: text-bottom;" >
<van-row align="center" justify="center" style="position: relative; top: 50%; transform: translateY(-50%);">
<van-col span="2">
<van-image v-if="kgInfo.logo" round width="2rem" height="2rem" lazy-load :src="kgInfo.logo" style="vertical-align: text-bottom;" >
<template v-slot:error>加载失败</template>
</van-image>
<van-image v-else round width="2rem" height="2rem" lazy-load :src="icon_avatar" style="vertical-align: text-bottom;" >
<template v-slot:error>加载失败</template>
</van-image>
</van-col>
<van-col span="22">
<p class="title">{{ kgInfo.name }}</p>
</van-col>
</van-row>
</div>
<div class="summary">
<div class="ding left"></div>
...
...
@@ -54,6 +63,8 @@
</template>
<script setup>
import icon_avatar from '@images/que-touxiang@2x.png'
import icon_book from '@images/shu@2x.png'
import BookCard from '@/components/BookCard/index.vue'
import ShortcutFixed from '@/components/ShortcutFixed/index.vue'
...
...
@@ -120,6 +131,7 @@ export default {
.belong-school {
padding: 1.5rem;
padding-bottom: 0;
height: 3rem;
.title {
color: #222222;
display: inline-block;
...
...
src/views/business/login.vue
View file @
1818156
...
...
@@ -144,6 +144,7 @@ const sendCode = () => { // 发送验证码
Toast.success('发送成功');
} else {
console.warn(res.data);
if (!res.data.show) return false;
Toast({
message: res.data.msg,
icon: 'close',
...
...
Please
register
or
login
to post a comment