
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
<webview id="geekori" src="https://baidu.com" style="width:400px; height:300px" ></webview>参考:https://www.cnblogs.com/badaoliumangqizhi/p/12995335.html
调用本地方法实现文字转语音 。缺点:win7系统部分版本不发声音,优点:不需要外网支持const synth = window.speechSynthesisconst msg = new SpeechSynthesisUtterance()created() {this.handleSpeak('要合成的文字')},/***text – 要合成的文字内容,字符串* lang – 使用的语言,字符
1.jQuery, axios 基于xhr 的封装,axios 是promise 风格 可以解决回调地狱2.fetch: 原生函数,不用下载, 不用xhr ,也能发送请求, 内置的函数, 本身也是promise的风格 老版本浏览器可能不支持xhr不符合关注分离的原则search =aysnc() => {try{let res = await fetch('http://')let data
插件市场找到: ES7 React/Redux/GraphQL/React-Native snippet 然后安装// rcc 类式组建// rfc 函数式组件import React, { Component } from 'react'export default class index extends Component {render() {return (<div>
/** 获取当前年月日* */export function nowDate() {const loadYear = new Date().getFullYear()let loadMonth = new Date().getMonth() + 1let loadDay = new Date().getDate()if (loadMonth >= 1 && loadMonth
/** 获取当前年月日* */export function nowDate() {const loadYear = new Date().getFullYear()let loadMonth = new Date().getMonth() + 1let loadDay = new Date().getDate()if (loadMonth >= 1 && loadMonth
点击页面地址提示信息调用方法地图组件<map style="width:100%;height:500upx;" :latitude="latitude" :longitude="longitude" :markers="marker"></map>methods: {goHere() {uni.openLocation({longitude: 109.490360, //







