|
@@ -8,7 +8,7 @@
|
|
|
<view class="item" v-for="(item, idx) in dataInfo.categoryList" :key="idx"
|
|
|
:style="`color: ${color2}; background-color: ${color6};`">{{item.categoryName}}</view>
|
|
|
</view>
|
|
|
- <view class="shareBtn" :style="`background-color: ${color1};`">
|
|
|
+ <view class="shareBtn" :style="`background-color: ${color1};`" @click="toShareCard(dataInfo)">
|
|
|
<image class="icon" src="https://dm.static.elab-plus.com/yezhu/h5/icon_share.png" mode="aspectFit"></image>
|
|
|
<text>分享项目</text>
|
|
|
</view>
|
|
@@ -193,6 +193,12 @@
|
|
|
return parseFloat(val / 10000).toFixed(2) + '万'
|
|
|
},
|
|
|
|
|
|
+ toShareCard(item,type=2){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'../shareCardPage/shareCardPage?page='+item.xcxPage+"&projectId="+item.projectId+"&type="+type
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
backAction() {
|
|
|
uni.navigateBack({
|
|
|
delta: 1
|