|
|
|
@ -148,12 +148,12 @@
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- && miniAppInfo.id != loginInfo.agencyId -->
|
|
|
|
<!-- && miniAppInfo.id != loginInfo.agencyId -->
|
|
|
|
<view class="g_flex_none g_flex_column_center" v-if="attention && from != 'bill'">
|
|
|
|
<!-- <view class="g_flex_none g_flex_column_center" v-if="attention && from != 'bill'">
|
|
|
|
<button class="g_pl_0 g_pr_0 g_bg_f g_mr_12 g_w_36" hover-class="thover" style="line-height: 1; border-radius: 0" @click="handleCollection">
|
|
|
|
<button class="g_pl_0 g_pr_0 g_bg_f g_mr_12 g_w_36" hover-class="thover" style="line-height: 1; border-radius: 0" @click="handleCollection">
|
|
|
|
<icon :class="['iconfont g_mr_2', isSc ? 'icon-heart-fill g_c_f0' : 'icon-heart g_c_6']" style="line-height: 1; margin-top: -5px; font-size: 20px !important"> </icon>
|
|
|
|
<icon :class="['iconfont g_mr_2', isSc ? 'icon-heart-fill g_c_f0' : 'icon-heart g_c_6']" style="line-height: 1; margin-top: -5px; font-size: 20px !important"> </icon>
|
|
|
|
<view class="g_fs_12 g_c_6" style="margin-top: 4px">{{ isSc ? "已想去" : "想去" }}</view>
|
|
|
|
<view class="g_fs_12 g_c_6" style="margin-top: 4px">{{ isSc ? "已收藏" : "收藏" }}</view>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</view>
|
|
|
|
</view> -->
|
|
|
|
<view class="g_flex_none g_flex_column_center" v-if="false">
|
|
|
|
<view class="g_flex_none g_flex_column_center" v-if="false">
|
|
|
|
<button class="g_pl_0 g_pr_0 g_bg_f g_mr_12 g_w_36" hover-class="thover" style="line-height: 1; border-radius: 0" @click="goIm">
|
|
|
|
<button class="g_pl_0 g_pr_0 g_bg_f g_mr_12 g_w_36" hover-class="thover" style="line-height: 1; border-radius: 0" @click="goIm">
|
|
|
|
<icon class="iconfont icon-message" style="color: #787878; line-height: 1; margin-top: -5px; font-size: 20px !important"> </icon>
|
|
|
|
<icon class="iconfont icon-message" style="color: #787878; line-height: 1; margin-top: -5px; font-size: 20px !important"> </icon>
|
|
|
|
@ -719,14 +719,14 @@ export default {
|
|
|
|
that.G.Get(that.api.yi_job_collect + "/" + that.uid, {}, (res) => {
|
|
|
|
that.G.Get(that.api.yi_job_collect + "/" + that.uid, {}, (res) => {
|
|
|
|
that.isSc = !that.isSc;
|
|
|
|
that.isSc = !that.isSc;
|
|
|
|
uni.showToast({
|
|
|
|
uni.showToast({
|
|
|
|
title: that.isSc ? "想去成功" : "取消想去",
|
|
|
|
title: that.isSc ? "收藏成功" : "取消收藏",
|
|
|
|
icon: "success",
|
|
|
|
icon: "success",
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
uni.showModal({
|
|
|
|
uni.showModal({
|
|
|
|
title: "登录提示",
|
|
|
|
title: "登录提示",
|
|
|
|
content: "想去功能需要登录才能使用,是否登录",
|
|
|
|
content: "收藏功能需要登录才能使用,是否登录",
|
|
|
|
success(res) {
|
|
|
|
success(res) {
|
|
|
|
if (res.confirm) {
|
|
|
|
if (res.confirm) {
|
|
|
|
uni.navigateTo({
|
|
|
|
uni.navigateTo({
|
|
|
|
@ -1371,7 +1371,7 @@ export default {
|
|
|
|
if (this.isCollection) {
|
|
|
|
if (this.isCollection) {
|
|
|
|
uni.showToast({
|
|
|
|
uni.showToast({
|
|
|
|
icon: "success",
|
|
|
|
icon: "success",
|
|
|
|
title: "想去成功",
|
|
|
|
title: "收藏成功",
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|