cyl/dev
jscyl13849007907 1 year ago
parent 30fbbf6bbf
commit 4831e1b4c1

@ -366,10 +366,13 @@
<view class="iconfont icon-qiehuantuandui ml4" style="font-size:8px"></view>
</view>-->
</view>
<view >
<view>当前团队</view>
<view class="iconfont icon-gengduo11 f16 c9 ml4 mt2"></view>
</view>
</view>
</view>
</view>
<navigator class hover-class style target url="{{isLogin? '/pages/opinion/index': '/pages/login/index'}}">
<view class="br_8" hover-class="none" style="background-color:#fff" hover-stop-propagation="false">
<view class="setting mt_10" hover-class="thover">

@ -1,5 +1,5 @@
{
"navigationBarTitleText": "老乡报名",
"navigationBarTitleText": "老乡报名",
"backgroundColor": "#f5f5f5",
"usingComponents": {
"bottom-drawer": "../../../components/bottom-drawer/index"

@ -5,6 +5,9 @@ import { timeShowXXX } from "../../utils/dateUtil";
import { customRequest } from '../../utils/request.js';
Page({
data: {
isLoading:true,
serviceInfo:{},
iosDialog:false,
isLogin: false,
map: { num10: '00', num20: '00', num25: '00', num30: '00', num40: '00', num999: '00', user999: "00", user40: "00", user48: "00", user50: "00" },
motto: "Hello World",
@ -37,7 +40,7 @@ Page({
setTimeout(() => {
this.setData({
serviceInfo: app.globalData.serviceInfo,
userInfo: app.globalData.loginUserInfo,
});
@ -149,6 +152,23 @@ Page({
url: `../newEnroll/enroll/index?applyType=2`,
});
},
// 打开弹窗
openModal(){
this.setData({
iosDialog: true,
});
},
closeDialog () {
this.setData({
iosDialog: false,
iosDialogTobe: false,
});
},
imageLoad () {
this.setData({
isLoading: false,
});
},
getUserInfo (e) {
// 不推荐使用getUserInfo获取用户信息预计自2021年4月13日起getUserInfo将不再弹出弹窗并直接返回匿名的用户个人信息
console.log(e);

@ -4,34 +4,17 @@
<text class selectable="false" space="false" decode="false">工作台</text>
</view>
<view class="quickapply">
<button class="text" size="mini" hover-class="none" catchgetphonenumber="getPhoneNumber" open-type="getPhoneNumber" catchtap="emptyMethod" hover-stop-propagation="false" wx:if="{{!isLogin}}">
<view class hover-class="none" hover-stop-propagation="false" bindtap="changeRecordBillType" data-type="record">
<button>
<view class hover-class="none" hover-stop-propagation="false" catchtap="openModal">
<view class="iconfont icon-fasong" style="font-size: 34px;font-weight: 100;color: #666;margin-right: 8px;"></view>
<view class="info">
<view>发布职位</view>
<view>点这里在平台上发单子</view>
</view>
</view>
<view class hover-class="none" hover-stop-propagation="false" bindtap="changeRecordBillType" data-type="photo">
<view class="iconfont icon-camera" style="font-size: 36px;font-weight: 100;color: #666;margin-right: 8px;"></view>
<view class="info">
<view>快速报名</view>
<view>拍身份证帮助老乡报名</view>
</view>
</view>
</button>
<button wx:else>
<view class hover-class="none" hover-stop-propagation="false" catchtap="navigatorToRecord">
<!-- <image src="../../assets/images/tabbar/page_order.png" style="width: 36px;" mode="widthFix"/> -->
<view class="iconfont icon-fasong" style="font-size: 34px;font-weight: 100;color: #666;margin-right: 8px;"></view>
<view class="info">
<view>发布职位</view>
<view>点这里在平台上发单子</view>
</view>
</view>
<view class hover-class="none" hover-stop-propagation="false" catchtap="chooseIdCard">
<view class="iconfont icon-camera" style="font-size: 36px;font-weight: 100;color: #666;margin-right: 8px;"></view>
<view class="info">
<view class="iconfont icon-solution" style="font-size: 36px;font-weight: 100;color: #666;margin-right: 6px;"></view>
<view class="info" style="position: relative;left: -4px;">
<view>快速报名</view>
<view>拍身份证帮助老乡报名</view>
</view>
@ -369,4 +352,22 @@
</view>
</view>
</view>
<view aria-role="dialog" aria-modal="true" catchtouchmove="modalMove" class="fadeIn" wx:if="{{iosDialog}}">
<view class="weui-mask"></view>
<view class="weui-dialog contact" style="box-sizing:border-box;">
<view class="weui-dialog__hd">
<i class="iconfont icon-guanbi guanbi c6 biggerSize" bindtap="closeDialog"></i>
<view class="f16 c3 fw500 mb32">加客户经理微信</view>
<view wx:if="{{isLoading}}" class style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)" hover-class="none" hover-stop-propagation="false">
<view aria-role="img" aria-label="加载中" style class="weui-primary-loading">
<view class="weui-primary-loading__dot"></view>
</view>
<view class hover-class="none" hover-stop-propagation="false">加载中...</view>
</view>
<image src="{{serviceInfo.qrCode}}" bindload="imageLoad" show-menu-by-longpress="{{true}}" style="width: 184px;height: 184px;"></image>
<view class="f14 c3 mt6">长按识别二维码</view>
</view>
</view>
</view>
</view>

Loading…
Cancel
Save