update @修改

This commit is contained in:
huangzhen 2024-09-24 09:23:37 +08:00
parent 2118efffd6
commit 340e863033
8 changed files with 14 additions and 14 deletions

View File

@ -40,9 +40,9 @@ props.comType 1 H5 2 配置页(PC)
cdn 引入图片 cdn 引入图片
注意事项: 注意事项:
1、开发完成 配置 comType 2 模拟pc引入校验页面正确; 1、开发完成 配置(comType: 2)模拟pc引入校验页面是否正确;
2、样式兼容 PC引入不支持 vh、fixed等 2、模版引入(PC)不支持 vh、fixed等(需要样式兼容 fixed --> sticky)
3、模版引入暂不支持子组件UI依赖组件、全局/子组件),可通过v-if控制或者动态组件引入; 3、模版引入(PC)暂不支持直接引入子组件(全局/子组件),可通过动态组件引入;
npm run com npm run com
``` ```

View File

@ -1,6 +1,6 @@
<template> <template>
<van-loading class="pageNoneLoading_Vant" size="24px" color="#0094ff" vertical>{{ loadingText }}</van-loading> <van-loading class="pageNoneLoading_Vant" size="24px" color="#0094ff" vertical>{{ loadingText }}</van-loading>
<!-- 温馨提示 (模版开发 通过 v-if 控制) --> <!-- 温馨提示 -->
<base-dialog v-if="dialogText" :type="dialogType" :text="dialogText" @close="dialogClose" /> <base-dialog v-if="dialogText" :type="dialogType" :text="dialogText" @close="dialogClose" />
</template> </template>

View File

@ -60,7 +60,7 @@
</template> </template>
</ul> </ul>
</div> </div>
<!-- 遮罩 loading (模版开发 通过 v-if 控制) --> <!-- 遮罩 loading -->
<van-overlay class="overlayLoadBody" :show="true" v-if="overlayLoad"> <van-overlay class="overlayLoadBody" :show="true" v-if="overlayLoad">
<div class="overlayLoadBox"> <div class="overlayLoadBox">
<van-loading size="24px" vertical color="#0094ff">兑换中</van-loading> <van-loading size="24px" vertical color="#0094ff">兑换中</van-loading>

View File

@ -64,13 +64,13 @@
</div> </div>
</div> </div>
</div> </div>
<!-- 遮罩 loading (模版开发 通过 v-if 控制) --> <!-- 遮罩 loading -->
<van-overlay class="overlayLoadBody" :show="true" v-if="overlayLoad"> <van-overlay class="overlayLoadBody" :show="true" v-if="overlayLoad">
<div class="overlayLoadBox"> <div class="overlayLoadBox">
<van-loading size="24px" vertical color="#0094ff">兑换中</van-loading> <van-loading size="24px" vertical color="#0094ff">兑换中</van-loading>
</div> </div>
</van-overlay> </van-overlay>
<!-- 温馨提示 (模版开发 通过 v-if 控制) --> <!-- 温馨提示 -->
<base-dialog v-if="dialogTitle || dialogText" :type="dialogType" :title="dialogTitle" :text="dialogText" @close="dialogClose" /> <base-dialog v-if="dialogTitle || dialogText" :type="dialogType" :title="dialogTitle" :text="dialogText" @close="dialogClose" />
</template> </template>
<script lang="ts"> <script lang="ts">

View File

@ -59,13 +59,13 @@
<div v-if="cssData.floatText" class="description-2" v-html="cssData.floatText"></div> <div v-if="cssData.floatText" class="description-2" v-html="cssData.floatText"></div>
</div> </div>
</div> </div>
<!-- 遮罩 loading (模版开发 通过 v-if 控制) --> <!-- 遮罩 loading -->
<van-overlay class="overlayLoadBody" :show="true" v-if="overlayLoad"> <van-overlay class="overlayLoadBody" :show="true" v-if="overlayLoad">
<div class="overlayLoadBox"> <div class="overlayLoadBox">
<van-loading size="24px" vertical color="#0094ff">兑换中</van-loading> <van-loading size="24px" vertical color="#0094ff">兑换中</van-loading>
</div> </div>
</van-overlay> </van-overlay>
<!-- 温馨提示 (模版开发 通过 v-if 控制) --> <!-- 温馨提示 -->
<base-dialog v-if="dialogTitle || dialogText" :type="dialogType" :title="dialogTitle" :text="dialogText" @close="dialogClose" /> <base-dialog v-if="dialogTitle || dialogText" :type="dialogType" :title="dialogTitle" :text="dialogText" @close="dialogClose" />
</template> </template>

View File

@ -56,13 +56,13 @@
</div> </div>
</div> </div>
</div> </div>
<!-- 遮罩 loading (模版开发 通过 v-if 控制) --> <!-- 遮罩 loading -->
<van-overlay class="overlayLoadBody" :show="true" v-if="overlayLoad"> <van-overlay class="overlayLoadBody" :show="true" v-if="overlayLoad">
<div class="overlayLoadBox"> <div class="overlayLoadBox">
<van-loading size="24px" vertical color="#0094ff">兑换中</van-loading> <van-loading size="24px" vertical color="#0094ff">兑换中</van-loading>
</div> </div>
</van-overlay> </van-overlay>
<!-- 温馨提示 (模版开发 通过 v-if 控制) --> <!-- 温馨提示 -->
<base-dialog v-if="dialogTitle || dialogText" :type="dialogType" :title="dialogTitle" :text="dialogText" @close="dialogClose" /> <base-dialog v-if="dialogTitle || dialogText" :type="dialogType" :title="dialogTitle" :text="dialogText" @close="dialogClose" />
</template> </template>

View File

@ -75,7 +75,7 @@
<div v-if="cssData.floatText" class="description-2" v-html="cssData.floatText"></div> <div v-if="cssData.floatText" class="description-2" v-html="cssData.floatText"></div>
</div> </div>
</div> </div>
<!-- 温馨提示 (模版开发 通过 v-if 控制) --> <!-- 温馨提示 -->
<base-dialog v-if="dialogText" :type="dialogType" :text="dialogText" @close="dialogClose" /> <base-dialog v-if="dialogText" :type="dialogType" :text="dialogText" @close="dialogClose" />
</template> </template>

View File

@ -43,13 +43,13 @@
</div> </div>
</div> </div>
</div> </div>
<!-- 遮罩 loading (模版开发 通过 v-if 控制) --> <!-- 遮罩 loading -->
<van-overlay class="overlayLoadBody" :show="true" v-if="overlayLoad"> <van-overlay class="overlayLoadBody" :show="true" v-if="overlayLoad">
<div class="overlayLoadBox"> <div class="overlayLoadBox">
<van-loading size="24px" vertical color="#0094ff">兑换中</van-loading> <van-loading size="24px" vertical color="#0094ff">兑换中</van-loading>
</div> </div>
</van-overlay> </van-overlay>
<!-- 温馨提示 (模版开发 通过 v-if 控制) --> <!-- 温馨提示 -->
<base-dialog v-if="dialogTitle || dialogText" :type="dialogType" :title="dialogTitle" :text="dialogText" @close="dialogClose" /> <base-dialog v-if="dialogTitle || dialogText" :type="dialogType" :title="dialogTitle" :text="dialogText" @close="dialogClose" />
</template> </template>
<script lang="ts"> <script lang="ts">