EE308FZ_Fifth Assignment_Alpha Sprint_Sprint Essay 2

Assignment 5Alpha Sprint
CourseEE308FZ[A] — Software Engineering
Class Link2401_MU_SE_FZU
RequirementsFifth Assignment——Alpha Sprint
Team NameFZUGO
ObjectiveSprint Essay 2_Day3-Day4 (11.29-11.30)
Other Reference1. WeChat Mini Program Design Guide 2. Javascript Style Guide 3. WeChat Developer Tools 4. The Art of Construction

I. Project Burn-up Chart

燃尽图The chart reflects steady progress in achieving sprint goals, with key features nearing completion.

II. Latest Running Gif of the Project Module

  Our UI design and front-end development teams have successfully completed the design of the map interface and the location summary interface, enabling interaction between the location summary interface and detailed building information, as well as start and endpoint settings. Additionally, we have started integrating the campus guide interface, which includes comprehensive features such as class schedules, library reading rooms, and parcel services. Seamless interaction between the campus guide module on the homepage and the campus guide interface has also been implemented.
  Our back-end development team has completed the development of back-end API interfaces, supporting map data loading, as well as data query and update functionalities. They have also successfully addressed the data requirements of the campus guide interface.
  Our testing and optimization team is conducting front-end UI testing on mobile devices, checking the compatibility and responsiveness of the interface display. They are also testing the interaction between the location summary interface and the map interface, as well as the interaction between the homepage campus guide component and the campus guide interface.

1. Location Summary Interface

  • WeChat Developer Tool for PC
    Location Summary
  • Mobile testing
    Mobile Testing
    Mobile
    The test results on the mobile end meet the expected requirements.

2. Campus Guide Interface

  • WeChat Developer Tool for PC
    PC
  • Mobile testing
    Mobile
    The test results on the mobile end meet the expected requirements.

III. The Development Team Conducts Code Checks

Code Check

1. Location Summary Interface

  • Location List and Selection
<view class="card-right-content-card" wx:for="{{site_data[category].list}}" wx:key="id" bindtap="click" data-name="{{item.name}}" data-desc="{{item.desc}}" data-aliases="{{item.aliases}}" data-img="{{item.img}}" id="{{index}}">
    <view>
        <image class="card-right-content-card-img" src="{{item.img}}" mode="aspectFill" />
    </view>

    <view class="card-right-content-card-context">
        <view>
            <image class="card-right-content-card-context-icon" src="{{little_location}}" mode="" />
        </view>

        <text>{{item.name}}\n<text style="color:dimgray">{{item.aliases}}</text></text>
    </view>
</view>
  • Set Starting/Ending Point
<mp-dialog title="{{card.name}}" show="{{dialogShow}}" bindbuttontap="mapmarker" buttons="{{buttons}}">
    <view>
        <image bindtap="lookPhoto" mode="heightFix" style="height:270rpx;" src="{{card.img}}" data-src="{{card.img}}"></image>
        <view style="font-size:90%">{{card.aliases}}</view>
        <view>{{card.desc}}</view>
    </view>
</mp-dialog>
  • Interacting With the Map Interface
Page({
  data: {
    // 地点信息
    site_data: [],
    category: 0,
    dialogShow: false,
    card: {},
    buttons: [{ text: '设为起点' }, { text: '设为终点' }],
  },

  // 点击地点时展示详情
  click: function(e) {
    const item = e.currentTarget.dataset;
    this.setData({
      card: {
        name: item.name,
        aliases: item.aliases,
        desc: item.desc,
        img: item.img,
      },
      dialogShow: true,
    });
  },

  // 点击“设为起点”或“设为终点”
  mapmarker: function(e) {
    const buttonText = e.detail.text; // 获取点击的按钮文本

    if (buttonText === '设为起点') {
      this.setData({
        start: this.data.card, // 设置起点
      });
      wx.showToast({
        title: '起点设置成功',
        icon: 'success',
        duration: 2000,
      });
    } else if (buttonText === '设为终点') {
      this.setData({
        end: this.data.card, // 设置终点
      });
      wx.showToast({
        title: '终点设置成功',
        icon: 'success',
        duration: 2000,
      });
    }

    // 关闭弹窗
    this.setData({
      dialogShow: false,
    });
  },

  // 弹窗按钮点击事件
  mapmarker_close: function() {
    this.setData({
      dialogShow: false,
    });
  },
});
// 在地图页面中,接收起点和终点
Page({
  data: {
    start: {},
    end: {},
    markers: [], // 地图上的标记
    polyline: [], // 路线
  },

  onLoad: function() {
    // 获取起点和终点数据
    const start = getApp().globalData.start;
    const end = getApp().globalData.end;

    if (start && end) {
      // 更新地图上的起点和终点标记
      this.setData({
        markers: [
          { id: 1, latitude: start.latitude, longitude: start.longitude, title: '起点' },
          { id: 2, latitude: end.latitude, longitude: end.longitude, title: '终点' }
        ],
        polyline: [
          { points: [start, end], color: '#FF0000', width: 2, dottedLine: true }
        ]
      });
    }
  },
});

2. Campus Guide Interface

  • Campus Guide Component in Common Functions
<view class="card-container">
  <view class="card-container-card">
    <view class="card-container-card-title">
      🚩 常用功能
    </view>

    <view class="two">
      <!-- 校园地图按钮 -->
      <image class="card-container-card-button" src="{{function_buttons[0]}}" mode="" bindtap="map" />
      <!-- 学校信息按钮 -->
      <image class="card-container-card-button" src="{{function_buttons[1]}}" mode="" bindtap="school" />
    </view>

    <view class="two">
      <!-- 校园排名按钮 -->
      <image class="card-container-card-button" src="{{function_buttons[4]}}" mode="" bindtap="rank" />
      <!-- 学校链接按钮 -->
      <image class="card-container-card-button" src="{{function_buttons[3]}}" mode="" bindtap="link" />
    </view>
  </view>
</view>

IV. Evaluation of Teammates

Student IDNameWorkContribution
832202127唐宁蔚Project Manager + Bolg Writing10%
832201130薛墨澜UI Interface Design + Front-end Development10%
832201126谢荣城UI Interface Design + Front-end Development11%
832201113张绍钰UI Interface Design + Front-end Development11%
832201219周欣怡Front-end Development + Defense PPT Production10%
832202202王希瑞Back-end Development10%
832202208刘丹妮Back-end Development10%
832202213吴杨顺Back-end Development10%
832202214张子晔Testing and Optimization + Deployment and Launch9%
832202209寿宇浩Testing and Optimization + Deployment and Launch9%

This blog reflects our progress and dedication towards building a fully functional and user-friendly mini-program. Stay tuned for our Day 5-6 updates!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值