任一存 3 лет назад
Родитель
Сommit
1706b18047
2 измененных файлов с 7 добавлено и 6 удалено
  1. 1 1
      src/assets/style/style.pc.edit.less
  2. 6 5
      src/components/preview/index.vue

+ 1 - 1
src/assets/style/style.pc.edit.less

@@ -770,7 +770,7 @@ textarea:-ms-input-placeholder {
     .ui-message-header {
       span {
         font-size: 18px;
-        color: #fff;
+        color: rgba(255, 255, 255, 0.6);
 
         &:last-child {
           color: rgba(255, 255, 255, 0.5);

+ 6 - 5
src/components/preview/index.vue

@@ -1,6 +1,6 @@
 <template>
     <popup v-if="show" :zIdx="'1100'">
-      <div class="ui-message ui-message-confirm">
+      <div class="ui-message ui-message-confirm dark">
         <div class="ui-message-header">
           <span>全景作品预览</span>
           <span @click="$emit('close')">
@@ -11,7 +11,8 @@
           <iframe :src="ifr" frameborder="0"></iframe>
         </div>
         <div class="ui-message-footer">
-          <button class="ui-button ui-button-rect" @click="copy">复制链接</button>
+          <button class="ui-button deepcancel ui-button-rect" @click="$emit('close')">取消</button>
+          <button class="ui-button submit ui-button-rect" @click="copy">复制链接</button>
           <button class="ui-button submit ui-button-rect" @click="openBlank">新窗口打开</button>
         </div>
       </div>
@@ -22,13 +23,13 @@
 import Popup from "@/components/shared/popup";
 
 export default {
-  // TODO: name不需要了?
   props:['show','ifr','name'],
   components:{
-    Popup
+    Popup,
   },
   data(){
-    return {}
+    return {
+    }
   },
   methods:{
     copy() {