Browse Source

fix: 解决打卡插件下拉选项不显示的问题

test2
xuesinan 4 years ago
parent
commit
86d3fba2d6
  1. 1
      CHANGELOG.md
  2. 50
      common/styles/tailwind.scss
  3. 8
      pages/project/project.vue

1
CHANGELOG.md

@ -151,6 +151,7 @@
- | defineExpose, defineEmits不需要引入 | [902cacc](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/902cacc)
- | render 修复不显示内嵌插件的问题 | [c546659](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/c546659)
render | 修复了代码片段不能在app上显示的问题 | [fe54729](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/fe54729)
- | renderjs打包h5不触发change事件 | [1e0f50c](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/1e0f50c)
### 📝 文档

50
common/styles/tailwind.scss

@ -12,6 +12,10 @@
.relative {
position: relative;
}
.z-10 {
z-index: 10;
}
.sticky {
@ -4370,6 +4374,10 @@
}
.leading-10 {
line-height: 2.5rem;
}
.bg-black {
--tw-bg-opacity: 1;
background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
}
.bg-gray-50 {
--tw-bg-opacity: 1;
@ -4378,6 +4386,13 @@
.bg-gray-100 {
--tw-bg-opacity: 1;
background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
}
.bg-gray-200 {
--tw-bg-opacity: 1;
background-color: rgba(229, 231, 235, var(--tw-bg-opacity));
}
.bg-opacity-50 {
--tw-bg-opacity: 0.5;
}
.w-12 {
width: 3rem;
@ -4596,28 +4611,45 @@
.border-gray-200 {
--tw-border-opacity: 1;
border-color: rgba(229, 231, 235, var(--tw-border-opacity));
}
}
.w-64 {
width: 16rem;
}
}
.w-32 {
width: 8rem;
}
}
.w-58 {
width: 14.5rem;
}
}
.h-16 {
height: 4rem;
}
}
.break-all {
word-break: break-all;
}
}
.h-1-4 {
height: 1.4rem;
}
}
.leading-1-4 {
line-height: 1.4rem;
}
}
.h-screen {
height: 100vh;
}
}
.list-none {
list-style-type: none;
padding-left: 0;
}
.list-outside {
list-style-position: outside;
}

8
pages/project/project.vue

@ -28,9 +28,9 @@
<!-- <u-button @click="$store.commit('setTheme', 'theme-test')">测试切换主题</u-button> -->
</view>
<u-button style="position: fixed; bottom: 100px" @click="changeModal">{{
timeLineType === 1 ? '切换到任务模式' : '切换到时间轴模式'
}}</u-button>
<u-button style="position: fixed; bottom: 100px" @click="changeModal">
{{ timeLineType === 1 ? '切换到任务模式' : '切换到时间轴模式' }}
</u-button>
</theme>
</template>
@ -64,7 +64,7 @@ const currLocationTaskId = computed(() => store.state.socket.currLocationTaskId)
onMounted(() => {
const system = uni.getSystemInfoSync();
height.value = `${system.windowHeight}px`;
height.value = `${system.screenHeight}px`;
});
if (!userInfo.value) {

Loading…
Cancel
Save