|
|
|
@ -1,27 +1,27 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<!-- 网站信息 -->
|
|
|
|
|
<div class="card-content1 shadow-box background-opacity">
|
|
|
|
|
<el-avatar style="margin-top: 20px" class="user-avatar" :size="120" :src="webInfo.avatar"></el-avatar>
|
|
|
|
|
<div class="web-name">{{webInfo.webName}}</div>
|
|
|
|
|
<div class="web-info">
|
|
|
|
|
<div class="blog-info-box">
|
|
|
|
|
<span>文章</span>
|
|
|
|
|
<span class="blog-info-num">{{ $store.getters.articleTotal }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="blog-info-box">
|
|
|
|
|
<span>分类</span>
|
|
|
|
|
<span class="blog-info-num">{{ sortInfo.length }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="blog-info-box">
|
|
|
|
|
<span>访问量</span>
|
|
|
|
|
<span class="blog-info-num">{{ webInfo.historyAllCount }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<a class="collection-btn" @click="showTip()">
|
|
|
|
|
<i class="el-icon-star-off" style="margin-right: 2px"></i>朋友圈
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="card-content1 shadow-box background-opacity">-->
|
|
|
|
|
<!-- <el-avatar style="margin-top: 20px" class="user-avatar" :size="120" :src="webInfo.avatar"></el-avatar>-->
|
|
|
|
|
<!-- <div class="web-name">{{webInfo.webName}}</div>-->
|
|
|
|
|
<!-- <div class="web-info">-->
|
|
|
|
|
<!-- <div class="blog-info-box">-->
|
|
|
|
|
<!-- <span>文章</span>-->
|
|
|
|
|
<!-- <span class="blog-info-num">{{ $store.getters.articleTotal }}</span>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <div class="blog-info-box">-->
|
|
|
|
|
<!-- <span>分类</span>-->
|
|
|
|
|
<!-- <span class="blog-info-num">{{ sortInfo.length }}</span>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <div class="blog-info-box">-->
|
|
|
|
|
<!-- <span>访问量</span>-->
|
|
|
|
|
<!-- <span class="blog-info-num">{{ webInfo.historyAllCount }}</span>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <a class="collection-btn" @click="showTip()">-->
|
|
|
|
|
<!-- <i class="el-icon-star-off" style="margin-right: 2px"></i>朋友圈-->
|
|
|
|
|
<!-- </a>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
|
|
|
|
|
<!-- 搜索 -->
|
|
|
|
|
<div style="padding: 15px;border-radius: 10px;margin-top: 30px;animation: hideToShow 1s ease-in-out"
|
|
|
|
@ -32,7 +32,7 @@
|
|
|
|
|
<div style="display: flex">
|
|
|
|
|
<input class="ais-SearchBox-input" type="text"
|
|
|
|
|
v-model="articleSearch"
|
|
|
|
|
placeholder="搜索文章" maxlength="32">
|
|
|
|
|
placeholder="搜索药品" maxlength="32">
|
|
|
|
|
<div class="ais-SearchBox-submit" @click="selectArticle()">
|
|
|
|
|
<svg style="margin-top: 3.5px;margin-left: 18px" viewBox="0 0 1024 1024" width="20" height="20">
|
|
|
|
|
<path
|
|
|
|
@ -111,46 +111,46 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 赞赏 -->
|
|
|
|
|
<div class="shadow-box-mini background-opacity wow admire-box"
|
|
|
|
|
v-if="!$common.isEmpty(admires)">
|
|
|
|
|
<div style="font-weight: bold;margin-bottom: 20px">🧨赞赏名单</div>
|
|
|
|
|
<div>
|
|
|
|
|
<vue-seamless-scroll :data="admires" style="height: 200px;overflow: hidden">
|
|
|
|
|
<div v-for="(item, i) in admires"
|
|
|
|
|
style="display: flex;justify-content: space-between"
|
|
|
|
|
:key="i">
|
|
|
|
|
<div style="display: flex">
|
|
|
|
|
<el-avatar style="margin-bottom: 10px" :size="36" :src="item.avatar"></el-avatar>
|
|
|
|
|
<div style="margin-left: 10px;height: 36px;line-height: 36px;overflow: hidden;max-width: 80px">
|
|
|
|
|
{{ item.username }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="height: 36px;line-height: 36px">
|
|
|
|
|
{{ item.admire }}元
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</vue-seamless-scroll>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="admire-btn" @click="showAdmire()">
|
|
|
|
|
赞赏
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 微信 -->
|
|
|
|
|
<el-dialog title="赞赏"
|
|
|
|
|
:visible.sync="showAdmireDialog"
|
|
|
|
|
width="25%"
|
|
|
|
|
:append-to-body="true"
|
|
|
|
|
destroy-on-close
|
|
|
|
|
center>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="admire-image"></div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="admire-content">1. 感谢老铁送来的666</div>
|
|
|
|
|
<div class="admire-content">2. 申请通过后会加博客交流群,不需要加群或者退群后会定期清理好友(强迫症福利)</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-dialog>
|
|
|
|
|
<!-- <div class="shadow-box-mini background-opacity wow admire-box"-->
|
|
|
|
|
<!-- v-if="!$common.isEmpty(admires)">-->
|
|
|
|
|
<!-- <div style="font-weight: bold;margin-bottom: 20px">🧨赞赏名单</div>-->
|
|
|
|
|
<!-- <div>-->
|
|
|
|
|
<!-- <vue-seamless-scroll :data="admires" style="height: 200px;overflow: hidden">-->
|
|
|
|
|
<!-- <div v-for="(item, i) in admires"-->
|
|
|
|
|
<!-- style="display: flex;justify-content: space-between"-->
|
|
|
|
|
<!-- :key="i">-->
|
|
|
|
|
<!-- <div style="display: flex">-->
|
|
|
|
|
<!-- <el-avatar style="margin-bottom: 10px" :size="36" :src="item.avatar"></el-avatar>-->
|
|
|
|
|
<!-- <div style="margin-left: 10px;height: 36px;line-height: 36px;overflow: hidden;max-width: 80px">-->
|
|
|
|
|
<!-- {{ item.username }}-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <div style="height: 36px;line-height: 36px">-->
|
|
|
|
|
<!-- {{ item.admire }}元-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </vue-seamless-scroll>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <div class="admire-btn" @click="showAdmire()">-->
|
|
|
|
|
<!-- 赞赏-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
|
|
|
|
|
<!-- 微信 -->
|
|
|
|
|
<!-- <el-dialog title="赞赏"-->
|
|
|
|
|
<!-- :visible.sync="showAdmireDialog"-->
|
|
|
|
|
<!-- width="25%"-->
|
|
|
|
|
<!-- :append-to-body="true"-->
|
|
|
|
|
<!-- destroy-on-close-->
|
|
|
|
|
<!-- center>-->
|
|
|
|
|
<!-- <div>-->
|
|
|
|
|
<!-- <div class="admire-image"></div>-->
|
|
|
|
|
<!-- <div>-->
|
|
|
|
|
<!-- <div class="admire-content">1. 感谢老铁送来的666</div>-->
|
|
|
|
|
<!-- <div class="admire-content">2. 申请通过后会加博客交流群,不需要加群或者退群后会定期清理好友(强迫症福利)</div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- </el-dialog>-->
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@ -159,7 +159,7 @@
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
vueSeamlessScroll
|
|
|
|
|
// vueSeamlessScroll
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|