Showing
4 changed files
with
17 additions
and
14 deletions
| ... | @@ -34,7 +34,6 @@ | ... | @@ -34,7 +34,6 @@ |
| 34 | </div> | 34 | </div> |
| 35 | </div> | 35 | </div> |
| 36 | <div class="date">{{ item.donate_date }}</div> | 36 | <div class="date">{{ item.donate_date }}</div> |
| 37 | - <!-- TODO: 编号需要联调 --> | ||
| 38 | <div style="color: #713610; padding: 1rem 2rem; font-size: 0.9rem;"> | 37 | <div style="color: #713610; padding: 1rem 2rem; font-size: 0.9rem;"> |
| 39 | 证书编号:{{ item.cert_code }} | 38 | 证书编号:{{ item.cert_code }} |
| 40 | </div> | 39 | </div> | ... | ... |
| 1 | +<!-- | ||
| 2 | + * @Author: hookehuyr hookehuyr@gmail.com | ||
| 3 | + * @Date: 2022-05-31 22:09:58 | ||
| 4 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 5 | + * @LastEditTime: 2022-06-01 20:56:20 | ||
| 6 | + * @FilePath: /tswj/src/components/DonateFlower/index.vue | ||
| 7 | + * @Description: 捐花组件 | ||
| 8 | +--> | ||
| 1 | <template> | 9 | <template> |
| 2 | <van-popup v-model:show="show" :close-on-click-overlay="false" round position="bottom" :style="{ height: popupHeight, zIndex: 3000 }"> | 10 | <van-popup v-model:show="show" :close-on-click-overlay="false" round position="bottom" :style="{ height: popupHeight, zIndex: 3000 }"> |
| 3 | <div class="donate-wrapper"> | 11 | <div class="donate-wrapper"> |
| ... | @@ -20,7 +28,7 @@ | ... | @@ -20,7 +28,7 @@ |
| 20 | <van-row> | 28 | <van-row> |
| 21 | <van-col span="12"> 花花数量 </van-col> | 29 | <van-col span="12"> 花花数量 </van-col> |
| 22 | <van-col span="12" style="text-align: right;"> | 30 | <van-col span="12" style="text-align: right;"> |
| 23 | - <van-stepper v-model="donate_number" min="1" max="100" integer input-width="40px" button-size="32px" /> | 31 | + <van-stepper v-model="donate_number" min="1" integer input-width="40px" button-size="32px" /> |
| 24 | </van-col> | 32 | </van-col> |
| 25 | </van-row> | 33 | </van-row> |
| 26 | </div> | 34 | </div> | ... | ... |
| ... | @@ -58,7 +58,6 @@ | ... | @@ -58,7 +58,6 @@ |
| 58 | <van-empty v-if="emptyStatus" class="custom-image" :image="no_image" description="暂无书籍信息" /> | 58 | <van-empty v-if="emptyStatus" class="custom-image" :image="no_image" description="暂无书籍信息" /> |
| 59 | </div> | 59 | </div> |
| 60 | <div style="height: 5rem" /> | 60 | <div style="height: 5rem" /> |
| 61 | - <!-- TODO: 新需求:爱心助力捐钱弹框 --> | ||
| 62 | <donate-bar :donate-type="donateType">爱心助力</donate-bar> | 61 | <donate-bar :donate-type="donateType">爱心助力</donate-bar> |
| 63 | <shortcut-fixed type="C" :item="shortcutItem" /> | 62 | <shortcut-fixed type="C" :item="shortcutItem" /> |
| 64 | </div> | 63 | </div> | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div class="video-detail-page"> | 2 | <div class="video-detail-page"> |
| 3 | - <div @click="getUserInfo" class="detail-header"> | 3 | + <div class="detail-header" @click="getUserInfo"> |
| 4 | <van-row> | 4 | <van-row> |
| 5 | <van-col span="4"> | 5 | <van-col span="4"> |
| 6 | <van-image v-if="videoInfo.avatar" round width="3rem" height="3rem" :src="videoInfo.avatar" /> | 6 | <van-image v-if="videoInfo.avatar" round width="3rem" height="3rem" :src="videoInfo.avatar" /> |
| ... | @@ -14,22 +14,19 @@ | ... | @@ -14,22 +14,19 @@ |
| 14 | </div> | 14 | </div> |
| 15 | 15 | ||
| 16 | <div class="video-player"> | 16 | <div class="video-player"> |
| 17 | - <video-detail :item="videoInfo" @on-click="onVideoDetail"></video-detail> | 17 | + <video-detail :item="videoInfo" @on-click="onVideoDetail" /> |
| 18 | </div> | 18 | </div> |
| 19 | 19 | ||
| 20 | <div class="video-main"> | 20 | <div class="video-main"> |
| 21 | <van-row> | 21 | <van-row> |
| 22 | <van-col span="24" style="padding-top: 0.2rem;"> | 22 | <van-col span="24" style="padding-top: 0.2rem;"> |
| 23 | - <van-tabs sticky v-model:active="active" @click-tab="onClickTab" color="#F9D95C" background="#F7F7F7" | 23 | + <van-tabs v-model:active="active" sticky color="#F9D95C" background="#F7F7F7" title-active-color="#222222" title-inactive-color="#777777" @click-tab="onClickTab"> |
| 24 | - title-active-color="#222222" title-inactive-color="#777777"> | ||
| 25 | <van-tab title="简介" :title-style="tabClass"> | 24 | <van-tab title="简介" :title-style="tabClass"> |
| 26 | <div class="intro">{{ videoInfo.note }}</div> | 25 | <div class="intro">{{ videoInfo.note }}</div> |
| 27 | - <!-- TODO: 新需求:爱心助力捐钱弹框 --> | ||
| 28 | <donate-bar donate-type="C">为TA助力</donate-bar> | 26 | <donate-bar donate-type="C">为TA助力</donate-bar> |
| 29 | </van-tab> | 27 | </van-tab> |
| 30 | - <van-tab :title="'留言 ' + comment_num" :title-style="tabClass" | 28 | + <van-tab :title="'留言 ' + comment_num" :title-style="tabClass" :to="'/client/videoDetail/comment?prod_id=' + $route.query.prod_id + '&book_id=' + $route.query.book_id"> |
| 31 | - :to="'/client/videoDetail/comment?prod_id=' + $route.query.prod_id + '&book_id=' + $route.query.book_id"> | 29 | + <router-view /> |
| 32 | - <router-view></router-view> | ||
| 33 | </van-tab> | 30 | </van-tab> |
| 34 | </van-tabs> | 31 | </van-tabs> |
| 35 | </van-col> | 32 | </van-col> |
| ... | @@ -39,10 +36,10 @@ | ... | @@ -39,10 +36,10 @@ |
| 39 | </template> | 36 | </template> |
| 40 | 37 | ||
| 41 | <script setup> | 38 | <script setup> |
| 42 | -import { ref, reactive, onMounted, watch } from 'vue' | 39 | +import { ref, onMounted, watch } from 'vue' |
| 43 | -import { useRoute, useRouter, onBeforeRouteLeave } from 'vue-router' | 40 | +import { useRoute, useRouter } from 'vue-router' |
| 44 | 41 | ||
| 45 | -import { Cookies, $, _, axios, storeToRefs, mainStore, Toast, hasEllipsis } from '@/utils/generatePackage' | 42 | +import { axios, storeToRefs, mainStore, Toast } from '@/utils/generatePackage' |
| 46 | import { VideoDetail, DonateBar } from '@/utils/generateModules' | 43 | import { VideoDetail, DonateBar } from '@/utils/generateModules' |
| 47 | import { icon_avatar } from '@/utils/generateIcons' | 44 | import { icon_avatar } from '@/utils/generateIcons' |
| 48 | 45 | ... | ... |
-
Please register or login to post a comment