lianghanqiang il y a 4 ans
Parent
commit
2c872cfe22
4 fichiers modifiés avec 30 ajouts et 7 suppressions
  1. 18 5
      components/alert/pointAuth.vue
  2. 2 1
      components/poster/poster.vue
  3. 10 1
      pages.json
  4. BIN
      static/poster/votesuccess.png

+ 18 - 5
components/alert/pointAuth.vue

@@ -3,7 +3,7 @@
 		<u-popup :custom-style="popupStyle" class="auth-point" v-model="show" mode="center" width="80%" border-radius="18" >
 			<image class="auth-bg" mode="aspectFill" src="../../static/poster/bg_shouyetc.png">
 				<view class="auth-msg">
-					<view v-for="(item,index) in vuex_active_setting.helpExplainList" :key="index">
+					<view class="info-item" v-for="(item,index) in vuex_active_setting.helpExplainList" :key="index">
 						{{item.helpExplain}}
 					</view>
 				</view>
@@ -57,9 +57,22 @@
 		height: 266rpx;
 	}
 	.auth-msg{
-		padding: 40rpx 40rpx 20rpx 40rpx;
-		display: flex;
-		align-items: center;
-		justify-content: left;
+		padding: 40rpx 20rpx 20rpx 20rpx;
+		.info-item{
+			font-size: 26rpx;
+			color: #353535;
+			position: relative;
+			padding: 10rpx 30rpx 10rpx 30rpx;
+			margin-left: 30rpx;
+		}
+		.info-item::before{
+			content: "";
+			position: absolute;
+			left: -20rpx;
+			top: 10rpx;
+			width: 25rpx;
+			height: 25rpx;
+			background: url(../../static/icon/item-dot.png) no-repeat center/contain;
+		}
 	}
 </style>

+ 2 - 1
components/poster/poster.vue

@@ -88,7 +88,8 @@
 				this.drawRoundImg(this.ctx, headerImg.path, ((this.canvasW - hW) / 2), ((this.canvasW - hW) / 2), hW,
 					hH, 0)
 				//绘制头像
-				let avatar = await this.getImageInfo(this.avatar)
+				const userInfo =  uni.getStorageSync("userInfo");
+				let avatar = await this.getImageInfo( userInfo.avatar ||this.avatar)
 				let avatarW = 290
 				let aW = uni.upx2px(avatarW);
 				this.drawRoundImg(this.ctx, avatar.path, (hW - aW) / 2, uni.upx2px(222), aW, aW, uni.upx2px(avatarW /

+ 10 - 1
pages.json

@@ -93,7 +93,16 @@
 			}
 
 		}
-	],
+	    ,{
+            "path" : "pages/auth/getfingerprint",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        }
+    ],
 	"tabBar": {
 		"color": "#555555",
 		"backgroundColor": "#FFFFFF",

BIN
static/poster/votesuccess.png