# 早晚答题小程序
**master是目前已上线的小程序主分支**
**scf分支是云开发的分支,由于云开发从2022年8月8日开始收费,将不再更新**
*develop 是开发分支,开发新功能,上线后合并到master分支*
#### 介绍
答题,题目解析,分享,模拟考试,排名,签到功能,获得积分
利用微信小程序方便进行答题操作
增加了汉字查询、成语查询、英汉词典、诗词歌赋、萌宝启蒙等功能
增加了汉字笔画书写功能
交流 qq群:123955944
#### 扫码预览
![image](screenshot/zaowanda.jpg)
#### 工具使用
> 小程序页面:微信小程序基础组件,vant开源组件
> 后端接口:java 开发,mysql数据库
#### 接口文档
后台接口文档 [http://docs.siival.com/](http://docs.siival.com/)
### 国内访问
[https://gitcode.net/efit/question](https://gitcode.net/efit/question)
#### 待完成
1. ~~全唐诗的搜索~~(已完成)
2. ~~宋词的搜索~~(已完成)
3. 文字ocr识别功能(进行中)
4. 歇后语的搜索
5. 后台管理页面开发完善中
6. 后台sass版api接口开放
#### 代码运行
1. 将`utils/constant.js.example` 重命名为`constant.js`
2. `constant.js`里面配置后台接口地址和请求接口的`token`
3. 汉字笔画功能了修改npm包的源码,使用构建npm功能完成之后,找到构建后的`hanzi_witer/index.js`里面找到代码`_animationFrame`方法内容替换为下面代码:
```javascript
var ctx = this._target.ctx
if( ctx){
ctx.clearRect(0, 0, this._positioner.width, this._positioner.height);
ctx.save();
ctx.translate(this._positioner.xOffset, this._positioner.height - this._positioner.yOffset);
ctx.transform(1, 0, 0, -1, 0, 0);
ctx.scale(this._positioner.scale, this._positioner.scale);
func(ctx);
ctx.restore();
if (ctx.draw) ctx.draw();
}else{
let that = this
const query = wx.createSelectorQuery().in(this._target.view)
query .select('#writer-canvas').fields({
node:true
}).exec(
function(res){
//
let ctxnode = res[0].node
let ctx = ctxnode.getContext('2d')
that._target.ctx = ctx;
ctx.clearRect(0, 0, that._positioner.width, that._positioner.height);
ctx.save();
ctx.translate(that._positioner.xOffset, that._positioner.height - that._positioner.yOffset);
ctx.transform(1, 0, 0, -1, 0, 0);
ctx.scale(that._positioner.scale, that._positioner.scale);
func(ctx);
ctx.restore();
if (ctx.draw) ctx.draw();
});
}
```
#### 扫码添加QQ群讨论
<a target="_blank" href="https://qm.qq.com/cgi-bin/qm/qr?k=oH2Uv8YJ5URz81DsRK-cZ-BpONQM6BRg&jump_from=webapi"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png" alt="技术交流学习" title="技术交流学习"></a>
![image](screenshot/3.png)
#### 微信群
![](screenshot/4.png)
#### 页面截图
![image](screenshot/question.png)
![image](screenshot/2.jpg)
![image](screenshot/5.jpg)
![image](screenshot/7.jpg)
![image](screenshot/more.png)
![image](screenshot/10.jpg)
![汉字笔画预览](screenshot/preview.gif)
![成语](screenshot/idiom.jpg)
![词典](screenshot/eng_dict.jpg)
![](screenshot/ocr.png)
#### 后台截图
![编辑问题](screenshot/admin-1.png)
![题库分类](screenshot/admin-2.png)
![题库列表](screenshot/admin-3.png)
![每日一题答题记录](screenshot/admin-4.png)
#### 参考项目
1. 汉字writer [https://github.com/chanind/hanzi-writer](https://github.com/chanind/hanzi-writer)
2. 汉字笔画write 小程序版 [https://github.com/chanind/hanzi-writer-miniprogram](https://github.com/chanind/hanzi-writer-miniprogram)
3. 日历插件 [https://github.com/treadpit/wx_calendar](https://github.com/treadpit/wx_calendar)
4. 抽奖大转盘 [https://github.com/xing00/wxapp-turn-table](https://github.com/xing00/wxapp-turn-table)
5. 三级联动 [https://github.com/z1511676208/chooseAddr](https://github.com/z1511676208/chooseAddr)
#### 赞赏项目
人都是要恰饭的。开源不易,请作者喝杯奶茶吧
微信赞赏
<img title="" src="screenshot/wechat.jpg" alt="" data-align="inline">
支付宝赞赏
![](screenshot/alipay.png)
没有合适的资源?快使用搜索试试~ 我知道了~
考试类精品--小程序,微信答题小程序,可以进行答题,模拟考试。增加了词典查询,汉字成语查询等功能.zip
共732个文件
js:164个
wxss:126个
wxml:119个
需积分: 5 0 下载量 183 浏览量
2024-02-06
10:12:56
上传
评论
收藏 3.49MB ZIP 举报
温馨提示
考试类精品--小程序,微信答题小程序,可以进行答题,模拟考试。增加了词典查询,汉字成语查询等功能
资源推荐
资源详情
资源评论
收起资源包目录
考试类精品--小程序,微信答题小程序,可以进行答题,模拟考试。增加了词典查询,汉字成语查询等功能.zip (732个子文件)
constant.js.example 83B
preview.gif 106KB
.gitignore 408B
10.jpg 384KB
idiom.jpg 354KB
eng_dict.jpg 340KB
5.jpg 339KB
6.jpg 335KB
7.jpg 309KB
9.jpg 269KB
2.jpg 224KB
wechat.jpg 60KB
tools.jpg 59KB
zaowanda.jpg 45KB
default.jpg 36KB
index.js 29KB
convertSolarLunar.js 27KB
index.js 16KB
week.js 13KB
index.js 11KB
index.js 11KB
index.js 10KB
api.js 10KB
index.js 9KB
time-range.js 9KB
index.js 9KB
base.js 9KB
index.js 8KB
index.js 7KB
index.js 7KB
index.js 7KB
selectable.js 7KB
file.js 7KB
index.js 6KB
index.js 6KB
index.js 6KB
index.js 6KB
index.js 6KB
http.js 5KB
index.js 5KB
exam.js 5KB
index.js 5KB
index.js 5KB
hanzi-writer-view.js 5KB
index.js 4KB
todo.js 4KB
transition.js 4KB
core.js 4KB
index.js 4KB
index.js 4KB
index.js 4KB
index.js 4KB
holidays-map.js 4KB
index.js 4KB
index.js 4KB
index.js 3KB
index.js 3KB
util.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
utils.js 3KB
index.js 3KB
wheel.js 3KB
profile.js 3KB
index.js 3KB
index.js 3KB
index.js 3KB
index.js 2KB
index.js 2KB
utils.js 2KB
index.js 2KB
utils.js 2KB
dialog.js 2KB
index.js 2KB
index.js 2KB
get-calendar-data.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
toast.js 2KB
index.js 2KB
index.js 2KB
relation.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
index.js 2KB
utils.js 2KB
index.js 2KB
index.js 1KB
index.js 1KB
notify.js 1KB
index.js 1KB
共 732 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
码农阿豪
- 粉丝: 1w+
- 资源: 1754
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功