<script>
	export default {
		onLaunch: function() {
			console.log('LUMI Web App Launch')
      uni.setLocale("en")
		},
		onShow: function() {
			console.log('LUMI Web App Show')
		},
		onHide: function() {
			console.log('LUMI Web App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
  @import "@/styles/common.scss";
  html {
    --primary-color: #38D29A;
    --accent-color: #222;
  }
  .flex {
    display: flex;
    align-items: flex-start;
  }
  
  .flexc {
    display: flex;
    align-items: center;
  }
  
  .flexcc {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .flexcn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .flexcw {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .flexcr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .flexccr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  
  .flexl {
    display: flex;
    flex-direction: column;
  }
  
  .flexlc {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  
  .flexln {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
  }
  
  .flexlcc {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }
  
  .flex1 {
    flex: 1;
  }
  
  .flex2 {
    flex: 2;
  }
  
  .flex3 {
    flex: 3;
  }
  
  .flex4 {
    flex: 4;
  }
  
  .flex5 {
    flex: 5;
  }
  
  .flex6 {
    flex: 6;
  }
  
  .center {
    text-align: center;
  }
  
  .right {
    text-align: right;
  }
  
  .flex-end {
    justify-content: flex-end;
  }
  
  .primary-text {
    color: $uni-color-primary;
  }
  
  .accent-text {
    color: $uni-color-accent;
  }
  
  .bold {
    font-weight: bold;
  }
  
  .weight {
    font-weight: 900;
  }
  
  button::after {
    border: none !important;
    border-radius: 0;
    transition: all .2s;
    /*content: none !important;*/
  }
  button:not([disabled]):active::after {
    background: rgba(50, 50, 50, .15);
  }
  
  button[disabled] {
    background-color: #ddd !important;
  }
  
  image {
    width: 100%;
    height: 100%;
  }
  .margin0 {
    margin: 0 !important;
  }
  .padding0 {
    padding: 0 !important;
  }
  .padding16 {
    padding: 32rpx !important;
  }
  .margin16 {
    margin: 32rpx !important;
  }
  
  .hide {
    opacity: 0;
  }
  
  /* #ifdef H5 */
  .ui-card {
    padding: 32rpx;
    position: relative;
    border-radius: 16rpx;
    background-color: white;
    box-shadow: 0px 1px 18rpx rgba(0, 0, 0, 0.2);
  }
  /* #endif */
  /* #ifndef H5 */
  .ui-card {
    padding: 32rpx;
    position: relative;
    border-radius: 16rpx;
    background-color: white;
    box-shadow: 0px 1px 18rpx rgba(0, 0, 0, 0.12);
  }
  /* #endif */
  .card-flat,
  .ui-card-flat {
    padding: 0;
    border-radius: 0;
  }
  .ui-link {
    margin: 5rpx;
    color: #007aff;
    font-size: 30rpx;
    text-decoration: underline;
  }
  .ui-link-inline {
    margin: 0 5rpx;
    color: #007aff;
    text-decoration: underline;
  }
  .ui-link-no {
    margin: 0 5rpx;
    color: #007aff;
  }
  .ui-link:active,
  .ui-link-no:active,
  .ui-link-inline:active {
    color: #ff0000;
  }
  .card-button:active,
  .card-button.button-hover {
    background-color: #eee !important;
  }
  .keyboard-divide {
    width: 100%;
    font-size: 1pt;
    color: transparent;
  }
  .sign-powerd-by {
    left: 50%;
    width: 238rpx;
    height: 80rpx;
    bottom: 48rpx;
    margin-left: -119rpx;
    position: absolute;
  }
  .item-didide-top {
    border-top: 1px solid #eee;
  }
  @media screen and (max-width: 375px) {
    .sign-powerd-by {
      width: 198rpx;
      height: 66rpx;
      bottom: 20rpx;
      margin-left: -99rpx;
    }
  }
  @media screen and (max-width: 320px) {
    .sign-powerd-by {
      width: 158rpx;
      height: 53rpx;
      bottom: 10rpx;
      margin-left: -79rpx;
    }
  }
</style>
