|
|
@ -31,9 +31,9 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<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="drugName"
|
|
|
|
placeholder="搜索药品" maxlength="32">
|
|
|
|
placeholder="搜索药品" maxlength="32">
|
|
|
|
<div class="ais-SearchBox-submit" @click="selectArticle()">
|
|
|
|
<div class="ais-SearchBox-submit" @click="selectDrugDetails()">
|
|
|
|
<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
|
|
|
|
d="M51.2 508.8c0 256.8 208 464.8 464.8 464.8s464.8-208 464.8-464.8-208-464.8-464.8-464.8-464.8 208-464.8 464.8z"
|
|
|
|
d="M51.2 508.8c0 256.8 208 464.8 464.8 464.8s464.8-208 464.8-464.8-208-464.8-464.8-464.8-464.8 208-464.8 464.8z"
|
|
|
@ -108,12 +108,13 @@
|
|
|
|
<!-- <span v-for="(s, i) in sort.sortName.split('')" :key="i">{{ s }}</span>-->
|
|
|
|
<!-- <span v-for="(s, i) in sort.sortName.split('')" :key="i">{{ s }}</span>-->
|
|
|
|
<!-- </div>-->
|
|
|
|
<!-- </div>-->
|
|
|
|
<!-- </div>-->
|
|
|
|
<!-- </div>-->
|
|
|
|
|
|
|
|
{{drugDetails}}
|
|
|
|
</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"
|
|
|
@ -132,12 +133,12 @@
|
|
|
|
</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"
|
|
|
@ -146,8 +147,8 @@
|
|
|
|
<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. 身处热闹人间,没有谁可以保持真正的清醒;不踩到生死边界,活得都是一场梦。</div>
|
|
|
|
<div class="admire-content">2. 申请通过后会加博客交流群,不需要加群或者退群后会定期清理好友(强迫症福利)</div>
|
|
|
|
<div class="admire-content">2. 如果您愿意帮助其他病友,可以伸出您的援助之手,我们将会将赞助全部援助到病友手中</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
@ -156,6 +157,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import vueSeamlessScroll from "vue-seamless-scroll";
|
|
|
|
import vueSeamlessScroll from "vue-seamless-scroll";
|
|
|
|
|
|
|
|
import {listTable1, selectDetails} from "@/utils/table1";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
@ -171,7 +173,9 @@
|
|
|
|
recommendArticles: [],
|
|
|
|
recommendArticles: [],
|
|
|
|
admires: [],
|
|
|
|
admires: [],
|
|
|
|
showAdmireDialog: false,
|
|
|
|
showAdmireDialog: false,
|
|
|
|
articleSearch: ""
|
|
|
|
articleSearch: "",
|
|
|
|
|
|
|
|
drugDetails: '',
|
|
|
|
|
|
|
|
drugName:''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
@ -187,6 +191,11 @@
|
|
|
|
this.getAdmire();
|
|
|
|
this.getAdmire();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
selectDrugDetails(){
|
|
|
|
|
|
|
|
selectDetails(this.drugName).then(response => {
|
|
|
|
|
|
|
|
this.drugDetails = response;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
selectSort(sort) {
|
|
|
|
selectSort(sort) {
|
|
|
|
this.$emit("selectSort", sort);
|
|
|
|
this.$emit("selectSort", sort);
|
|
|
|
},
|
|
|
|
},
|
|
|
|