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