Commit b810ce02a8a8822b4edbb046eecf68920332c8fc

Authored by 陈晓峰
1 parent 11b888bb

详情页按钮

1 1 <scroll-view scroll-y="true" scroll-top="{{scrollTop}}" style="height:{{windowHeight}}px;" upper-threshold="20px" lower-threshold="20px" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" scroll-top="{{scrollY}}">
2 2
3   -<view style="font-size:28rpx;">
4   - <view class="head">
5   - <view class="con1">
6   - <image src='{{con.detailImage[0].url}}' mode='widthFix'></image>
7   - </view>
8   - <view class="con2">
9   - <view class="top">
10   - <view style='color:#a8a8a8;'>{{con.eventDate}}</view>
11   - <text>{{con.title}}</text>
  3 + <view style="font-size:28rpx;">
  4 + <view class="head">
  5 + <view class="con1">
  6 + <image src='{{con.detailImage[0].url}}' mode='widthFix'></image>
12 7 </view>
13   - <!-- <import src="../../wxParse/wxParse.wxml" />
  8 + <view class="con2">
  9 + <view class="top">
  10 + <view style='color:#a8a8a8;'>{{con.eventDate}}</view>
  11 + <text>{{con.title}}</text>
  12 + </view>
  13 + <!-- <import src="../../wxParse/wxParse.wxml" />
14 14 <view class="wxParse">
15 15 <view class="bot">
16 16 <template is="wxParse" data="{{wxParseData:body.nodes}}" />
17 17 </view>
18 18 </view> -->
  19 + </view>
19 20 </view>
20   - </view>
21   - <view class="content1">
22   - <view class="con1">
23   - <view class="top">培训时间:</view>
24   - <view class="bot">{{con.dateDetail}}</view>
25   - </view>
26   - <view class="con1">
27   - <view class="top">培训地点:</view>
28   - <view class="bot">{{con.local}}</view>
  21 + <view class="content1">
  22 + <view class="con1">
  23 + <view class="top">培训时间:</view>
  24 + <view class="bot">{{con.dateDetail}}</view>
  25 + </view>
  26 + <view class="con1">
  27 + <view class="top">培训地点:</view>
  28 + <view class="bot">{{con.local}}</view>
  29 + </view>
29 30 </view>
30   - </view>
31   - <view class="content2">
32   - <view class="con1">
33   - <!-- <view class="title">由两位来自自然出版集团的编辑担任主讲人</view>
  31 + <view class="content2">
  32 + <view class="con1">
  33 + <!-- <view class="title">由两位来自自然出版集团的编辑担任主讲人</view>
34 34 <view class="con">
35 35 <view class="top">Myles Axton</view>
36 36 <view class="mind">我爱北京天安门</view>
... ... @@ -45,56 +45,58 @@
45 45 我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门
46 46 </view>
47 47 </view> -->
48   - <import src="../../wxParse/wxParse.wxml" />
49   - <view class="wxParse">
50   - <template is="wxParse" data="{{wxParseData:body.nodes}}" />
  48 + <import src="../../wxParse/wxParse.wxml" />
  49 + <view class="wxParse">
  50 + <template is="wxParse" data="{{wxParseData:body.nodes}}" />
  51 + </view>
  52 + </view>
  53 + <view class="con2">
  54 + <import src="../../wxParse/wxParse.wxml" />
  55 + <view class="wxParse">
  56 + <template is="wxParse" data="{{wxParseData:body1.nodes}}" />
  57 + </view>
51 58 </view>
52 59 </view>
53   - <view class="con2">
54   - <import src="../../wxParse/wxParse.wxml" />
55   - <view class="wxParse">
56   - <template is="wxParse" data="{{wxParseData:body1.nodes}}" />
  60 +
  61 + <view style='height:100rpx; width:100%;'></view>
  62 + <view class="bgbg {{tanchuang ? 'block' : 'hide'}}" bindtap='yincang'></view>
  63 + <view class="bgbg1 {{tanchuang1 ? 'block' : 'hide'}}" bindtap='yincang'></view>
  64 + <view class="tanchuang {{tanchuang ? 'block' : 'hide'}}">
  65 + <view class="top">
  66 + <image src='/static/images/duihao.png'></image>
