【bug】 报名选择企业 加载失败

This commit is contained in:
fengachen
2022-01-10 16:29:12 +08:00
parent ef9bf15fca
commit a40847b62b
9 changed files with 54 additions and 39 deletions
+1 -1
View File
@@ -78,7 +78,7 @@
<checkbox-group name='agree' > <checkbox-group name='agree' >
<label> <label>
<checkbox value="agree"/> <checkbox value="agree"/>
我同意{{appletName}}使用我所提供的信息用于注册企业,查看<text style="color:#069f99" bindtap="openPanel" data-type="1">《用户服务协议》</text>及<text style="color:#069f99" bindtap="openPanel" data-type="2">《个人信息保护政策》</text> 我同意{{appletName}}使用我所提供的信息用于注册账户,查看<text style="color:#069f99" bindtap="openPanel" data-type="1">《用户服务协议》</text>及<text style="color:#069f99" bindtap="openPanel" data-type="2">《个人信息保护政策》</text>
</label> </label>
</checkbox-group> </checkbox-group>
</view> </view>
+2 -1
View File
@@ -9,6 +9,7 @@ Page({
*/ */
data: { data: {
statusBarHeight: wx.getSystemInfoSync()['statusBarHeight'], statusBarHeight: wx.getSystemInfoSync()['statusBarHeight'],
isStandard:false,// 是否时标协会员那里跳转过来的
searchParams: { searchParams: {
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
@@ -17,7 +18,6 @@ Page({
meetingType: '', // 工作组会议:1 标协会议 2 国际研讨会 3 其他会议 4 分标委会议 5 meetingType: '', // 工作组会议:1 标协会议 2 国际研讨会 3 其他会议 4 分标委会议 5
meetingStartTime: '', // 开始时间 meetingStartTime: '', // 开始时间
meetingEndTime: '', // 结束时间 meetingEndTime: '', // 结束时间
isStandard:false,// 是否时标协会员那里跳转过来的
// 创建时间倒叙排序 // 创建时间倒叙排序
column: 'createTime', column: 'createTime',
order: 'desc' order: 'desc'
@@ -150,6 +150,7 @@ Page({
}, },
bindDateChange(e) { bindDateChange(e) {
this.data.searchParams.pageNo = 1 this.data.searchParams.pageNo = 1
// ' ' + '00:00:00' + ' ' + '23:59:59'
this.setData({ this.setData({
'searchParams.meetingStartTime': e.detail.value , 'searchParams.meetingStartTime': e.detail.value ,
'searchParams.meetingEndTime': e.detail.value 'searchParams.meetingEndTime': e.detail.value
+8 -1
View File
@@ -5,7 +5,10 @@ import {
previewFile, previewFile,
getFileInfo getFileInfo
} from '../../assets/js/preview' } from '../../assets/js/preview'
import {baseUrl, URL_CONFIG} from '../../assets/js/project.config.js' import {
baseUrl,
URL_CONFIG
} from '../../assets/js/project.config.js'
Page({ Page({
@@ -138,6 +141,8 @@ Page({
return "标准宣贯" return "标准宣贯"
case "2": case "2":
return "学习培训" return "学习培训"
case "3":
return "信息交流会"
} }
}, },
// 预览文件 // 预览文件
@@ -156,6 +161,8 @@ Page({
let url = decodeURIComponent(options.q) let url = decodeURIComponent(options.q)
let meetingId = url.split('=')[1] let meetingId = url.split('=')[1]
this.queryMeetingDetail(meetingId) this.queryMeetingDetail(meetingId)
// this.queryMeetingDetail("1479397531946348545")
}, },
/** /**
+3 -3
View File
@@ -109,16 +109,16 @@
<text class="sign-in-text">{{meetingDetailIngfo.remark === null ? '' : meetingDetailIngfo.remark}}</text> <text class="sign-in-text">{{meetingDetailIngfo.remark === null ? '' : meetingDetailIngfo.remark}}</text>
</view> </view>
<view wx:if="{{hotelContactsList.length > 0}}"> <view wx:if="{{hotelContactsList.length > 0}}" class="hotel-info">
<text>酒店名称</text> <text>酒店名称</text>
<text>{{meetingDetailIngfo.hotelName || ''}}</text> <text>{{meetingDetailIngfo.hotelName || ''}}</text>
</view> </view>
<view wx:if="{{hotelContactsList.length > 0}}" wx:for="{{hotelContactsList}}"> <view wx:if="{{hotelContactsList.length > 0}}" wx:for="{{hotelContactsList}}" class="hotel-info" wx:key="item" >
<text>酒店联系人</text> <text>酒店联系人</text>
<text>{{item.hotelContacts}} {{item.hotelContactsPhone ? '-' : ''}} {{item.hotelContactsPhone}}</text> <text>{{item.hotelContacts}} {{item.hotelContactsPhone ? '-' : ''}} {{item.hotelContactsPhone}}</text>
</view> </view>
<view wx:if="{{hotelContactsList.length > 0}}"> <view wx:if="{{hotelContactsList.length > 0}}" class="hotel-info">
<text >酒店地址</text> <text >酒店地址</text>
<text class="hotel-text">{{meetingDetailIngfo.hotelAddress || ''}}</text> <text class="hotel-text">{{meetingDetailIngfo.hotelAddress || ''}}</text>
+9
View File
@@ -188,3 +188,12 @@ margin-top: 15px;
.hotel .hotel-text { .hotel .hotel-text {
text-align: right; text-align: right;
} }
.hotel-info {
height: auto!important;
display: flex;
}
.hotel-info text:nth-child(1) {
padding-right: 8px;
flex-shrink: 0;
}
+1 -1
View File
@@ -337,7 +337,7 @@ Page({
}) })
} else { } else {
wx.navigateTo({ wx.navigateTo({
url: `../companyList/companyList`, url: `../companyList/companyList?nolimit=nolimt`,
}) })
} }
}, },
+1 -1
View File
@@ -37,7 +37,7 @@
</view> </view>
<view> <view>
<radio-group name='payMode' bindchange="paymentMethodRadioChange"> <radio-group name='payMode' bindchange="paymentMethodRadioChange">
<label class="radio radio-item" wx:for="{{paymentMethodList}}" wx:key="item"> <label class="radio radio-item" wx:for="{{paymentMethodList}}" wx:key="item" style="font-size:13px">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}} <radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label> </label>
</radio-group> </radio-group>
+1 -1
View File
@@ -249,7 +249,7 @@ Page({
}) })
} else { } else {
wx.navigateTo({ wx.navigateTo({
url: `../companyList/companyList?page=${e.currentTarget.dataset.page}`, url: `../companyList/companyList?page=${e.currentTarget.dataset.page}&nolimit=nolimit`,
}) })
} }
}, },
+2 -4
View File
@@ -20,7 +20,7 @@
"checkInvalidKey": true, "checkInvalidKey": true,
"checkSiteMap": true, "checkSiteMap": true,
"uploadWithSourceMap": true, "uploadWithSourceMap": true,
"compileHotReLoad": true, "compileHotReLoad": false,
"lazyloadPlaceholderEnable": false, "lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true, "useMultiFrameRuntime": true,
"useApiHook": true, "useApiHook": true,
@@ -36,9 +36,7 @@
"packNpmManually": false, "packNpmManually": false,
"packNpmRelationList": [], "packNpmRelationList": [],
"minifyWXSS": true, "minifyWXSS": true,
"disableUseStrict": false, "showES6CompileOption": false
"showES6CompileOption": false,
"useCompilerPlugins": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.19.0", "libVersion": "2.19.0",