/**index.wxss**/ .userinfo { display: flex; flex-direction: column; align-items: center; } .userinfo-avatar { width: 128rpx; height: 128rpx; margin: 20rpx; border-radius: 50%; } .userinfo-nickname { color: #aaa; } .usermotto { margin-top: 200px; } /* ---弹窗css--- */ .modal-mask { width: 100%; height: 100%; position: fixed; top: 0; left: 0; background: #000; opacity: 0.5; overflow: hidden; color: #fff; } .modal-dialog { width: 72%; position: absolute; top: 30%; left: 14%; background: #fff; border-radius: 12rpx; } .modal-content{ text-align: center; } .modal-content .show{ width: 450rpx; height: 323rpx; display: block; margin: 0 auto; margin-top: -118rpx; z-index: 10000; } .iconWx{ width:52rpx; height: 41rpx; padding-right: 20rpx; } .iconPhone{ width:56rpx; height: 56rpx; padding-right: 15rpx; } .modal-content view:nth-of-type(2){ font-size: 38rpx; color: #333333; line-height: 1; } .modal-content view:nth-of-type(3){ font-size: 26rpx; color: #9c9c9c; margin: 18rpx 0 29rpx; line-height: 1; } .modal-content button:nth-of-type(1){ width: 80%; height: 80rpx; border-radius: 60rpx; margin: 0 auto 80rpx; font-size: 30rpx; color: #fff; background: #31cc32; display: flex; flex-direction: row; align-items: center; justify-content: center; padding: 0; box-sizing: border-box; } .modal-content button:nth-of-type(1)::after{ border: none; } .modal-content .wxLogin{ font-size: 26rpx; color: #424242; display: flex; flex-direction: row; align-items: center; justify-content: center; margin: 38rpx 0 80rpx; } button::after{ border: none; } .mask_layer { width: 100%; height: 100%; position: fixed; z-index: 999; left:0;top:0; background: #000; opacity: 0.5; overflow: hidden; } .modal_box { width: 76%; overflow: hidden; position: fixed; top: 50%; left: 0; z-index: 1001; background: #fafafa; margin: -150px 12% 0 12%; border-radius: 3px; } .title { padding: 15px; text-align: center; background-color: gazure; } .content { overflow-y: scroll; /*超出父盒子高度可滚动*/ } .input_show1{ margin: 0 auto; width: 80%; margin-left: 10%; font-size: 32rpx; text-align: center; } .btn1 { width: 100%; margin-top: 65rpx; display: flex; flex-direction: row; align-items: center; justify-content: space-between; box-sizing: border-box; background-color: white; } .cancel { width: 100%; padding: 10px; text-align: center; color: black; } .Sure { width: 100%; padding: 10px; color: #44b549; background-color: white; border-left: 1px solid #d0d0d0; text-align: center; } .modalMsg { text-align: center; margin-top: 45rpx; display: block; }