57 67 </view>
  68 + <view class="mind">已报名</view>
  69 + <view class="center">稍后会发送注册链接</view>
  70 + <view class="bot">请查收邮箱</view>
  71 + <view class='subbtn' bindtap='yincang'>关闭</view>
58 72 </view>
59   - </view>
60   - <view class="button {{disabled ? 'block' : 'hide'}}">
61   - <!-- disabled="true" -->
62   - <button disabled="true">已报名</button>
63   - </view>
64   - <view class="button {{disabled ? 'hide' : 'block'}}">
65   - <!-- disabled="true" -->
66   - <button bindtap='adduserfavorite'>我想参加</button>
67   - </view>
68   - <view class="button {{disabled1 ? 'block' : 'hide'}}">
69   - <!-- disabled="true" -->
70   - <button disabled="true">活动已结束</button>
71   -</view>
72   - <view style='height:100rpx; width:100%;'></view>
73   - <view class="bgbg {{tanchuang ? 'block' : 'hide'}}" bindtap='yincang'></view>
74   - <view class="bgbg1 {{tanchuang1 ? 'block' : 'hide'}}" bindtap='yincang'></view>
75   - <view class="tanchuang {{tanchuang ? 'block' : 'hide'}}">
76   - <view class="top">
77   - <image src='/static/images/duihao.png'></image>
  73 + <view class="tanchuang1 {{tanchuang1 ? 'block' : 'hide'}}">
  74 + <view class="top">
  75 + </view>
  76 + <view class="mind">你还没有完善档案</view>
  77 + <view class="center">无法完成报名</view>
  78 + <view style='margin-top:35rpx;'>
  79 + <navigator bindtap='yincang1'>取消</navigator>
  80 + <navigator url='../member/member?id={{id}}'>去完善</navigator>
  81 + <view class="cl"></view>
  82 + </view>
78 83 </view>
79   - <view class="mind">已报名</view>
80   - <view class="center">稍后会发送注册链接</view>
81   - <view class="bot">请查收邮箱</view>
82   - <view class='subbtn' bindtap='yincang'>关闭</view>
83 84 </view>
84   - <view class="tanchuang1 {{tanchuang1 ? 'block' : 'hide'}}">
  85 + <view class="{{scrollTop>309 ? 'block' : 'hide'}} content4">
85 86 <view class="top">
86   - </view>
87   - <view class="mind">你还没有完善档案</view>
88   - <view class="center">无法完成报名</view>
89   - <view style='margin-top:35rpx;'>
90   - <navigator bindtap='yincang1'>取消</navigator>
91   - <navigator url='../member/member?id={{id}}'>去完善</navigator>
92   - <view class="cl"></view>
93   - </view>
94   - </view>
95   -</view>
96   -<view class="{{scrollTop>309 ? 'block' : 'hide'}} content4">
97   - <view class="top"><text>{{con.city}}</text> | {{con.eventDate}}</view>
  87 + <text>{{con.city}}</text> | {{con.eventDate}}</view>
98 88 <view class="bot">{{con.title}}</view>
99 89 </view>
100   -</scroll-view>
\ No newline at end of file
  90 +</scroll-view>
  91 +<view class="button {{disabled ? 'block' : 'hide'}}">
  92 + <!-- disabled="true" -->
  93 + <button disabled="true">已报名</button>
  94 + </view>
  95 + <view class="button {{disabled ? 'hide' : 'block'}}">
  96 + <!-- disabled="true" -->
  97 + <button bindtap='adduserfavorite'>我想参加</button>
  98 + </view>
  99 + <view class="button {{disabled1 ? 'block' : 'hide'}}">
  100 + <!-- disabled="true" -->
  101 + <button disabled="true">活动已结束</button>
  102 + </view>
\ No newline at end of file
... ...
1   -{}
\ No newline at end of file
  1 +{
  2 +}
