likeToast.scss 790 Bytes
/* pages/tab/index/components/likeToast/likeToast.wxss */
.toast-box {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  display: none;
  opacity: 0;
}
.show {
  display: block;
  opacity: 1;
}
.toast-content {
  display: flex;
  flex-direction: column;
  justify-content:center;
  align-items:center;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 136px;
  height: 136px;
  background: rgba(0,0,0,0.70);
  border-radius: 8px;
  box-sizing: bordre-box;
  transform: translate(-50%, -50%);
}
.toast-img {
  margin-bottom: 20px;
  box-sizing: bordre-box;
  text-align: center;
}
.toast-icon {
  width: 23px;
  height: 23px;
}
.toast-title {
  margin-left: 28px;
  margin-right: 28px;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
}