Assignment 6 | Beta Sprint |
---|---|
Course | EE308FZ[A] --- Software Engineering |
Class Link | 2401_MU_SE_FZU |
Requirements | Teamwork---Beta Sprint |
Team Name | FZUGO |
Objective | Sprint Essay 5_Day9-Day10 (12.19-12.20) |
Other Reference | 1. WeChat Mini Program Design Guide 2. Javascript Style Guide 3. WeChat Developer Tools 4. The Art of Construction |
Catalog
- [1. SCRUM Section](#1. SCRUM Section)
-
- [1.1 Team Achievements](#1.1 Team Achievements)
- [1.2 Achievements Showcase](#1.2 Achievements Showcase)
-
- [1.2.1 Project Summary Report and PPT Preparation](#1.2.1 Project Summary Report and PPT Preparation)
- [1.2.2 Final Version Deployment](#1.2.2 Final Version Deployment)
- [1.2.3 Final Testing](#1.2.3 Final Testing)
- [1.2.4 Fifth Beta Test Report Writing: "Beta Summary and Results Showcase"](#1.2.4 Fifth Beta Test Report Writing: “Beta Summary and Results Showcase”)
- [1.3 SCRUM Meeting Photos](#1.3 SCRUM Meeting Photos)
- [2. PM Report](#2. PM Report)
-
- [2.1 Expected Tasks and Completed Tasks](#2.1 Expected Tasks and Completed Tasks)
- [2.2 Project Burn-Up Chart](#2.2 Project Burn-Up Chart)
The completed task
- Project Summary Report and PPT Preparation
- Final Version Deployment
- Final Testing
- Fifth Beta Test Report Writing: "Beta Summary and Results Showcase"
1. SCRUM Section
1.1 Team Achievements
Team Member | Completed Tasks | Time Spent | Issues Encountered |
---|---|---|---|
张绍钰 | Complete Beta phase summary and presentation materials | 3h | None |
王希瑞 | Ensure project stability and readiness for launch | 3h | None |
刘丹妮 | Ensure project stability and readiness for launch and Fifth Beta Test Report Writing: "Beta Summary and Results Showcase" | 3h | None |
张子晔 | Conduct final functionality testing | 2h | None |
寿宇浩 | Conduct final functionality testing | 2h | None |
薛墨澜 | Complete Beta phase summary and presentation materials | 3h | None |
谢荣城 | Complete Beta phase summary and presentation materials | 3h | None |
周欣怡 | User Feedback Feature Improvement | 3h | None |
吴杨顺 | Ensure project stability and readiness for launch | 2.5h | None |
唐宁蔚 | Fifth Beta Test Report Writing: "Beta Summary and Results Showcase" | 2.5ch | None |
1.2 Achievements Showcase
1.2.1 Project Summary Report and PPT Preparation
A summary of the project's achievements to date has been completed and compiled into a PPT that consists of four sections: phase summary, completion status, improvement suggestions, and future planning.
1.2.2 Final Version Deployment
Added error handling to prompt users not to frequently request location services.
javascript
location() {
var that = this; // 保存当前上下文this的引用,以便在回调函数中使用
var school_boundary = this.data.school_boundary; // 获取学校边界信息
var default_point = this.data.default_point; // 获取默认点信息
var static_category = this.data.static; // 获取静态分类信息
// 调用微信小程序的getLocation API获取当前位置
wx.getLocation({
type: "gcj02", // 指定返回可以用于wx.openLocation的经纬度,即国测局坐标系
success: function (res) {
var nowlatitude = res.latitude; // 获取当前纬度
var nowlongitude = res.longitude; // 获取当前经度
console.log("当前位置坐标", nowlatitude, nowlongitude); // 打印当前位置坐标
// 判断当前位置是否在学校边界内
if (
nowlatitude > school_boundary.south &&
nowlatitude < school_boundary.north &&
nowlongitude > school_boundary.west &&
nowlongitude < school_boundary.east
) {
// 如果在学校内,则设置当前位置为标记点和起点
that.setData({
mylocationmarker: {
id: 0,
// iconPath: "", // 图标路径未设置,如果需要可以添加
latitude: nowlatitude,
longitude: nowlongitude,
width: 25,
height: 37,
callout: {
content: " 当前位置 ",
display: "ALWAYS",
padding: 5,
borderRadius: 10,
},
joinCluster: true,
},
start: {
name: "当前位置",
latitude: nowlatitude,
longitude: nowlongitude,
},
});
} else {
// 如果不在学校内,则设置默认点为标记点和起点,并显示提示信息
that.setData({
mylocationmarker: {
id: 0,
// iconPath: "", // 图标路径未设置,如果需要可以添加
latitude: default_point.latitude,
longitude: default_point.longitude,
width: 25,
height: 37,
callout: {
content: " " + default_point.name + " ",
display: "ALWAYS",
padding: 5,
borderRadius: 10,
},
joinCluster: true,
},
start: {
name: default_point.name,
latitude: default_point.latitude,
longitude: default_point.longitude,
},
});
wx.showToast({
title:
"当前位置不在校区内\n默认位置设为" + default_point.name,
icon: "none",
duration: 2000,
});
}
// 无论位置如何,都调用changeCategory函数
that.changeCategory(static_category);
},
fail: function (err) {
// 定位失败时显示提示信息,并调用changeCategory函数
wx.showToast({
title: "请不要频繁定位\n5秒后再试试吧",
icon: "none",
duration: 2000,
});
that.changeCategory(static_category);
},
});
},
Upload the fully developed and tested mini-program code to the WeChat server for version review, and ultimately publish it for users to use.
1.2.3 Final Testing
-
Test tool
We have completed the launch item testing of the mini-program using the tools provided by the mini-program platform, in preparation for its official launch.
-
Test results
Excellent launch performance
Good runtime performance
Excellent compatibility
Excellent network performance
1.2.4 Fifth Beta Test Report Writing: "Beta Summary and Results Showcase"
After assigning tasks, we wrote one blog summary every two days, and have completed the compilation of five blog posts.
1.3 SCRUM Meeting Photos
2. PM Report
2.1 Expected Tasks and Completed Tasks
Overall Project Prediction Tasks | Completed? |
---|---|
Project Summary Report and PPT Preparation | Yes |
Final Version Deployment | Yes |
Final Testing | Yes |
Fifth Beta Test Report Writing: "Beta Summary and Results Showcase" | Yes |
More Performance Optimizations | No |