|
|
|
|
@ -1,7 +1,29 @@
|
|
|
|
|
<template>
|
|
|
|
|
<view class="p-root-detail-job g_ml_10 g_mr_10 g_mt_10 g_kuaishou">
|
|
|
|
|
<!-- {{ from }} -->
|
|
|
|
|
<!-- {{ selfJob }} -->
|
|
|
|
|
|
|
|
|
|
<view class="g_bg_f g_radius_8 g_mb_10 g_pl_10 g_pr_10" style="width: calc(100% - 0px); margin: 0 auto; margin-bottom: 10px">
|
|
|
|
|
<view class="g_flex_row_between flex_center g_h_57 g_fs_16 g_border_e_b" v-if="jobDetail.newXmf">
|
|
|
|
|
<view class="g_flex_row_start" style="flex: none">
|
|
|
|
|
<view class="g_fw_600 g_mr_4 g_flex_column_center">项目方</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_flex_row_end" style="flex: 1">
|
|
|
|
|
<span class="g_c_6" selectable="false" space="false" decode="false">
|
|
|
|
|
{{ jobDetail.newXmf }}
|
|
|
|
|
</span>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_flex_row_between flex_center g_fs_16" @click="showFee" >
|
|
|
|
|
<view class="g_flex_row_start" style="flex: none">
|
|
|
|
|
<view class="g_fw_600 g_mr_4 g_h_57 g_flex_column_center">代理佣金</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_flex_row_end flex_center g_h_57" style="flex: 1">
|
|
|
|
|
<span class>{{ jobDetail.serverPrice }}</span>
|
|
|
|
|
<view class="iconfont icon-gengduo11 g_fs_14 g_c_6 g_ml_4"></view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="g_pt_16 g_pb_16 g_pl_16 g_pr_16 g_radius_8 g_bg_f">
|
|
|
|
|
<view v-if="speed == 0" class="">
|
|
|
|
|
<rh-loading />
|
|
|
|
|
@ -157,7 +179,7 @@
|
|
|
|
|
<view class="g_flex_none g_flex_column_center">
|
|
|
|
|
<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>
|
|
|
|
|
<view class="g_fs_12 g_c_6" style="margin-top: 4px">IM</view>
|
|
|
|
|
<view class="g_fs_12 g_c_6" style="margin-top: 4px">消息</view>
|
|
|
|
|
</button>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="g_flex_1 g_flex_column_center" hover-class="none" hover-stop-propagation="false">
|
|
|
|
|
@ -642,6 +664,40 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
showFee() {
|
|
|
|
|
let that = this;
|
|
|
|
|
if (uni.getStorageSync("apply-token")) {
|
|
|
|
|
} else {
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: "",
|
|
|
|
|
content: "登录后查看",
|
|
|
|
|
confirmColor: "#6a81ff",
|
|
|
|
|
confirmText: "去登陆",
|
|
|
|
|
cancelText: "知道了",
|
|
|
|
|
success(res) {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: "/root/person/loginIndex",
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let content, title;
|
|
|
|
|
title = that.jobDetail.serverPrice;
|
|
|
|
|
content = that.jobDetail.returnFeeDesp;
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title,
|
|
|
|
|
content,
|
|
|
|
|
contentColor: "#ccc",
|
|
|
|
|
confirmColor: "#6a81ff",
|
|
|
|
|
confirmText: "确定",
|
|
|
|
|
showCancel: false,
|
|
|
|
|
success(res) {},
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getCode(callback = () => {}) {
|
|
|
|
|
uni.login({
|
|
|
|
|
success(wxRes) {
|
|
|
|
|
@ -885,6 +941,12 @@ export default {
|
|
|
|
|
|
|
|
|
|
// that.jobDetail.jobName = '三顿饭卡加斯冯老师独立开发技术的返利看打两发慷慨激昂收代理费'
|
|
|
|
|
that.jobDetail.logo = that.jobDetail.logo.indexOf("http:") > -1 ? that.jobDetail.logo.replace("http:", "https:") : that.jobDetail.logo;
|
|
|
|
|
that.jobDetail.newXmf = uni.getStorageSync('apply-agencyId') == uni.getStorageSync('pgy-agency-id') ?
|
|
|
|
|
(res.agencyId == uni.getStorageSync('apply-agencyId') ? (res.upAgencyName || res.upProviderName) : res.agencyName) :
|
|
|
|
|
''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
that.speed = 1;
|
|
|
|
|
}, 100);
|
|
|
|
|
|