bill před 8 měsíci
rodič
revize
5e798802da

+ 3 - 0
src/components/materials/index.vue

@@ -0,0 +1,3 @@
+<template>
+  
+</template>

+ 4 - 1
src/components/tagging/sign-new.vue

@@ -137,7 +137,10 @@ const toCameraDistance = ref(tag.toCameraDistance);
 tag.bus.on("toCameraDistanceChange", (v) => (toCameraDistance.value = v));
 
 const show = computed(
-  () => props.scenePos.globalVisibility || toCameraDistance.value <= 30
+  () =>
+    props.scenePos.globalVisibility ||
+    // || toCameraDistance.value <= 30
+    true
 );
 watchEffect(() => tag.visibility(show.value));
 

+ 33 - 1
src/views/tagging/edit.vue

@@ -28,7 +28,7 @@
         v-model="tagging.title"
         maxlength="15"
       />
-      <div style="margin-bottom: 10px">
+      <div class="input">
         <ui-input type="checkbox" label="标题长驻显示" v-model="tagging.show3dTitle" />
       </div>
 
@@ -72,6 +72,38 @@
         <template #preIcon><span>提取人:</span></template>
       </ui-input>
 
+      <div class="input">
+        <div class="mat-select">
+          <span>音乐</span>
+          <span class="select">+ 从媒体库上传</span>
+        </div>
+
+        <ui-input
+          class="input"
+          type="file"
+          width="100%"
+          height="40px"
+          preview
+          placeholder="上传图片"
+          othPlaceholder="支持 mp3/wav 格式,≤30MB"
+          accept=".mp3, .wav"
+          :disable="true"
+          :multiple="false"
+          :maxSize="30 * 1024 * 1024"
+          @update:modelValue="fileChange"
+        >
+          <!-- <template v-slot:valuable>
+            <Images :tagging="tagging" :hideInfo="true">
+              <template v-slot:icons="{ active }">
+                <span @click="delImageHandler(active)" class="del-file">
+                  <ui-icon type="del" ctrl />
+                </span>
+              </template>
+            </Images>
+          </template> -->
+        </ui-input>
+      </div>
+
       <ui-input
         class="input"
         type="file"