From 2cfe454c309a65f02e89063d8306ff71f86b7f5c Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期四, 17 七月 2025 15:41:37 +0800 Subject: [PATCH] 前端 --- small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-switch/u-switch.wxss | 82 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 82 insertions(+), 0 deletions(-) diff --git a/small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-switch/u-switch.wxss b/small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-switch/u-switch.wxss new file mode 100644 index 0000000..b19da2a --- /dev/null +++ b/small-program/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-switch/u-switch.wxss @@ -0,0 +1,82 @@ +@charset "UTF-8"; +/** + * 杩欓噷鏄痷ni-app鍐呯疆鐨勫父鐢ㄦ牱寮忓彉閲� + * + * uni-app 瀹樻柟鎵╁睍鎻掍欢鍙婃彃浠跺競鍦猴紙https://ext.dcloud.net.cn锛変笂寰堝涓夋柟鎻掍欢鍧囦娇鐢ㄤ簡杩欎簺鏍峰紡鍙橀噺 + * 濡傛灉浣犳槸鎻掍欢寮�鍙戣�咃紝寤鸿浣犱娇鐢╯css棰勫鐞嗭紝骞跺湪鎻掍欢浠g爜涓洿鎺ヤ娇鐢ㄨ繖浜涘彉閲忥紙鏃犻渶 import 杩欎釜鏂囦欢锛夛紝鏂逛究鐢ㄦ埛閫氳繃鎼Н鏈ㄧ殑鏂瑰紡寮�鍙戞暣浣撻鏍间竴鑷寸殑App + * + */ +/** + * 濡傛灉浣犳槸App寮�鍙戣�咃紙鎻掍欢浣跨敤鑰咃級锛屼綘鍙互閫氳繃淇敼杩欎簺鍙橀噺鏉ュ畾鍒惰嚜宸辩殑鎻掍欢涓婚锛屽疄鐜拌嚜瀹氫箟涓婚鍔熻兘 + * + * 濡傛灉浣犵殑椤圭洰鍚屾牱浣跨敤浜唖css棰勫鐞嗭紝浣犱篃鍙互鐩存帴鍦ㄤ綘鐨� scss 浠g爜涓娇鐢ㄥ涓嬪彉閲忥紝鍚屾椂鏃犻渶 import 杩欎釜鏂囦欢 + */ +/* uni.scss */ +/* 棰滆壊鍙橀噺 */ +/* 琛屼负鐩稿叧棰滆壊 */ +/* 鏂囧瓧鍩烘湰棰滆壊 */ +/* 鑳屾櫙棰滆壊 */ +/* 杈规棰滆壊 */ +/* 灏哄鍙橀噺 */ +/* 鏂囧瓧灏哄 */ +/* 鍥剧墖灏哄 */ +/* Border Radius */ +/* 姘村钩闂磋窛 */ +/* 鍨傜洿闂磋窛 */ +/* 閫忔槑搴� */ +/* 鏂囩珷鍦烘櫙鐩稿叧 */ +view.data-v-4a8c9de7, scroll-view.data-v-4a8c9de7, swiper-item.data-v-4a8c9de7 { + display: flex; + flex-direction: column; + flex-shrink: 0; + flex-grow: 0; + flex-basis: auto; + align-items: stretch; + align-content: flex-start; +} +.u-switch.data-v-4a8c9de7 { + display: flex; + flex-direction: row; + box-sizing: border-box; + position: relative; + background-color: #fff; + border-width: 1px; + border-radius: 100px; + transition: background-color 0.4s; + border-color: rgba(0, 0, 0, 0.12); + border-style: solid; + justify-content: flex-end; + align-items: center; + overflow: hidden; +} +.u-switch__node.data-v-4a8c9de7 { + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + border-radius: 100px; + background-color: #fff; + border-radius: 100px; + box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.25); + transition-property: -webkit-transform; + transition-property: transform; + transition-property: transform, -webkit-transform; + transition-duration: 0.4s; + transition-timing-function: cubic-bezier(0.3, 1.05, 0.4, 1.05); +} +.u-switch__bg.data-v-4a8c9de7 { + position: absolute; + border-radius: 100px; + background-color: #FFFFFF; + transition-property: -webkit-transform; + transition-property: transform; + transition-property: transform, -webkit-transform; + transition-duration: 0.4s; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + transition-timing-function: ease; +} +.u-switch--disabled.data-v-4a8c9de7 { + opacity: 0.6; +} + -- Gitblit v1.9.3