Zhengxiaowei 5 年之前
父節點
當前提交
4f173544b8
共有 2 個文件被更改,包括 8 次插入6 次删除
  1. 7 5
      src/components/sign/index.ux
  2. 1 1
      src/views/Phone/index.ux

+ 7 - 5
src/components/sign/index.ux

@@ -2,7 +2,7 @@
 	<div class="sign-wrap">
 		<div class="sign-content">
 			<div class="sign-banner">
-				<text class="sign-banner__text">获得<span class="orange">50</span>书币</text>
+				<text class="sign-banner__text">获得<span class="orange">{{signData.fee}}</span>书币</text>
 			</div>
 			<div class="sign-line">
 				<div class="sign-line__item" for="{{signList}}">
@@ -42,9 +42,10 @@ export default {
 		this.signData = res;
 		this.signList.forEach(item => {
 			if (item.day <= res.days) {
-				item.iconType = 'checked';
-			}
-		});
+        item.iconType = 'checked';
+      }
+    });
+   
 	},
 	setSignPop() {
 		this.$dispatch('dispathEvt')
@@ -62,6 +63,7 @@ export default {
     background-color: rgba(0, 0, 0, 0.56);
     flex-direction: column;
 		align-items: center;
+    justify-content: center;
 		z-index: 2;
   }
   &-content {
@@ -69,7 +71,7 @@ export default {
     height: 520px;
     border-radius: 30px;
     background-color: #fff;
-    margin-top: 240px;
+    margin-top: -240px;
     flex-direction: column;
   }
   &-line {

+ 1 - 1
src/views/Phone/index.ux

@@ -20,7 +20,7 @@ import prompt from '@system.prompt';
 export default {
   private: {
     hasSend: false,
-    duration: 60,
+    duration: 120,
     mobile: null,
     code: null