2025-07-05 14:49:26 +08:00
|
|
|
<script>
|
2025-08-12 15:27:14 +08:00
|
|
|
import request from '@/utils/request.js';
|
|
|
|
import bleTool from '@/utils/BleHelper.js';
|
|
|
|
|
2025-07-05 14:49:26 +08:00
|
|
|
export default {
|
|
|
|
|
|
|
|
onLaunch: function() {
|
2025-08-12 15:27:14 +08:00
|
|
|
uni.clearStorageSync();
|
|
|
|
var ble = bleTool.getBleTool();
|
2025-07-05 14:49:26 +08:00
|
|
|
},
|
|
|
|
onShow: function() {
|
|
|
|
console.log('App Show')
|
|
|
|
},
|
|
|
|
onHide: function() {
|
|
|
|
console.log('App Hide')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
@import 'vk-uview-ui/index.scss';
|
2025-07-14 09:46:58 +08:00
|
|
|
uni-slider .uni-slider-handle-wrapper {
|
2025-07-05 14:49:26 +08:00
|
|
|
border-radius: 20rpx;
|
|
|
|
}
|
2025-07-14 09:46:58 +08:00
|
|
|
uni-slider .uni-slider-thumb {
|
2025-07-05 14:49:26 +08:00
|
|
|
width: 66rpx !important;
|
2025-07-14 09:46:58 +08:00
|
|
|
height: 80rpx !important;
|
2025-07-05 14:49:26 +08:00
|
|
|
margin-top: -40rpx !important;
|
|
|
|
border-radius: 16rpx !important;
|
|
|
|
margin-left: -72rpx !important;
|
2025-07-14 09:46:58 +08:00
|
|
|
|
2025-07-05 14:49:26 +08:00
|
|
|
}
|
2025-07-14 09:46:58 +08:00
|
|
|
uni-slider .uni-slider-handle-wrapper {
|
2025-07-05 14:49:26 +08:00
|
|
|
height: 88rpx;
|
|
|
|
position: relative;
|
|
|
|
}
|
2025-07-14 09:46:58 +08:00
|
|
|
.custom-file-picker .file-picker__box-content {
|
|
|
|
background: rgba(26, 26, 26, 1);
|
|
|
|
border: none !important;
|
|
|
|
border-radius: 45rpx;
|
|
|
|
width: 180rpx;
|
|
|
|
height: 180rpx;
|
|
|
|
}
|
|
|
|
.uni-file-picker.custom-file-picker {
|
|
|
|
overflow: inherit !important;
|
|
|
|
}
|
|
|
|
.custom-file-picker .icon-add {
|
|
|
|
height: 5rpx !important;
|
|
|
|
width: 70rpx !important;
|
|
|
|
}
|
2025-08-06 18:33:33 +08:00
|
|
|
.uni-picker-view-mask{
|
|
|
|
background: rgba(42, 42, 42, 1);
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
.uni-picker-view-content{
|
|
|
|
position: inherit;
|
|
|
|
}
|
|
|
|
.uni-picker-view-wrapper{
|
|
|
|
background: rgba(42, 42, 42, 1);
|
2025-07-05 14:49:26 +08:00
|
|
|
}
|
2025-08-12 15:27:14 +08:00
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "PingFang SC";
|
|
|
|
src: url("~@/static/fonts/PingFangSC.ttf") format("opentype");
|
|
|
|
}
|
2025-08-04 17:33:16 +08:00
|
|
|
</style>
|