PHPackages                             xunuofeng/ordermeal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. xunuofeng/ordermeal

ActiveProject

xunuofeng/ordermeal
===================

16HTML

Since Feb 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/emofengyin/Ordermeal)[ Packagist](https://packagist.org/packages/xunuofeng/ordermeal)[ RSS](/packages/xunuofeng-ordermeal/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

```

## 功能要求细则：

### 1.帮订餐

选人，人的数据来自于json文件data/users.json
选餐厅，餐厅的数据来自于json文件data/restaurants.json
选餐，餐的数据来自于json文件data/foods.json

数据是以js的变量方式提供的，不需要Ajax加载

全部选择完之后，点定餐，完成一笔定餐。
订餐完成后，除了餐厅，所有的都要清空。
当餐厅没选则时，无法选择选套餐

### 2.显示订单

多少人已定，明细
多少人未定，明细
显示总计

超越12元的显示红字，显示超了多少元。

## 基本要求：

用javascript和html完成本题
完成需求，代码可以工作。
界面参考“界面参考图片”
代码写在index.html和js文件里。
使用的类库为jquery.mobile-1.2.0，帮助文档在lib文件夹中，也可以可以上网查询。

## 高级要求：

代码可读性高加分
使用对象加分
代码结构清晰加分
有测试加分
重复代码少加分
大部分函数代码少于15行加分
用github提交作业加分
github上每次提交写出注释加分
github上每次提交写的注释清晰加分
github上每次提交只做了一件事加分

大量使用缩写减分
大量使用if else或switch减分
大量js代码没有放在js文件里减分
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

---

Top Contributors

[![emofengyin](https://avatars.githubusercontent.com/u/2968916?v=4)](https://github.com/emofengyin "emofengyin (9 commits)")[![xunuofeng](https://avatars.githubusercontent.com/u/2969796?v=4)](https://github.com/xunuofeng "xunuofeng (1 commits)")

### Embed Badge

![Health badge](/badges/xunuofeng-ordermeal/health.svg)

```
[![Health](https://phpackages.com/badges/xunuofeng-ordermeal/health.svg)](https://phpackages.com/packages/xunuofeng-ordermeal)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
