Commit 7d2ce26e by tangjiale

更新代码

parent f5a027e4
......@@ -3,11 +3,11 @@
* @eMail: 932055106@qq.com
* @Date: 2022-01-13 17:47:44
* @LastEditors: tangjiale
* @LastEditTime: 2022-07-06 09:00:14
* @LastEditTime: 2022-07-06 10:30:58
*/
// wx.setStorageSync('host', 'https://sdb.youchengzhang.cn/'); //正式环境
// wx.setStorageSync('host', 'https://test.xiaobentiyu.cn'); //测试环境
wx.setStorageSync('host', 'https://test.xiaobentiyu.cn/pxmobileapi'); //测试环境
wx.setStorageSync('host', 'https://api.xiaobentiyu.cn/pxmobileapi'); //正式环境
// wx.setStorageSync('host', 'https://test.xiaobentiyu.cn/pxmobileapi'); //测试环境
//https://test.xiaobentiyu.cn/pxmobileapi
//https://test.xiaobentiyu.cn/pxmobileapi/doc.html#/home
......
......@@ -11,50 +11,7 @@
"list": []
},
"miniprogram": {
"list": [
{
"name": "",
"pathName": "subPages/organ/destory-student/destory-student",
"query": "stuId=16&schId=",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/sport/sport",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "subPages/course/detail/detail",
"query": "id=17118",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "subPages/organ/course-list/course-list",
"query": "courseType=1",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "subPages/sport/ai-fwc-sport/ai-fwc-sport",
"query": "sportTime=60",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "subPages/login/login/index",
"query": "",
"scene": null,
"launchMode": "default"
}
]
"list": []
}
}
}
\ No newline at end of file
......@@ -153,7 +153,7 @@ Page({
var medalContent = res.target.dataset.item.name;
return{
title:'我在小奔体育获得' + medalContent + '勋章,快来和我一起训练吧!',
path:'packageA/skip/medalShare/medalShare?medalId=' + medalId,
path:'/subPages/bluetooth/share/share?medalId=' + medalId,
imageUrl:'https://cdn.xiaobentiyu.cn/sport_minapp_img/medal-share.png'
}
}
......@@ -169,7 +169,7 @@ Page({
var medalContent = res.target.dataset.item.name;
return{
title:'我在小奔体育获得' + medalContent + '勋章,快来和我一起训练吧!',
path:'packageA/skip/medalShare/medalShare?medalId=' + medalId,
path:'/subPages/bluetooth/share/share?medalId=' + medalId,
imageUrl:'https://cdn.xiaobentiyu.cn/sport_minapp_img/medal-share.png'
}
}
......@@ -187,7 +187,7 @@ Page({
}
return{
title: that.data.shareInfo,
path:'packageA/skip/share/share?shareId=' + that.data.shareId + '&ordin=' + model
path:'/subPages/bluetooth/share/share?shareId=' + that.data.shareId + '&ordin=' + model
}
}
if (res.target.id == 4) {
......@@ -201,7 +201,7 @@ Page({
var medalContent = res.target.dataset.content;
return{
title:'我在小奔体育获得' + medalContent + '勋章,快来和我一起训练吧!',
path:'packageA/skip/medalShare/medalShare?medalId=' + medalId + '&dan=1',
path:'/subPages/bluetooth/share/share?medalId=' + medalId + '&dan=1',
imageUrl:'https://cdn.xiaobentiyu.cn/sport_minapp_img/medal-share.png'
}
}
......
<view class='no-login'>
<view class="login">
<image class="no-login-top" src='https://cdn.xiaobentiyu.cn/sport_minapp_img/home/logo.png'></image>
<image class="no-login-top" src='/images/login-logo.png'></image>
</view>
<button wx:if="{{checkboxValue}}" class="btn" open-type="getPhoneNumber" lang="zh_CN"
bindgetphonenumber="getPhoneNumber">微信一键登录</button>
......@@ -20,6 +20,5 @@
</checkbox-group>
<view class="instructions">
小程序主要用于中小学生体质健康服务,教育局、学校需进行信息验证,验证通过即可使用相关功能。
</view>
</view>
\ No newline at end of file
......@@ -333,7 +333,7 @@ Page({
success: (res) => {
if(sportType == 1){
wx.redirectTo({
url: '../../bluetooth/share/share?ordin=1&id=' + uid + '&showMedal=1&sportTime=' + that.data.showTime,
url: '/subPages/bluetooth/share/share?ordin=1&id=' + uid + '&showMedal=1&sportTime=' + that.data.showTime,
})
}else{
wx.switchTab({
......
......@@ -268,7 +268,7 @@ Page({
return{
title:name + '在“小奔体育”小程序中完成了一次' + ai + project +'训练,邀请您也一起参与!',
path:'packageA/sitUp/share/share?id=' + that.data.id + '&share=1&showMedal=0&sportTime='+that.data.sportTime,
path:'/subPages/sport/share/share?id=' + that.data.id + '&share=1&showMedal=0&sportTime='+that.data.sportTime,
imageUrl:imageUrl
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment