|
@@ -64,9 +64,9 @@
|
|
|
<view class="content_body" :style="{background:color4}">
|
|
|
<view class="content_beginner_guide" v-if="showGuide">
|
|
|
<view class="title">
|
|
|
- <text class="title_txt">- 新手引导 -</text>
|
|
|
+ <text class="title_txt" :style="{color:contentColor}">- 新手引导 -</text>
|
|
|
<view class="title_right">
|
|
|
- <text class="title_right_txt" @click="upLoadView(false)">收起</text>
|
|
|
+ <text class="title_right_txt" :style="{color:contentColor}" @click="upLoadView(false)">收起</text>
|
|
|
<image class="title_right_cion" src="https://dm.static.elab-plus.com/yezhu/icon_shouqi.png"
|
|
|
mode=""></image>
|
|
|
</view>
|
|
@@ -76,67 +76,67 @@
|
|
|
<view class="item_guide">
|
|
|
<image class="guide_img" src="https://dm.static.elab-plus.com/yezhu/icon_yezhu.png" mode="">
|
|
|
</image>
|
|
|
- <text class="guide_title" @click="clearToken">业主认证</text>
|
|
|
- <text class="guide_desc">业主认证审核\n实时等级升级</text>
|
|
|
+ <text class="guide_title" :style="{color:titleColor}" @click="clearToken">业主认证</text>
|
|
|
+ <text class="guide_desc" :style="{color:contentColor}">业主认证审核\n实时等级升级</text>
|
|
|
</view>
|
|
|
<image class="icon_guide" src="https://dm.static.elab-plus.com/yezhu/icon_to_guide.png" mode="">
|
|
|
</image>
|
|
|
<view class="item_guide">
|
|
|
<image class="guide_img" style="width: 72rpx;height: 72rpx;margin-top: 5rpx;"
|
|
|
src="https://dm.static.elab-plus.com/yezhu/icon_pyq.png" mode=""></image>
|
|
|
- <text class="guide_title">分享项目</text>
|
|
|
- <text class="guide_desc">分享到朋友圈\n自动计算收益</text>
|
|
|
+ <text class="guide_title" :style="{color:titleColor}">分享项目</text>
|
|
|
+ <text class="guide_desc" :style="{color:contentColor}">分享到朋友圈\n自动计算收益</text>
|
|
|
</view>
|
|
|
<image class="icon_guide" src="https://dm.static.elab-plus.com/yezhu/icon_to_guide.png" mode="">
|
|
|
</image>
|
|
|
<view class="item_guide">
|
|
|
<image class="guide_img" style="width: 58rpx;height: 68rpx;margin-top: 9rpx;"
|
|
|
src="https://dm.static.elab-plus.com/yezhu/icon_yz_money.png" mode=""></image>
|
|
|
- <text class="guide_title">提现到微信</text>
|
|
|
- <text class="guide_desc">实时查看收益\n快速提现到账</text>
|
|
|
+ <text class="guide_title" :style="{color:titleColor}">提现到微信</text>
|
|
|
+ <text class="guide_desc" :style="{color:contentColor}">实时查看收益\n快速提现到账</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
<view class="content_beginner_guide_" v-else @click="upLoadView(true)">
|
|
|
- <text class="title_txt">展开新手引导</text>
|
|
|
+ <text class="title_txt" :style="{color:contentColor}">展开新手引导</text>
|
|
|
<image class="title_right_cion" src="../../static/icons/icon_down_.png"
|
|
|
mode=""></image>
|
|
|
</view>
|
|
|
<view class="content_tab">
|
|
|
<view class="tab_item" @click="toYezhu">
|
|
|
<image class="icon_tab" src="../../static/icons/icon_zcyz_user.png" mode=""></image>
|
|
|
- <text class="txt_tab">业主认证</text>
|
|
|
+ <text class="txt_tab" :style="{color:titleColor}">业主认证</text>
|
|
|
</view>
|
|
|
<view class="tab_item" @click="toShouYiPage">
|
|
|
<image class="icon_tab" src="../../static/icons/icon_shouyi_user.png" mode=""></image>
|
|
|
- <text class="txt_tab">收益排行榜</text>
|
|
|
+ <text class="txt_tab" :style="{color:titleColor}">收益排行榜</text>
|
|
|
</view>
|
|
|
<view class="tab_item" @click="goReportPage">
|
|
|
<image class="icon_tab" src="../../static/icons/icon_report_user.png" mode=""></image>
|
|
|
- <text class="txt_tab">效果报表</text>
|
|
|
+ <text class="txt_tab" :style="{color:titleColor}">效果报表</text>
|
|
|
</view>
|
|
|
<view class="tab_item" @click="showMine">
|
|
|
<image class="icon_tab" src="../../static/icons/icon_user_mine.png" mode=""></image>
|
|
|
- <text class="txt_tab">我的信息</text>
|
|
|
+ <text class="txt_tab" :style="{color:titleColor}">我的信息</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="content_tuiguang" v-if="userInfo.userId">
|
|
|
<view class="content_tuiguang_city">
|
|
|
- <view class="city_num"><countTo :startVal='0' :endVal='Number(userInfo.taskCount)' :duration='3000'></countTo>个</view>
|
|
|
- <text class="city_num_desc">推广任务</text>
|
|
|
+ <view class="city_num" :style="{color:titleColor}"><countTo :startVal='0' :endVal='Number(userInfo.taskCount)' :duration='3000'></countTo>个</view>
|
|
|
+ <text class="city_num_desc" :style="{color:contentColor}">推广任务</text>
|
|
|
<view class="city_list" @click="showOptions(1)">
|
|
|
- <text class="city_name">{{city}}</text>
|
|
|
+ <text class="city_name" :style="{color:titleColor}">{{city}}</text>
|
|
|
<image class="city_more" src="https://dm.static.elab-plus.com/yezhu/icon_ios_back%402x.png"
|
|
|
mode=""></image>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
<view class="content_tuiguang_money">
|
|
|
- <view class="money_num"> ¥<countTo :startVal='0' :decimals='2' :endVal='Number(userInfo.surplusTaskAmount)' :duration='1000'></countTo></view>
|
|
|
- <text class="money_num_des">剩余任务金额</text>
|
|
|
+ <view class="money_num" :style="{color:color2}"> ¥<countTo :startVal='0' :decimals='2' :endVal='Number(userInfo.surplusTaskAmount)' :duration='1000'></countTo></view>
|
|
|
+ <text class="money_num_des" :style="{color:contentColor}">剩余任务金额</text>
|
|
|
<view class="money_list" @click="showOptions(2)">
|
|
|
- <text class="money_name" >{{typeName}}</text>
|
|
|
+ <text class="money_name" :style="{color:titleColor}">{{typeName}}</text>
|
|
|
<image class="money_more" src="https://dm.static.elab-plus.com/yezhu/icon_ios_back%402x.png"
|
|
|
mode=""></image>
|
|
|
</view>
|
|
@@ -161,7 +161,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="content_list">
|
|
|
- <view class="content_title">
|
|
|
+ <view class="content_title" :style="{color:titleColor}">
|
|
|
<view class="content_title_poi">
|
|
|
</view>
|
|
|
任务列表
|
|
@@ -184,24 +184,24 @@
|
|
|
<view class="list_item" @click="goDetailAction(item,1)">
|
|
|
<image class="house_img" :src="item.image" mode="aspectFill"></image>
|
|
|
<view class="item_content" >
|
|
|
- <text class="house_name">{{item.name}}</text>
|
|
|
- <view class="house_hk" v-if="item.taskCategory">
|
|
|
- <text class="house_hk_" v-for="(item1,index1) in item.taskCategory" :key='index1'>{{item1.category}} ¥{{item1.unitPrice}}/人</text>
|
|
|
+ <text class="house_name" :style="{color:titleColor}">{{item.name}}</text>
|
|
|
+ <view class="house_hk" :style="{color:color2}" v-if="item.taskCategory">
|
|
|
+ <text class="house_hk_" v-for="(item1,index1) in item.taskCategory" :key='index1'>{{item1.category}} ¥{{item1.unitPrice}}/人</text>
|
|
|
</view>
|
|
|
<text class="house_hk" v-else></text>
|
|
|
<view class="house_address">
|
|
|
<image src="https://dm.static.elab-plus.com/yezhu/icon_location.png" mode=""></image>
|
|
|
- <text style="width: 100%;">{{item.city}} · {{item.minPrice}}-{{item.maxPrice}}元/m² {{item.bizFormat?'· '+item.bizFormat:''}}</text>
|
|
|
+ <text style="width: 100%;" :style="{color:contentColor}">{{item.city}} · {{item.minPrice}}-{{item.maxPrice}}元/m² {{item.bizFormat?'· '+item.bizFormat:''}}</text>
|
|
|
</view>
|
|
|
<view class="house_num">
|
|
|
<image src="https://dm.static.elab-plus.com/yezhu/icon_family.png" mode=""></image>
|
|
|
- <text style="width: 100%;">{{item.projectLayout}}</text>
|
|
|
+ <text style="width: 100%;" :style="{color:contentColor}">{{item.projectLayout}}</text>
|
|
|
</view>
|
|
|
- <text class="house_desc">{{item.taskEndTime}}</text>
|
|
|
+ <text class="house_desc" :style="{color:contentColor}">{{item.taskEndTime}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="item_share" @click="toShareCard(item.projectId,2)">
|
|
|
+ <view class="item_share" :style="{background:color1}" @click="toShareCard(item.projectId,2)">
|
|
|
<image class="icon_share" src="https://dm.static.elab-plus.com/yezhu/icon_small_share.png"
|
|
|
mode=""></image>
|
|
|
<text class="icon_text">分享</text>
|
|
@@ -209,7 +209,7 @@
|
|
|
<view class="item_bg"></view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="com_noMore_text" v-if="noMore && houseList.length > 0">没有更多了</view>
|
|
|
+ <view class="com_noMore_text" :style="{color:contentColor}" v-if="noMore && houseList.length > 0">没有更多了</view>
|
|
|
|
|
|
<view class="empty" v-if="houseList.length == 0">
|
|
|
<image class="emptyImg" src="https://dm.static.elab-plus.com/yezhu/h5/icon_empty.png" mode=""></image>
|
|
@@ -238,6 +238,10 @@
|
|
|
data() {
|
|
|
return {
|
|
|
color4: '#F5F5F7',
|
|
|
+ color2:"",
|
|
|
+ color1:"",
|
|
|
+ contentColor:"",
|
|
|
+ titleColor:"",
|
|
|
houseList: [],
|
|
|
userId: "",
|
|
|
token: "",
|
|
@@ -285,6 +289,10 @@
|
|
|
})
|
|
|
this.isFirst = true
|
|
|
this.color4 = app.globalData.color4;
|
|
|
+ this.color2 = app.globalData.color2;
|
|
|
+ this.color1 = app.globalData.color1;
|
|
|
+ this.contentColor = app.globalData.contentColor;
|
|
|
+ this.titleColor = app.globalData.titleColor;
|
|
|
this.getData();
|
|
|
uni.$on("request",()=>{
|
|
|
this.getData();
|
|
@@ -719,7 +727,6 @@
|
|
|
font-family: FontName, FontName-Regular;
|
|
|
font-weight: 400;
|
|
|
text-align: left;
|
|
|
- color: #b1b1b1;
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
top: 30rpx;
|
|
@@ -1083,7 +1090,6 @@
|
|
|
font-family: Verdana, Verdana-Bold;
|
|
|
font-weight: 700;
|
|
|
text-align: left;
|
|
|
- color: #262626;
|
|
|
margin-top: 20rpx;
|
|
|
text-overflow: ellipsis;
|
|
|
overflow: hidden;
|
|
@@ -1096,7 +1102,6 @@
|
|
|
font-family: Verdana, Verdana-Regular;
|
|
|
font-weight: 400;
|
|
|
text-align: left;
|
|
|
- color: #fd8f3c;
|
|
|
margin-top: 8rpx;
|
|
|
.house_hk_{
|
|
|
margin-right: 10rpx;
|
|
@@ -1166,7 +1171,6 @@
|
|
|
font-family: Verdana, Verdana-Regular;
|
|
|
font-weight: 400;
|
|
|
text-align: left;
|
|
|
- color: #b1b1b1;
|
|
|
margin-bottom: 20rpx;
|
|
|
word-break:break-all;
|
|
|
}
|
|
@@ -1178,7 +1182,6 @@
|
|
|
flex-direction: column;
|
|
|
width: 70rpx;
|
|
|
height: 100rpx;
|
|
|
- background: #f07423;
|
|
|
border-radius: 12rpx;
|
|
|
position: absolute;
|
|
|
right: 0;
|