瀏覽代碼

删除冗余文件

任一存 1 年之前
父節點
當前提交
0e4320e113
共有 28 個文件被更改,包括 7 次插入333 次删除
  1. 二進制
      public/configMultiMedia/paintings-small/万竹秋深图(局部).jpg
  2. 二進制
      public/configMultiMedia/paintings-small/修篁树石图.jpg
  3. 二進制
      public/configMultiMedia/paintings-small/十二墨花图(墨竹部分).jpg
  4. 二進制
      public/configMultiMedia/paintings-small/古木竹石.jpg
  5. 二進制
      public/configMultiMedia/paintings-small/墨竹.jpg
  6. 二進制
      public/configMultiMedia/paintings-small/墨竹图屏.jpg
  7. 二進制
      public/configMultiMedia/paintings-small/墨竹图(一).jpg
  8. 二進制
      public/configMultiMedia/paintings-small/墨竹图(二).jpg
  9. 二進制
      public/configMultiMedia/paintings-small/平安磐石.jpg
  10. 二進制
      public/configMultiMedia/paintings-small/托根乱岩图.jpg
  11. 二進制
      public/configMultiMedia/paintings-small/晚香高节图.jpg
  12. 二進制
      public/configMultiMedia/paintings-small/朱竹图.jpg
  13. 二進制
      public/configMultiMedia/paintings-small/枯木竹石图.jpg
  14. 二進制
      public/configMultiMedia/paintings-small/桃竹双凫图.jpg
  15. 二進制
      public/configMultiMedia/paintings-small/湘潭秋意图.jpg
  16. 二進制
      public/configMultiMedia/paintings-small/潇湘竹石图(竹石部分).jpg
  17. 二進制
      public/configMultiMedia/paintings-small/灵谷探梅图.jpg
  18. 二進制
      public/configMultiMedia/paintings-small/竹枝图.jpg
  19. 二進制
      public/configMultiMedia/paintings-small/竹石菊花图.jpg
  20. 二進制
      public/configMultiMedia/paintings-small/竹禽图卷.jpg
  21. 二進制
      public/configMultiMedia/paintings-small/竹禽图卷11.jpg
  22. 二進制
      public/configMultiMedia/paintings-small/筼筜清影图.jpg
  23. 二進制
      public/configMultiMedia/paintings-small/花果图(墨竹部分).jpg
  24. 二進制
      public/configMultiMedia/paintings-small/赵氏一门三竹图.jpg
  25. 二進制
      public/configMultiMedia/paintings-small/雪竹图.jpg
  26. 6 6
      src/views/HomeView.vue
  27. 0 326
      src/views/PaintingDetailForShuangGou.vue
  28. 1 1
      src/views/PaintingDetailForTaoZhu.vue

二進制
public/configMultiMedia/paintings-small/万竹秋深图(局部).jpg


二進制
public/configMultiMedia/paintings-small/修篁树石图.jpg


二進制
public/configMultiMedia/paintings-small/十二墨花图(墨竹部分).jpg


二進制
public/configMultiMedia/paintings-small/古木竹石.jpg


二進制
public/configMultiMedia/paintings-small/墨竹.jpg


二進制
public/configMultiMedia/paintings-small/墨竹图屏.jpg


二進制
public/configMultiMedia/paintings-small/墨竹图(一).jpg


二進制
public/configMultiMedia/paintings-small/墨竹图(二).jpg


二進制
public/configMultiMedia/paintings-small/平安磐石.jpg


二進制
public/configMultiMedia/paintings-small/托根乱岩图.jpg


二進制
public/configMultiMedia/paintings-small/晚香高节图.jpg


二進制
public/configMultiMedia/paintings-small/朱竹图.jpg


二進制
public/configMultiMedia/paintings-small/枯木竹石图.jpg


二進制
public/configMultiMedia/paintings-small/桃竹双凫图.jpg


二進制
public/configMultiMedia/paintings-small/湘潭秋意图.jpg


二進制
public/configMultiMedia/paintings-small/潇湘竹石图(竹石部分).jpg


二進制
public/configMultiMedia/paintings-small/灵谷探梅图.jpg


二進制
public/configMultiMedia/paintings-small/竹枝图.jpg


二進制
public/configMultiMedia/paintings-small/竹石菊花图.jpg


二進制
public/configMultiMedia/paintings-small/竹禽图卷.jpg


二進制
public/configMultiMedia/paintings-small/竹禽图卷11.jpg


二進制
public/configMultiMedia/paintings-small/筼筜清影图.jpg


二進制
public/configMultiMedia/paintings-small/花果图(墨竹部分).jpg


二進制
public/configMultiMedia/paintings-small/赵氏一门三竹图.jpg


二進制
public/configMultiMedia/paintings-small/雪竹图.jpg


+ 6 - 6
src/views/HomeView.vue

