cyl/dev
wangxia 1 year ago
parent 814bf1fc5e
commit 9ff056d5cd

@ -1760,25 +1760,32 @@ Page({
iosDialogTobe: false, iosDialogTobe: false,
}); });
}, },
showTobeToast () {
wx.showModal({
content: '抱歉,您需先成为伯才代理以获得使用权限。',
// content: that.data.bclr,
contentColor: "#ccc",
confirmColor: "#1890ff",
confirmText: "确定",
showCancel: false,
success (res) {
},
});
},
showFee () { showFee () {
let that = this let that = this
// if (!this.data.isAgency) return false // if (!this.data.isAgency) return false
console.log('that.data.bclr', that.data.bclr); console.log('that.data.bclr', that.data.bclr);
wx.showModal({ wx.showModal({
title: that.data.isAgency ? '佣金: ' + that.data.fuWuFei : '', title: that.data.isAgency ? '佣金: ' + that.data.fuWuFei : '',
content: that.data.isAgency ? that.data.jobDetail.record.returnFeeDesp : '抱歉,成为伯才代理才能查看佣金', content: that.data.isAgency ? that.data.jobDetail.record.returnFeeDesp : '抱歉,您需先成为伯才代理以获得使用权限。',
// content: that.data.bclr, // content: that.data.bclr,
contentColor: "#ccc", contentColor: "#ccc",
confirmColor: "#1890ff", confirmColor: "#1890ff",
confirmText: "确定", confirmText: "确定",
showCancel: false, showCancel: false,
success (res) { success (res) {
// console.log(res);
// if (res.confirm) {
// wx.navigateTo({
// url: `/pages/sendCreatorCode/index?info=${JSON.stringify(data.data)}`,
// });
// }
}, },
}); });

@ -444,7 +444,7 @@
<view class style="margin-left:4px">客服</view> <view class style="margin-left:4px">客服</view>
<!-- </view> --> <!-- </view> -->
</view> </view>
<view wx:else class="detailBtn1 fsc mr16 flex-1" style="height:40px;width:100px;border-color:#ccc" hover-class="none" hover-stop-propagation="false"> <view wx:else class="detailBtn1 fsc mr16 flex-1" style="height:40px;width:100px;border-color:#ccc" hover-class="thover" hover-stop-propagation="false" bindtap="showTobeToast">
<icon class="iconfont icon-message f16" style="color:#ccc;line-height:40px"></icon> <icon class="iconfont icon-message f16" style="color:#ccc;line-height:40px"></icon>
<view class="cccc" style="margin-left:4px">客服</view> <view class="cccc" style="margin-left:4px">客服</view>
</view> </view>
@ -458,9 +458,9 @@
</view> </view>
</block> </block>
<block wx:else> <block wx:else>
<view class="flex-2" style="padding: 0 16px;width:240px"> <view class="flex-2" style="padding: 0 16px;width:240px" bindtap="showTobeToast">
<!-- style="background-color:#ccc" bindtap="goNewEnroll"--> <!-- style="background-color:#ccc" bindtap="goNewEnroll"-->
<button class="detailBtn" style="background-color:#ccc" type hover-class="none" hover-stop-propagation>立即报名</button> <button class="detailBtn" style="background-color:#ccc" type hover-class="thover" hover-stop-propagation>立即报名</button>
</view> </view>
</block> </block>
</view> </view>

@ -298,12 +298,12 @@
<view>地址本</view> <view>地址本</view>
</navigator> </navigator>
</view> </view>
<view> <!-- <view>
<navigator class target url="{{isLogin? '/pages/configAnnunciate/index': '/pages/login/index'}}" hover-class="thover" aria-role="navigate" open-type="navigate"> <navigator class target url="{{isLogin? '/pages/configAnnunciate/index': '/pages/login/index'}}" hover-class="thover" aria-role="navigate" open-type="navigate">
<image class src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/yhkb.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image> <image class src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/yhkb.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
<view>配置通告</view> <view>配置通告</view>
</navigator> </navigator>
</view> </view> -->
<!-- <view wx:if="{{!isLogin}}"> <!-- <view wx:if="{{!isLogin}}">
<navigator class="" target="" url="" hover-class="thover" open-type="navigate"> <navigator class="" target="" url="" hover-class="thover" open-type="navigate">
<image class="" src="/assets/images/wdbm.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> <image class="" src="/assets/images/wdbm.svg" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>

@ -162,9 +162,12 @@ Page({
} }
if (this.data.recording) return; if (this.data.recording) return;
if (this.data.loading == true) return if (this.data.loading == true) return
wx.showLoading({
title: '提交中',
})
this.data.loading = true this.data.loading = true
let data = { creator: app.globalData.loginUserInfo.id, district: this.data.district, recordType: 2, ...this.data.submitObj }; let data = { creator: app.globalData.loginUserInfo.id, district: this.data.district, recordType: 2, ...this.data.submitObj };
console.log(data); console.log('submit', data);
wx.request({ wx.request({
url: "https://admin.ibocai.com.cn/business/coop/add", url: "https://admin.ibocai.com.cn/business/coop/add",
method: "post", method: "post",
@ -199,11 +202,8 @@ Page({
}); });
} }
wx.hideLoading(); wx.hideLoading();
},
complete: function () {
that.data.loading = false that.data.loading = false
},
}
}); });
}, },
chooseImg (e) { chooseImg (e) {

@ -15,7 +15,7 @@
<label class="weui-label"><text style="color:#E4000C;font-size: 25px;position: absolute;left:6px;top: 14px;">*</text>联系电话</label> <label class="weui-label"><text style="color:#E4000C;font-size: 25px;position: absolute;left:6px;top: 14px;">*</text>联系电话</label>
</view> </view>
<view class="weui-cell__bd"> <view class="weui-cell__bd">
<input name="tel" type="number" bindinput="bothwayBind" data-type="tel" value="{{submitObj.tel}}" class="weui-input tr" placeholder="请输入联系电话" placeholder-class="weui-input__placeholder" /> <input name="tel" type="number" maxlength="11" bindinput="bothwayBind" data-type="tel" value="{{submitObj.tel}}" class="weui-input tr" placeholder="请输入联系电话" placeholder-class="weui-input__placeholder" />
</view> </view>
</view> </view>
</view> </view>

@ -8,6 +8,13 @@
"condition": { "condition": {
"miniprogram": { "miniprogram": {
"list": [ "list": [
{
"name": "pages/tobeAgency/index",
"pathName": "pages/tobeAgency/index",
"query": "",
"launchMode": "default",
"scene": null
},
{ {
"name": "pages/tobeAgency/index", "name": "pages/tobeAgency/index",
"pathName": "pages/tobeAgency/index", "pathName": "pages/tobeAgency/index",

Loading…
Cancel
Save