Commit d3399471 by 黄日华

增加引导语音

parent b308e370
src/assets/Vertical/guide.jpg

39.9 KB | W: | H:

src/assets/Vertical/guide.jpg

32.1 KB | W: | H:

src/assets/Vertical/guide.jpg
src/assets/Vertical/guide.jpg
src/assets/Vertical/guide.jpg
src/assets/Vertical/guide.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -36,8 +36,6 @@ import {ossLink} from '../utils/config';
let pageSize = 8; // 分页大小
window.pageSize = pageSize;
// const wait = t => new Promise(resolve => setTimeout(resolve, t));
class VerticalPage extends Component {
state = {
contact: '',
......@@ -90,6 +88,10 @@ class VerticalPage extends Component {
await this.refreshLogo();
}
async componentDidMount() {
await this.listen();
}
initSetting = () => {
AutoClick.isSettingsOn().then(setting => {
if (!setting) this.setState({setting: true}); // 展示辅助按钮
......@@ -103,10 +105,6 @@ class VerticalPage extends Component {
await AutoClick.goSetting(); // 按钮跳转设置
};
async componentDidMount() {
this.listen();
}
listen = async () => {
try {
while (!window.socket) {
......@@ -1764,27 +1762,28 @@ const styles = {
zIndex: 999999999999999,
elevation: 6,
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
width: '100%',
height: '100%',
backgroundColor: '#0C0C0C',
},
guardModal_image: {
height: '65%',
width: '100%',
height: '60%',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
},
Imageee: {
minHeight: '60%',
height: '100%',
},
guardModal_button: {
height: '35%',
width: '100%',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
justifyContent: 'flex-start',
alignItems: 'center',
marginTop: '10%',
},
guardModal_button_call: {
backgroundColor: '#fc4000',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment