TraceabilityAPP/App.vue

53 lines
882 B
Vue

<script>
import {
userInfoStore
} from '@/store/userInfo'
export default {
onLaunch: function() {
const userInfo = userInfoStore()
userInfo.saveUserInfo(307)
uni.setStorageSync("SY_TOKEN", "dfdf4564557445df4df")
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
@import "uview-plus/index.scss";
.card {
position: relative;
width: 693.93rpx;
margin: auto;
background-color: #fff;
box-sizing: border-box;
padding: 20rpx;
border-radius: 21.03rpx 21.03rpx 21.03rpx 21.03rpx;
margin-bottom: 40rpx;
font-size: 29.79rpx;
.card-li {
margin-bottom: 17rpx;
}
}
.content {
padding: 20rpx 28.5rpx;
background-color: #F4F4F4;
min-height: 100vh;
}
.more-jt {
display: flex;
align-items: center;
}
/*每个页面公共css */
</style>