/* pages/upload/upload.wxss */ page{ background: #F4F7F9; } .content{ background: #fff; margin-top: 12px; padding: 10px 12px; } .item{ padding:10px 200rpx; position: relative; padding-right: 0; } .item image{ width: 160rpx; height: 160rpx; position: absolute; left: 20rpx; top: 0; bottom: 0; margin: auto; } .title{ color: #333; } .item text{ color: #E85546; font-size: 24rpx; } .tips{ color: #358BFF; margin-top: 36rpx; } .post{ width: 100%; height:96rpx; background:rgba(53,139,255,1); border-radius:4px; color: #fff; line-height: 96rpx; margin-top: 130rpx; text-align: center; } .model{ position: fixed; z-index: 9; background: rgba(0,0,0,.5); width: 100%; height: 100vh; top: 0; left: 0; display: none; } .show{ display: block; } .model image{ width: 80%; position: absolute; top:0; left: 0; bottom: 0; right: 0; margin: auto; }