\ No newline at end of file
... ...
1   -
2 1 <scroll-view scroll-y="true" scroll-top="{{scrollTop}}" style="height:{{windowHeight}}px;" upper-threshold="20px" lower-threshold="20px" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" scroll-top="{{scrollY}}">
3 2
4   -<view style="font-size:28rpx;">
5   - <view class="head">
6   - <view class="con1">
7   - <image src='{{con.detailImage[0].url}}' mode='widthFix'></image>
8   - </view>
9   - <view class="con2">
10   - <view class="top">
11   - <view>{{con.eventDate}}</view>
12   - <text style='font-size:34rpx; font-weight: bold;'>{{con.title}}</text>
  3 + <view style="font-size:28rpx;">
  4 + <view class="head">
  5 + <view class="con1">
  6 + <image src='{{con.detailImage[0].url}}' mode='widthFix'></image>
13 7 </view>
14   - <!-- <import src="../../wxParse/wxParse.wxml" />
  8 + <view class="con2">
  9 + <view class="top">
  10 + <view>{{con.eventDate}}</view>
  11 + <text style='font-size:34rpx; font-weight: bold;'>{{con.title}}</text>
  12 + </view>
  13 + <!-- <import src="../../wxParse/wxParse.wxml" />
15 14 <view class="wxParse">
16 15 <view class="bot">
17 16 <template is="wxParse" data="{{wxParseData:body.nodes}}" />
18 17 </view>
19 18 </view> -->
  19 + </view>
20 20 </view>
21   - </view>
22   - <view class="content1">
23   - <view class="con1">
24   - <view class="top">招聘会时间:</view>
25   - <view class="bot">{{con.dateDetail}}</view>
26   - </view>
27   - <view class="con1">
28   - <view class="top">招聘会地点:</view>
29   - <view class="bot">{{con.local}}</view>
  21 + <view class="content1">
  22 + <view class="con1">
  23 + <view class="top">招聘会时间:</view>
  24 + <view class="bot">{{con.dateDetail}}</view>
  25 + </view>
  26 + <view class="con1">
  27 + <view class="top">招聘会地点:</view>
  28 + <view class="bot">{{con.local}}</view>
  29 + </view>
30 30 </view>
31   - </view>
32   - <view class="content2">
33   - <view class="con1">
34   - <!-- <view class="title">由两位来自自然出版集团的编辑担任主讲人</view>
  31 + <view class="content2">
  32 + <view class="con1">
  33 + <!-- <view class="title">由两位来自自然出版集团的编辑担任主讲人</view>
35 34 <view class="con">
36 35 <view class="top">Myles Axton</view>
37 36 <view class="mind">我爱北京天安门</view>
... ... @@ -46,59 +45,61 @@
46 45 我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门
47 46 </view>
48 47 </view> -->
49   - <import src="../../wxParse/wxParse.wxml" />
50   - <view class="wxParse">
51   - <template is="wxParse" data="{{wxParseData:body.nodes}}" />
  48 + <import src="../../wxParse/wxParse.wxml" />
  49 + <view class="wxParse">
  50 + <template is="wxParse" data="{{wxParseData:body.nodes}}" />
  51 + </view>
52 52 </view>
53   - </view>
54   - <view class="con2">
55   - <import src="../../wxParse/wxParse.wxml" />
56   - <view class="wxParse">
57   - <template is="wxParse" data="{{wxParseData:body1.nodes}}" />
  53 + <view class="con2">
  54 + <import src="../../wxParse/wxParse.wxml" />
  55 + <view class="wxParse">
  56 + <template is="wxParse" data="{{wxParseData:body1.nodes}}" />
  57 + </view>
