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.
|
|
|
<script>
|
|
|
|
import {
|
|
|
|
onLaunch,
|
|
|
|
onShow,
|
|
|
|
onHide
|
|
|
|
} from '@dcloudio/uni-app'
|
|
|
|
import {
|
|
|
|
inject
|
|
|
|
} from "vue"
|
|
|
|
// 引入水印
|
|
|
|
import watermark from '@/utils/watermark.js'
|
|
|
|
export default {
|
|
|
|
setup() {
|
|
|
|
onLaunch(() => {
|
|
|
|
// #ifdef APP
|
|
|
|
const utils = inject('utils')
|
|
|
|
console.log(utils);
|
|
|
|
utils.inittts()
|
|
|
|
utils.setting()
|
|
|
|
|
|
|
|
// #endif
|
|
|
|
console.log('onLaunch');
|
|
|
|
// watermark.set('/static/water.png')
|
|
|
|
})
|
|
|
|
|
|
|
|
onShow(() => {
|
|
|
|
console.log('onshow');
|
|
|
|
|
|
|
|
})
|
|
|
|
return {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
@import '@/uni_modules/fant-mini-plus/libs/iconfont/iconfont.css';
|
|
|
|
@import "@/uni_modules/uview-plus/index.scss";
|
|
|
|
|
|
|
|
input {
|
|
|
|
font-size: 28upx;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*每个页面公共css */
|
|
|
|
// page{
|
|
|
|
// // background-image: url('/static/bg.png');
|
|
|
|
// background-repeat: no-repeat;
|
|
|
|
// background-size: 100% 100%;
|
|
|
|
// }
|
|
|
|
page {
|
|
|
|
background-color: #F5F5F6;
|
|
|
|
// background-image: url('/static/bg.png');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.golink {
|
|
|
|
color: #0086F1 !important;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--subjectColor: #d3832a;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* #ifdef MP-WEIXIN */
|
|
|
|
page {
|
|
|
|
--subjectColor: #d3832a;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* #endif */
|
|
|
|
</style>
|