File tree Expand file tree Collapse file tree 5 files changed +32
-9
lines changed
miniprogram/packageChatTool/pages Expand file tree Collapse file tree 5 files changed +32
-9
lines changed Original file line number Diff line number Diff line change 54
54
55
55
<t-button
56
56
style="margin-top: 20px;"
57
+ class="btn"
57
58
bind:tap="chooseParticipant"
58
59
theme="primary"
59
60
size="large"
81
82
</view>
82
83
83
84
<view class="card" style="margin-bottom: 30px;">
84
- <t-button
85
+ <t-button
86
+ class="btn"
85
87
bind:tap="publish"
86
88
theme="primary"
87
89
size="large"
Original file line number Diff line number Diff line change 34
34
line-height: 48rpx;
35
35
padding: 32rpx;
36
36
}
37
+
38
+ .btn {
39
+ width: 100% !important;
40
+ }
Original file line number Diff line number Diff line change @@ -157,6 +157,9 @@ Page({
157
157
type : 'participate' ,
158
158
members : notSignIn ,
159
159
entrancePath : `chatTool-2/activity_detail/index?activityId=${ activityId } ` ,
160
+ complete ( res ) {
161
+ console . info ( 'notifyGroupMembers: ' , res )
162
+ }
160
163
} )
161
164
} ,
162
165
@@ -276,11 +279,14 @@ Page({
276
279
277
280
sendProgress ( ) {
278
281
const { progressImage, activityId } = this . data
279
- const entrancePath = `chatTool-2 /activity_detail/index?activityId=${ activityId } `
282
+ const entrancePath = `packageChatTool/pages /activity_detail/index?activityId=${ activityId } `
280
283
wx . shareImageToGroup ( {
281
284
imagePath : progressImage ,
282
285
needShowEntrance : true ,
283
286
entrancePath,
287
+ complete ( res ) {
288
+ console . info ( 'shareImageToGroup: ' , res )
289
+ }
284
290
} )
285
291
} ,
286
292
@@ -294,7 +300,7 @@ Page({
294
300
wx . shareAppMessageToGroup ( {
295
301
title : activityInfo . title ,
296
302
imageUrl : res . tempFilePath ,
297
- path : `chatTool-2 /activity_detail/index?activityId=${ activityId } ` ,
303
+ path : `packageChatTool/pages /activity_detail/index?activityId=${ activityId } ` ,
298
304
} )
299
305
} ,
300
306
fail : console . error
Original file line number Diff line number Diff line change 83
83
</view>
84
84
85
85
<view class="card" wx:if="{{notSignIn.length}}">
86
- <t-button
86
+ <t-button
87
+ class="btn"
87
88
bind:tap="notifyNotSignIn"
88
89
theme="primary"
89
90
size="large"
93
94
</view>
94
95
95
96
<view class="card">
96
- <t-button
97
+ <t-button
98
+ class="btn"
97
99
bind:tap="sendProgress"
98
100
theme="primary"
99
101
size="large"
106
108
<block wx:if="{{role === 'participant' && !signInStatus}}">
107
109
<view class="card">
108
110
<view class="card-title">活动签到</view>
109
- <t-button
111
+ <t-button
112
+ class="btn"
110
113
bind:tap="signIn"
111
114
theme="primary"
112
115
size="large"
119
122
<block wx:if="{{role === 'nonParticipant'}}">
120
123
<view class="card">
121
124
<view class="card-title">活动签到</view>
122
- <t-button
125
+ <t-button
126
+ class="btn"
123
127
theme="light"
124
128
disabled
125
129
size="large"
132
136
<block wx:if="{{role === 'unkown'}}">
133
137
<view class="card">
134
138
<view class="card-title">活动签到</view>
135
- <t-button
139
+ <t-button
140
+ class="btn"
136
141
theme="light"
137
142
disabled
138
143
size="large"
148
153
<view class="card">
149
154
<view class="card-title">系统消息指令</view>
150
155
<t-button
156
+ class="btn"
151
157
bind:tap="remindExpiration"
152
158
theme="primary"
153
159
size="large"
156
162
</t-button>
157
163
158
164
<t-button
165
+ class="btn"
159
166
style="margin-top: 24rpx;"
160
167
bind:tap="earlyTerminate"
161
168
theme="primary"
Original file line number Diff line number Diff line change 80
80
margin-right: 32rpx;
81
81
width: 56px;
82
82
height: 56px;
83
- }
83
+ }
84
+
85
+ .btn {
86
+ width: 100% !important;
87
+ }
You can’t perform that action at this time.
0 commit comments