58 58 </view>
59 59 </view>
60   - </view>
61   - <view class="button {{disabled ? 'block' : 'hide'}}">
62   - <!-- disabled="true" -->
63   - <button disabled="true">已报名</button>
64   - </view>
65   - <view class="button {{disabled ? 'hide' : 'block'}}">
66   - <!-- disabled="true" -->
67   - <button bindtap='adduserfavorite'>我想参加</button>
68   - </view>
69   - <view class="button {{disabled1 ? 'block' : 'hide'}}">
70   - <!-- disabled="true" -->
71   - <button disabled="true">活动已结束</button>
72   -</view>
73   - <view style='height:100rpx; width:100%;'></view>
74   - <view class="bgbg {{tanchuang ? 'block' : 'hide'}}" bindtap='yincang'></view>
75   - <view class="bgbg1 {{tanchuang1 ? 'block' : 'hide'}}" bindtap='yincang'></view>
76   - <view class="tanchuang {{tanchuang ? 'block' : 'hide'}}">
77   - <view class="top">
78   - <image src='/static/images/duihao.png'></image>
79   - </view>
80   - <view class="mind">已报名</view>
81   - <view class="center">稍后会发送注册链接</view>
82   - <view class="bot">请查收邮箱</view>
83   - <!-- <button class='subbtn' bindtap='yincang'>关闭</button> -->
84   - <view class='subbtn' bindtap='yincang'>关闭</view>
85   - </view>
86   - <view class="tanchuang1 {{tanchuang1 ? 'block' : 'hide'}}">
87   - <view class="top">
  60 +
  61 + <view style='height:100rpx; width:100%;'></view>
  62 + <view class="bgbg {{tanchuang ? 'block' : 'hide'}}" bindtap='yincang'></view>
  63 + <view class="bgbg1 {{tanchuang1 ? 'block' : 'hide'}}" bindtap='yincang'></view>
  64 + <view class="tanchuang {{tanchuang ? 'block' : 'hide'}}">
  65 + <view class="top">
  66 + <image src='/static/images/duihao.png'></image>
  67 + </view>
  68 + <view class="mind">已报名</view>
  69 + <view class="center">稍后会发送注册链接</view>
  70 + <view class="bot">请查收邮箱</view>
  71 + <!-- <button class='subbtn' bindtap='yincang'>关闭</button> -->
  72 + <view class='subbtn' bindtap='yincang'>关闭</view>
88 73 </view>
89   - <view class="mind">你还没有完善档案</view>
90   - <view class="center">无法完成报名</view>
91   - <view style='margin-top:35rpx;'>
92   - <navigator bindtap='yincang1'>取消</navigator>
93   - <navigator url='../member/member?id={{id}}'>去完善</navigator>
94   - <view class="cl"></view>
  74 + <view class="tanchuang1 {{tanchuang1 ? 'block' : 'hide'}}">
  75 + <view class="top">
  76 + </view>
  77 + <view class="mind">你还没有完善档案</view>
  78 + <view class="center">无法完成报名</view>
  79 + <view style='margin-top:35rpx;'>
  80 + <navigator bindtap='yincang1'>取消</navigator>
  81 + <navigator url='../member/member?id={{id}}'>去完善</navigator>
  82 + <view class="cl"></view>
  83 + </view>
95 84 </view>
96   - </view>
97 85
98   - <view class="{{scrollTop>309 ? 'block' : 'hide'}} content4">
99   - <view class="top"><text>{{con.city}}</text> | {{con.eventDate}}</view>
100   - <view class="bot">{{con.title}}</view>
  86 + <view class="{{scrollTop>309 ? 'block' : 'hide'}} content4">
  87 + <view class="top">
  88 + <text>{{con.city}}</text> | {{con.eventDate}}</view>
  89 + <view class="bot">{{con.title}}</view>
  90 + </view>
101 91 </view>
102   -</view>
103 92
104   -</scroll-view>
\ No newline at end of file
  93 +</scroll-view>
  94 +<view class="button {{disabled ? 'block' : 'hide'}}">
  95 + <!-- disabled="true" -->
  96 + <button disabled="true">已报名</button>
  97 + </view>
  98 + <view class="button {{disabled ? 'hide' : 'block'}}">
  99 + <!-- disabled="true" -->
  100 + <button bindtap='adduserfavorite'>我想参加</button>
  101 + </view>
  102 + <view class="button {{disabled1 ? 'block' : 'hide'}}">
  103 + <!-- disabled="true" -->
  104 + <button disabled="true">活动已结束</button>
  105 + </view>
