diff --git a/autoWebview.js b/autoWebview.js index bee67d2..ee49728 100644 --- a/autoWebview.js +++ b/autoWebview.js @@ -1,11 +1,11 @@ /* eslint-disable */ 'ui'; // 一. 开发使用本地地址调试 -// initUi('http://192.168.31.227:5666/') +initUi('http://192.168.31.227:5666/') // initUi('http://172.21.32.205:5666/') // 二.上线 -initUi('https://www.xiaye0.com/mh') +// initUi('https://www.xiaye0.com/mh') /** * 初始化 UI diff --git a/src/App.vue b/src/App.vue index b4221b9..76aab9c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,5 +24,13 @@ export default { height: 100vh; overflow: hidden; } - +.container{ + font-size:16px; + p{ + margin:5px 0; + } + img{ + width:100%; + } +} diff --git a/src/assets/img/auto.png b/src/assets/img/auto.png deleted file mode 100644 index cf609a2..0000000 Binary files a/src/assets/img/auto.png and /dev/null differ diff --git a/src/assets/img/autoThree.jpg b/src/assets/img/autoThree.jpg new file mode 100644 index 0000000..3b3cfc5 Binary files /dev/null and b/src/assets/img/autoThree.jpg differ diff --git a/src/assets/img/zhuaGui.jpg b/src/assets/img/zhuaGui.jpg new file mode 100644 index 0000000..1da613f Binary files /dev/null and b/src/assets/img/zhuaGui.jpg differ diff --git a/src/auto/robot/robot.fiveBen.js b/src/auto/robot/robot.fiveBen.js index 0e753e6..3c81db8 100644 --- a/src/auto/robot/robot.fiveBen.js +++ b/src/auto/robot/robot.fiveBen.js @@ -2,6 +2,8 @@ auto(); const {findTextAndClick,isFightingCallback,clickClosePoint,isFighting,clickImagePoint,findImageTemplatePoints,isHasImageTemplate,clickRect,randomClick,clickImageTemplate,hasText,findTextRect} = require('util.js') +toastLog('即将开始自动三本啦') +sleep(2000) // 判断是否在战斗中 function isFight(){ while(true){ diff --git a/src/views/home/fiveBen.vue b/src/views/home/fiveBen.vue index b5ecf42..48837c3 100644 --- a/src/views/home/fiveBen.vue +++ b/src/views/home/fiveBen.vue @@ -1,8 +1,15 @@ - + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 5feda34..4c0744b 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -22,7 +22,7 @@ export default { { route: 'fiveBen', class: 'bg-mauve', - title: '自动5本', + title: '自动3本', icon: 'van-icon-chat-o' }, { diff --git a/src/views/home/zhuagui.vue b/src/views/home/zhuagui.vue index 97ce514..5b4ff0a 100644 --- a/src/views/home/zhuagui.vue +++ b/src/views/home/zhuagui.vue @@ -1,5 +1,5 @@