@@ -250,12 +250,12 @@ onMounted(() => {
         alt=""
         draggable="false"
       >
-      <img
+      <!-- <img
         class="painting-stem"
         src="@/assets/images/home-painting2.jpg"
         alt=""
         draggable="false"
-      >
+      > -->
       <img
         :style="{ opacity: curPageIndex == 1 ? 1 : 0, zIndex: 3 }"
         class="painting-stem"
@@ -482,8 +482,8 @@ onMounted(() => {
     position: absolute;
     left: 50%;
     top: 50%;
-    width: calc(99vh / 937 * 552);
-    height: 99vh;
+    width: calc(97vh / 937 * 552);
+    height: 97vh;
     transform: translate(-50%, -50%);
     z-index: 1;
     transition: top 1.5s ease, left 1.5s ease, width 1.5s ease, height 1.5s ease;
@@ -525,8 +525,8 @@ onMounted(() => {
     position: absolute;
     left: 50%;
     top: 50%;
-    width: calc(99vh / 937 * 552);
-    height: 99vh;
+    width: calc(97vh / 937 * 552);
+    height: 97vh;
     transform: translate(-50%, -50%);
     pointer-events: none;
     will-change: transform;

+ 0 - 326
src/views/PaintingDetailForShuangGou.vue

@@ -1,326 +0,0 @@
-<template>
-  <div class="painting-detail-for-shuang-gou">
-    <div
-      class="painting-wrap"
-      :style="{
-        clipPath: `rect(0 100% ${AnimationProgress.value}% 0)`,
-      }"
-    >
-      <!-- <img
-        class=""
-        src="@/assets/images/"
-        alt=""
-        draggable="false"
-      > -->
-      <Transition name="fade-out">
-        <img
-          v-show="isAnimating"
-          class="bottom-border-for-animation"
-          :style="{
-            bottom: `${100 - AnimationProgress.value}%`,
-          }"
-          src="@/assets/images/painting-border-bottom.png"
-          alt=""
-          draggable="false"
-        >
-      </Transition>
-    </div>
-    <div
-      ref="descTextEl"
-      class="desc-text"
-      :style="{
-        opacity: isAnimating ? AnimationProgress.value / 100 : 1,
-      }"
-    >
-      <h1>{{ props.title }}</h1>
-      <p class="subtitle">
-        {{ `${props.author} (${props.age})` }}
-      </p>
-      <p class="subtitle">
-        {{ props.subtitle }}
-      </p>
-      <p class="subtitle">
-        {{ props.location }}
-      </p>
-    </div>
-
-    <OperationTip
-      v-if="needOperationTip"
-      class="operation-tip"
-      text=""
-      :is-show="isShowOperationTip"
-    />
-
-    <BtnBack
-      v-if="canClose"
-      @click="emit('close')"
-    />
-  </div>
-</template>
-
-<script setup>
-import { ref, computed, watch, onMounted, inject, onUnmounted } from "vue"
-import { useRoute, useRouter } from "vue-router"
-import { useStore } from "vuex"
-import useSizeAdapt from "@/useFunctions/useSizeAdapt"
-import TWEEN from '@tweenjs/tween.js'
-import { api as viewerApi } from 'v-viewer'
-
-const route = useRoute()
-const router = useRouter()
-const store = useStore()
-
-const $env = inject('$env')
-
-const emit = defineEmits(['close'])
-
-const {
-  windowSizeInCssForRef,
-  windowSizeWhenDesignForRef,
-} = useSizeAdapt()
-
-const props = defineProps({
-  thumb: {
-    type: String,
-    required: true,
-  },
-  bigPainting: {
-    type: String,
-    required: true,
-  },
-  title: {
-    type: String,
-    required: true,
-  },
-  author: {
-    type: String,
-    required: true,
-  },
-  // subtitle: {
-  //   type: String,
-  //   required: true,
-  // },
-  age: {
-    type: String,
-    required: true,
-  },
-  location: {
-    type: String,
-    required: true,
-  },
-  paintingDesc: {
-    type: String,
-    default: '',
-  },
-  authorDesc: {
-    type: String,
-    default: '',
-  },
-  canClose: {
-    type: Boolean,
-    default: true,
-  },
-  size: {
-    type: Object,
-    default: () => {
-      return {
-        width: 1,
-        height: 1,
-      }
-    },
-  },
-  needOperationTip: {
-    type: Boolean,
-    default: false,
-  },
-})
-
-/**
- * 操作提示
- */
-const needOperationTip = computed(() => {
-  return props.needOperationTip
-})
-const isShowOperationTip = ref(true)
-const descTextEl = ref(null)
-const descTextElScrollTop = ref(0)
-onMounted(() => {
-  descTextEl.value.addEventListener('scroll', (e) => {
-    descTextElScrollTop.value = descTextEl.value.scrollTop
-  })
-
-})
-const unwatch = watch(descTextElScrollTop, (v) => {
-  isShowOperationTip.value = false
-  unwatch()
-})
-
-const isAnimating = ref(true)
-
-/** 卷轴展开动画的tweening */
-const AnimationProgress = ref({
-  value: 7
-})
-const tween = new TWEEN.Tween(AnimationProgress.value)
-tween.to({
-  value: 100,
-}, 3000)
-tween.easing(TWEEN.Easing.Cubic.InOut)
-let animationRequestId = null
-const animate = () => {
-  animationRequestId = requestAnimationFrame(animate)
-  TWEEN.update()
-}
-// tween.onUpdate(function (object) {
-//   console.log(object.value)
-// })
-onMounted(() => {
-  tween.start()
-  animate()
-})
-tween.onComplete(() => {
-  isAnimating.value = false
-  cancelAnimationFrame(animationRequestId)
-})
-onUnmounted(() => {
-  tween.stop()
-  cancelAnimationFrame(animationRequestId)
-})
-
-/**
- * 尺寸相关
- */
-const paintingWrapWidth = ref(268)
-const paintingWrapHeight = ref(426)
-let wrapSizeRatio = paintingWrapWidth.value / paintingWrapHeight.value
-if (wrapSizeRatio < 1) {
-  wrapSizeRatio = 1 / wrapSizeRatio
-}
-
-let sizeRatio = props.size.width / props.size.height
-if (sizeRatio < 1) {
-  sizeRatio = 1 / sizeRatio
-}
-
-const isOversize = ref(sizeRatio > wrapSizeRatio)
-
-const paintingWrap2El = ref(null)
-const paintingEl = ref(null)
-onMounted(() => {
-  if (isOversize.value) {
-    setTimeout(() => {
-      const y = (paintingEl.value.clientHeight - paintingWrap2El.value.clientHeight) / 2
-      paintingWrap2El.value.scrollTo({
-        top: y,
-        // behavior: 'smooth',
-      })
-    }, 0)
-  }
-})
-
-function showBigPainting() {
-  viewerApi({
-    images: [props.bigPainting],
-  })
-}
-
-</script>
-
-<style lang="less" scoped>
-.painting-detail-for-shuang-gou{
-  position: absolute;
-  left: 0;
-  top: 0;
-  width: 100%;
-  height: 100%;
-  ::-webkit-scrollbar { width: 0; height: 0; }
-  >.painting-wrap{
-    position: absolute;
-    left: 50%;
-    top: calc(70 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-    transform: translate(-50%, 0);
-    width: calc(356 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-    height: calc(602 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-    overflow: hidden;
-    >img.painting-border{
-      position: absolute;
-      left: 0;
-      top: 0;
-      width: 100%;
-      height: 100%;
-    }
-    >.painting-wrap-2{
-      position: absolute;
-      left: 50%;
-      top: calc(110 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-      transform: translate(-50%, 0);
-      width: calc(v-bind('paintingWrapWidth') / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-      height: calc(v-bind('paintingWrapHeight') / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-      overflow: auto;
-      >img.painting{
-        position: absolute;
-        left: 50%;
-        top: 50%;
-        transform: translate(-50%, -50%);
-        width: 100%;
-      }
-      >img.painting.oversize{
-        position: static;
-        left: initial;
-        top: initial;
-        transform: initial;
-      }
-    }
-    >img.bottom-border-for-animation{
-      position: absolute;
-      left: 0;
-      width: 100%;
-    }
-  }
-  >.desc-text{
-    position: absolute;
-    left: 50%;
-    bottom: 2%;
-    transform: translateX(-50%);
-    width: calc(306 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-    height: calc(130 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-    overflow: auto;
-    >h1{
-      text-align: center;
-      font-family: KaiTi, KaiTi;
-      font-weight: 400;
-      font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-      color: #FFFFFF;
-      margin-bottom: calc(19 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-    }
-    >p.subtitle{
-      text-align: center;
-      font-family: KaiTi, KaiTi;
-      font-weight: 400;
-      font-size: calc(16 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-      color: rgba(255, 255, 255, 0.8);
-      line-height: calc(19 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-      margin-bottom: calc(6 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-    }
-    >h2{
-      display: inline-block;
-      margin-top: calc(30 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-      font-family: KaiTi, KaiTi;
-      color: #FFFFFF;
-      margin-top: 2em;
-      margin-bottom: 0.5em;
-      font-weight: 400;
-      font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-    }
-    >.normal-text{
-      font-family: KaiTi, KaiTi;
-      color: #FFFFFF;
-      font-weight: 400;
-      font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-      line-height: calc(25 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
-      text-align: justify;
-      white-space: pre-line;
-    }
-  }
-}
-</style>

+ 1 - 1
src/views/PaintingDetailForTaoZhu.vue

@@ -136,7 +136,7 @@ onUnmounted(() => {
   cancelAnimationFrame(animationRequestId)
 })
 
-const imgUrlSmall = `${$env.BASE_URL}configMultiMedia/paintings-small/桃竹双凫图.jpg`
+const imgUrlSmall = `${$env.BASE_URL}configMultiMedia/paintings/桃竹双凫图.jpg`
 const imgUrl = `${$env.BASE_URL}configMultiMedia/paintings/桃竹双凫图.jpg`
 
 function showBigPainting() {