高敬炎 1 年間 前
コミット
4930b77a48

+ 5 - 0
uni_applet/pages/find/find.vue

@@ -426,10 +426,15 @@
 			color:#333;
 			margin-left:10rpx;
 			overflow-x: scroll;
+			white-space: nowrap;
+			width:65vw;
+			font-weight:600;
+			letter-spacing:3rpx;
 		}
 		.description{
 			color:#666;
 			margin-top:10rpx;
+			width:67vw;
 		}
 		.address{
 			margin-top:20rpx;

+ 9 - 9
uni_applet/pages/food/food.vue

@@ -484,7 +484,15 @@
 		border-radius: 20rpx;
 		padding: 20rpx;
 		font-size: 32rpx;
-
+		.detailedAddress {
+			width: 70vw;
+			overflow: hidden;
+			text-overflow: ellipsis;
+			white-space: nowrap;
+			color:#999 ;
+			text-align:left;
+			line-height: 40rpx;
+		}
 		.row2 {
 			margin: 20rpx 0;
 		}
@@ -617,14 +625,6 @@
 		transform: translateX(-50%);
 	}
 
-	.detailedAddress {
-		width: 70vw;
-		overflow: hidden;
-		text-overflow: ellipsis;
-		white-space: nowrap;
-		color:#999 ;
-		line-height: 40rpx;
-	}
 
 	.tag-type {
 		background: #fff;

+ 11 - 0
uni_applet/pages/my/my.vue

@@ -51,11 +51,16 @@
 				</u-cell-group>
 			</view>
 		</view>
+		<login-pop-up ref='loginpopup' :content='"手机登录后才能查看我的哦~"'></login-pop-up>
 	</view>
 </template>
 
 <script>
+		import loginPopUp from "@/components/loginPopUp/index.vue"
 	export default {
+		components: {
+			loginPopUp
+		},
 		data() {
 			return {
 				title: 'Hello'
@@ -63,6 +68,12 @@
 		},
 		onLoad() {
 
+		},
+		onShow(){
+			if(!uni.getStorageSync("userInfo").phone){
+				this.$refs.loginpopup.open()
+			}else{
+			}
 		},
 		methods: {