\ No newline at end of file
... ...
1 1 /* pages/recruit/recruit.wxss */
2 2 @import "../../wxParse/wxParse.wxss";
  3 +
3 4 .fl {
4 5 float: left;
5 6 }
... ... @@ -139,6 +140,7 @@
139 140 background: #fff;
140 141 width: 100%;
141 142 position: fixed;
  143 + z-index: 9999;
142 144 bottom: 0;
143 145 left: 0;
144 146 }
... ...
1 1 <scroll-view scroll-y="true" scroll-top="{{scrollTop}}" style="height:{{windowHeight}}px;" upper-threshold="20px" lower-threshold="20px" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" scroll-top="{{scrollY}}">
2 2
3 3
4   -<view style="font-size:28rpx;">
5   - <view class="head">
6   - <view class="con1">
7   - <image src='{{con.detailImage[0].url}}' mode='widthFix'></image>
8   - </view>
9   - <view class="con2">
10   - <view>{{con.eventDate}}</view>
  4 + <view style="font-size:28rpx;">
  5 + <view class="head">
  6 + <view class="con1">
  7 + <image src='{{con.detailImage[0].url}}' mode='widthFix'></image>
  8 + </view>
  9 + <view class="con2">
  10 + <view>{{con.eventDate}}</view>
11 11 <text style='font-size:34rpx; font-weight: bold;'>{{con.title}}</text>
  12 + </view>
12 13 </view>
13   - </view>
14   - <view class="content1">
15   - <view class="con1">
16   - <view class="top">培训时间:</view>
17   - <view class="bot">{{con.dateDetail}}</view>
18   - </view>
19   - <view class="con1">
20   - <view class="top">培训地点:</view>
21   - <view class="bot">{{con.local}}</view>
  14 + <view class="content1">
  15 + <view class="con1">
  16 + <view class="top">培训时间:</view>
  17 + <view class="bot">{{con.dateDetail}}</view>
  18 + </view>
  19 + <view class="con1">
  20 + <view class="top">培训地点:</view>
  21 + <view class="bot">{{con.local}}</view>
  22 + </view>
22 23 </view>
23   - </view>
24   - <view class="content2">
25   - <view class="con1">
26   - <!-- <view class="title">由两位来自自然出版集团的编辑担任主讲人</view>
  24 + <view class="content2">
  25 + <view class="con1">
  26 + <!-- <view class="title">由两位来自自然出版集团的编辑担任主讲人</view>
27 27 <view class="con">
28 28 <view class="top">Myles Axton</view>
29 29 <view class="mind">我爱北京天安门</view>
... ... @@ -38,62 +38,64 @@
38 38 我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门我爱北京天安门
39 39 </view>
40 40 </view> -->
41   - <import src="../../wxParse/wxParse.wxml" />
42   - <view class="wxParse">
43   - <template is="wxParse" data="{{wxParseData:body.nodes}}" />
  41 + <import src="../../wxParse/wxParse.wxml" />
  42 + <view class="wxParse">
  43 + <template is="wxParse" data="{{wxParseData:body.nodes}}" />
  44 + </view>
44 45 </view>
45   - </view>
46   - <view class="con2">
47   - <import src="../../wxParse/wxParse.wxml" />
48   - <view class="wxParse">
49   - <template is="wxParse" data="{{wxParseData:body1.nodes}}" />
  46 + <view class="con2">
  47 + <import src="../../wxParse/wxParse.wxml" />
  48 + <view class="wxParse">
  49 + <template is="wxParse" data="{{wxParseData:body1.nodes}}" />
  50 + </view>
