wenliming vor 3 Jahren
Ursprung
Commit
715fbb4687

+ 1 - 1
src/view/components/custom-card-cover.vue

@@ -12,7 +12,7 @@
         <div class="title" v-if="data.userInfo">
             <img :src="data.userInfo.avatarUrl" />
             <span>{{
-                data.userInfo.nickName || "FutureDoctor"
+                data.userInfo.nickName || ""
             }}</span>
         </div>
         <div class="money-area">

+ 1 - 1
src/view/components/message-box.vue

@@ -60,7 +60,7 @@ const confirm = () => {
         left: 50%;
         top: 50%;
         width: 375px;
-        height: 220px;
+        min-height: 220px;
         background: #FFFFFF;
         border-radius: 20px;
         padding: 20px;

+ 2 - 1
src/view/iframe/publish/components/paypal-button.vue

@@ -159,8 +159,9 @@ onMounted(() => {
             color: #1D9BF0;
             display: flex;
             align-items: center;
-            justify-content: end;
+            justify-content: flex-end;
             margin-bottom: 6px;
+            
             span {
                 display: inline-block;
                 color: #000000;

+ 7 - 3
src/view/iframe/publish/components/preview-card.vue

@@ -33,8 +33,11 @@
             </div> 
 
             <!-- 安装之前的卡片样式 -->
-            <div v-show="!installStatus" class="content-before" :style="{'width': reviewCanvasParams.width+ 'px'}">
-                <div class="head" :style="{'zoom': reviewCanvasParams.zoom}">
+            <div class="content-before"
+                v-show="!installStatus" 
+                :style="{'width': reviewCanvasParams.width+ 'px'}">
+                <div class="head" 
+                    :style="{'zoom': reviewCanvasParams.zoom}">
                     <img :src="userInfo.avatarUrl"
                         class="avatar"/>
                     <div class="article-wrapper">
@@ -46,7 +49,8 @@
                         </div>
                     </div>
                 </div>
-                <div class="card-wrapper" :style="{'zoom': reviewCanvasParams.zoom}">
+                <div class="card-wrapper" 
+                    :style="{'zoom': reviewCanvasParams.zoom}">
                     <img :src="require('@/assets/subject/img-card-cover-blue.png')"
                         class="card-cover"/>
                     <div class="bottom-bar">

+ 16 - 5
src/view/iframe/publish/give-dialog.vue

@@ -412,7 +412,7 @@ provide('installStatus', installStatus)
 let publishRes = reactive({});
 
 //弹窗是否展示
-let visible = ref(true);
+let visible = ref(false);
 
 //弹窗高度
 let dialogStyle = reactive({
@@ -770,6 +770,10 @@ const selectCurrencyAfter = (params, openWindow = true) => {
 const resetFormIpt = () => {
     baseFormData.amountValue = "";
     baseFormData.totalCount = "";
+    baseFormData.validityDuration = "";
+    selectModeInfo.index = 0;
+    selectModeInfo.type = publishModeList[selectModeInfo.index]['type'];
+    baseFormData.type = selectModeInfo.type;
 }
 
 const setLocalSelectCurrencyInfo = (params = {}) => {
@@ -914,7 +918,14 @@ const submitRequest = async () => {
 
     let validityDuration = '';
     if(baseFormData.type == 2) {
-        validityDuration = baseFormData.validityDuration * 60 * 60 * 1000;
+        //小时转毫秒
+        let unit =  60 * 60 * 1000;
+        if(process.env.NODE_ENV != 'production') {
+            unit = 60 * 1000;
+        } else {
+            unit = 60 * 60 * 1000;
+        }
+        validityDuration = baseFormData.validityDuration * unit;
     } else {
         validityDuration = '';
     }
@@ -1423,7 +1434,6 @@ const getDiscordInviteInfo = ({inviteUrl, getDuildId}, cb) => {
             iptErrMsgTxt.value = discordIptErrTxt;
         } else {
             getGuildInfoByOpenApi({inviteCode}, cb);
-
         }
     });
 }
@@ -1568,6 +1578,7 @@ const selectPublishMode = (params, index) => {
     selectModeInfo.type = params.type;
     baseFormData.type = params.type;
 
+    setInputErrorMsg();
 }
 
 onMounted(() => {
@@ -1843,7 +1854,7 @@ onMounted(() => {
                                 .item {
                                     box-sizing: border-box;
                                     padding: 7px 0;
-                                    height: 76px;
+                                    min-height: 76px;
                                     display: flex;
                                     align-items: center;
                                     justify-content: space-between;
@@ -1986,7 +1997,7 @@ onMounted(() => {
                         border: 1px solid #D1D9DD;
 
                         .form-item {
-                            min-height: 50px;
+                            min-height: 54px;
                             display: flex;
                             align-items: center;
                             justify-content: space-between;

+ 2 - 2
src/view/popup/tabbar-page/message/index.vue

@@ -550,7 +550,7 @@ onBeforeUnmount(() => {
 
               .msg {
                 display: flex;
-                align-items: end;
+                align-items: flex-end;
                 flex-direction: column;
                 .bold {
                   font-weight: 500;
@@ -605,7 +605,7 @@ onBeforeUnmount(() => {
                   .desc-bottom-bar {
                     display: flex;
                     align-items: center;
-                    justify-content: end;
+                    justify-content: flex-end;
                     margin-top: 10px;
 
                     .btn {

+ 1 - 1
src/view/popup/tabbar-page/nft/detail.vue

@@ -217,7 +217,7 @@ onMounted(() => {
 
             .img {
                 width: 280px;
-                border-radius: 26px;
+                border-radius: 10px;
             }
         }