Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Commit

Permalink
v2.7.2
Browse files Browse the repository at this point in the history
修复问题
  • Loading branch information
lolisaikou committed Dec 26, 2020
1 parent 603fcbf commit 9d2e857
Show file tree
Hide file tree
Showing 6 changed files with 374 additions and 3 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 当前程序版本:2.7.1
## 当前程序版本:2.7.2
**现在满分为42哦(除了每日和专项答题)**
因为刚刚上线,所以`commit`有点多,更新也比较频繁,经常是想到哪改到哪,所以请多包涵,有问题可以提`issue`

Expand Down Expand Up @@ -33,6 +33,13 @@


## 版本更新
- 2020.12.26
适配新版本
修复争上游对战问题
修复视频浏览问题
更新题库
暂时取消订阅部分
***
- 2020.10.08
适配强国2.17.0
***
Expand Down
2 changes: 1 addition & 1 deletion UI.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ui.layout(
<viewpager id="viewpager">
<frame>
<img src={"https://api.ixiaowai.cn/gqapi/gqapi.php?" + new Date().getTime()} scaleType="centerCrop" alpha="0.2" />
<text textSize="16sp" textColor="red" text="v2.7.1" />
<text textSize="16sp" textColor="red" text="v2.7.2" />
<button id="amsw" text="阅读模式选择" layout_gravity="right|top" w="auto" h="auto" circle="true"/>
<button id="showFloating" text="打开悬浮窗" w="150" h="60" circle="true" layout_gravity="center" style="Widget.AppCompat.Button.Colored" />
</frame>
Expand Down
6 changes: 6 additions & 0 deletions floating.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ let window = floaty.window(
<button id="startSFP" text=" 收藏分享评论 " w="90" h="35" bg="#77ffffff" textSize="10sp" />
<button id="startDT" text=" 挑战答题 " w="90" h="35" bg="#77ffffff" textSize="10sp" />
<button id="startMR" text=" 每日答题等 " w="90" h="35" bg="#77ffffff" textSize="10sp" />
<button id="startDZ" text=" 对战 " w="90" h="35" bg="#77ffffff" textSize="10sp" />
<button id="stop" text=" 停止 " w="90" h="35" bg="#77ffffff" textSize="10sp" />
<button id="exit" text=" 退出悬浮窗 " w="90" h="35" bg="#77ffffff" textSize="10sp" />
</vertical>
Expand Down Expand Up @@ -88,6 +89,11 @@ window.startMR.click(() => {
let ss = "./dailyAnswer.js";
startTh(ss);
});
//对战
window.startDZ.click(() => {
let ss = "./zsyAnswer.js";
startTh(ss);
});

//停止
window.stop.click(() => {
Expand Down
Binary file modified tiku.db
Binary file not shown.
4 changes: 3 additions & 1 deletion xxqg_v3.1.3.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function video_timing_news(n, seconds) {
seconds = seconds + randomNum(0, 10)
for (var i = 0; i < seconds; i++) {
sleep(1000);
while (!textContains("欢迎发表你的观点").exists())//如果离开了联播小视频界面则一直等待
while (!text("播放").exists())//如果离开了联播小视频界面则一直等待
{
console.error("当前已离开第" + (n + 1) + "个新闻小视频界面,请重新返回视频");
delay(2);
Expand Down Expand Up @@ -655,9 +655,11 @@ function main() {
listenToRadio();//听电台广播
}
var r_start = new Date().getTime();//广播开始时间
/**
if (myScores['订阅'] != 2) {
sub();//订阅
}
*/
while (aCount != 0) {
var x = 0;
articleStudy(x);//学习文章,包含点赞、分享和评论
Expand Down
Loading

0 comments on commit 9d2e857

Please sign in to comment.