You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
856 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<script>
import pageAnimation from './components/page-animation'
export default {
// 页面切换动画
mixins: [pageAnimation],
// 此处globalData为了演示其作用不是uView框架的一部分
globalData: {
username: '白居易'
},
onLaunch() {
// 1.1.0版本之前关于http拦截器代码已平滑移动到/common/http.interceptor.js中
// 注意,需要在/main.js中实例化Vue之后引入如下(详见文档说明)
// import httpInterceptor from '@/common/http.interceptor.js'
// Vue.use(httpInterceptor, app)
// process.env.VUE_APP_PLATFORM 为通过js判断平台名称的方法结果分别如下
/**
* h5app-plus(nvue下也为app-plus)mp-weixinmp-alipay......
*/
},
}
</script>
<style lang="scss">
@import "uview-ui/index.scss";
@import "common/global.scss";
</style>

Powered by TurnKey Linux.