|
@@ -95,7 +95,7 @@
|
|
|
<image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_report.png" mode=""></image>
|
|
|
<text class="txt_tab">效果报表</text>
|
|
|
</view>
|
|
|
- <view class="tab_item">
|
|
|
+ <view class="tab_item" @click="showMine">
|
|
|
<image class="icon_tab" src="https://dm.static.elab-plus.com/yezhu/icon_myinfo.png" mode=""></image>
|
|
|
<text class="txt_tab">我的信息</text>
|
|
|
</view>
|
|
@@ -138,7 +138,7 @@
|
|
|
<text class="hongbao_money">完成邀请,可获得 ¥1/人</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="hongbao_right">
|
|
|
+ <view class="hongbao_right" @click="toShareCard('',1)">
|
|
|
邀请好友
|
|
|
</view>
|
|
|
</view>
|
|
@@ -157,11 +157,11 @@
|
|
|
</view>
|
|
|
<view class="house_num">
|
|
|
<image src="https://dm.static.elab-plus.com/yezhu/icon_family.png" mode=""></image>
|
|
|
- <text>{{item.cusGroup}}</text>
|
|
|
+ <text>{{item.projectLayout}}</text>
|
|
|
</view>
|
|
|
<text class="house_desc">{{item.shareRemark}}</text>
|
|
|
</view>
|
|
|
- <view class="item_share" @click="toShareCard(item,2)">
|
|
|
+ <view class="item_share" @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>
|
|
@@ -174,11 +174,13 @@
|
|
|
</view>
|
|
|
<login-notice></login-notice>
|
|
|
<login></login>
|
|
|
+ <dmMine ref='mine' :userInfo='userInfo'></dmMine>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import levelView from '@/components/leve-view/leve-view.vue';
|
|
|
+ import dmMine from '@/components/subComponents/dmMine.vue'
|
|
|
let app = getApp();
|
|
|
export default {
|
|
|
data() {
|
|
@@ -199,7 +201,11 @@
|
|
|
"ownersUnion": false,
|
|
|
"totalIncome": null,
|
|
|
"taskCount": null,
|
|
|
- "surplusTaskAmount": null
|
|
|
+ "surplusTaskAmount": null,
|
|
|
+ "cardNo":"",
|
|
|
+ "phone":"",
|
|
|
+ "room":"",
|
|
|
+ "sex":""
|
|
|
},
|
|
|
showGuide:false,
|
|
|
total:0,
|
|
@@ -315,9 +321,17 @@
|
|
|
this.clickCount--;
|
|
|
}
|
|
|
},
|
|
|
- toShareCard(item,type){
|
|
|
+ toShareCard(projectId,type){
|
|
|
+ let href = location.href;
|
|
|
+ if (href.indexOf("?")){
|
|
|
+ href = href.split('?')[0]
|
|
|
+ }
|
|
|
+ let projectPath = href;
|
|
|
+ if(type==2){
|
|
|
+ projectPath = href + "pages/houseDetail/houseDetail"
|
|
|
+ }
|
|
|
uni.navigateTo({
|
|
|
- url:'../shareCardPage/shareCardPage?page='+item.xcxPage+"&projectId="+item.projectId+"&type="+type
|
|
|
+ url:'../shareCardPage/shareCardPage?page='+projectPath+"&projectId="+projectId+"&type="+type
|
|
|
})
|
|
|
},
|
|
|
toLogin(){
|
|
@@ -325,10 +339,14 @@
|
|
|
},
|
|
|
upLoadView(isShow){
|
|
|
this.showGuide = isShow;
|
|
|
+ },
|
|
|
+ showMine(){
|
|
|
+ this.$refs.mine.show()
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
- levelView
|
|
|
+ levelView,
|
|
|
+ dmMine
|
|
|
}
|
|
|
}
|
|
|
</script>
|