Skip to content

Commit

Permalink
fix:更改预约成功图片
Browse files Browse the repository at this point in the history
  • Loading branch information
hey-a-pple committed Sep 19, 2023
1 parent d36e97f commit deeeec4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion miniprogram/pages/sk/2023/hz/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

<!-- {{countdown.text}} -->
<view class="sk_banner_title_day">
<h2>考试资讯</h2>
<view style="height: 200rpx;"></view>
<!-- <h2>考试活动</h2> -->
<!-- <h2>
{{countdown.countdown.day}}
</h2>-->
Expand Down
7 changes: 5 additions & 2 deletions miniprogram/pages/subscribe/2023/sydw/scqd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ Page({
* 页面的初始数据
*/
data: {
title:"市场活动现场签到",
title:"现场签到",
banner: 'https://jl.offcn.com/zt/ty/2023images/exam-helper-mini/qdbj.jpg', // 背景
imageUrl: 'https://jl.offcn.com/zt/ty/2023images/exam-helper-mini/qdbj-share.jpg', // 分享图

actid: "53932", //zg99id
ds:"",
namecode:"",
signed: false
},

/**
Expand Down Expand Up @@ -45,6 +46,7 @@ Page({
},

submit: function () {
const _this=this
wx.request({
url: "https://zg99.offcn.com/index/biaodan/writelogs",
data: {
Expand All @@ -66,6 +68,7 @@ Page({
wx.showToast({
title: "您已成功签到",
})
_this.setData({signed: true });
return
}
wx.showToast({
Expand All @@ -74,10 +77,10 @@ Page({
})
return
}
_this.setData({signed: true });
wx.showToast({
title: "签到成功",
})

} catch (err) { //捕获错误并报错
getApp().methods.handleError({
err,
Expand Down
5 changes: 3 additions & 2 deletions miniprogram/pages/subscribe/2023/sydw/scqd/index.wxml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@

<block wx:if="{{!tipsToSubscribeMessaged}}">
<block wx:if="{{!signed}}">
<image class="header" mode="widthFix" src="{{banner}}"></image>
<view class="form">

<button class="subscribe" type="primary" bindtap="SSOCheckManual">点击签到</button>
</view>
</block>

<image wx:else class="header" mode="widthFix" src="https://jl.offcn.com/zt/ty/2023images/exam-helper-mini/2023jlscjyy2.jpg"></image>
<image wx:else class="header" mode="widthFix" src="https://jl.offcn.com/zt/ty/2023images/exam-helper-mini/qdbj-sucess.jpg"></image>


<view class="houzhui">{{ds}}-{{namecode}}</view>

0 comments on commit deeeec4

Please sign in to comment.