📝(component): 更新 GetStarted.md 安装说明

This commit is contained in:
就眠儀式
2022-09-11 20:09:34 +08:00
parent c00657554f
commit fae6c88cb7
5 changed files with 53 additions and 76 deletions

View File

@@ -1,4 +1,4 @@
.lay-affix-content{
.layui-affix{
display: block;
z-index: 999;
transition: all 0.3s ease-in-out;

View File

@@ -1,5 +1,5 @@
<template>
<div class="lay-affix-content" :style="getStyle" ref="dom">
<div class="layui-affix" :style="getStyle" ref="dom">
<slot></slot>
</div>
</template>
@@ -11,7 +11,7 @@ export default {
</script>
<script setup lang="ts">
import "./index.less";
import { ref, onMounted, onUnmounted, nextTick, computed, reactive } from "vue";
import { ref, onMounted, onUnmounted, nextTick, computed, reactive, StyleValue } from "vue";
export interface LayAiffxProps {
offset?: number;
target?: HTMLElement;
@@ -50,7 +50,7 @@ const getStyle = computed(() => {
} else {
style.bottom = fixedOffset - marginBottom + "px";
}
return style;
return style as StyleValue;
}
});
//检查是否在窗口内

View File

@@ -375,12 +375,12 @@ const cutTransaction = () => {};
>
<input
type="file"
ref="orgFileInput"
class="layui-upload-file"
:multiple="multiple"
:accept="acceptMime"
ref="orgFileInput"
:name="field"
:field="field"
:multiple="multiple"
:accept="acceptMime"
:disabled="disabled"
@click="clickOrgInput"
@change="getUploadChange"