|
@@ -1,267 +1,531 @@
|
|
|
-<!-- -->
|
|
|
<template>
|
|
|
- <div class="show-tag" :id="`tagBox_${hotData.sid}`">
|
|
|
- <div class="tag-title">
|
|
|
- <h2>
|
|
|
- {{ hotData.title }}
|
|
|
- <ui-audio v-if="hotData.type == 'audio' && audioInfo.length > 0" class="audio" ref="audio"
|
|
|
- :src="common.changeUrl(audioInfo[0].src)"></ui-audio>
|
|
|
- </h2>
|
|
|
- </div>
|
|
|
- <div class="desc" v-if="hotData.content != ''">
|
|
|
- <div class="text" v-html="hotData.content"></div>
|
|
|
- </div>
|
|
|
- <div class="tag-metas" @click.stop="open"
|
|
|
- :class="{ mask: hotData.type == 'link', nocursor: hotData.type == 'video' }"
|
|
|
- v-if="hotData.media[hotData.type].length > 0 && hotData.type != 'audio'">
|
|
|
- <metasImage v-if="hotData.type == 'image'" />
|
|
|
- <metasVideo v-if="hotData.type == 'video'" />
|
|
|
- <metasWeb v-if="hotData.type == 'link'" />
|
|
|
- </div>
|
|
|
- <!-- <div class="edit-btn" v-if="routerName && routerName == 'tag' && !editModule">
|
|
|
- <span @click="edit()"><ui-icon type="edit"></ui-icon> 修改</span>
|
|
|
- </div> -->
|
|
|
+
|
|
|
+ <div
|
|
|
+ class="show-tag move-layer"
|
|
|
+ :style="`transform:translateY(${moveDistance}px);`"
|
|
|
+ :id="`tagBox_${hotData.sid}`"
|
|
|
+ >
|
|
|
+ <div class="show-content">
|
|
|
+ <!-- <div
|
|
|
+ class="share-box"
|
|
|
+ v-if="controls.showTagshare && !browser.detectApp()"
|
|
|
+ >
|
|
|
+ <ui-icon
|
|
|
+ type="share"
|
|
|
+ @mousemove="openShare(true)"
|
|
|
+ @mouseleave="openShare(false)"
|
|
|
+ ></ui-icon>
|
|
|
+ </div> -->
|
|
|
+ <div class="tag-title">
|
|
|
+ <h2>
|
|
|
+ <span :style="hotData.type == 'audio' ? '' : 'width:100%;'">
|
|
|
+ {{ hotData.title }}</span
|
|
|
+ >
|
|
|
+ <ui-audio
|
|
|
+ v-if="hotData.type == 'audio' && audioInfo.length > 0"
|
|
|
+ class="audio"
|
|
|
+ ref="audio"
|
|
|
+ :src="common.changeUrl(audioInfo[0].src)"
|
|
|
+ ></ui-audio>
|
|
|
+ </h2>
|
|
|
+ </div>
|
|
|
+ <div class="desc" v-if="hotData.content != ''">
|
|
|
+ <div class="text" v-html="hotData.content"></div>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="tag-metas"
|
|
|
+ @click.stop="open"
|
|
|
+ :class="{
|
|
|
+ mask: hotData.type == 'link',
|
|
|
+ nocursor: hotData.type == 'video',
|
|
|
+ }"
|
|
|
+ v-if="hotData.media[hotData.type].length > 0 && hotData.type != 'audio'"
|
|
|
+ >
|
|
|
+ <metasImage v-if="hotData.type == 'image'" />
|
|
|
+ <metasVideo v-if="hotData.type == 'video'" />
|
|
|
+ <metasWeb v-if="hotData.type == 'link'" />
|
|
|
+ </div>
|
|
|
+ <!-- <div class="edit-btn" v-if="routerName && routerName == 'tag' && !editModule">
|
|
|
+ <span @click="edit()"><ui-icon type="edit"></ui-icon> 修改</span>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
+ </div>
|
|
|
+ <!-- <shareTag
|
|
|
+ v-if="showShareEntry"
|
|
|
+ :hotData="hotData"
|
|
|
+ @closeShare="closeShare"
|
|
|
+ ></shareTag> -->
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { reactive, toRefs, onBeforeMount, onMounted, ref, watchEffect, computed, watch, defineEmits } from 'vue'
|
|
|
-import metasImage from './metas/metas-image'
|
|
|
-import metasVideo from './metas/metas-video'
|
|
|
-import metasAudio from './metas/metas-audio'
|
|
|
-import metasWeb from './metas/metas-web'
|
|
|
-import common from '@/utils/common'
|
|
|
-import { useStore } from 'vuex'
|
|
|
-import { useMusicPlayer } from '@/utils/sound'
|
|
|
-const musicPlayer = useMusicPlayer()
|
|
|
-const editModule = computed(() => store.getters['editModule'])
|
|
|
-const store = useStore()
|
|
|
-const emit = defineEmits(['open'])
|
|
|
-const hotData = computed(() => {
|
|
|
- let data = store.getters['tag/hotData']
|
|
|
- if (data.type == 'audio' || data.type == 'video') {
|
|
|
- // musicPlayer.pause(true)
|
|
|
- // console.log('1qwdq');
|
|
|
- window.parent.postMessage(
|
|
|
- {
|
|
|
- source: "qjkankan",
|
|
|
- event: "toggleBgmStatus",
|
|
|
- params: {
|
|
|
- status: false,
|
|
|
- },
|
|
|
- },
|
|
|
- "*"
|
|
|
- );
|
|
|
+import {
|
|
|
+ reactive,
|
|
|
+ toRefs,
|
|
|
+ onBeforeMount,
|
|
|
+ onMounted,
|
|
|
+ nextTick,
|
|
|
+ ref,
|
|
|
+ watchEffect,
|
|
|
+ computed,
|
|
|
+ watch,
|
|
|
+} from "vue";
|
|
|
+import metasImage from "./metas/metas-image";
|
|
|
+import metasVideo from "./metas/metas-video";
|
|
|
+import metasAudio from "./metas/metas-audio";
|
|
|
+import metasWeb from "./metas/metas-web";
|
|
|
+import common from "@/utils/common";
|
|
|
+import { getApp } from "@/app";
|
|
|
+import { useStore } from "vuex";
|
|
|
+import browser from "@/utils/browser";
|
|
|
+import { useMusicPlayer } from "@/utils/sound";
|
|
|
+import QRCode from "qrcode";
|
|
|
+// import shareTag from "./share/entry";
|
|
|
+// import ClipboardJS from "clipboard";
|
|
|
+// import { Dialog } from "@/global_components";
|
|
|
+import { useI18n, getLocale } from "@/i18n";
|
|
|
+const { t } = useI18n({ useScope: "global" });
|
|
|
+const copy$ = ref(null);
|
|
|
+// const musicPlayer = useMusicPlayer();
|
|
|
+// const editModule = computed(() => store.getters["editModule"]);
|
|
|
+const store = useStore();
|
|
|
+const emits = defineEmits(["open"]);
|
|
|
+const shareCode = ref(false);
|
|
|
|
|
|
+const controls = computed(() => store.getters["scene/metadata"].controls || {});
|
|
|
+const props = defineProps({
|
|
|
+ moveDistance: {
|
|
|
+ type: Number,
|
|
|
+ default: 0,
|
|
|
+ },
|
|
|
+});
|
|
|
+const hotData = computed(() => {
|
|
|
+ let data = store.getters["tag/hotData"];
|
|
|
+ if (data.type == "audio" || data.type == "video") {
|
|
|
+ // musicPlayer.pause(true)
|
|
|
+ // console.log('1qwdq');
|
|
|
+ window.parent.postMessage(
|
|
|
+ {
|
|
|
+ source: "qjkankan",
|
|
|
+ event: "toggleBgmStatus",
|
|
|
+ params: {
|
|
|
+ status: false,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ "*"
|
|
|
+ );
|
|
|
+ }
|
|
|
+ return data;
|
|
|
+});
|
|
|
+let timer = null;
|
|
|
+const openShare = (status) => {
|
|
|
+ nextTick(() => {
|
|
|
+ if (getApp().config.mobile) {
|
|
|
+ showShareEntry.value = true;
|
|
|
+ } else {
|
|
|
+ if (!status) {
|
|
|
+ timer = setTimeout(() => {
|
|
|
+ shareCode.value = status;
|
|
|
+ clearTimeout(timer);
|
|
|
+ timer = null;
|
|
|
+ }, 0);
|
|
|
+ } else {
|
|
|
+ clearTimeout(timer);
|
|
|
+ timer = null;
|
|
|
+ shareCode.value = status;
|
|
|
+ }
|
|
|
}
|
|
|
- return data
|
|
|
-})
|
|
|
-
|
|
|
+ });
|
|
|
+};
|
|
|
+const showShareEntry = ref(false);
|
|
|
+const closeShare = () => {
|
|
|
+ showShareEntry.value = false;
|
|
|
+};
|
|
|
const audioInfo = computed(() => {
|
|
|
- return hotData.value.media.audio
|
|
|
-})
|
|
|
-const router = computed(() => store.getters['router'])
|
|
|
+ return hotData.value.media.audio;
|
|
|
+});
|
|
|
+const router = computed(() => store.getters["router"]);
|
|
|
const routerName = computed(() => {
|
|
|
- let name = router.value.name || null
|
|
|
- return name
|
|
|
-})
|
|
|
-const audio = ref(null)
|
|
|
+ let name = router.value.name || null;
|
|
|
+ return name;
|
|
|
+});
|
|
|
+const onClickHandler = () => {
|
|
|
+ shareCode.value = false;
|
|
|
+};
|
|
|
+const audio = ref(null);
|
|
|
watchEffect(() => {
|
|
|
- if (audio.value) {
|
|
|
- audio.value.play()
|
|
|
+ if (audio.value) {
|
|
|
+ audio.value.play();
|
|
|
+ }
|
|
|
+});
|
|
|
+const LinkUrl = computed(() => {
|
|
|
+ let url;
|
|
|
+ if (browser.hasURLParam("t_id")) {
|
|
|
+ url = browser.changeURLArg(window.location.href, "t_id", hotData.value.sid);
|
|
|
+ } else {
|
|
|
+ url = window.location.href + `&t_id=${hotData.value.sid}`;
|
|
|
+ }
|
|
|
+ return url;
|
|
|
+});
|
|
|
+const initQrcode = () => {
|
|
|
+ var canvas = document.getElementById("qrcode-share-tag");
|
|
|
+ let url = LinkUrl.value;
|
|
|
+ QRCode.toCanvas(canvas, url, function (error) {
|
|
|
+ if (error) {
|
|
|
+ return;
|
|
|
}
|
|
|
-})
|
|
|
+ });
|
|
|
+};
|
|
|
const open = () => {
|
|
|
- if (hotData.value.type != 'video') {
|
|
|
- emit('open')
|
|
|
- window.parent.postMessage(
|
|
|
- {
|
|
|
- source: "qjkankan",
|
|
|
- event: "toggleFdkkHotspot",
|
|
|
- params: {
|
|
|
- status: 'open',
|
|
|
- },
|
|
|
- },
|
|
|
- "*"
|
|
|
- );
|
|
|
- console.log(111111);
|
|
|
- }
|
|
|
-}
|
|
|
+ if (hotData.value.type != "video") {
|
|
|
+ emits("open");
|
|
|
+ window.parent.postMessage(
|
|
|
+ {
|
|
|
+ source: "qjkankan",
|
|
|
+ event: "toggleFdkkHotspot",
|
|
|
+ params: {
|
|
|
+ status: "open",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ "*"
|
|
|
+ );
|
|
|
+ console.log(111111);
|
|
|
+ }
|
|
|
+};
|
|
|
// const edit = () => {
|
|
|
// store.commit('tag/edit')
|
|
|
// store.commit('tag/gotoTag', hotData.value)
|
|
|
// }
|
|
|
-onMounted(() => { })
|
|
|
+onMounted(() => {
|
|
|
+ nextTick(() => {
|
|
|
+ // initQrcode();
|
|
|
+ if (getApp().config.mobile) {
|
|
|
+
|
|
|
+ } else {
|
|
|
+ window.addEventListener("click", onClickHandler);
|
|
|
+ }
|
|
|
+ // if (controls.value.showTagshare && !browser.detectApp()) {
|
|
|
+ // new ClipboardJS(copy$.value).on("success", function (e) {
|
|
|
+ // e.clearSelection();
|
|
|
+ // Dialog.toast({ content: t("toast.copySuccess"), type: "success" });
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ });
|
|
|
+});
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
-.show-tag {
|
|
|
- pointer-events: auto;
|
|
|
- background: rgba(27, 27, 28, 0.8);
|
|
|
+.share-code {
|
|
|
+ width: 168px;
|
|
|
+ // height: 194px;
|
|
|
+ height: 241px;
|
|
|
+ background: rgba(27, 27, 28, 0.9);
|
|
|
+ box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25),
|
|
|
+ inset 0px 0px 0px 2px rgba(255, 255, 255, 0.1);
|
|
|
+ border-radius: 4px;
|
|
|
+ opacity: 1;
|
|
|
+ border: 1px solid #000000;
|
|
|
+ position: absolute;
|
|
|
+ z-index: 10;
|
|
|
+ pointer-events: auto;
|
|
|
+ // right: -5px;
|
|
|
+ // top: -180px;
|
|
|
+ right: -137px;
|
|
|
+ top: -72px;
|
|
|
+ padding: 20px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ .hover-box {
|
|
|
+ // position: absolute;
|
|
|
+ // width: 36px;
|
|
|
+ // height: 100%;
|
|
|
+ // z-index: 10;
|
|
|
+ // left: -32px;
|
|
|
+ // top: 0;
|
|
|
+ position: absolute;
|
|
|
+ width: 44px;
|
|
|
+ height: 100%;
|
|
|
+ z-index: 10;
|
|
|
+ left: -38px;
|
|
|
+ top: 0;
|
|
|
+ }
|
|
|
+ &::after {
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ left: 1px;
|
|
|
+ right: 1px;
|
|
|
+ bottom: 1px;
|
|
|
+ top: 1px;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
border-radius: 4px;
|
|
|
- // border: 1px solid #000000;
|
|
|
- // backdrop-filter: blur(4px);
|
|
|
- min-width: 400px;
|
|
|
- // min-height: 100px;
|
|
|
- padding: 30px 20px;
|
|
|
-
|
|
|
- .edit-btn {
|
|
|
- margin-top: 20px;
|
|
|
- text-align: right;
|
|
|
+ z-index: 0;
|
|
|
+ pointer-events: none;
|
|
|
+ }
|
|
|
|
|
|
- span {
|
|
|
- font-size: 14px;
|
|
|
- color: rgba(255, 255, 255, 0.6);
|
|
|
- cursor: pointer;
|
|
|
+ &::before {
|
|
|
+ position: absolute;
|
|
|
+ content: "";
|
|
|
+ // left: 80px;
|
|
|
+ // bottom: -10px;
|
|
|
+ left: -10px;
|
|
|
+ bottom: 117px;
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ // border-left: 6px solid transparent;
|
|
|
+ // border-right: 6px solid transparent;
|
|
|
+ // border-top: 10px solid rgba(0, 0, 0, 0.8);
|
|
|
|
|
|
- &:hover {
|
|
|
- color: #fff;
|
|
|
- }
|
|
|
- }
|
|
|
+ border-top: 6px solid transparent;
|
|
|
+ border-bottom: 6px solid transparent;
|
|
|
+ border-right: 10px solid rgba(0, 0, 0, 0.8);
|
|
|
+ }
|
|
|
+ canvas {
|
|
|
+ width: 128px !important;
|
|
|
+ height: 128px !important;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
+ .share-copyBtn {
|
|
|
+ color: rgba(255, 255, 255, 0.7);
|
|
|
+ font-size: 14px;
|
|
|
+ margin-top: 14px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ > div {
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ &:hover {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ .iconfont {
|
|
|
+ margin-right: 5px;
|
|
|
}
|
|
|
+ }
|
|
|
+ .share-line {
|
|
|
+ width: 128px;
|
|
|
+ height: 1px;
|
|
|
+ background: rgba(255, 255, 255, 0.16);
|
|
|
+ }
|
|
|
+ p.share-titie {
|
|
|
+ font-size: 12px;
|
|
|
+ color: rgba(255, 255, 255, 0.5);
|
|
|
+ text-align: center;
|
|
|
+ width: 120%;
|
|
|
+ margin-left: -10%;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
+}
|
|
|
+.show-tag {
|
|
|
+ pointer-events: auto;
|
|
|
+ // background: rgba(27, 27, 28, 0.8);
|
|
|
+ border-radius: 4px;
|
|
|
+ // border: 1px solid #000000;
|
|
|
+ // backdrop-filter: blur(4px);
|
|
|
+ min-width: 420px;
|
|
|
+ // min-height: 100px;
|
|
|
+ // padding: 30px 20px;
|
|
|
+ // padding: 0px 20px 0 0;
|
|
|
+ padding: 30px 0 30px 20px;
|
|
|
+ background: rgba(27, 27, 28, 0.8);
|
|
|
|
|
|
- .tag-metas {
|
|
|
+ position: relative;
|
|
|
+ border-radius: 8px;
|
|
|
+ // &::before {
|
|
|
+ // content: '';
|
|
|
+ // position: fixed;
|
|
|
+ // width: calc(100% - 40px);
|
|
|
+ // border-radius: 8px;
|
|
|
+ // height: 100%;
|
|
|
+ // z-index: 1;
|
|
|
+ // top: 0;
|
|
|
+ // left: 0;
|
|
|
+ // // backdrop-filter: blur(2px);
|
|
|
+ // background: rgba(27, 27, 28, 0.8);
|
|
|
+ // }
|
|
|
+ .show-content {
|
|
|
+ position: relative;
|
|
|
+ z-index: 2;
|
|
|
+ max-height: 50vh;
|
|
|
+ overflow-y: auto;
|
|
|
+ padding: 0px 20px 0 0;
|
|
|
+ }
|
|
|
+ .share-box {
|
|
|
+ height: 24px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-end;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ .iconfont {
|
|
|
+ font-size: 24px;
|
|
|
+ cursor: pointer;
|
|
|
+ color: #999999;
|
|
|
+ &:hover {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .edit-btn {
|
|
|
+ margin-top: 20px;
|
|
|
+ text-align: right;
|
|
|
+ span {
|
|
|
+ font-size: 14px;
|
|
|
+ color: rgba(255, 255, 255, 0.6);
|
|
|
+ cursor: pointer;
|
|
|
+ &:hover {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tag-metas {
|
|
|
+ width: 100%;
|
|
|
+ height: 225px;
|
|
|
+ background: rgba(255, 255, 255, 0.1);
|
|
|
+ border-radius: 4px;
|
|
|
+ overflow: hidden;
|
|
|
+ position: relative;
|
|
|
+ cursor: -webkit-zoom-in;
|
|
|
+ margin-top: 20px;
|
|
|
+ &.nocursor {
|
|
|
+ cursor: auto;
|
|
|
+ }
|
|
|
+ &.mask {
|
|
|
+ &::after {
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
width: 100%;
|
|
|
- height: 225px;
|
|
|
- background: rgba(255, 255, 255, 0.1);
|
|
|
- border-radius: 4px;
|
|
|
- overflow: hidden;
|
|
|
- position: relative;
|
|
|
- cursor: -webkit-zoom-in;
|
|
|
- margin-top: 20px;
|
|
|
-
|
|
|
- &.nocursor {
|
|
|
- cursor: auto;
|
|
|
- }
|
|
|
-
|
|
|
- &.mask {
|
|
|
- &::after {
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- z-index: 100;
|
|
|
- }
|
|
|
- }
|
|
|
+ height: 100%;
|
|
|
+ z-index: 100;
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
- .tag-title {
|
|
|
- word-break: break-all;
|
|
|
-
|
|
|
- h2 {
|
|
|
- font-size: 20px;
|
|
|
- // margin-bottom: 10px;
|
|
|
- line-height: 30px;
|
|
|
- color: #ffffff;
|
|
|
- position: relative;
|
|
|
-
|
|
|
- .ui-audio {
|
|
|
- float: right;
|
|
|
-
|
|
|
- &.audio {
|
|
|
- display: inline-block;
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
- }
|
|
|
+ }
|
|
|
+ .tag-title {
|
|
|
+ word-break: break-all;
|
|
|
+ h2 {
|
|
|
+ font-size: 20px;
|
|
|
+ // margin-bottom: 10px;
|
|
|
+ line-height: 30px;
|
|
|
+ color: #ffffff;
|
|
|
+ position: relative;
|
|
|
+ display: flex;
|
|
|
+ align-items: flex-start;
|
|
|
+ justify-content: space-between;
|
|
|
+ > span {
|
|
|
+ width: 93%;
|
|
|
+ text-align: justify;
|
|
|
+ }
|
|
|
+ .ui-audio {
|
|
|
+ float: right;
|
|
|
+ &.audio {
|
|
|
+ display: inline-block;
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
- .desc {
|
|
|
- margin-top: 10px;
|
|
|
-
|
|
|
- .text {
|
|
|
- font-size: 14px;
|
|
|
- color: #999999;
|
|
|
- line-height: 20px;
|
|
|
- text-align: justify;
|
|
|
- word-break: break-all;
|
|
|
- }
|
|
|
+ }
|
|
|
+ .desc {
|
|
|
+ margin-top: 10px;
|
|
|
+ .text {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 20px;
|
|
|
+ text-align: justify;
|
|
|
+ word-break: break-all;
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
[is-mobile] {
|
|
|
- .show-tag {
|
|
|
- pointer-events: auto;
|
|
|
- background: rgba(27, 27, 28, 0.8);
|
|
|
- border-radius: 0.0533rem;
|
|
|
- // border: 1px solid #000000;
|
|
|
- // backdrop-filter: blur(0.0533rem);
|
|
|
- min-width: 7.4667rem;
|
|
|
- // min-height: 4rem;
|
|
|
- padding: 0.4rem 0.2667rem;
|
|
|
-
|
|
|
- .edit-btn {
|
|
|
- margin-top: 0.2667rem;
|
|
|
- text-align: right;
|
|
|
-
|
|
|
- span {
|
|
|
- font-size: 0.1867rem;
|
|
|
- color: rgba(255, 255, 255, 0.6);
|
|
|
- cursor: pointer;
|
|
|
+ .show-tag {
|
|
|
+ pointer-events: auto;
|
|
|
+ border-radius: 0.0533rem;
|
|
|
|
|
|
- &:hover {
|
|
|
- color: #fff;
|
|
|
- }
|
|
|
- }
|
|
|
+ min-width: 7.4667rem;
|
|
|
+ border-radius: 0.1067rem;
|
|
|
+ // padding: 0px 0.2667rem 0 0;
|
|
|
+ padding: 0.4rem 0 0.4rem 0.2667rem;
|
|
|
+ box-shadow: 0px 0.1067rem 0.1067rem 0px rgba(0, 0, 0, 0.25),
|
|
|
+ inset 0px 0px 0px 0.0533rem rgba(255, 255, 255, 0.1);
|
|
|
+ opacity: 1;
|
|
|
+ // border: 0.0267rem solid #000000;
|
|
|
+ .show-content {
|
|
|
+ padding: 0px 0.2667rem 0 0;
|
|
|
+ }
|
|
|
+ &::before {
|
|
|
+ width: 100%;
|
|
|
+ border-radius: 0.1067rem;
|
|
|
+ }
|
|
|
+ .share-box {
|
|
|
+ height: 0.64rem;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-end;
|
|
|
+ margin-bottom: 0.1333rem;
|
|
|
+ .iconfont {
|
|
|
+ font-size: 0.64rem;
|
|
|
+ color: #999999;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .edit-btn {
|
|
|
+ margin-top: 0.2667rem;
|
|
|
+ text-align: right;
|
|
|
+ span {
|
|
|
+ font-size: 0.1867rem;
|
|
|
+ color: rgba(255, 255, 255, 0.6);
|
|
|
+ cursor: pointer;
|
|
|
+ &:hover {
|
|
|
+ color: #fff;
|
|
|
}
|
|
|
-
|
|
|
- .tag-metas {
|
|
|
- width: 100%;
|
|
|
- height: 4.2667rem;
|
|
|
- background: rgba(255, 255, 255, 0.1);
|
|
|
- border-radius: 0.0533rem;
|
|
|
- overflow: hidden;
|
|
|
- position: relative;
|
|
|
- cursor: -webkit-zoom-in;
|
|
|
- margin-top: 0.4rem;
|
|
|
-
|
|
|
- &.mask {
|
|
|
- &::after {
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- z-index: 100;
|
|
|
- }
|
|
|
- }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tag-metas {
|
|
|
+ width: 100%;
|
|
|
+ height: 4.2667rem;
|
|
|
+ background: rgba(255, 255, 255, 0.1);
|
|
|
+ border-radius: 0.0533rem;
|
|
|
+ overflow: hidden;
|
|
|
+ position: relative;
|
|
|
+ cursor: -webkit-zoom-in;
|
|
|
+ margin-top: 0.4rem;
|
|
|
+ &.mask {
|
|
|
+ &::after {
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ z-index: 100;
|
|
|
}
|
|
|
-
|
|
|
- .tag-title {
|
|
|
- h2 {
|
|
|
- font-size: 0.5333rem;
|
|
|
- line-height: 0.8rem;
|
|
|
- color: #ffffff;
|
|
|
- position: relative;
|
|
|
-
|
|
|
- .ui-audio {
|
|
|
- float: right;
|
|
|
-
|
|
|
- &.audio {
|
|
|
- display: inline-block;
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tag-title {
|
|
|
+ h2 {
|
|
|
+ font-size: 0.5333rem;
|
|
|
+ line-height: 0.8rem;
|
|
|
+ color: #ffffff;
|
|
|
+ position: relative;
|
|
|
+ .ui-audio {
|
|
|
+ float: right;
|
|
|
+ &.audio {
|
|
|
+ display: inline-block;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
}
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .desc {
|
|
|
+ margin-bottom: 0.2933rem;
|
|
|
|
|
|
- .desc {
|
|
|
- margin-bottom: 0.2933rem;
|
|
|
-
|
|
|
- .text {
|
|
|
- font-size: 0.3733rem;
|
|
|
- color: #999999;
|
|
|
- line-height: 0.2533rem;
|
|
|
- text-align: justify;
|
|
|
- line-height: 0.5333rem;
|
|
|
+ .text {
|
|
|
+ font-size: 0.3733rem;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 0.2533rem;
|
|
|
+ text-align: justify;
|
|
|
+ line-height: 0.5333rem;
|
|
|
|
|
|
- p {
|
|
|
- line-height: 0.5333rem;
|
|
|
- }
|
|
|
- }
|
|
|
+ p {
|
|
|
+ line-height: 0.5333rem;
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|