更换项目名称
This commit is contained in:
25
pages.json
25
pages.json
@@ -1,17 +1,5 @@
|
|||||||
{
|
{
|
||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"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",
|
"path": "pages/find/ActivityList",
|
||||||
"style": {}
|
"style": {}
|
||||||
@@ -28,6 +16,19 @@
|
|||||||
"path": "pages/find/TeamEnroll",
|
"path": "pages/find/TeamEnroll",
|
||||||
"style": {}
|
"style": {}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/publish/Publish",
|
||||||
|
"style": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/publish/EnrollCondition",
|
||||||
|
"style": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/publish/EnrollRequired",
|
||||||
|
"style": {}
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "pages/team/MyTeam",
|
"path": "pages/team/MyTeam",
|
||||||
"style": {}
|
"style": {}
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
<checkbox style="transform:scale(0.7)" :checked="checked1"></checkbox>
|
<checkbox style="transform:scale(0.7)" :checked="checked1"></checkbox>
|
||||||
</checkbox-group>
|
</checkbox-group>
|
||||||
<text class="text2">我已阅读并同意</text>
|
<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;
|
<text style="display: flex;text-align: center; margin-left: 20rpx; padding: 5rpx 10rpx;background: #0081D5;
|
||||||
color: #FFFFFF; font-size: 28rpx;" @click="enroll()"> 我要报名 </text>
|
color: #FFFFFF; font-size: 28rpx;" @click="enroll()"> 我要报名 </text>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -401,17 +401,39 @@
|
|||||||
// console.log('=======', res)
|
// console.log('=======', res)
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
// 如果用户已经登陆
|
|
||||||
console.log('options.sportCategoryName', options.sportCategoryName)
|
console.log('options.sportCategoryName', options.sportCategoryName)
|
||||||
console.log('options.sportCategorySid', options.sportCategorySid)
|
console.log('options.sportCategorySid', options.sportCategorySid)
|
||||||
|
// 活动类型赋值
|
||||||
this.data.sportCategoryName = options.sportCategoryName // 活动类型名称
|
this.data.sportCategoryName = options.sportCategoryName // 活动类型名称
|
||||||
this.data.sportCategorySid = options.sportCategorySid // 活动类型sid
|
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({
|
_this.HTTP({
|
||||||
url: 'aos/v1/sportCategory/getSportCategory/' + this.data.sportCategorySid,
|
url: 'aos/v1/sportCategory/getSportCategory/' + this.data.sportCategorySid,
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
@@ -419,9 +441,14 @@
|
|||||||
loading: true
|
loading: true
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.data.disclaimer = res.data.disclaimerTemplate
|
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