体现
This commit is contained in:
@@ -4,7 +4,8 @@ Component({
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
|
||||
tel:String,
|
||||
img:String
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,12 +12,13 @@
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
background-color: gold;
|
||||
margin-bottom: 44rpx;
|
||||
margin-bottom: 24rpx;
|
||||
border-radius: 90%;
|
||||
}
|
||||
.tel {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<view class="box">
|
||||
<view class="yongjintop">
|
||||
<image class="photo"></image>
|
||||
<view class="tel">156***578</view>
|
||||
<image class="photo" src="{{img}}"></image>
|
||||
<view class="tel">{{tel}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="mid">
|
||||
@@ -9,15 +9,15 @@
|
||||
<view>
|
||||
<view class="way">昨日收益</view>
|
||||
<view class="money">
|
||||
<text class="money1">657.00</text>
|
||||
<text class="money1">0</text>
|
||||
<text>RMB</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
<view>
|
||||
<view class="way">昨日收益</view>
|
||||
<view class="way">累计收益</view>
|
||||
<view class="money">
|
||||
<text class="money1">657.00</text>
|
||||
<text class="money1">0</text>
|
||||
<text>RMB</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -1,63 +1 @@
|
||||
.box {
|
||||
width: 690rpx;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 41rpx;
|
||||
border-bottom: 2rpx solid #EEEEEE;
|
||||
}
|
||||
|
||||
.box .yongjintop {
|
||||
width: 152rpx;
|
||||
height: 196rpx;
|
||||
margin: 0 auto;
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
|
||||
.box .yongjintop .photo {
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
background-color: gold;
|
||||
margin-bottom: 44rpx;
|
||||
border-radius: 90%;
|
||||
}
|
||||
|
||||
.box .yongjintop .tel {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.mid {
|
||||
width: 100%;
|
||||
height: 175rpx;
|
||||
border-bottom: 20rpx solid #FBFBFB;
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mid .midbox {
|
||||
width: 478rpx;
|
||||
height: 175rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.mid .way {
|
||||
margin-top: 46rpx;
|
||||
margin-bottom: 14rpx;
|
||||
}
|
||||
|
||||
.mid .money {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.mid .money1 {
|
||||
color: #F81F1F;
|
||||
}
|
||||
|
||||
.mid .line {
|
||||
width: 2rpx;
|
||||
height: 60rpx;
|
||||
margin: auto 0;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
.box{width:690rpx;margin:0 auto;padding-bottom:41rpx;border-bottom:2rpx solid #EEEEEE}.box .yongjintop{width:152rpx;height:196rpx;margin:0 auto;margin-top:40rpx}.box .yongjintop .photo{width:130rpx;height:130rpx;background-color:gold;margin-bottom:24rpx;border-radius:90%}.box .yongjintop .tel{color:#333333;font-size:28rpx;text-align:center}.mid{width:100%;height:175rpx;border-bottom:20rpx solid #FBFBFB;color:#333333;font-size:28rpx;text-align:center}.mid .midbox{width:478rpx;height:175rpx;display:flex;justify-content:space-between;margin:0 auto}.mid .way{margin-top:46rpx;margin-bottom:14rpx}.mid .money{font-size:24rpx}.mid .money1{color:#F81F1F}.mid .line{width:2rpx;height:60rpx;margin:auto 0;background-color:#EEEEEE}
|
||||
|
||||
Reference in New Issue
Block a user