Commit c5721729 by tangjiale

测试

parent f8fcc2dd
<!--
* @Author: tangjiale
* @eMail: 932055106@qq.com
* @Date: 2022-08-02 10:02:58
* @LastEditors: tangjiale
* @LastEditTime: 2022-08-02 11:33:28
-->
<template>
<div class="page-bg">
橙子
</div>
</template>
<script>
export default {
head(){
return{
title:'橙子同学吃吃吃睡睡睡'
}
},
data(){
return{
}
}
}
</script>
<style lang="less" scoped>
.page-bg{
min-height: 100vh;
width: 100%;
background-color: #f5f5f5;
}
</style>
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-08-01 17:06:37 * @Date: 2022-08-01 17:06:37
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-08-02 11:26:46 * @LastEditTime: 2022-08-02 11:38:32
--> -->
<template> <template>
<!-- 常见问题 --> <!-- 常见问题 -->
...@@ -83,16 +83,25 @@ ...@@ -83,16 +83,25 @@
export default { export default {
head(){ head(){
return{ return{
title:'常见问题' title:''
} }
}, },
created(){ mounted(){
wx.setNavigationBarTitle({title:'超人霍华德'}) if(this.isWechat){
wx.setNavigationBarTitle({title:'超人霍华德'})
console.log('微信环境内')
}
}, },
data(){ data(){
return{ return{
active:0 active:0
} }
},
computed:{
isWechat() {
return navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1;
}
} }
} }
</script> </script>
......
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