Bladeren bron

授权框弹出

Xiao_123 1 maand geleden
bovenliggende
commit
5826b7bb15

+ 1 - 1
layout/components/auth-modal.vue

@@ -2,7 +2,7 @@
 <template>
   <view v-if="authType !== ''">
     <ct-popup 
-      :show="authType !== 'login'" 
+      :show="authType === 'login'" 
       type="center" 
       round="10" 
       :showClose="false" 

+ 3 - 5
pages/drawLots/fortune.vue

@@ -66,17 +66,15 @@
 			</uni-card>
       <view v-if="isEdit" class="ss-m-t-30 journal-content">
         <uni-easyinput
-          :type="inputType"
+          type="textarea"
           v-model="notes"
           clearable
-          :focus="inputType === 'textarea'"
           maxlength="500"
           autoHeight
           placeholder="请输入要记录的内容"
-          @input="handleInput"
         />
-        <view v-if="inputType === 'textarea'" style="text-align: end;" class="ss-m-t-10 color-999">{{ notes?.length || 0 }}/500</view>
-        <view class="f-horizon-center" v-if="inputType === 'textarea'">
+        <view v-if="notes?.length" style="text-align: end;" class="ss-m-t-10 color-999">{{ notes?.length || 0 }}/500</view>
+        <view class="f-horizon-center" v-if="notes?.length">
           <button class="commonBtnStyle cancel-button" size="default" @click="handleCancel">取 消</button>
           <button 
             size="default" 

+ 1 - 0
static/style/index.css

@@ -9138,6 +9138,7 @@
 }
 
 .cancel-button {
+  margin: 20px auto;
   color: #007aff;
   border: 1px solid #007aff;
 }

File diff suppressed because it is too large
+ 0 - 0
static/style/index.min.css


+ 1 - 0
static/style/index.scss

@@ -499,6 +499,7 @@
   background-color: #FE574A !important;
 }
 .cancel-button {
+  margin: 20px auto;
   color: #007aff;
   border: 1px solid #007aff;
 }

Some files were not shown because too many files changed in this diff