Alpha Sprint Essay 1

NoFantasy 2024-12-07 01:56:49
Course for This Assignment2401_MU_SE_FZU
Team NameNoFantasy
Assignment RequirementsFifth Assignment——Alpha Sprint
Objectives of This AssignmentAlpha Sprint
Other ReferencesNO reference

1. Burn Down Chart

img

2. Front-end

Aim: Build out a simple framework for a personal homepage interface
Problem: Some of the code is running erratically, but it's not clear why
Front-end: uniapp framework is used to realize the overall architecture, and uni-ui components are used to realize the corresponding interface rendering. The framework structure is shown in the figure below

img

After adding the bar bottom navigation, the code for creating a personal home page interface is as follows

<view class="mine-container" :style="{height: `${windowHeight}px`}">

    <view class="header-section">

      <view class="flex padding justify-between">

        <view class="flex align-center">

          <view v-if="!avatar" class="cu-avatar xl round bg-white">

            <view class="iconfont icon-people text-gray icon"></view>

          </view>

          <image v-if="avatar" @click="handleToAvatar" :src="avatar" class="cu-avatar xl round" mode="widthFix">

          </image>

          <view v-if="!name" @click="handleToLogin" class="login-tip">

            点击登录

          </view>

3. Back-end

Aim: try to build the login interface built the database
Problem: There is currently a data transfer bug that is being debugged.

Using springboot+mybatis+mysql to realize the overall framework including security security authentication project structure is as follows:

img

Design the user database structure

CREATE TABLE `sys_user` (

  `user_id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',

  `dept_id` bigint DEFAULT NULL COMMENT '部门ID',

  `user_name` varchar(30) COLLATE utf8_unicode_ci NOT NULL COMMENT '用户账号',

  `nick_name` varchar(30) COLLATE utf8_unicode_ci NOT NULL COMMENT '用户昵称',

  `user_type` varchar(2) COLLATE utf8_unicode_ci DEFAULT '00' COMMENT '用户类型(00系统用户)',

  `email` varchar(50) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '用户邮箱',

  `phonenumber` varchar(11) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '手机号码',

  `sex` char(1) COLLATE utf8_unicode_ci DEFAULT '0' COMMENT '用户性别(0男 1女 2未知)',

  `avatar` varchar(1000) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '' COMMENT '头像地址',

  `password` varchar(100) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '密码',

  `status` char(1) COLLATE utf8_unicode_ci DEFAULT '0' COMMENT '帐号状态(0正常 1停用)',

  `del_flag` char(1) COLLATE utf8_unicode_ci DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',

  `login_ip` varchar(128) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '最后登录IP',

  `login_date` datetime DEFAULT NULL COMMENT '最后登录时间',

  `create_by` varchar(64) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '创建者',

  `create_time` datetime DEFAULT NULL COMMENT '创建时间',

  `update_by` varchar(64) COLLATE utf8_unicode_ci DEFAULT '' COMMENT '更新者',

  `update_time` datetime DEFAULT NULL COMMENT '更新时间',

  `remark` varchar(500) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '备注',

  `open_id` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,

  PRIMARY KEY (`user_id`)

) ENGINE=InnoDB AUTO_INCREMENT=106 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='用户信息表'
...全文
34 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

170

社区成员

发帖
与我相关
我的任务
社区描述
2401_MU_SE_FZU
软件工程 高校
社区管理员
  • FZU_SE_TeacherL
  • 助教-吴可仪
  • 助教-孔志豪
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