<script>
export default {
  onLaunch: function () {
    uni.setKeepScreenOn({
      keepScreenOn: true,
    });
  },
  onShow: function () {},
  onHide: function () {},
};
</script>

<style lang="scss">
page {
  font-size: 28rpx;
  height: 100%;
  min-height: 100%;
}

view,
navigator,
image,
text,
scroll-view,
swiper,
swiper-item,
input,
textarea,
button {
  box-sizing: border-box;
}

/* 文字避头尾法则 */
.btw {
  table-layout: fixed;
  word-wrap: break-word;
  word-break: normal;
  text-align: justify;
  text-justify: inter-ideograph;
}

.bg-white {
  background: #fff;
}

.font-weight {
  font-weight: bold;
}

.u-flex-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

button {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-size: 28rpx;
  background-color: transparent;
  border-radius: 0;
  position: relative;
}

button::after {
  border: none;
}

// 指定按钮按下去的样式类
.button-hover {
  transform: translate(1rpx, 1rpx);
}
</style>