50 51 </view>
51 52 </view>
52   - </view>
53   - <view class="button {{disabled ? 'block' : 'hide'}}">
54   - <!-- disabled="true" -->
55   - <button disabled="true">已感兴趣</button>
56   - </view>
57   - <view class="button {{disabled ? 'hide' : 'block'}}">
58   - <!-- disabled="true" -->
59   - <button bindtap='adduserfavorite'>我感兴趣</button>
60   - </view>
61   - <view class="button {{disabled1 ? 'block' : 'hide'}}">
62   - <!-- disabled="true" -->
63   - <button disabled="true">活动已结束</button>
64   - </view>
65   - <view style='height:100rpx; width:100%;'></view>
66   - <view class="bgbg {{tanchuang ? 'block' : 'hide'}}" bindtap='yincang'></view>
67   - <view class="bgbg1 {{tanchuang1 ? 'block' : 'hide'}}" bindtap='yincang'></view>
68   - <view class="tanchuang {{tanchuang ? 'block' : 'hide'}}">
69   - <view class="top">
70   - <image src='/static/images/duihao.png'></image>
71   - </view>
72   - <view class="mind">已提交</view>
73   - <view class="center">我们的工作人员会尽快与您联系</view>
74   - <!--<view class="bot">请查收邮箱</view> -->
75   - <!-- <button bindtap='yincang'>关闭</button> -->
76   - <view class='subbtn' bindtap='yincang'>关闭</view>
77   - </view>
78   - <view class="tanchuang1 {{tanchuang1 ? 'block' : 'hide'}}">
79   - <view class="top">
  53 +
  54 + <view style='height:100rpx; width:100%;'></view>
  55 + <view class="bgbg {{tanchuang ? 'block' : 'hide'}}" bindtap='yincang'></view>
  56 + <view class="bgbg1 {{tanchuang1 ? 'block' : 'hide'}}" bindtap='yincang'></view>
  57 + <view class="tanchuang {{tanchuang ? 'block' : 'hide'}}">
  58 + <view class="top">
  59 + <image src='/static/images/duihao.png'></image>
  60 + </view>
  61 + <view class="mind">已提交</view>
  62 + <view class="center">我们的工作人员会尽快与您联系</view>
  63 + <!--<view class="bot">请查收邮箱</view> -->
  64 + <!-- <button bindtap='yincang'>关闭</button> -->
  65 + <view class='subbtn' bindtap='yincang'>关闭</view>
80 66 </view>
81   - <view class="mind">你还没有完善档案</view>
82   - <view class="center">无法完成报名</view>
83   - <view style='margin-top:35rpx;'>
84   - <navigator bindtap='yincang1'>取消</navigator>
85   - <navigator url='../member/member?id={{id}}'>去完善</navigator>
86   - <view class="cl"></view>
  67 + <view class="tanchuang1 {{tanchuang1 ? 'block' : 'hide'}}">
  68 + <view class="top">
  69 + </view>
  70 + <view class="mind">你还没有完善档案</view>
  71 + <view class="center">无法完成报名</view>
  72 + <view style='margin-top:35rpx;'>
  73 + <navigator bindtap='yincang1'>取消</navigator>
  74 + <navigator url='../member/member?id={{id}}'>去完善</navigator>
  75 + <view class="cl"></view>
  76 + </view>
87 77 </view>
  78 + <view style='height:100rpx; width:100%;'></view>
88 79 </view>
89   - <view style='height:100rpx; width:100%;'></view>
90   -</view>
91 80
92 81
93 82 <view class="{{scrollTop>309 ? 'block' : 'hide'}} content4">
94   - <view class="top"><text>{{con.city}}</text> | {{con.eventDate}}</view>
  83 + <view class="top">
  84 + <text>{{con.city}}</text> | {{con.eventDate}}</view>
95 85 <view class="bot">{{con.title}}</view>
96 86 </view>
97 87
98 88
99   -</scroll-view>
\ No newline at end of file
  89 +</scroll-view>
  90 +<view class="button {{disabled ? 'block' : 'hide'}}">
  91 + <!-- disabled="true" -->
  92 + <button disabled="true">已感兴趣</button>
  93 + </view>
  94 + <view class="button {{disabled ? 'hide' : 'block'}}">
  95 + <!-- disabled="true" -->
  96 + <button bindtap='adduserfavorite'>我感兴趣</button>
  97 + </view>
  98 + <view class="button {{disabled1 ? 'block' : 'hide'}}">
  99 + <!-- disabled="true" -->
  100 + <button disabled="true">活动已结束</button>
  101 + </view>
\ No newline at end of file
... ...
Please register or login to post a comment