沙盘演示系统应用的微信小程序
pages/feedback/feedback.wxss
@@ -2,15 +2,37 @@
.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  padding-left: 30rpx;
  padding-right: 30rpx;
  width: calc(100% - 0rpx);
  /* 考虑了左右边距后的实际宽度 */
  background-color: #fff;
  justify-content: flex-start;
  justify-content: center;
  align-items: center;
}
.container-scroll{
  flex: 1;
  overflow-y: auto;
  z-index: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 20rpx; /* 增加底部填充 */
}
.container-feedBack {
  width: calc(100% - 80rpx);
  /* 40rpx 为左右 padding 的总和 */
  height: 100vh;
  /* 考虑了左右边距后的实际宽度 */
  background-color: #fff;
  padding-left: 40rpx;
  padding-right: 40rpx;
  padding-top: 40rpx;
  padding-bottom: 1rpx;
}
.btn {
  margin: 10px;
@@ -43,9 +65,13 @@
.input-class {
  border-radius: 5px;
  border: 2rpx solid #000000;
  height: 20vh;
  height: 10vh;
  width: 100%;
  background-color: #fcfcfc;
  display: flex;
  flex-direction: column;
  padding-left: 10rpx;
  padding-top: 3rpx;
}
.img-upload {
@@ -54,23 +80,21 @@
}
.container-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start
}
.container-voice {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.fb-text {
  font-size: 35rpx;
  margin-left: 30rpx;
  margin-bottom: 10rpx;
}
.fb-submit {
@@ -78,7 +102,7 @@
  background-color: #1890FF;
  font-size: 35rpx;
  color: white;
  margin-top: 50rpx;
  margin-top: 100rpx;
}
.voice_img {
@@ -116,7 +140,17 @@
  border-radius: 15rpx;
  background-color: #1890FF;
}
.voice_delete{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 16rpx;
  padding: 0 6rpx;
  box-sizing: border-box;
  width: 55rpx;
  height: 55rpx;
  border-radius: 15rpx;
}
.voice_content .left {
  display: flex;
  align-items: center;
@@ -146,17 +180,103 @@
  margin-right: 20rpx;
}
.voice_starting{
.voice_starting {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200rpx;
  height: 200rpx;
  line-height: 200rpx;
  width: 300rpx;
  height: 300rpx;
  align-items: center;
  line-height: 300rpx;
  background-color: #787879;
  color: #fff;
  text-align: center;
  border-radius: 100rpx; /* 使其呈现圆形 */
  border-radius: 150rpx;
  /* 使其呈现圆形 */
  z-index: 10000;
}
}
.tabs {
  display: flex;
  justify-content: space-around;
  position: relative;
  width: 100%;
  border-bottom: 1px solid #eee;
  margin-bottom: 20rpx;
  /* Tabs 占满整个横向屏幕 */
}
.tab {
  font-size: 16px;
  padding: 10px;
  cursor: pointer;
  position: relative;
  width: 50%;
  /* Tabs 平分整个横向屏幕 */
  text-align: center;
  /* 文字居中 */
}
.indicator {
  width: 100%;
  height: 3px;
  background-color: #1890FF;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateX(0);
  /* 初始化位置 */
}
.item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  /*表示不换行*/
  padding-left: 40rpx;
  padding-right: 40rpx;
  width: calc(100% - 80rpx);
  margin-bottom: 40rpx;
}
.item-data {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-bottom: 10rpx;
}
.item-data text {
  font-size: 30rpx;
}
.container-phone {
  display: flex;
  align-items: center; /* 垂直居中 */
  margin-bottom: 10px; /* 可选:为容器添加一些底部间距 */
  margin-top: 30rpx;
}
.fb-text {
  flex: 0 0 auto; /* 不扩展也不收缩,自动宽度 */
  margin-right: 10px; /* 可选:为文本和输入框之间添加一些间距 */
}
.input-phone {
  flex: 1 1 auto; /* 扩展以填充剩余空间,但最小宽度为自动 */
  border: 1px solid #ccc; /* 可选:为输入框添加边框 */
  padding: 5px; /* 可选:为输入框添加内边距 */
  border-radius: 4px; /* 可选:为输入框添加圆角 */
  border: 2rpx solid #000000;
}
.delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120rpx;
  height: 100%;
  color: white;
  background-color: #e34d59;
}