更换项目名称
This commit is contained in:
25
pages.json
25
pages.json
@@ -1,17 +1,5 @@
|
||||
{
|
||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
{
|
||||
"path": "pages/publish/Publish",
|
||||
"style": {}
|
||||
},
|
||||
{
|
||||
"path": "pages/publish/EnrollCondition",
|
||||
"style": {}
|
||||
},
|
||||
{
|
||||
"path": "pages/publish/EnrollRequired",
|
||||
"style": {}
|
||||
},
|
||||
{
|
||||
"path": "pages/find/ActivityList",
|
||||
"style": {}
|
||||
@@ -28,6 +16,19 @@
|
||||
"path": "pages/find/TeamEnroll",
|
||||
"style": {}
|
||||
},
|
||||
{
|
||||
"path": "pages/publish/Publish",
|
||||
"style": {}
|
||||
},
|
||||
{
|
||||
"path": "pages/publish/EnrollCondition",
|
||||
"style": {}
|
||||
},
|
||||
{
|
||||
"path": "pages/publish/EnrollRequired",
|
||||
"style": {}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/team/MyTeam",
|
||||
"style": {}
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
<checkbox style="transform:scale(0.7)" :checked="checked1"></checkbox>
|
||||
</checkbox-group>
|
||||
<text class="text2">我已阅读并同意</text>
|
||||
<text style="color: #007AFF;">《参赛须知》</text>
|
||||
<text style="color: #007AFF;">《活动免责条款》</text>
|
||||
<text style="display: flex;text-align: center; margin-left: 20rpx; padding: 5rpx 10rpx;background: #0081D5;
|
||||
color: #FFFFFF; font-size: 28rpx;" @click="enroll()"> 我要报名 </text>
|
||||
</view>
|
||||
|
||||
@@ -401,17 +401,39 @@
|
||||
// console.log('=======', res)
|
||||
});
|
||||
}else{
|
||||
// 如果用户已经登陆
|
||||
|
||||
console.log('options.sportCategoryName', options.sportCategoryName)
|
||||
console.log('options.sportCategorySid', options.sportCategorySid)
|
||||
// 活动类型赋值
|
||||
this.data.sportCategoryName = options.sportCategoryName // 活动类型名称
|
||||
this.data.sportCategorySid = options.sportCategorySid // 活动类型sid
|
||||
|
||||
// 控件赋值
|
||||
this.page.cancelEnrollRefundDesc = this.control.listCancelEnrollRefund[1]
|
||||
this.page.inviteTypeDesc = this.control.listInviteType[0]
|
||||
this.setEnrollRequiredName()
|
||||
// this.data.disclaimer = options.disclaimer // 默认免责声明
|
||||
// 设定默认值
|
||||
// 联系人
|
||||
|
||||
// 判断是否登陆
|
||||
let _this = this
|
||||
if (!_this.isLogin){
|
||||
this.WxAuthLogin()
|
||||
}
|
||||
|
||||
_this.data.sysUserSid = getApp().globalData.sysUserSid
|
||||
|
||||
_this.HTTP({
|
||||
url: 'aos/v1/aosUser/getRealInfoBySysUserSid/' + _this.data.sysUserSid,
|
||||
method: 'GET',
|
||||
paramsType: "FORM",
|
||||
loading: true
|
||||
}).then((res) => {
|
||||
_this.data.linkerName=res.data.realName // 联系人姓名
|
||||
console.log('联系人姓名', _this.data.linkerName)
|
||||
})
|
||||
|
||||
this.data.linkerPhone=res.data.linkerPhone // 联系人电话
|
||||
|
||||
|
||||
console.log('联系人电话', this.data.linkerPhone)
|
||||
// 免责条款
|
||||
_this.HTTP({
|
||||
url: 'aos/v1/sportCategory/getSportCategory/' + this.data.sportCategorySid,
|
||||
method: 'GET',
|
||||
@@ -419,9 +441,14 @@
|
||||
loading: true
|
||||
}).then((res) => {
|
||||
this.data.disclaimer = res.data.disclaimerTemplate
|
||||
// console.log('=============================================================',_this.disclaimerTemplate)
|
||||
})
|
||||
|
||||
// 控件赋值
|
||||
this.page.cancelEnrollRefundDesc = this.control.listCancelEnrollRefund[1]
|
||||
this.page.inviteTypeDesc = this.control.listInviteType[0]
|
||||
|
||||
this.setEnrollRequiredName()
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user