123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- <template>
- <view class="box">
- <view class="header">
- <image src="../../static/img/btn_act@2x.png" mode="" class="guizeBtn"></image>
- </view>
- <!-- 统计 -->
- <view class="sumBg">
- <view class="viewBg" @click="gonavigateTo('extract')">
- <view class="money" style="color: #FF4F00;">¥0</view>
- <view class="moneyTitle">累计佣金
- <image src="../../static/img/icon_arrow@2x.png" mode="" style="width: 18rpx; height: 18rpx;">
- </image>
- </view>
- </view>
- <view class="line"></view>
- <view class="viewBg" @click="gonavigateTo('extractHistory')">
- <view class="money">¥0</view>
- <view class="moneyTitle">累计提现
- <image src="../../static/img/icon_arrow@2x.png" mode="" style="width: 18rpx; height: 18rpx;">
- </image>
- </view>
- </view>
- <view class="line"></view>
- <view class="viewBg" @click="gonavigateTo('')">
- <view class="money">¥0</view>
- <view class="moneyTitle">邀请人数
- <image src="../../static/img/icon_arrow@2x.png" mode="" style="width: 18rpx; height: 18rpx;">
- </image>
- </view>
- </view>
- </view>
- <!-- 明细 -->
- <view class="mingxiBg" v-if="arr.length > 0">
- <view class="mingxi">
- <view v-for="(item,index) in arr" :key="index" v-if="index<10">
- <view class="itemBg">
- <image src="../../static/img/homeBtn1.png" mode="" style="width: 72rpx; height: 72rpx;"></image>
- <view class="nickName">昵称{{index}}</view>
- <view class="time">2022.02.12</view>
- <view class="jine">+18.09</view>
- </view>
- </view>
- </view>
- <!-- 查看更多 -->
- <view class="moreView" v-if="arr.length > 10">
- <view style="color: #3F90F7; font-size: 30rpx;">查看更多</view>
- <image src="../../static/img/icon_arrow_blue.png" mode="" style="width: 24rpx; height: 24rpx;"></image>
- </view>
- </view>
- <view class="mingxiBg" v-else>
- <image src="../../static/img/bg_empty@2x.png" mode="" style="width: 100%;"></image>
- </view>
- <view style="height: 180rpx;"></view>
- <view class="bottomView">
- <image src="../../static/img/miandui.png" mode="" class="bottomImg"></image>
- <image src="../../static/img/yaoqing.png" mode="" class="bottomImg"></image>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- arr: [1,2,3,4,5],
-
- }
- },
- methods: {
- gonavigateTo(url) {
- uni.navigateTo({
- url: url
- })
- }
- }
- }
- </script>
- <style scoped>
- .box {
- min-height: 100vh;
- background: #F4F5F7;
- }
- .header {
- width: 100vw;
- height: 750rpx;
- background-color: #DDDDDD;
- /* background-image: url(''); */
- background-size: 100% 100%;
- }
- .guizeBtn {
- float: right;
- margin-top: 48rpx;
- width: 169rpx;
- height: 56rpx;
- }
- .sumBg {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: 20rpx 24rpx;
- padding: 36rpx 50rpx;
- background-color: #FFFFFF;
- border-radius: 10rpx;
- }
- .viewBg {
- display: flex;
- flex-direction: column;
- align-items: center;
- background-color: #FFFFFF;
- }
- .money {
- font-size: 38rpx;
- color: #000000;
- font-weight: bold;
- }
- .moneyTitle {
- font-size: 28rpx;
- color: #666666;
- }
- .line {
- width: 1rpx;
- height: 73rpx;
- background-color: #EEEEEE;
- }
- .mingxiBg{
- margin: 0rpx 24rpx;
- background-color: #FFFFFF;
-
- border-radius: 10rpx;
- }
- .mingxi {
-
- background-image: url(../../static/img/bg_jianban@2x.png);
- background-size: 100%;
- background-repeat: no-repeat;
- padding-top: 89rpx;
-
- }
- .itemBg {
- height: 98rpx;
- margin: 0 20rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
-
- .nickName {
- font-size: 30rpx;
- color: #3C3C3C;
- flex-grow: 1;
- margin: 0 15rpx;
- }
- .time {
- font-size: 30rpx;
- color: #999999;
- margin: 0 15rpx;
- }
- .jine {
- font-size: 32rpx;
- color: #FF4F00;
- font-weight: bold;
- margin: 0 15rpx;
- }
- .moreView{
- height: 92rpx;
-
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .bottomView{
- width: 100%;
- height: 136rpx;
-
- position: fixed;
- left: 0;
- bottom: 0;
- display: flex;
- justify-content: space-around;
- }
- .bottomImg{
- height: 136rpx;
- }
- </style>
|