提交 d6a6bb9e 编写于 作者: D DCloud_LXH

docs: case.md

上级 e0d9f6e0
......@@ -9,12 +9,6 @@
<img :src="item" />
</div>
</template>
<!-- <div class="slider-item">
<img src="https://img-cdn-qiniu.dcloud.net.cn/uniapp/doc/case/case5.png">
</div> -->
<!-- <div class="slider-item">
<img src="https://img-cdn-qiniu.dcloud.net.cn/uniapp/doc/case/case7.png">
</div> -->
</div>
</div>
</div>
......@@ -171,7 +165,7 @@
},
};
</script>
<style scoped>
<style>
/* banner */
.banner {
width: 100%;
......@@ -179,13 +173,13 @@
overflow: hidden;
}
.slider {
.banner .slider {
position: relative;
width: 100%;
overflow: hidden;
}
.slider-btn {
.banner .slider-btn {
position: absolute;
cursor: pointer;
width: 41px;
......@@ -198,21 +192,21 @@
background-image: url(https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/d2c41062-9e93-478f-9c06-06778b0f2c84.png);
}
.slider-btn.slider-btn-left {
.banner .slider-btn.slider-btn-left {
left: 0;
}
.slider-btn.slider-btn-right {
.banner .slider-btn.slider-btn-right {
right: 0;
background-position-x: 41px;
}
.slider-item {
.banner .slider-item {
float: left;
width: 100%;
}
.slider .slider-dots {
.banner .slider .slider-dots {
display: none;
position: absolute;
line-height: 0;
......@@ -224,7 +218,7 @@
font-size: 0;
}
.slider .dot {
.banner .slider .dot {
display: inline-block;
margin: 0 5px;
width: 10px;
......@@ -234,7 +228,7 @@
cursor: pointer;
}
.slider .dot.active {
.banner .slider .dot.active {
width: 30px;
border-radius: 10px;
background: rgb(225, 114, 0);
......
......@@ -750,6 +750,15 @@ uni-app助力数百家单位快速上线**抗疫系统**,开源众多项目,
<md-banner />
<style>
.barcode-view {
display: flex;
align-items: center;
flex-direction: column
}
.barcode-view .barcode-img-box {
max-width: 100%
}
/* hover 显示图片或者二维码 */
.scan-code {
display: block;
......
* 配置
* [pages.json 页面路由](collocation/pages.md)
* [manifest.json 应用配置](collocation/manifest.md)
* [package.json](collocation/package.md)
* [vue.config.js](collocation/vue-config.md)
* [uni.scss](collocation/uni-scss.md)
* [App.vue](collocation/App.md)
* [main.js](collocation/main.md)
* [env](collocation/env.md)
* [plugin.json 生成小程序插件](collocation/miniprogram-plugin.md)
* 框架接口
* [日志打印](collocation/frame/log.md)
* [定时器](collocation/frame/timer.md)
* [生命周期](collocation/frame/lifecycle.md)
* [页面](collocation/frame/window.md)
* [页面通讯](collocation/frame/communication.md)
* [SSR服务端渲染](collocation/ssr.md)
* [国际化](collocation/i18n.md)
* 自动化测试
* [快速开始](collocation/auto/quick-start.md)
* [API](collocation/auto/api.md)
* [HBuilderX自动化测试插件](collocation/auto/hbuilderx-extension/index.md)
* [CLI项目自动化测试](collocation/auto/uniapp-cli-project.md)
\ No newline at end of file
......@@ -8,9 +8,9 @@
在 vue.config.js 中可以修改 webpack 配置,包括环境变量,具体参考 [vue-config.js](/collocation/vue-config)
**vite.config.js**
<!-- **vite.config.js** -->
在 vite.config.js 中可以修改 Vite 配置,包括环境变量,具体参考 [vite.config.js](/collocation/vite-config)
<!-- 在 vite.config.js 中可以修改 Vite 配置,包括环境变量,具体参考 [vite.config.js](/collocation/vite-config)。 -->
**package.json**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册