Comments (7)
我测试一下,最快明天上线
from lazystudy.
增加了一个按钮可以供选择
为什么只有这两个选项?因为每天都有大量新文章貌似只有这两个地方(如果有别的地方希望大家指出)
总感觉这个功能对刚开始看这个的没用
from lazystudy.
其实文章标题是有个ID的,建议获取文章标题
//获取当前正在阅读的文章标题
var currentNewsTitle = ""
if (textContains("来源").exists()) { // 有时无法获取到 来源
currentNewsTitle = textContains("来源").findOne().parent().children()[0].text();
} else if (textContains("作者").exists()) {
currentNewsTitle = textContains("作者").findOne().parent().children()[0].text();
} else if (descContains("来源").exists()) {
currentNewsTitle = descContains("来源").findOne().parent().children()[0].desc();
} else if (descContains("作者").exists()) {
currentNewsTitle = descContains("作者").findOne().parent().children()[0].desc();
这段直接改为按ID查然后获取标题下面的那个view找会更准,免得老是找不到标题,如下面代码中加粗部分,标题id为xxqg-article-header这个控件下,只有一个view,则是标题内容
** **from lazystudy.
因为有些功能还需要测试,所以今天还不能更新
from lazystudy.
其实文章标题是有个ID的,建议获取文章标题
//获取当前正在阅读的文章标题
var currentNewsTitle = ""
if (textContains("来源").exists()) { // 有时无法获取到 来源
currentNewsTitle = textContains("来源").findOne().parent().children()[0].text();
} else if (textContains("作者").exists()) {
currentNewsTitle = textContains("作者").findOne().parent().children()[0].text();
} else if (descContains("来源").exists()) {
currentNewsTitle = descContains("来源").findOne().parent().children()[0].desc();
} else if (descContains("作者").exists()) {
currentNewsTitle = descContains("作者").findOne().parent().children()[0].desc();这段直接改为按ID查然后获取标题下面的那个view找会更准,免得老是找不到标题,如下面代码中加粗部分,标题id为xxqg-article-header这个控件下,只有一个view,则是标题内容
我发现了已经改过了
from lazystudy.
已更新,可以到release页面下载
from lazystudy.
厉害了,刚准备反馈下这个问题,没想到今天上来就看到解决了,辛苦了
from lazystudy.
Related Issues (20)
- 有问题反馈,请大神抽空解决。对战有一些问题来反馈一下 HOT 3
- 请问是用哪个版本插件打包应用的,我打包的都不能正常运行 HOT 1
- 双人答题 更新了界面 增加了随机匹配和邀请好友 原脚本没有在这个界面自动选择的代码 希望修复一下 ,默认选择 随机匹配就行 HOT 2
- 有几道题,根据提示选择的答案错误,而且在题库里修改答案修改不了。
- 版本是不是停止更新了啊
- 文章结束后 广播那会卡住 没法进行视频 只有手动返回主界面才可以
- 小米手机miui12 无法打开悬浮窗 HOT 1
- 有没有支持IOS的答题辅助? HOT 1
- 想法
- 老大软件是不是不更新了啊
- 几个建议 HOT 2
- 新版本在那儿能下载到? HOT 1
- 感谢!建议能将使用中遇到的不在题库里的题自动添加到题库
- 更新题库 tk.db反而变小了。 HOT 1
- 关于控件问题
- 大神还更新吗
- 大神 这个软件你还更新么? 获取不了题库了 HOT 1
- 请问 ,题库文件在安卓的路径及文件名叫什么,谢谢 HOT 1
- 元素找不到导致的自动化任务用不了
- 恳请大神告知题库手动新增题目的正确方法,非常感谢!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazystudy.