|
|
@ -31,7 +31,8 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="array-father">
|
||||
<view v-for="(item,index) in iconsArray.slice(5,8)" :key="index" class="item" @click="jumpToTarget(index+5)">
|
||||
<view v-for="(item,index) in iconsArray.slice(5,8)" :key="index" class="item"
|
||||
@click="jumpToTarget(index+5)">
|
||||
<view class="left-item">
|
||||
<image class="left-icon" :src="`/static/index/settings/${index+5}.png`" />
|
||||
<view class="left-font">
|
||||
|
|
@ -49,7 +50,7 @@
|
|||
<exit :show="exitshow" @close="exitshow=false" />
|
||||
<reset :show="resetshow" @close="resetshow=false" />
|
||||
<zy-update ref="zyupgrade" :noticeflag="true" theme="blue" :h5preview="false" oldversion="1.0.0"
|
||||
:appstoreflag="true" :autocheckupdate="true" @showupdateTips="noNeed" ></zy-update>
|
||||
:appstoreflag="true" :autocheckupdate="true" @showupdateTips="noNeed"></zy-update>
|
||||
<!-- 弹出层 -->
|
||||
<view v-if="openany" class="popup-any" :style="animation?{opacity:1}:{opacity:0}">
|
||||
<view class="mask" @click="openany=false"></view>
|
||||
|
|
@ -76,6 +77,7 @@
|
|||
import twoseven from '@/pages/login/twoseven.vue'
|
||||
|
||||
const zyupgrade = ref(null);
|
||||
const issay = ref(false)
|
||||
const openany = ref(false);
|
||||
const opentype = ref(false);
|
||||
const exitshow = ref(false);
|
||||
|
|
@ -117,33 +119,34 @@
|
|||
|
||||
break
|
||||
case 5:
|
||||
issay.value = true;
|
||||
zyupgrade.value?.check_update()
|
||||
break
|
||||
case 6:
|
||||
openany.value = true;
|
||||
opentype.value = true;
|
||||
animation.value = false;
|
||||
setTimeout(()=>{
|
||||
setTimeout(() => {
|
||||
animation.value = true;
|
||||
},50)
|
||||
}, 50)
|
||||
break
|
||||
case 7:
|
||||
openany.value = true;
|
||||
opentype.value = false;
|
||||
animation.value = false;
|
||||
setTimeout(()=>{
|
||||
setTimeout(() => {
|
||||
animation.value = true;
|
||||
},50)
|
||||
}, 50)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
const noNeed = () => {
|
||||
if(props.isShow){
|
||||
if (props.isShow && issay.value) {
|
||||
uni.showToast({
|
||||
title: '已经是最新版了',
|
||||
icon: 'none', // 无图标,仅文字
|
||||
duration: 2000 // 显示时长,单位毫秒
|
||||
title: '已经是最新版了',
|
||||
icon: 'none', // 无图标,仅文字
|
||||
duration: 2000 // 显示时长,单位毫秒
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -219,6 +222,7 @@
|
|||
height: 100rpx;
|
||||
color: #0174D3;
|
||||
}
|
||||
|
||||
.popup-any {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
|
|
@ -229,6 +233,7 @@
|
|||
transition: opacity 0.5s ease;
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.mask {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
|
|
@ -248,6 +253,7 @@
|
|||
flex-direction: column;
|
||||
padding: 65rpx 40rpx;
|
||||
}
|
||||
|
||||
.title-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@
|
|||
},
|
||||
width: {
|
||||
type: String,
|
||||
default: '60rpx'
|
||||
default: '65rpx'
|
||||
},
|
||||
height: {
|
||||
type: String,
|
||||
default: '60rpx'
|
||||
default: '65rpx'
|
||||
},
|
||||
objectFit: {
|
||||
type: String,
|
||||
|
|
|
|||
|
|
@ -1,37 +1,64 @@
|
|||
<template>
|
||||
<view class="move-circle">
|
||||
<image src="/static/index/keyimg/lunpan.png" class="move-circle-all" />
|
||||
<view class="click-box-top" @click="handleClick(0)">
|
||||
</view>
|
||||
<view class="click-box-left" @click="handleClick(3)">
|
||||
</view>
|
||||
<view class="click-box-bottom" @click="handleClick(2)">
|
||||
</view>
|
||||
<view class="click-box-right" @click="handleClick(1)">
|
||||
</view>
|
||||
</view>
|
||||
<view class="move-circle" :style="containerStyle">
|
||||
<image src="/static/index/keyimg/lunpan.png" class="move-circle-all" />
|
||||
<view class="click-box-top" @click="handleClick(0)" />
|
||||
<view class="click-box-left" @click="handleClick(3)" />
|
||||
<view class="click-box-bottom" @click="handleClick(2)" />
|
||||
<view class="click-box-right" @click="handleClick(1)" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { reactive, ref } from 'vue'
|
||||
const emit = defineEmits(['movecard'])
|
||||
import { ref, computed } from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
/**
|
||||
* 水平位置,单位 rpx
|
||||
*/
|
||||
left: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
/**
|
||||
* 垂直位置,单位 rpx
|
||||
* 优先使用 bottom,如果同时传入 top 和 bottom,则以 top 为准
|
||||
*/
|
||||
bottom: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
top: {
|
||||
type: Number,
|
||||
default: undefined
|
||||
}
|
||||
})
|
||||
const emit = defineEmits<{
|
||||
(e: 'movecard', dir: number): void
|
||||
}>()
|
||||
|
||||
const key = ref(-1)
|
||||
let resetTimer: number | null = null
|
||||
|
||||
// 保存当前定时器 ID
|
||||
let resetTimer = null
|
||||
// 计算容器样式
|
||||
const containerStyle = computed(() => {
|
||||
const style: Record<string, string> = {
|
||||
left: `${props.left}rpx`
|
||||
}
|
||||
if (props.top !== undefined) {
|
||||
style.top = `${props.top}rpx`
|
||||
} else {
|
||||
style.bottom = `${props.bottom}rpx`
|
||||
}
|
||||
return style
|
||||
})
|
||||
|
||||
function handleClick(dir: number) {
|
||||
// 清除上一次定时器
|
||||
if (resetTimer !== null) {
|
||||
clearTimeout(resetTimer)
|
||||
}
|
||||
|
||||
// 显示当前方向
|
||||
key.value = dir
|
||||
emit('movecard', dir)
|
||||
|
||||
// 重新开启 800ms 定时器
|
||||
// 500ms 后复位
|
||||
resetTimer = setTimeout(() => {
|
||||
key.value = -1
|
||||
resetTimer = null
|
||||
|
|
@ -39,52 +66,47 @@ function handleClick(dir: number) {
|
|||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<style lang="less" scoped>
|
||||
.move-circle {
|
||||
position: absolute;
|
||||
bottom: 100rpx;
|
||||
left: 100rpx;
|
||||
width: 330rpx;
|
||||
height: 330rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 9999;
|
||||
.click-box-top{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 100rpx;
|
||||
width: 130rpx;
|
||||
height: 120rpx;
|
||||
}
|
||||
.click-box-bottom{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 100rpx;
|
||||
width: 130rpx;
|
||||
height: 120rpx;
|
||||
}
|
||||
.click-box-left{
|
||||
position: absolute;
|
||||
bottom: 100rpx;
|
||||
left: 0;
|
||||
width: 98rpx;
|
||||
height: 120rpx;
|
||||
}
|
||||
.click-box-right{
|
||||
position: absolute;
|
||||
bottom: 100rpx;
|
||||
right: 0;
|
||||
width: 98rpx;
|
||||
height: 120rpx;
|
||||
}
|
||||
}
|
||||
.move-circle-all{
|
||||
width: 300rpx;
|
||||
height: 300rpx;
|
||||
}
|
||||
|
||||
.move-circle {
|
||||
position: absolute;
|
||||
width: 330rpx;
|
||||
height: 330rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 9999;
|
||||
}
|
||||
.move-circle-all {
|
||||
width: 300rpx;
|
||||
height: 300rpx;
|
||||
}
|
||||
.click-box-top {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 100rpx;
|
||||
width: 130rpx;
|
||||
height: 120rpx;
|
||||
}
|
||||
.click-box-bottom {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 100rpx;
|
||||
width: 130rpx;
|
||||
height: 120rpx;
|
||||
}
|
||||
.click-box-left {
|
||||
position: absolute;
|
||||
bottom: 100rpx;
|
||||
left: 0;
|
||||
width: 98rpx;
|
||||
height: 120rpx;
|
||||
}
|
||||
.click-box-right {
|
||||
position: absolute;
|
||||
bottom: 100rpx;
|
||||
right: 0;
|
||||
width: 98rpx;
|
||||
height: 120rpx;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,227 @@
|
|||
<template>
|
||||
<view class="move-circle" :style="{ bottom: `${movebottom}rpx`, left: `${moveleft}rpx` }" @touchend="onLongPressEnd"
|
||||
@touchcancel="onLongPressEnd">
|
||||
|
||||
<!-- 返回 -->
|
||||
<view :class="beblue === 5 ? 'click-box-target' : 'click-box'" @tap="onTap(5)"
|
||||
@longpress="(e) => onLongPressStart(5, e)">
|
||||
<span :class="beblue === 5 ? 'grad-text' : ''">返回</span>
|
||||
</view>
|
||||
|
||||
<!-- 上 -->
|
||||
<view :class="beblue === 0 ? 'click-box-target' : 'click-box'" @tap="onTap(0)"
|
||||
@longpress="(e) => onLongPressStart(0, e)">
|
||||
<image :src="`/static/index/newruler/arrow_1${beblue===0 ? '_1' : ''}.png`" class="image-photo" />
|
||||
</view>
|
||||
|
||||
<!-- 确定 -->
|
||||
<view :class="beblue === 4 ? 'click-box-target' : 'click-box'" @tap="onTap(4)"
|
||||
@longpress="(e) => onLongPressStart(4, e)">
|
||||
<span :class="beblue === 4 ? 'grad-text' : ''">确定</span>
|
||||
</view>
|
||||
|
||||
<!-- 右 -->
|
||||
<view :class="beblue === 3 ? 'click-box-target' : 'click-box'" @tap="onTap(3)"
|
||||
@longpress="(e) => onLongPressStart(3, e)">
|
||||
<image :src="`/static/index/newruler/arrow_3${beblue===3 ? '_3' : ''}.png`" class="image-photo" />
|
||||
</view>
|
||||
|
||||
<!-- 下 -->
|
||||
<view :class="beblue === 2 ? 'click-box-target' : 'click-box'" @tap="onTap(2)"
|
||||
@longpress="(e) => onLongPressStart(2, e)">
|
||||
<image :src="`/static/index/newruler/arrow_2${beblue===2 ? '_2' : ''}.png`" class="image-photo" />
|
||||
</view>
|
||||
|
||||
<!-- 左 -->
|
||||
<view :class="beblue === 1 ? 'click-box-target' : 'click-box'" @tap="onTap(1)"
|
||||
@longpress="(e) => onLongPressStart(1, e)">
|
||||
<image :src="`/static/index/newruler/arrow_4${beblue===1 ? '_4' : ''}.png`" class="image-photo" />
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, onBeforeUnmount } from 'vue'
|
||||
|
||||
const emit = defineEmits<{ (e : 'movecard', dir : number) : void }>()
|
||||
|
||||
let clickResetTimer : ReturnType<typeof setTimeout> | null = null
|
||||
let longPressInterval : ReturnType<typeof setInterval> | null = null
|
||||
let isLongPress = false
|
||||
const beblue = ref<number>(-1)
|
||||
let activeLongPressDir : number | null = null
|
||||
|
||||
const props = defineProps({
|
||||
movebottom: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
moveleft: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
})
|
||||
|
||||
function clearClickResetTimer() {
|
||||
if (clickResetTimer) {
|
||||
clearTimeout(clickResetTimer)
|
||||
clickResetTimer = null
|
||||
}
|
||||
}
|
||||
|
||||
function clearLongPressInterval() {
|
||||
if (longPressInterval) {
|
||||
clearInterval(longPressInterval)
|
||||
longPressInterval = null
|
||||
}
|
||||
isLongPress = false
|
||||
activeLongPressDir = null
|
||||
}
|
||||
|
||||
// 单击(或短按)
|
||||
function onTap(dir : number) {
|
||||
// 立刻触发一次
|
||||
clearLongPressInterval()
|
||||
clearClickResetTimer()
|
||||
|
||||
beblue.value = dir
|
||||
emit('movecard', dir)
|
||||
|
||||
// 800ms 后恢复(如果期间有新点击会清除并重置)
|
||||
clickResetTimer = setTimeout(() => {
|
||||
beblue.value = -1
|
||||
clickResetTimer = null
|
||||
}, 500)
|
||||
}
|
||||
|
||||
// 长按开始(由 longpress 事件触发)
|
||||
function onLongPressStart(dir : number, e ?: any) {
|
||||
// 先清理点击计时器,确保长按状态保持
|
||||
clearClickResetTimer()
|
||||
clearLongPressInterval()
|
||||
|
||||
beblue.value = dir
|
||||
emit('movecard', dir)
|
||||
|
||||
// 开始每 500ms 发一次
|
||||
activeLongPressDir = dir
|
||||
isLongPress = true
|
||||
longPressInterval = setInterval(() => {
|
||||
if (activeLongPressDir !== null) emit('movecard', activeLongPressDir)
|
||||
}, 500)
|
||||
}
|
||||
|
||||
// 长按结束(touchend / touchcancel)
|
||||
function onLongPressEnd() {
|
||||
// 如果没有长按在进行,直接返回(防止意外触发)
|
||||
if (!isLongPress) return
|
||||
|
||||
// 停止 interval
|
||||
clearLongPressInterval()
|
||||
|
||||
// 0.8s 后恢复选中态
|
||||
clearClickResetTimer()
|
||||
clickResetTimer = setTimeout(() => {
|
||||
beblue.value = -1
|
||||
clickResetTimer = null
|
||||
}, 500)
|
||||
}
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
clearClickResetTimer()
|
||||
clearLongPressInterval()
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.move-circle {
|
||||
position: absolute;
|
||||
bottom: 0rpx;
|
||||
left: 0rpx;
|
||||
width: 400rpx;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
z-index: 99;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.click-box,
|
||||
.click-box-target {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
margin-left: 15rpx;
|
||||
margin-bottom: 15rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 30rpx;
|
||||
font-size: 28rpx;
|
||||
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.25s ease;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.click-box {
|
||||
background-color: #f6f6f9;
|
||||
box-shadow: 0 4px 12px #e5e7ea;
|
||||
border: 2rpx solid #e6e7eb;
|
||||
color: #888d99;
|
||||
}
|
||||
|
||||
/* 选中态:背景径向渐变 + 中心缩放动画(从中间放大再回到原样) */
|
||||
.click-box-target {
|
||||
background: radial-gradient(circle at 30% 30%, #f2f7fd 0%, #deeaf9 100%);
|
||||
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
|
||||
border: 2rpx solid #c3ccd9;
|
||||
color: transparent;
|
||||
/* 文字使用渐变填充 */
|
||||
animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1);
|
||||
transform-origin: center center;
|
||||
}
|
||||
|
||||
@keyframes scalePulse {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
25% {
|
||||
/* 先收缩一点点 */
|
||||
transform: scale(0.94);
|
||||
}
|
||||
65% {
|
||||
/* 再放大到略超出的感觉 */
|
||||
transform: scale(1.08);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* 文本渐变(用于返回/确定文字) */
|
||||
.grad-text {
|
||||
background-image: linear-gradient(90deg, #5b8bb3, #87a1bd);
|
||||
background-size: 200% 100%;
|
||||
background-position: 0% 50%;
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
transition: background-position 0.8s linear;
|
||||
}
|
||||
|
||||
/* 选中时文字渐变滚动效果 */
|
||||
.click-box-target .grad-text {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
|
||||
.image-photo {
|
||||
width: 30%;
|
||||
height: 30%;
|
||||
transition: transform 0.18s ease, filter 0.18s ease;
|
||||
}
|
||||
|
||||
/* 选中时图片略微放大 */
|
||||
.click-box-target .image-photo {
|
||||
/* 让图片跟随父元素缩放,不额外放大,保留平滑过渡 */
|
||||
transform: none;
|
||||
transition: transform 0.18s ease, filter 0.18s ease;
|
||||
filter: none;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1,94 +1,383 @@
|
|||
<template>
|
||||
<view class="move-circle">
|
||||
<image src="/static/index/keyimg/yaogan.png" class="move-circle-all" />
|
||||
<view class="click-box-top" @click="handleClick(0)">
|
||||
</view>
|
||||
<view class="click-box-left" @click="handleClick(3)">
|
||||
</view>
|
||||
<view class="click-box-bottom" @click="handleClick(2)">
|
||||
</view>
|
||||
<view class="click-box-right" @click="handleClick(1)">
|
||||
<view class="move-circle" :style="{ bottom: `${movebottom}rpx`, left: `${moveleft}rpx` }" @touchmove="onTouchMove"
|
||||
@touchend="onPressEnd" @touchcancel="onPressEnd">
|
||||
<!-- 长按持续波纹动画 -->
|
||||
<view v-if="showShadow && pao" class="light-shadow ripple-loop" :style="{
|
||||
left: shadow.x + 'px',
|
||||
top: shadow.y + 'px',
|
||||
transform: 'translate(-50%, -50%)'
|
||||
}"></view>
|
||||
|
||||
<!-- 点击单次波纹动画,用 key 刷新 -->
|
||||
<view v-if="showRippleOnce && pao" :key="rippleKey" class="light-shadow ripple-once" :style="{
|
||||
left: shadow.x + 'px',
|
||||
top: shadow.y + 'px',
|
||||
transform: 'translate(-50%, -50%)'
|
||||
}" @animationend="onRippleAnimationEnd"></view>
|
||||
|
||||
<image :src="!notext?`/static/index/newruler/direction_1.png`: `/static/index/newruler/suere.png`" v-show="type==-1 || type==4" class="move-circle-all" />
|
||||
<!-- <image src="/static/index/newruler/direction_2.png" v-show="type==-2" class="move-circle-all" />
|
||||
<image src="/static/index/newruler/direction_3.png" v-show="type==-3" class="move-circle-all" /> -->
|
||||
<image :src="!notext?`/static/index/newruler/direction_3.png`: `/static/index/newruler/sure_2.png`" v-show="type==3" class="move-circle-all" />
|
||||
<image :src="!notext?`/static/index/newruler/direction_5.png`: `/static/index/newruler/sure_4.png`" v-show="type==2" class="move-circle-all" />
|
||||
<image :src="!notext?`/static/index/newruler/direction_4.png`: `/static/index/newruler/sure_3.png`" v-show="type==0" class="move-circle-all" />
|
||||
<image :src="!notext?`/static/index/newruler/direction_2.png`: `/static/index/newruler/sure_1.png`" v-show="type==1" class="move-circle-all" />
|
||||
<view class="pulse-circle" v-if="getblue" :key="pulseKey">
|
||||
|
||||
</view>
|
||||
|
||||
<!-- 四个方向按钮 -->
|
||||
<view class="click-box-top" @tap="onTap(0, $event)" @longpress="(e) => onLongPressStart(0, e)" />
|
||||
<view class="click-box-left" @tap="onTap(3, $event)" @longpress="(e) => onLongPressStart(3, e)" />
|
||||
<view class="click-box-bottom" @tap="onTap(2, $event)" @longpress="(e) => onLongPressStart(2, e)" />
|
||||
<view class="click-box-right" @tap="onTap(1, $event)" @longpress="(e) => onLongPressStart(1, e)" />
|
||||
<view class="click-box-center" @tap="onTap(4, $event)" @longpress="(e) => onLongPressStart(4, e)" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { reactive, ref } from 'vue'
|
||||
const emit = defineEmits(['movecard'])
|
||||
import { ref, reactive, watch, nextTick, onBeforeUnmount } from 'vue'
|
||||
|
||||
const key = ref(-1)
|
||||
const emit = defineEmits<{
|
||||
(e : 'movecard', dir : number) : void
|
||||
}>()
|
||||
|
||||
// 保存当前定时器 ID
|
||||
let resetTimer = null
|
||||
const key = ref(-1)
|
||||
let clickResetTimer : ReturnType<typeof setTimeout> | null = null
|
||||
let longPressInterval : ReturnType<typeof setInterval> | null = null
|
||||
let isLongPress = false
|
||||
|
||||
function handleClick(dir: number) {
|
||||
// 清除上一次定时器
|
||||
if (resetTimer !== null) {
|
||||
clearTimeout(resetTimer)
|
||||
}
|
||||
const type = ref(-1)
|
||||
const shadow = reactive({ x: 0, y: 0 })
|
||||
const showShadow = ref(false) // 长按持续波纹
|
||||
const showRippleOnce = ref(false) // 点击单次波纹
|
||||
const rippleKey = ref(0) // 动画 key,用来强制刷新
|
||||
|
||||
// 显示当前方向
|
||||
key.value = dir
|
||||
emit('movecard', dir)
|
||||
const RADIUS = uni.upx2px(175)
|
||||
const DIAMETER = uni.upx2px(350)
|
||||
const LEFT = uni.upx2px(-50)
|
||||
const BOTTOM = uni.upx2px(100)
|
||||
const windowHeight = uni.getSystemInfoSync().windowHeight
|
||||
const TOP = windowHeight - BOTTOM - DIAMETER
|
||||
|
||||
// 重新开启 800ms 定时器
|
||||
resetTimer = setTimeout(() => {
|
||||
key.value = -1
|
||||
resetTimer = null
|
||||
}, 500)
|
||||
}
|
||||
const props = defineProps({
|
||||
getblue: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
movebottom: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
moveleft: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
pao:{
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
notext:{
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
});
|
||||
|
||||
const getblue = ref(false)
|
||||
const pulseKey = ref(0)
|
||||
|
||||
let timeout1 : ReturnType<typeof setTimeout> | null = null
|
||||
let timeout2 : ReturnType<typeof setTimeout> | null = null
|
||||
let timeout3 : ReturnType<typeof setTimeout> | null = null
|
||||
|
||||
const types = [-1, -2, -3]
|
||||
const index = ref(0)
|
||||
let timer = null;
|
||||
const switchType = () => {
|
||||
index.value = (index.value + 1) % types.length
|
||||
type.value = types[index.value]
|
||||
}
|
||||
|
||||
watch(() => props.getblue, (val) => {
|
||||
// if (timer) clearInterval(timer)
|
||||
// timer = setInterval(() => {
|
||||
// switchType()
|
||||
// }, 100)
|
||||
// 清除上次的定时器,防止重复播放
|
||||
// if (timeout1) clearTimeout(timeout1)
|
||||
// if (timeout2) clearTimeout(timeout2)
|
||||
// if (timeout3) clearTimeout(timeout3)
|
||||
|
||||
// // 重置动画状态
|
||||
// getblue.value = false
|
||||
|
||||
// nextTick(() => {
|
||||
// pulseKey.value++
|
||||
// getblue.value = true
|
||||
|
||||
// // 第一阶段结束
|
||||
// timeout1 = setTimeout(() => {
|
||||
// getblue.value = false
|
||||
// }, 3000)
|
||||
|
||||
// // 第二阶段开始
|
||||
// timeout2 = setTimeout(() => {
|
||||
// getblue.value = true
|
||||
// }, 3010)
|
||||
|
||||
// // 第二阶段结束
|
||||
// timeout3 = setTimeout(() => {
|
||||
// getblue.value = false
|
||||
// }, 6500)
|
||||
// })
|
||||
// }
|
||||
})
|
||||
onBeforeUnmount(() => {
|
||||
if (timer) clearInterval(timer)
|
||||
})
|
||||
function onTap(dir : number, e : any) {
|
||||
if (timer) clearInterval(timer)
|
||||
if (isLongPress) return
|
||||
clearClickTimer()
|
||||
key.value = dir
|
||||
emit('movecard', dir)
|
||||
// console.log("?????",e.touches)
|
||||
if (e?.touches && e.touches.length) {
|
||||
const touch = e.touches[0]
|
||||
updateShadowPosition(touch.pageX, touch.pageY)
|
||||
}
|
||||
|
||||
showRippleOnce.value = false
|
||||
rippleKey.value++
|
||||
type.value = dir
|
||||
setTimeout(() => {
|
||||
type.value = -1
|
||||
}, 300)
|
||||
setTimeout(() => {
|
||||
showRippleOnce.value = true
|
||||
}, 16)
|
||||
|
||||
clickResetTimer = setTimeout(() => {
|
||||
key.value = -1
|
||||
clickResetTimer = null
|
||||
}, 300)
|
||||
}
|
||||
|
||||
function onRippleAnimationEnd() {
|
||||
showRippleOnce.value = false
|
||||
}
|
||||
|
||||
function onLongPressStart(dir : number, e : TouchEvent) {
|
||||
if (timer) clearInterval(timer)
|
||||
clearLongPressInterval()
|
||||
isLongPress = true
|
||||
showShadow.value = true
|
||||
type.value = dir
|
||||
|
||||
const touch = (e?.touches || [])[0]
|
||||
if (touch) updateShadowPosition(touch.pageX, touch.pageY)
|
||||
|
||||
key.value = dir
|
||||
emit('movecard', dir)
|
||||
|
||||
longPressInterval = setInterval(() => {
|
||||
key.value = dir
|
||||
emit('movecard', dir)
|
||||
}, 500)
|
||||
}
|
||||
|
||||
function onPressEnd() {
|
||||
clearClickTimer()
|
||||
clearLongPressInterval()
|
||||
isLongPress = false
|
||||
showShadow.value = false
|
||||
key.value = -1;
|
||||
type.value = -1
|
||||
|
||||
}
|
||||
|
||||
function clearClickTimer() {
|
||||
if (clickResetTimer) {
|
||||
clearTimeout(clickResetTimer)
|
||||
clickResetTimer = null
|
||||
}
|
||||
}
|
||||
|
||||
function clearLongPressInterval() {
|
||||
if (longPressInterval) {
|
||||
clearInterval(longPressInterval)
|
||||
longPressInterval = null
|
||||
}
|
||||
}
|
||||
|
||||
function updateShadowPosition(pageX : number, pageY : number) {
|
||||
let x = pageX
|
||||
let y = pageY - TOP - 50 + props.movebottom/2
|
||||
|
||||
const dx = x - RADIUS
|
||||
const dy = y - RADIUS
|
||||
const dist = Math.sqrt(dx * dx + dy * dy)
|
||||
|
||||
if (dist > RADIUS) {
|
||||
const angle = Math.atan2(dy, dx)
|
||||
x = RADIUS + RADIUS * Math.cos(angle)
|
||||
y = RADIUS + RADIUS * Math.sin(angle)
|
||||
}
|
||||
|
||||
shadow.x = x
|
||||
shadow.y = y
|
||||
}
|
||||
|
||||
function onTouchMove(e : any) {
|
||||
if (!isLongPress) return
|
||||
|
||||
const touch = (e.detail?.touches || e.touches || [])[0]
|
||||
if (!touch) return
|
||||
|
||||
updateShadowPosition(touch.pageX, touch.pageY)
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<style lang="less" scoped>
|
||||
.move-circle {
|
||||
position: absolute;
|
||||
bottom: 93rpx;
|
||||
left: 130rpx;
|
||||
width: 250rpx;
|
||||
height: 250rpx;
|
||||
// border-radius: 50%;
|
||||
bottom: 0rpx;
|
||||
left: 0rpx;
|
||||
width: 350rpx;
|
||||
height: 350rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 9999;
|
||||
.click-box-top{
|
||||
z-index: 99;
|
||||
touch-action: none;
|
||||
|
||||
.click-box-top {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: 20rpx;
|
||||
left: 70rpx;
|
||||
width: 110rpx;
|
||||
height: 70rpx;
|
||||
width: 220rpx;
|
||||
height: 80rpx;
|
||||
}
|
||||
|
||||
.click-box-bottom {
|
||||
position: absolute;
|
||||
bottom: 20rpx;
|
||||
left: 70rpx;
|
||||
width: 220rpx;
|
||||
height: 80rpx;
|
||||
}
|
||||
|
||||
.click-box-left {
|
||||
position: absolute;
|
||||
bottom: 100rpx;
|
||||
left: 0;
|
||||
width: 90rpx;
|
||||
height: 150rpx;
|
||||
}
|
||||
|
||||
.click-box-right {
|
||||
position: absolute;
|
||||
bottom: 100rpx;
|
||||
right: 0;
|
||||
width: 90rpx;
|
||||
height: 150rpx;
|
||||
}
|
||||
|
||||
.click-box-center {
|
||||
position: absolute;
|
||||
bottom: 130rpx;
|
||||
right: 130rpx;
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
// background-color: red;
|
||||
}
|
||||
.click-box-bottom{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 70rpx;
|
||||
width: 110rpx;
|
||||
height: 70rpx;
|
||||
// background-color: blue;
|
||||
}
|
||||
.click-box-left{
|
||||
position: absolute;
|
||||
bottom: 75rpx;
|
||||
left: 0;
|
||||
width: 70rpx;
|
||||
height: 100rpx;
|
||||
// background-color: yellow;
|
||||
}
|
||||
.click-box-right{
|
||||
position: absolute;
|
||||
bottom: 75rpx;
|
||||
right: 0;
|
||||
width: 70rpx;
|
||||
height: 100rpx;
|
||||
// background-color: green;
|
||||
}
|
||||
}
|
||||
.move-circle-all{
|
||||
width: 250rpx;
|
||||
height: 250rpx;
|
||||
}
|
||||
|
||||
.move-circle-all {
|
||||
width: 350rpx;
|
||||
height: 350rpx;
|
||||
}
|
||||
|
||||
.light-shadow {
|
||||
position: absolute;
|
||||
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
background-color: transparent;
|
||||
border: 60rpx solid #3da6ff;
|
||||
border-radius: 50%;
|
||||
pointer-events: none;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* 无限循环波纹动画,长按时用 */
|
||||
.ripple-loop {
|
||||
animation: rippleLoop 1.2s ease-out infinite;
|
||||
}
|
||||
|
||||
/* 点击一次的波纹动画 */
|
||||
.ripple-once {
|
||||
animation: rippleLoop 1.2s ease-out forwards;
|
||||
}
|
||||
|
||||
@keyframes rippleLoop {
|
||||
0% {
|
||||
transform: translate(-50%, -50%) scale(0.5);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translate(-50%, -50%) scale(2.5);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.light-circle {
|
||||
position: relative;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
border-radius: 50%;
|
||||
background: #111;
|
||||
/* 你背景色自己改 */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.circle {
|
||||
position: relative;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
border-radius: 50%;
|
||||
background: #222;
|
||||
margin: 50px;
|
||||
}
|
||||
|
||||
.pulse-circle {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle, #03a4ff 0%, transparent 70%);
|
||||
animation: pulse 3s forwards;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
width: 0;
|
||||
height: 0;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
50% {
|
||||
width: 350rpx;
|
||||
height: 350rpx;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
100% {
|
||||
width: 0;
|
||||
height: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,172 @@
|
|||
<template>
|
||||
<view>
|
||||
<view :class="['drawer', { 'drawer-open': isVisible }]" :style="drawerStyle">
|
||||
<view class="drawer-content" @touchstart.passive="onTouchStart" @touchmove.passive="onTouchMove"
|
||||
@touchend="onTouchEnd" @touchcancel="onTouchEnd">
|
||||
<!-- 抽屉中间的半圆 -->
|
||||
<view class="drawer-content-circle" :style="isVisible?{}:{background:`linear-gradient(to bottom,#62E8FF,#0097FF)`}" @click="whiteDrawer">
|
||||
<image class="drawer-img" :src="isVisible?'/static/index/watch/whitearrow.png':'/static/index/watch/arrow.png' " />
|
||||
</view>
|
||||
<slot />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
ref,
|
||||
defineProps,
|
||||
computed,
|
||||
onMounted
|
||||
} from 'vue'
|
||||
|
||||
// 控制抽屉显示隐藏
|
||||
const isVisible = ref(false)
|
||||
|
||||
// 接收父组件传入的宽度百分比
|
||||
const props = defineProps({
|
||||
widNumber: {
|
||||
type: Number,
|
||||
default: 26
|
||||
}
|
||||
})
|
||||
|
||||
// 获取屏幕宽度,用于拖拽计算
|
||||
const screenWidth = ref(0)
|
||||
onMounted(() => {
|
||||
const sys = uni.getSystemInfoSync()
|
||||
screenWidth.value = sys.screenWidth
|
||||
})
|
||||
|
||||
// 拖拽状态
|
||||
const startX = ref(0)
|
||||
const dragging = ref(false)
|
||||
const currentOffset = ref(0)
|
||||
|
||||
// 计算样式:宽度 + 拖拽或开关 transform
|
||||
const drawerStyle = computed(() => {
|
||||
const widthPct = `${props.widNumber}%`
|
||||
if (dragging.value) {
|
||||
// 拖动时,X 方向正值向右移动抽屉
|
||||
const offset = currentOffset.value
|
||||
return {
|
||||
width: widthPct,
|
||||
transform: `translateX(${offset}px)`,
|
||||
transition: 'none'
|
||||
}
|
||||
} else {
|
||||
// 非拖动交由 class 控制开关状态
|
||||
return {
|
||||
width: widthPct
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
// 打开/关闭
|
||||
function openDrawer() {
|
||||
isVisible.value = true
|
||||
}
|
||||
|
||||
function closeDrawer() {
|
||||
isVisible.value = false
|
||||
}
|
||||
|
||||
function whiteDrawer() {
|
||||
// 点击半圆:切换 & 旋转
|
||||
isVisible.value = !isVisible.value
|
||||
rotate180()
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
openDrawer,
|
||||
closeDrawer
|
||||
})
|
||||
|
||||
// 拖拽事件
|
||||
function onTouchStart(e) {
|
||||
if (!isVisible.value) return
|
||||
dragging.value = true
|
||||
currentOffset.value = 0
|
||||
startX.value = e.touches[0].pageX
|
||||
}
|
||||
|
||||
function onTouchMove(e) {
|
||||
if (!dragging.value) return
|
||||
const delta = e.touches[0].pageX - startX.value
|
||||
currentOffset.value = delta > 0 ? delta : 0
|
||||
}
|
||||
|
||||
function onTouchEnd() {
|
||||
if (!dragging.value) return
|
||||
dragging.value = false
|
||||
const halfPx = screenWidth.value * (props.widNumber / 100) / 2
|
||||
if (currentOffset.value > halfPx) {
|
||||
closeDrawer()
|
||||
rotate180()
|
||||
}
|
||||
currentOffset.value = 0
|
||||
}
|
||||
|
||||
// 半圆旋转
|
||||
const angle = ref(0)
|
||||
const boxStyle = computed(() => ({
|
||||
transform: `rotate(${angle.value}deg)`,
|
||||
transition: 'transform 0.6s ease'
|
||||
}))
|
||||
|
||||
function rotate180() {
|
||||
angle.value += 180
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.drawer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
height: 85vh;
|
||||
background: #eff0f4;
|
||||
z-index: 1000;
|
||||
border-top-left-radius: 80rpx;
|
||||
border-bottom-left-radius: 80rpx;
|
||||
/* 初始隐藏 */
|
||||
transform: translateX(100%);
|
||||
transition: transform 0.4s ease;
|
||||
}
|
||||
|
||||
.drawer-open {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.drawer-content {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.drawer-content-circle {
|
||||
position: absolute;
|
||||
bottom: 270rpx;
|
||||
left: -60rpx;
|
||||
width: 150rpx;
|
||||
height: 160rpx;
|
||||
border-radius: 50%;
|
||||
z-index: -1;
|
||||
// background: #fff;
|
||||
background: linear-gradient(to right,
|
||||
#fff 0rpx,
|
||||
#eff0f4 60rpx,
|
||||
#eff0f4 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
clip-path: inset(0 60% 0 0);
|
||||
}
|
||||
|
||||
.drawer-img {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
margin-left: 25rpx;
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
</style>
|
||||
|
|
@ -194,7 +194,7 @@
|
|||
margin-top: 10rpx;
|
||||
|
||||
.white-circle-click {
|
||||
width: 170rpx;
|
||||
width: 150rpx;
|
||||
height: 70rpx;
|
||||
}
|
||||
|
||||
|
|
@ -230,7 +230,7 @@
|
|||
overflow: hidden;
|
||||
|
||||
/* 小容器 */
|
||||
.bad-circle-up {
|
||||
/* .bad-circle-up {
|
||||
position: absolute;
|
||||
top: -20rpx;
|
||||
left: 15rpx;
|
||||
|
|
@ -250,7 +250,7 @@
|
|||
background-color: rgb(229, 233, 249);
|
||||
-webkit-mask-image: radial-gradient(circle farthest-side at 100% 100%, transparent calc(100% - 1px), black 100%);
|
||||
mask-image: radial-gradient(circle farthest-side at 100% 100%, transparent calc(100% - 1px), black 100%);
|
||||
}
|
||||
} */
|
||||
|
||||
.middle-left-box {
|
||||
margin-left: 10rpx;
|
||||
|
|
|
|||
|
|
@ -297,10 +297,7 @@
|
|||
:class="(index === upmenuIndex) ? `doctorsay-container-card-font-dark`:`doctorsay-container-card-font`">
|
||||
{{ item.name }}
|
||||
</view>
|
||||
<view class="bad-circle-up" v-show="index === upmenuIndex && index">
|
||||
</view>
|
||||
<view class="bad-circle-down" v-show="index === upmenuIndex && index!==5">
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -308,7 +305,7 @@
|
|||
<view class="under-button">
|
||||
<view class="under-button-black" :style="isop?{opacity: 1}:{opacity: 0}">
|
||||
不能重复添加相同的即时服务指令
|
||||
<view class="under-button-three"></view>
|
||||
<!-- <view class="under-button-three"></view> -->
|
||||
</view>
|
||||
<view class="white-circle" @click="changecard">
|
||||
<image class="white-circle-img" src="/static/index/keyimg/movebutton.png" />
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
"name" : "护理单元",
|
||||
"appid" : "__UNI__FB2D473",
|
||||
"description" : "护理单元",
|
||||
"versionName" : "1.3.4",
|
||||
"versionCode" : 134,
|
||||
"versionName" : "1.4.5",
|
||||
"versionCode" : 145,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
|
|
|||
16
pages.json
|
|
@ -10,6 +10,14 @@
|
|||
}
|
||||
|
||||
},
|
||||
// 测试
|
||||
// {
|
||||
// "path": "pages/ceshi",
|
||||
// "style": {
|
||||
// "navigationStyle": "custom"
|
||||
// }
|
||||
|
||||
// },
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
|
|
@ -24,6 +32,14 @@
|
|||
"navigationStyle": "custom"
|
||||
}
|
||||
|
||||
},
|
||||
// 监控
|
||||
{
|
||||
"path": "pages/watch/index",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
"path": "pages/NursingNew/index",
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
</view>
|
||||
<!-- 首页 -->
|
||||
<fuwu :isShow="menuIndex == 0" />
|
||||
<settings :isShow="menuIndex == 5" @jump="jumpToIndex" />
|
||||
<settings :isShow="menuIndex == 4" @jump="jumpToIndex" />
|
||||
<storeroomindex :isShow="menuIndex == -1" @nav="navMenu" />
|
||||
<leidaindex :isShow="menuIndex==-2" />
|
||||
<saoma :isShow="menuIndex==-3" />
|
||||
|
|
@ -61,8 +61,9 @@
|
|||
{ url: '/static/index/relindex/fuwu.png', targetUrl: '/static/index/relindex/fuwublue.png', name: '服务考核', pao: 0 },
|
||||
{ url: '/static/index/relindex/jigou.png', targetUrl: '/static/index/relindex/jigoublue.png', name: '机构功能1', pao: 0 },
|
||||
{ url: '/static/index/relindex/jigou.png', targetUrl: '/static/index/relindex/jigoublue.png', name: '机构功能2', pao: 0 },
|
||||
{ url: '/static/index/relindex/jigou.png', targetUrl: '/static/index/relindex/jigoublue.png', name: '机构功能3', pao: 0 },
|
||||
{ url: '/static/index/relindex/shezhi.png', targetUrl: '/static/index/relindex/shezhiblue.png', name: '设置', pao: 0 },
|
||||
{ url: '/static/index/newindex/curve/return_8.png', targetUrl: '/static/index/newindex/curve/return_1.png', name: '返回', pao: 0 },
|
||||
// { url: '/static/index/relindex/shezhi.png', targetUrl: '/static/index/relindex/shezhiblue.png', name: '设置', pao: 0 },
|
||||
]);
|
||||
|
||||
const iconTop = ref<iconTopLink[]>([
|
||||
|
|
@ -86,6 +87,9 @@
|
|||
}
|
||||
// 变更菜单
|
||||
const changeMenu = (index : number) => {
|
||||
if(index === 5 ){
|
||||
uni.navigateBack()
|
||||
}
|
||||
menuIndex.value = index;
|
||||
};
|
||||
const clicktopright = (index : number) => {
|
||||
|
|
@ -127,7 +131,9 @@
|
|||
}
|
||||
const name = ref("");
|
||||
// 生命周期钩子
|
||||
onLoad(() => {
|
||||
onLoad((options) => {
|
||||
console.log("???",options.menu)
|
||||
options.menu ? menuIndex.value = options.menu : menuIndex.value = 0;
|
||||
name.value = uni.getStorageSync('realname')
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="index-content-other" v-show="isShow" :style="transition?{opacity: `1`}:{opacity: `0`}">
|
||||
<view class="index-content-other" :style="transition?{opacity: `1`}:{opacity: `0`}">
|
||||
<view class="right-container-title-nav">
|
||||
<text style="margin-left: 30rpx;">
|
||||
NUID:2508000001
|
||||
|
|
@ -142,6 +142,8 @@
|
|||
</scroll-view>
|
||||
<image class="top-img" :src="`/static/index/newindex/rightmenu/bottom.png`" @click="scrollTop > (55* rightMenu.length) ? scrollTop = (55* rightMenu.length) : scrollTop += 115 "/>
|
||||
</view>
|
||||
<!-- 轮盘 -->
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
|
|
@ -150,6 +152,7 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, onMounted, onBeforeUnmount, computed, nextTick, defineProps, watch } from 'vue';
|
||||
|
||||
|
||||
const props = defineProps({
|
||||
isShow: {
|
||||
type: Boolean,
|
||||
|
|
@ -333,7 +336,7 @@
|
|||
])
|
||||
|
||||
// 使用watch监听isShow变化
|
||||
const transition = ref(true);
|
||||
const transition = ref(false);
|
||||
|
||||
|
||||
watch(
|
||||
|
|
@ -342,14 +345,14 @@
|
|||
// 当旧值为false,新值为true时延迟0.2秒调用方法
|
||||
if (!oldVal && newVal) {
|
||||
transition.value = false;
|
||||
// photoplay.value = false;
|
||||
// console.log("????",transition.value)
|
||||
setTimeout(() => {
|
||||
transition.value = true;
|
||||
// photoplay.value = true;
|
||||
}, 50)
|
||||
} else {
|
||||
// photoplay.value = false;
|
||||
transition.value = false;
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
const name = ref("");
|
||||
|
|
@ -391,7 +394,7 @@
|
|||
|
||||
<style scoped lang="less">
|
||||
.index-content-other {
|
||||
width: calc(100% - 310rpx);
|
||||
width: calc(100% - 330rpx);
|
||||
height: 100%;
|
||||
transition: opacity 1s ease;
|
||||
position: relative;
|
||||
|
|
@ -427,7 +430,7 @@
|
|||
|
||||
.right-icons {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
right: 30rpx;
|
||||
top: 0;
|
||||
// transform: translateY(-50%);
|
||||
display: flex;
|
||||
|
|
@ -453,8 +456,8 @@
|
|||
|
||||
.menu {
|
||||
flex: 0 0 auto; // 👈 关键点
|
||||
height: 100rpx;
|
||||
width: 220rpx;
|
||||
height: 90rpx;
|
||||
width: 240rpx;
|
||||
border-radius: 50rpx;
|
||||
// margin: 45rpx auto;
|
||||
margin-right: 20rpx;
|
||||
|
|
@ -487,9 +490,6 @@
|
|||
|
||||
.right-container-tem {
|
||||
display: flex;
|
||||
// justify-content: space-around;
|
||||
// margin-top: 30rpx;
|
||||
// margin-bottom: 20rpx;
|
||||
|
||||
.right-container-tem-text {
|
||||
font-size: 30rpx;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<view class="right-container" :style="isshow?{opacity: `1`}:{opacity: `0`}"
|
||||
@click="bottomisShaking=false;shakyTable = false">
|
||||
<!-- 轮盘 -->
|
||||
<joystick @movecard="movecard" />
|
||||
<joystick @movecard="movecard" :getblue="getblue" :moveleft="-300" />
|
||||
<view class="right-container-title-nav">
|
||||
<text style="margin-left: 30rpx;">
|
||||
NUID:2508000001
|
||||
|
|
@ -13,38 +13,31 @@
|
|||
护理单元01
|
||||
</text>
|
||||
<view class="right-icons">
|
||||
<view class="doctorsay-container-share">
|
||||
立即生效
|
||||
<view v-for="(item,index) in [0,1,9,10]" :key="item">
|
||||
<image class="balck-icon" :src="`/static/index/tagNames/${item}.png`" />
|
||||
</view>
|
||||
<view class="doctorsay-container-juzhen" @click="routerPush">
|
||||
<view class="white-button" @click="routerPush">
|
||||
<image class="white-img" :src="`/static/index/newruler/yulan.png`" />
|
||||
预览
|
||||
</view>
|
||||
<view class="doctorsay-container-share" @click="shareToWeixin">
|
||||
<view class="white-button" @click="shareToWeixin">
|
||||
<image class="white-img" :src="`/static/index/newruler/fenxiang.png`" />
|
||||
分享
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="doctorsay-container-view">
|
||||
<view class="doctorsay-container-container">
|
||||
|
||||
<view class="super-card">
|
||||
<!-- <view class="boom-title">
|
||||
<view class="boom-title-left">
|
||||
分
|
||||
</view>
|
||||
<view class="boom-title-right">
|
||||
时
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="boom-father">
|
||||
<view class="boom">
|
||||
<view :style="{ marginTop: `-${2 *moveDownNumber}rpx` }">
|
||||
<view v-for="(item,index) in timearr[0].children" :key="index">
|
||||
<view
|
||||
:class="touchindex1 === index ||(liang.index1 === index && !canmove) || (flyNumber.index1 === index && shakyTable) ? `boom-son-target`: `boom-son`"
|
||||
v-show="item.typeName">
|
||||
{{item.typeName}}
|
||||
<view class="boom-son" v-show="item.typeName">
|
||||
<text class="boom-text">
|
||||
{{item.typeName}}
|
||||
</text>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -52,10 +45,9 @@
|
|||
</view>
|
||||
|
||||
<view class="super-card-container">
|
||||
<scroll-view style="height: 920rpx;width: 100%;" :scroll-left="cardLeft" scroll-x
|
||||
@scroll="handleTop" :show-scrollbar="false">
|
||||
<view
|
||||
style="display: flex;width:4824rpx;">
|
||||
<scroll-view style="height: 1330rpx;width: 100%;border: 2rpx solid balck;"
|
||||
:scroll-left="cardLeft" scroll-x @scroll="handleTop" :show-scrollbar="false">
|
||||
<view style="display: flex;width:4824rpx;">
|
||||
<view v-for="(item0,index0) in timearr" :key="index0">
|
||||
<view class="super-card-time">
|
||||
{{(item0.positioning.length == 1 ? ('0' + item0.positioning) : item0.positioning) + ":00"}}
|
||||
|
|
@ -64,9 +56,8 @@
|
|||
</view>
|
||||
<view style="display: flex;height: calc(100% - 80rpx);">
|
||||
|
||||
<scroll-view style="height: 100%;width:4824rpx" :scroll-top="scrollTop"
|
||||
:scroll-y="canmove && !shakyTable" @scroll="handleScrolltime"
|
||||
:show-scrollbar="false">
|
||||
<scroll-view style="height: 100%;width:6744rpx;" :scroll-top="scrollTop"
|
||||
:scroll-y="true" @scroll="handleScrolltime" :show-scrollbar="false">
|
||||
<view style="display: flex;height: 100%;">
|
||||
<view v-for="(item0,index0) in timearr" :key="index0">
|
||||
<view class="super-card-time-und">
|
||||
|
|
@ -76,64 +67,59 @@
|
|||
:class=" targetRuler.index0 === index0 && targetRuler.index1 === index1 ? targetRuler.index1 ?`title-time-border-big`:`title-time-border-big-top` : `super-card-time-card` "
|
||||
:style="!targetRuler.bordershow && saveRulerTime.index0 === index0 && saveRulerTime.index1 === index1 ? {zIndex:999} : {borderBottom: '1rpx solid transparent'}"
|
||||
:id="`a${index0}_${index1}`" style="position: relative;"
|
||||
@click="rulerTouchClick(item1,index0,index1,$event)"
|
||||
@click="rulerTouchClick(item1,index0,index1)"
|
||||
@touchstart="rulerTouchStart(item1,index0,index1,$event)"
|
||||
@touchmove="rulerTouchMove" @touchend="rulerTouchEnd()"
|
||||
:data-index0="index0" :data-index1="index1">
|
||||
<view class="time-button-orange-spe"
|
||||
<view class="time-button-orange-spe" :style="{left:flyNumber.index0?`-130rpx`:`0`}"
|
||||
v-if="flyNumber.index0 === index0 && flyNumber.index1 === index1 && index1==0">
|
||||
请选择服务指令迁移的目标单元格
|
||||
<view class="under-button-three"></view>
|
||||
<!-- <view class="under-button-three"></view> -->
|
||||
</view>
|
||||
<view class="time-button-orange"
|
||||
<view class="time-button-orange" :style="{left:flyNumber.index0?`-130rpx`:`0`}"
|
||||
v-if="flyNumber.index0 === index0 && flyNumber.index1 === index1 && index1">
|
||||
请选择服务指令迁移的目标单元格
|
||||
<view class="under-button-three"></view>
|
||||
<!-- <view class="under-button-three"></view> -->
|
||||
</view>
|
||||
<view class="time-button-black-spe"
|
||||
<view class="time-button-black-spe" :style="{left:saveEditIndex.index0?`-220rpx`:`0`}"
|
||||
v-if="saveEditIndex.index0 == index0 && saveEditIndex.index1 == index1 && index1==0 && isDelete">
|
||||
是否确认删除该服务指令
|
||||
<view class="under-button-three"></view>
|
||||
<!-- <view class="under-button-three"></view> -->
|
||||
</view>
|
||||
<view class="time-button-black"
|
||||
<view class="time-button-black" :style="{left:saveEditIndex.index0?`-220rpx`:`0`}"
|
||||
v-if="saveEditIndex.index0 == index0 && saveEditIndex.index1 == index1 && index1 && isDelete">
|
||||
是否确认删除该服务指令
|
||||
<view class="under-button-three"></view>
|
||||
<!-- <view class="under-button-three"></view> -->
|
||||
</view>
|
||||
<view class="title-time-blue"
|
||||
v-show="saveEditIndex.index0 == index0 && saveEditIndex.index1 == index1">
|
||||
<image class="title-time-blue-img"
|
||||
:src="isMove?`/static/index/movemode/targetcheng.png`: `/static/index/movemode/target.png`" />
|
||||
</view>
|
||||
<view :class="getClass(item1,index0,index1)"
|
||||
style="font-size: 30rpx;overflow: hidden;"
|
||||
:style="{ animationDelay:`-${computeDelay(index0, index1).toFixed(2)}s` }">
|
||||
|
||||
<view class="title-time" v-if="item1.startTime"
|
||||
v-show=" liang.index0 !== index0 || liang.index1 !== index1 || canmove"
|
||||
style="margin-top: 5rpx;">
|
||||
<view class="title-time-time"
|
||||
style="font-size: 25rpx;margin-top: 20rpx;">
|
||||
style="flex-direction: column;">
|
||||
<image v-show="item1.startTime"
|
||||
style="width: 60rpx;height: 60rpx;margin: 0 auto;margin-top: 30rpx"
|
||||
src="/static/index/tu.png" />
|
||||
<view class="title-time-time" style="font-size: 30rpx;">
|
||||
{{item1.startTime + `-` + item1.endTime}}
|
||||
</view>
|
||||
<image class="title-time-button"
|
||||
:src="item1.cycleType=='日常'?`/static/index/yellowbian.png`:`/static/index/puoplebian.png`" />
|
||||
<view class="title-time-font">
|
||||
style="width: 80rpx;height: 48rpx;"
|
||||
v-if="item1.cycleType!='日常'"
|
||||
src="/static/index/newruler/jiao.png" />
|
||||
<view class="title-time-font"
|
||||
style="right: 10rpx;top: 5rpx;font-size: 23rpx;"
|
||||
v-if="item1.cycleType!='日常'">
|
||||
{{item1.cycleType}}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <image v-if="item1.startTime" class="title-time-img"
|
||||
src="/static/index/tu.png" /> -->
|
||||
<view v-if="item1.startTime" class="title-time-font-rel">
|
||||
{{splitString(item1.directiveName)[0]}}
|
||||
</view>
|
||||
<view v-if="item1.startTime" class="title-time-items">
|
||||
<image class="right-box-items-button"
|
||||
src="/static/index/ku.png" />
|
||||
<image class="right-box-items-button"
|
||||
src="/static/index/ren.png" />
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -143,28 +129,27 @@
|
|||
</scroll-view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="scroll-bottom-bgc"></view>
|
||||
</view>
|
||||
<view class="right-cards">
|
||||
|
||||
<view style="margin-top: 60rpx;margin-left: 30rpx;">
|
||||
<view class="">
|
||||
即时指令
|
||||
</view>
|
||||
<view
|
||||
style="width: 30rpx;height: 6rpx;background-color: black;margin-left: 40rpx;margin-top: 3rpx;border-radius: 20rpx;">
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view scroll-x class="scroll-box" :scroll-left="scrollLeft">
|
||||
<view class="right-box">
|
||||
<view v-for="(item,index) in bottomItems" :key="index">
|
||||
<view class="right-box-item" @touchstart="bottomTouchStart"
|
||||
@touchmove="bottomTouchMove" @touchend="bottomTouchEnd"
|
||||
:style="item.target?{background: item.target,transition:`all 1.5s ease-in-out`}:{transition:`all 1.5s ease-in-out`}">
|
||||
<image class="title-time-button" src="/static/index/redbian.png" />
|
||||
<view class="title-time-font">
|
||||
即时
|
||||
</view>
|
||||
<view :style="{ animationDelay:`-${index * 0.1}s` }"
|
||||
:class="bottomisShaking?`super-end-items-img-father-active`:`super-end-items-img-father`">
|
||||
<image class="right-box-img" :src="item.url" />
|
||||
</view>
|
||||
|
||||
<view class="right-box-font">{{item.name}}</view>
|
||||
<view class="right-box-items">
|
||||
<image class="right-box-items-button" src="/static/index/ku.png" />
|
||||
<image class="right-box-items-button" src="/static/index/ren.png" />
|
||||
<view class="right-box-font">{{item.name}}</view>
|
||||
</view>
|
||||
<view class="super-end-items-father-close-father" v-show="bottomisShaking"
|
||||
@click.stop="bottomItems.splice(index, 1)">
|
||||
|
|
@ -173,7 +158,6 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view style="width: 20rpx;"></view> -->
|
||||
</scroll-view>
|
||||
<view class="middle-box">
|
||||
<view class="middle-left-box">
|
||||
|
|
@ -214,22 +198,34 @@
|
|||
v-for="(item,index) in bigArray[upmenuIndex].children[downmenuIndex].children"
|
||||
:key="index" @click="onTap(index)">
|
||||
<view class="right-box-item"
|
||||
:style="thirdmenuIndex==index?{border: `2rpx solid rgb(54, 159, 239)`,backgroundColor:`#fff`}:{border: `2rpx solid rgb(229, 233, 249)`}">
|
||||
<image class="title-time-button" v-show="item.cycleType ==='日常护理'"
|
||||
src="/static/index/ri.png" />
|
||||
:style="thirdmenuIndex==index?{border: `2rpx solid rgb(229, 233, 249)`,backgroundColor:`#fff`}:{border: `2rpx solid rgb(229, 233, 249)`}">
|
||||
<view class="title-time-button-font" v-show="item.cycleType ==='周期护理'">
|
||||
周期
|
||||
</view>
|
||||
<view class="title-time-button-font" v-show="item.cycleType ==='即时护理'">
|
||||
即时
|
||||
</view>
|
||||
<image class="title-time-button" v-show="item.cycleType ==='周期护理'"
|
||||
src="/static/index/zhou.png" />
|
||||
src="/static/index/newruler/jiao.png" />
|
||||
<image class="title-time-button" v-show="item.cycleType ==='即时护理'"
|
||||
src="/static/index/ji.png" />
|
||||
src="/static/index/newruler/jiao.png" />
|
||||
<image class="right-box-img" src="/static/index/tu.png" />
|
||||
<view class="right-box-font"
|
||||
:style="thirdmenuIndex==index?{color:`rgb(54, 159, 239)`}:{}">
|
||||
{{item.title}}
|
||||
</view>
|
||||
<view class="right-box-items">
|
||||
<image class="right-box-items-button" src="/static/index/ku.png" />
|
||||
<image class="right-box-items-button" src="/static/index/ren.png" />
|
||||
</view>
|
||||
<!-- <view class="right-box-items" style="margin-top: 10rpx;">
|
||||
<image class="right-box-items-button"
|
||||
src="/static/index/newruler/m1.png" />
|
||||
<image class="right-box-items-button"
|
||||
style="width: 30rpx;height: 30rpx;"
|
||||
src="/static/index/tagNames/0.png" />
|
||||
<image class="right-box-items-button"
|
||||
style="width: 30rpx;height: 30rpx;"
|
||||
src="/static/index/tagNames/1.png" />
|
||||
<image class="right-box-items-button"
|
||||
src="/static/index/newruler/m2.png" />
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view style="height: 20rpx;"></view>
|
||||
|
|
@ -238,10 +234,13 @@
|
|||
<view class="second-contant">
|
||||
<scroll-view scroll-y style="height: 100%;width:100%;" :show-scrollbar="false"
|
||||
:scroll-top="secondtop">
|
||||
<view v-for="(item,index) in downList" :key="index"
|
||||
@click="secondContant(index)">
|
||||
<view :class="downmenuIndex==index? `downList-box-target` : `downList-box`">
|
||||
<image class="downList-box-img" src="/static/index/tu.png" />
|
||||
<view v-for="(item,index) in downList" :key="index">
|
||||
<view :class="downdonghua==index? `downList-box-target` : `downList-box`"
|
||||
@click="secondContant(index)">
|
||||
<!-- <image class="downList-box-img" style="width: 70rpx;height: 70rpx;"
|
||||
src="/static/index/tu.png" /> -->
|
||||
<donghua :width="`55rpx`" :height="`55rpx`" :links="item.url"
|
||||
:playing="downdonghua==index" :interval="120" />
|
||||
<view class="downList-box-text">
|
||||
{{ item.title }}
|
||||
</view>
|
||||
|
|
@ -254,43 +253,54 @@
|
|||
</view>
|
||||
<view class="middle-right-box">
|
||||
<view v-for="(item,index) in doctorsayList" :key="index" @click="changLeft(index)">
|
||||
|
||||
<view
|
||||
:class="index === upmenuIndex ? `doctorsay-container-card-target`:`doctorsay-container-card`">
|
||||
<image class="doctorsay-container-card-img"
|
||||
:src="index === upmenuIndex ? item.targetUrl : item.url" />
|
||||
<view class="doctorsay-container-card" >
|
||||
<donghua :width="`55rpx`" :height="`55rpx`" :links="item.url"
|
||||
:playing="index === upmenuIndex" :interval="120" />
|
||||
<view
|
||||
:class="(index === upmenuIndex) ? `doctorsay-container-card-font-dark`:`doctorsay-container-card-font`">
|
||||
{{ item.name }}
|
||||
</view>
|
||||
<view class="bad-circle-up" v-show="index === upmenuIndex && index">
|
||||
</view>
|
||||
<view class="bad-circle-down" v-show="index === upmenuIndex && index!==5">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="under-button">
|
||||
<view class="under-button-black" :style="isop?{opacity: 1}:{opacity: 0}">
|
||||
<view class="under-button-black" v-if="isop">
|
||||
不能重复添加相同的即时服务指令
|
||||
<view class="under-button-three"></view>
|
||||
<!-- <view class="under-button-three"></view> -->
|
||||
</view>
|
||||
<view class="white-circle" @click="changecard">
|
||||
<image class="white-circle-img" src="/static/index/keyimg/movebutton.png" />
|
||||
<image class="white-circle-img"
|
||||
:src="`/static/index/keyimg/movebutton${isMove ? 'blue' : ''}.png`" />
|
||||
</view>
|
||||
<view class="white-circle" @click="openDelete">
|
||||
<image class="white-circle-img" src="/static/index/keyimg/deletebutton.png" />
|
||||
<image class="white-circle-img"
|
||||
:src="`/static/index/keyimg/deletebutton${isDelete ? 'blue' : ''}.png`" />
|
||||
</view>
|
||||
<view class="white-circle" @click="opensay">
|
||||
<image class="white-circle-img" src="/static/index/keyimg/notebutton.png" />
|
||||
<image class="white-circle-img"
|
||||
:src="`/static/index/keyimg/notebutton${sayisopen ? 'blue' : ''}.png`" />
|
||||
</view>
|
||||
<view class="white-circle-click-father" @click="addnew">
|
||||
<image class="white-circle-click" src="/static/index/keyimg/okbutton.png" />
|
||||
<view class="white-circle-font">
|
||||
确定
|
||||
<view class="white-circle" @click="open = !open">
|
||||
<image class="white-circle-img"
|
||||
:src="`/static/index/keyimg/open${open ? 'blue' : ''}.png`" />
|
||||
</view>
|
||||
<view style="position: relative;">
|
||||
<view ref="btnRef" class="white-circle-click-father" :style="{color:buttonBlue?`#fff`:``}"
|
||||
:class="{ anim: buttonBlue }" @click="addnewbutton">
|
||||
<view style="z-index: 999;">
|
||||
确定
|
||||
</view>
|
||||
</view>
|
||||
<view ref="btnRef" class="white-circle-click-father-spec"
|
||||
@click="changLeft(5)">
|
||||
<image style="width: 55rpx;height: 55rpx;" src="/static/index/newruler/monitor_4.png" />
|
||||
<view style="z-index: 999;font-size: 25rpx;">
|
||||
监控
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
@ -298,9 +308,9 @@
|
|||
</view>
|
||||
</view>
|
||||
<!-- 点击的弹出层 -->
|
||||
<view v-show="isopen" class="popup-overlay" @click="isopen=false;flyNumber.index0=999;touchindex1=-1">
|
||||
<view class="popup-overlay-content"
|
||||
:style="{ top: (2*openY - 350) + 'rpx',left: (2*openX - 780) + 'rpx',opacity: isopacity ? 1 : 0,backgroundColor:timearr[flyNumber.index0]?.children[flyNumber.index1]?.type==='日常'? '#fffcf6':'rgb(246, 244, 254)' }"
|
||||
<view v-show="isopen" class="popup-overlay" @click="isopen=false;flyNumber.index0=999;touchindex1=-1">
|
||||
<view class="popup-overlay-content" :class="getjiao"
|
||||
:style="{ top: (2*openY - 350) + 'rpx',left: (2*openX - 780) + 'rpx',opacity: isopacity ? 1 : 0 }"
|
||||
@click.stop>
|
||||
<view class="popup-overlay-content-left">
|
||||
<image class="popup-overlay-content-left-img" :src="`/static/index/teeth.png`" />
|
||||
|
|
@ -322,26 +332,37 @@
|
|||
<view v-show="sayisopen" class="popup-say" @click="sayisopen=false">
|
||||
<view class="popup-say-content" style="padding-top: 30rpx;" :style="{ opacity: sayisopacity ? 1 : 0 }"
|
||||
@click.stop>
|
||||
<view class="popup-say-content-flex">
|
||||
<view class="popup-say-content-gun"></view>
|
||||
<view class="popup-say-content-font">情绪标签</view>
|
||||
<view style="margin-top: 20rpx;margin-bottom: 20rpx;;margin-left: 30rpx;font-size: 32rpx;">
|
||||
<view>
|
||||
|
||||
体型标签
|
||||
</view>
|
||||
<!-- <view
|
||||
style="width: 30rpx;height: 6rpx;background-color: black;margin-left: 40rpx;margin-top: 3rpx;border-radius: 20rpx;">
|
||||
|
||||
</view> -->
|
||||
</view>
|
||||
<view style="display: flex;">
|
||||
<view v-for="(item,index) in nameArray.slice(0,2)" :key="index">
|
||||
<view style="display: flex;flex-wrap: wrap;">
|
||||
<view v-for="(item,index) in nameArray.slice(0,8)" :key="index">
|
||||
<view class="tags-father">
|
||||
<image class="tags-img" :src="`/static/index/tagNames/${index}.png`" />
|
||||
<view class="tags-font">{{item}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="popup-say-content-flex" style="margin-top: 25rpx;">
|
||||
<view class="popup-say-content-gun"></view>
|
||||
<view class="popup-say-content-font">体型标签</view>
|
||||
<view style="margin-top: 40rpx;margin-bottom: 20rpx;;margin-left: 30rpx;font-size: 32rpx;">
|
||||
<view>
|
||||
情绪标签
|
||||
</view>
|
||||
<!-- <view
|
||||
style="width: 30rpx;height: 6rpx;background-color: black;margin-left: 40rpx;margin-top: 3rpx;border-radius: 20rpx;">
|
||||
|
||||
</view> -->
|
||||
</view>
|
||||
<view style="display: flex;flex-wrap: wrap;">
|
||||
<view v-for="(item,index) in nameArray.slice(2,11)" :key="index">
|
||||
<view v-for="(item,index) in nameArray.slice(8,11)" :key="index">
|
||||
<view class="tags-father">
|
||||
<image class="tags-img" :src="`/static/index/tagNames/${index+2}.png`" />
|
||||
<image class="tags-img" :src="`/static/index/tagNames/${index+9}.png`" />
|
||||
<view class="tags-font">{{item}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -358,7 +379,6 @@
|
|||
</view>
|
||||
<view class="popup-share-upcontent">
|
||||
<view class="popup-share-font">久泰护理日程分享测试</view>
|
||||
|
||||
</view>
|
||||
<view class="popup-share-gray"></view>
|
||||
<view class="popup-share-downcontent">
|
||||
|
|
@ -380,13 +400,9 @@
|
|||
import { onShow, onHide } from '@dcloudio/uni-app';
|
||||
import type { roomBtttonType } from "./index";
|
||||
import { getServiceTree, getNclist, addBatch } from "./api.js";
|
||||
// import index from '../../request';
|
||||
import { myArray } from './yaoshandiao.js';
|
||||
import joystick from '@/component/public/newgame/joysticknew.vue';
|
||||
import skill from '@/component/public/game/skill.vue';
|
||||
import skilladd from '@/component/public/game/skilladd.vue'
|
||||
import skillmove from '@/component/public/game/skilmove.vue'
|
||||
import skilmovedelete from '@/component/public/game/skilmovedelete.vue'
|
||||
|
||||
const props = defineProps({
|
||||
isshow: {
|
||||
type: Boolean,
|
||||
|
|
@ -394,11 +410,9 @@
|
|||
},
|
||||
darkFans: {
|
||||
type: Boolean,
|
||||
// required: true,
|
||||
},
|
||||
canmove: {
|
||||
type: Boolean,
|
||||
// required: true,
|
||||
},
|
||||
liang: {
|
||||
type: Object,
|
||||
|
|
@ -419,7 +433,7 @@
|
|||
scrollTop.value = 1;
|
||||
nextTick(() => {
|
||||
scrollTop.value = 0;
|
||||
cardLeft.value = 605;
|
||||
cardLeft.value = 839
|
||||
|
||||
})
|
||||
}
|
||||
|
|
@ -436,10 +450,10 @@
|
|||
if (newVal !== oldVal) {
|
||||
bottomisShaking.value = false
|
||||
shakyTable.value = false
|
||||
if(solveWatch.value){
|
||||
solveWatch.value --
|
||||
}else{
|
||||
saveEditIndex.value.index0 = 9
|
||||
if (solveWatch.value) {
|
||||
solveWatch.value--
|
||||
} else {
|
||||
saveEditIndex.value.index0 = 8
|
||||
saveEditIndex.value.index1 = 0
|
||||
centerCell();
|
||||
cardLeft.value = 1
|
||||
|
|
@ -447,12 +461,18 @@
|
|||
|
||||
nextTick(() => {
|
||||
scrollTop.value = 0
|
||||
cardLeft.value = 605
|
||||
cardLeft.value = 839
|
||||
})
|
||||
}
|
||||
upmenuIndex.value = 0
|
||||
getblue.value = !getblue.value
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
const open = ref(false);
|
||||
const getblue = ref(false);
|
||||
|
||||
const bottomItems = ref([
|
||||
{
|
||||
name: '纸尿裤',
|
||||
|
|
@ -504,17 +524,17 @@
|
|||
},
|
||||
])
|
||||
const nameArray = [
|
||||
`狂躁`,
|
||||
`正常`,
|
||||
`大体重`,
|
||||
`口腔`,
|
||||
`小体重`,
|
||||
`头部`,
|
||||
`面部`,
|
||||
`躯干`,
|
||||
`四肢`,
|
||||
`修甲`,
|
||||
`颅骨缺损`
|
||||
`大体重`,
|
||||
`小体重`,
|
||||
`面部`,
|
||||
`颅骨缺损`,
|
||||
`口腔`,
|
||||
`头部`,
|
||||
`躯干`,
|
||||
`狂躁`,
|
||||
`易怒`,
|
||||
`正常`
|
||||
]
|
||||
const timeArray = [
|
||||
`00`, `05`, `10`, `15`, `20`, `25`, `30`, `35`, `40`, `45`, `50`, `55`
|
||||
|
|
@ -527,7 +547,6 @@
|
|||
//高度回到最高
|
||||
const firsttop = ref(0);
|
||||
const secondtop = ref(0);
|
||||
// const containerRef = ref(null);
|
||||
const scrollLeft = ref(0);
|
||||
const cardLeft = ref(678);
|
||||
//移动表格
|
||||
|
|
@ -563,10 +582,21 @@
|
|||
const savebottom = ref(3);
|
||||
const isMove = ref(false);
|
||||
|
||||
const getjiao = computed(() => {
|
||||
if(jiao.value[0] && jiao.value[1]){
|
||||
return "left-bottom"
|
||||
}else if(!jiao.value[0] && jiao.value[1]){
|
||||
return "right-bottom"
|
||||
}else if(jiao.value[0] && !jiao.value[1]){
|
||||
return "left-top"
|
||||
}else{
|
||||
return "right-top"
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
// getServiceTree().then(res=>{
|
||||
// console.log("res",res)
|
||||
// })
|
||||
downdonghua.value = 0;
|
||||
})
|
||||
// 上次点击时间
|
||||
const lastTap = ref(0)
|
||||
|
|
@ -575,6 +605,8 @@
|
|||
|
||||
function onTap(e) {
|
||||
const now = Date.now()
|
||||
thirdmenuIndex.value = e
|
||||
// console.log("????",thirdmenuIndex.value)
|
||||
if (now - lastTap.value < DOUBLE_TAP_DELAY) {
|
||||
// 双击成立
|
||||
thirdmenuIndex.value = e
|
||||
|
|
@ -623,6 +655,9 @@
|
|||
//变更左侧菜单
|
||||
const changLeft = (index : number) => {
|
||||
if (index === 5) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/watch/index`
|
||||
})
|
||||
return
|
||||
}
|
||||
iszhouqi.value = false;
|
||||
|
|
@ -633,13 +668,17 @@
|
|||
|
||||
secondtop.value = 1
|
||||
firsttop.value = 1
|
||||
//这个东西完全是为了给动画用的,因为downmenuIndex这个吊东西其他地方在用,所以需要再整一个属性。
|
||||
downdonghua.value = -1;
|
||||
|
||||
nextTick(() => {
|
||||
secondtop.value = 0
|
||||
firsttop.value = 0
|
||||
downdonghua.value = 0;
|
||||
})
|
||||
downmenuIndex.value = 0;
|
||||
upmenuIndex.value = index
|
||||
downList.value = bigArray.value[index].children
|
||||
downmenuIndex.value = 0;
|
||||
thirdmenuIndex.value = 0;
|
||||
}
|
||||
const changecard = () => {
|
||||
|
|
@ -676,12 +715,17 @@
|
|||
|
||||
const movecard = (where : number) => {
|
||||
isDelete.value = false;
|
||||
|
||||
switch (where) {
|
||||
case 0:
|
||||
if (saveEditIndex.value.index1) {
|
||||
saveEditIndex.value.index1--
|
||||
centerCell();
|
||||
isopen.value = false;
|
||||
if (open.value) {
|
||||
setTimeout(() => {
|
||||
rulerTouchClick(timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1], saveEditIndex.value.index0, saveEditIndex.value.index1)
|
||||
}, 50)
|
||||
}
|
||||
}
|
||||
break
|
||||
case 1:
|
||||
|
|
@ -690,6 +734,12 @@
|
|||
}
|
||||
saveEditIndex.value.index0++
|
||||
centerCell();
|
||||
isopen.value = false;
|
||||
if (open.value) {
|
||||
setTimeout(() => {
|
||||
rulerTouchClick(timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1], saveEditIndex.value.index0, saveEditIndex.value.index1)
|
||||
}, 50)
|
||||
}
|
||||
break
|
||||
case 2:
|
||||
if (saveEditIndex.value.index1 == 11) {
|
||||
|
|
@ -697,6 +747,12 @@
|
|||
}
|
||||
saveEditIndex.value.index1++
|
||||
centerCell();
|
||||
isopen.value = false;
|
||||
if (open.value) {
|
||||
setTimeout(() => {
|
||||
rulerTouchClick(timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1], saveEditIndex.value.index0, saveEditIndex.value.index1)
|
||||
}, 50)
|
||||
}
|
||||
break
|
||||
case 3:
|
||||
if (saveEditIndex.value.index0 == 0) {
|
||||
|
|
@ -704,6 +760,12 @@
|
|||
}
|
||||
saveEditIndex.value.index0--
|
||||
centerCell();
|
||||
isopen.value = false;
|
||||
if (open.value) {
|
||||
setTimeout(() => {
|
||||
rulerTouchClick(timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1], saveEditIndex.value.index0, saveEditIndex.value.index1)
|
||||
}, 50)
|
||||
}
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
@ -712,7 +774,6 @@
|
|||
const monthValue = ref("");
|
||||
const monthIndex = ref(-1);
|
||||
const clickWeek = (item, index) => {
|
||||
|
||||
const now = Date.now()
|
||||
if (now - lastTap.value < DOUBLE_TAP_DELAY) {
|
||||
// 双击成立
|
||||
|
|
@ -746,6 +807,9 @@
|
|||
}
|
||||
const isDelete = ref(false);
|
||||
const openDelete = () => {
|
||||
flyNumber.value.index0 = -1
|
||||
flyNumber.value.index1 = -1
|
||||
isMove.value = false;
|
||||
if (timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].directiveName) {
|
||||
if (!isDelete.value) {
|
||||
isDelete.value = true;
|
||||
|
|
@ -792,7 +856,6 @@
|
|||
}
|
||||
|
||||
const changeBug = ref(true);
|
||||
|
||||
// 方法:根据条件返回不同的类名
|
||||
const getClass = (item, index0, index1) => {
|
||||
if (item.cycleType === '日常') {
|
||||
|
|
@ -816,18 +879,102 @@
|
|||
}
|
||||
return 'title-time-border';
|
||||
}
|
||||
// 通用的生成函数
|
||||
function genPaths(base, prefix, count, ext = 'png', startIndex = 0, pad = false) {
|
||||
return Array.from({ length: count }, (_, i) => {
|
||||
const idx = pad
|
||||
? String(i + startIndex).padStart(2, '0')
|
||||
: i + startIndex
|
||||
return `${base}/${prefix}${idx}.${ext}`
|
||||
})
|
||||
}
|
||||
// 初始化下面侧单列表
|
||||
const doctorsayList = ref<roomBtttonType[]>([
|
||||
{ url: '/static/index/firstTags/30.png', targetUrl: '/static/index/firstTags/21.png', name: '日常' },
|
||||
{ url: '/static/index/firstTags/10.png', targetUrl: '/static/index/firstTags/99.png', name: '清洁' },
|
||||
{ url: '/static/index/firstTags/40.png', targetUrl: '/static/index/firstTags/31.png', name: '饮食' },
|
||||
{ url: '/static/index/firstTags/00.png', targetUrl: '/static/index/firstTags/01.png', name: '睡眠' },
|
||||
{ url: '/static/index/firstTags/20.png', targetUrl: '/static/index/firstTags/11.png', name: '排泻' },
|
||||
{ url: '/static/index/firstTags/50.png', targetUrl: '/static/index/firstTags/41.png', name: '影像' },
|
||||
const doctorsayList = ref([
|
||||
{
|
||||
|
||||
url: genPaths(
|
||||
'/static/index/newruler',
|
||||
'daily_',
|
||||
6, // 张数
|
||||
'png',
|
||||
1, // 起始索引
|
||||
false // 不补零
|
||||
), name: '日常'
|
||||
|
||||
},
|
||||
{
|
||||
|
||||
url: genPaths(
|
||||
'/static/index/newruler',
|
||||
'clean_',
|
||||
8, // 张数
|
||||
'png',
|
||||
1, // 起始索引
|
||||
false // 不补零
|
||||
), name: '清洁'
|
||||
|
||||
},
|
||||
{
|
||||
|
||||
url: genPaths(
|
||||
'/static/index/newruler',
|
||||
'diet_',
|
||||
7, // 张数
|
||||
'png',
|
||||
1, // 起始索引
|
||||
false // 不补零
|
||||
), name: '饮食'
|
||||
|
||||
},
|
||||
{
|
||||
|
||||
url: genPaths(
|
||||
'/static/index/newruler',
|
||||
'sleep_',
|
||||
5, // 张数
|
||||
'png',
|
||||
1, // 起始索引
|
||||
false // 不补零
|
||||
), name: '睡眠'
|
||||
|
||||
},
|
||||
{
|
||||
|
||||
url: genPaths(
|
||||
'/static/index/newruler',
|
||||
'defecate_',
|
||||
5, // 张数
|
||||
'png',
|
||||
1, // 起始索引
|
||||
false // 不补零
|
||||
), name: '排泻'
|
||||
|
||||
},
|
||||
// {
|
||||
|
||||
// url: genPaths(
|
||||
// '/static/index/newruler/monitor_4',
|
||||
// 'monitor_',
|
||||
// 4, // 张数
|
||||
// 'png',
|
||||
// 1, // 起始索引
|
||||
// false // 不补零
|
||||
// ), name: '影像'
|
||||
|
||||
// },
|
||||
]);
|
||||
// const doctorsayList = ref<roomBtttonType[]>([
|
||||
// { url: '/static/index/firstTags/30.png', targetUrl: '/static/index/firstTags/21.png', name: '日常' },
|
||||
// { url: '/static/index/firstTags/10.png', targetUrl: '/static/index/firstTags/99.png', name: '清洁' },
|
||||
// { url: '/static/index/firstTags/40.png', targetUrl: '/static/index/firstTags/31.png', name: '饮食' },
|
||||
// { url: '/static/index/firstTags/00.png', targetUrl: '/static/index/firstTags/01.png', name: '睡眠' },
|
||||
// { url: '/static/index/firstTags/20.png', targetUrl: '/static/index/firstTags/11.png', name: '排泻' },
|
||||
// { url: '/static/index/firstTags/50.png', targetUrl: '/static/index/firstTags/41.png', name: '影像' },
|
||||
// ]);
|
||||
// 当前选中的菜单索引
|
||||
const upmenuIndex = ref<number>(0);
|
||||
const upmenuIndex = ref<number>(1);
|
||||
const downmenuIndex = ref<number>(0);
|
||||
const downdonghua = ref(-1);
|
||||
const thirdmenuIndex = ref<number>(0);
|
||||
// 暗黑模式
|
||||
const underFans = ref<boolean>(false);
|
||||
|
|
@ -850,6 +997,7 @@
|
|||
weekValue.value = "";
|
||||
monthValue.value = "";
|
||||
downmenuIndex.value = index;
|
||||
downdonghua.value = index;
|
||||
thirdmenuIndex.value = 0;
|
||||
firsttop.value = 1;
|
||||
nextTick(() => {
|
||||
|
|
@ -916,8 +1064,9 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
const jiao = ref([false,false])
|
||||
//表格点击开始
|
||||
const rulerTouchClick = (item : any, index0 : number, index1 : number, e : any) => {
|
||||
const rulerTouchClick = (item : any, index0 : number, index1 : number) => {
|
||||
if (item.directiveName) {
|
||||
touchindex1.value = index1;
|
||||
const query = uni.createSelectorQuery()
|
||||
|
|
@ -926,18 +1075,22 @@
|
|||
.boundingClientRect((data : any) => {
|
||||
data.forEach(async (res : any) => {
|
||||
// 根据你的条件筛选元素
|
||||
if (res.left > 100 && res.left < 1067 && res.top < 570 && res.top > 140 && res.dataset.index0 == index0 && res.dataset.index1 == index1) {
|
||||
if (res.left > 100 && res.left < 1067 && res.top < 670 && res.top > 50 && res.dataset.index0 == index0 && res.dataset.index1 == index1) {
|
||||
if (res.left > 100 && res.left < 500) {
|
||||
// 表格太靠左侧,修改到右面
|
||||
openX.value = Math.floor(res.left) + 520;
|
||||
openX.value = Math.floor(res.left) + 540;
|
||||
jiao.value[0] = true
|
||||
} else {
|
||||
openX.value = Math.floor(res.left)
|
||||
openX.value = Math.floor(res.left) - 20
|
||||
jiao.value[0] = false
|
||||
}
|
||||
if (res.top > 140 && res.top < 300) {
|
||||
if ( res.top > 500) {
|
||||
// 表格太靠上侧,修改到下面
|
||||
openY.value = Math.floor(res.top) + 250;
|
||||
openY.value = Math.floor(res.top) + 100;
|
||||
jiao.value[1] = true
|
||||
} else {
|
||||
openY.value = Math.floor(res.top)
|
||||
openY.value = Math.floor(res.top) + 180
|
||||
jiao.value[1] = false
|
||||
}
|
||||
// openY.value = Math.floor(res.top);
|
||||
await nextTick()
|
||||
|
|
@ -1107,7 +1260,6 @@
|
|||
timearr.value[indexsave.value[0]].children[indexsave.value[1]].startTime = positioning + ":" + start.padStart(2, '0'); // "9:20"
|
||||
timearr.value[indexsave.value[0]].children[indexsave.value[1]].endTime = positioning + ":" + String(end % 60).padStart(2, '0'); // "9:20"
|
||||
// 检查是否有任意一个对象的 children 数组最后一个对象的 value 有值
|
||||
// saveAll()
|
||||
}
|
||||
}
|
||||
const scrollContainer = ref(null)
|
||||
|
|
@ -1118,6 +1270,33 @@
|
|||
sayisopacity.value = true
|
||||
}, 50)
|
||||
}
|
||||
const buttonBlue = ref(false)
|
||||
let animTimer = null
|
||||
|
||||
async function addnewbutton() {
|
||||
// 清定时器(防止残留)
|
||||
if (animTimer) {
|
||||
clearTimeout(animTimer)
|
||||
animTimer = null
|
||||
}
|
||||
|
||||
// 先把状态设为 false,等待 DOM 更新后再设为 true —— 达到重启动画的效果
|
||||
buttonBlue.value = false
|
||||
await nextTick() // 等待下一帧,确保样式被移除
|
||||
|
||||
// 重新打开动画
|
||||
buttonBlue.value = true
|
||||
addnew()
|
||||
// 1s 后还原(与动画时长保持一致)
|
||||
animTimer = setTimeout(() => {
|
||||
buttonBlue.value = false
|
||||
animTimer = null
|
||||
}, 1000)
|
||||
}
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
if (animTimer) clearTimeout(animTimer)
|
||||
})
|
||||
const addnew = () => {
|
||||
if (isDelete.value) {
|
||||
isDelete.value = false;
|
||||
|
|
@ -1143,7 +1322,7 @@
|
|||
nextTick(() => {
|
||||
if (!stopIt) {
|
||||
scrollLeft.value = 0;
|
||||
if (bottomItems.value.length && bottomItems.value[0].target === "#00a8ff") {
|
||||
if (bottomItems.value.length && bottomItems.value[0].target === "#03a4ff") {
|
||||
bottomItems.value[0].target = "#fff"
|
||||
clearTimeout(cleansettimeout.value);
|
||||
}
|
||||
|
|
@ -1151,10 +1330,9 @@
|
|||
bottomItems.value.unshift({
|
||||
name: allobject.title,
|
||||
url: "/static/index/ou.png",
|
||||
target: `#00a8ff`,
|
||||
target: `#03a4ff`,
|
||||
id: allobject.id
|
||||
})
|
||||
console.log("!!!!", bottomItems.value)
|
||||
// 实现即时指令动画
|
||||
cleansettimeout.value = setTimeout(() => {
|
||||
bottomItems.value[0].target = `#fff`;
|
||||
|
|
@ -1164,7 +1342,7 @@
|
|||
isop.value = true;
|
||||
cleansettimeoutrel.value = setTimeout(() => {
|
||||
isop.value = false;
|
||||
}, 1000)
|
||||
}, 1500)
|
||||
}
|
||||
|
||||
})
|
||||
|
|
@ -1196,11 +1374,9 @@
|
|||
const startHour = Number(saveEditIndex.value.index0)
|
||||
const startMinute = Number(timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].typeName)
|
||||
const endMinute = startMinute + 10
|
||||
|
||||
const endHour = startHour + Math.floor(endMinute / 60)
|
||||
const formattedStart = `${String(startHour)}:${String(startMinute).padStart(2, '0')}`
|
||||
const formattedEnd = `${String(endHour)}:${String(endMinute % 60).padStart(2, '0')}`
|
||||
|
||||
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].startTime = formattedStart
|
||||
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1].endTime = formattedEnd
|
||||
|
||||
|
|
@ -1220,7 +1396,6 @@
|
|||
}
|
||||
//给表格赋值
|
||||
timearr.value[saveEditIndex.value.index0].children[saveEditIndex.value.index1] = param;
|
||||
// movecard(1)
|
||||
let data = {
|
||||
index0: saveEditIndex.value.index0,
|
||||
index1: saveEditIndex.value.index1
|
||||
|
|
@ -1318,7 +1493,7 @@
|
|||
onHide(() => {
|
||||
uni.$off('where', findback);
|
||||
});
|
||||
function findback (data:any){
|
||||
function findback(data : any) {
|
||||
solveWatch.value = 3;
|
||||
whereEvent(data)
|
||||
}
|
||||
|
|
@ -1345,7 +1520,6 @@
|
|||
typeName: ""
|
||||
|
||||
})
|
||||
|
||||
// 切割bigArray
|
||||
function splitString(str) {
|
||||
// 使用正则表达式找到所有括号的内容
|
||||
|
|
@ -1378,20 +1552,18 @@
|
|||
const totalColumns = 24; // 总列数
|
||||
const totalRows = 11; // 总行数
|
||||
const visibleWidth = 1405; // 可视区域宽度 (rpx),基于 scalcType * widthType ≈ 2220
|
||||
const visibleHeight = 480; // 可视区域高度 (rpx),假设显示约5行时 heightType = 102.5
|
||||
const visibleHeight = 500; // 可视区域高度 (rpx),假设显示约5行时 heightType = 102.5
|
||||
function centerCell() {
|
||||
if (saveEditIndex.value.index0 >= 0 && saveEditIndex.value.index0 <= totalColumns && saveEditIndex.value.index1 >= 0 && saveEditIndex.value.index1 <= totalRows) {
|
||||
// 计算点击格子的中心位置 (rpx)
|
||||
const cellCenterX = (saveEditIndex.value.index0 + 0.5) * 201;
|
||||
const cellCenterY = (saveEditIndex.value.index1 - 0.5) * 167;
|
||||
const cellCenterX = (saveEditIndex.value.index0 + 0.5) * 280;
|
||||
const cellCenterY = (saveEditIndex.value.index1 - 1) * 250.5;
|
||||
// 计算 scrollLeft 和 scrollTop,使格子中心位于可视区域中心
|
||||
cardLeft.value = cellCenterX - visibleWidth / 2;
|
||||
scrollTop.value = cellCenterY - visibleHeight / 2;
|
||||
|
||||
// 计算网格总宽高
|
||||
const totalWidth = totalColumns * 201;
|
||||
const totalHeight = totalRows * 167;
|
||||
|
||||
const totalWidth = totalColumns * 280;
|
||||
const totalHeight = totalRows * 250.5;
|
||||
// 限制 scrollLeft 和 scrollTop 在有效范围内
|
||||
cardLeft.value = Math.max(0, Math.min(cardLeft.value, totalWidth - visibleWidth)) / 2;
|
||||
// scrollTop.value = 0
|
||||
|
|
@ -1403,6 +1575,7 @@
|
|||
<style lang="less" scoped>
|
||||
// 主页的css
|
||||
@import './index';
|
||||
|
||||
.right-container-title-nav {
|
||||
margin-top: 60rpx;
|
||||
display: flex;
|
||||
|
|
@ -1419,12 +1592,12 @@
|
|||
.right-icons {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
top: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 60rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
.doctorsay-container-share {
|
||||
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
|
||||
color: #fff;
|
||||
|
|
@ -1436,6 +1609,7 @@
|
|||
font-size: 27rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
.doctorsay-container-juzhen {
|
||||
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
|
||||
color: #fff;
|
||||
|
|
@ -1448,4 +1622,44 @@
|
|||
margin: 0 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.balck-icon {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
margin-top: 10rpx;
|
||||
// opacity: 0.5;
|
||||
margin-right: 20rpx;
|
||||
// background-color: #fff;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.white-button {
|
||||
width: 160rpx;
|
||||
height: 70rpx;
|
||||
border-radius: 40rpx;
|
||||
background-color: #E6E7EB;
|
||||
margin-left: 20rpx;
|
||||
margin-top: 10rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.white-img {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
}
|
||||
.left-top{
|
||||
border-top-left-radius: 0!important;
|
||||
}
|
||||
.right-top{
|
||||
border-top-right-radius: 0!important;
|
||||
}
|
||||
.left-bottom{
|
||||
border-bottom-left-radius: 0!important
|
||||
}
|
||||
.right-bottom{
|
||||
border-bottom-right-radius: 0!important;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -38,18 +38,14 @@
|
|||
</text>
|
||||
</view>
|
||||
<view class="menus-father">
|
||||
<view v-for="(item,index) in leftMenuArray" :key="index" class="menu" :style="index === menuIndex?{backgroundColor:`#fff`}:{} " @click="changeMenu(index)">
|
||||
<view v-for="(item,index) in leftMenuArray" :key="index" class="menu"
|
||||
:style="index === menuIndex?{backgroundColor:`#fff`}:{} " @click="changeMenu(index)">
|
||||
<!-- <image class="menu-img" :src="item.url" /> -->
|
||||
<donghua :width="`65rpx`" :height="`65rpx`" :links="item.url" :playing="index === menuIndex" />
|
||||
|
||||
<text style="font-size: 33rpx;margin-left: 15rpx;">
|
||||
<text style="font-size: 31rpx;margin-left: 15rpx;">
|
||||
{{item.name}}
|
||||
</text>
|
||||
<!-- <view class="blue-circle" v-show="index === menuIndex">
|
||||
<image class="blue-circle-size" :src="`/static/index/ray.png`" />
|
||||
</view>
|
||||
<image class="left-img" :src="index === menuIndex ? item.targetUrl : item.url"
|
||||
@click="changeMenu(index)" /> -->
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="left-img-container">
|
||||
|
|
@ -63,9 +59,10 @@
|
|||
</view> -->
|
||||
</view>
|
||||
<!-- 主页 -->
|
||||
<index :isShow="menuIndexshow" v-show="!menuIndex" />
|
||||
<index :isShow="menuIndexshow" v-show="!menuIndex" />
|
||||
|
||||
<nurse :isold="isOld===2" :liang="indexNumber" :isshow="menuIndexshowsecond" v-show="menuIndex==1&&isOld===2" />
|
||||
<!-- <arrowkeys @movecard="" /> -->
|
||||
<!-- 超凶表格 -->
|
||||
<!-- 旧表格 -->
|
||||
<!-- <rightItemssecond ref="ruler" :liang="indexNumber" :isshow="menuIndexshowsecond" :canmove="canmove"
|
||||
|
|
@ -83,17 +80,17 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, onBeforeUnmount } from 'vue';
|
||||
import { ref, onMounted, onBeforeUnmount, nextTick } from 'vue';
|
||||
import type { Link } from "./index";
|
||||
import index from "./component/index.vue"
|
||||
import nurse from "./component/nurse/index.vue"
|
||||
// import rightItemssecond from "../../component/rightItemssecond/index.vue"
|
||||
// import specialruler from "../../component/specialruler/index.vue"
|
||||
// import rightItemssecondrelnew from "../../component/rightItemssecondrelnew/index.vue"
|
||||
import arrowkeys from '@/component/public/newgame/arrowkeys.vue';
|
||||
import { onShow } from '@dcloudio/uni-app';
|
||||
|
||||
onMounted(() => {
|
||||
menuIndex.value = 0
|
||||
menuIndex.value = -1;
|
||||
nextTick(() => menuIndex.value = 0)
|
||||
|
||||
isOld.value = 2;
|
||||
uni.getSystemInfoSync(); // 确保 global 注入生效
|
||||
uni.pageScrollTo; // 避免某些平台热更新惊群
|
||||
|
|
@ -120,7 +117,7 @@
|
|||
'png',
|
||||
1, // 起始索引为 1
|
||||
false // 不补零
|
||||
),name:'首页'
|
||||
), name: '首页'
|
||||
},
|
||||
{
|
||||
url: genPaths(
|
||||
|
|
@ -130,7 +127,7 @@
|
|||
'png',
|
||||
1, // 起始索引为 1
|
||||
false // 不补零
|
||||
),name:'护嘱'
|
||||
), name: '护嘱'
|
||||
},
|
||||
{
|
||||
url: genPaths(
|
||||
|
|
@ -140,7 +137,7 @@
|
|||
'png',
|
||||
1, // 起始索引为 1
|
||||
false // 不补零
|
||||
),name:'医嘱'
|
||||
), name: '医嘱'
|
||||
},
|
||||
{
|
||||
url: genPaths(
|
||||
|
|
@ -150,7 +147,7 @@
|
|||
'png',
|
||||
1, // 起始索引为 1
|
||||
false // 不补零
|
||||
),name:'请领'
|
||||
), name: '请领'
|
||||
},
|
||||
{
|
||||
url: genPaths(
|
||||
|
|
@ -160,7 +157,7 @@
|
|||
'png',
|
||||
1, // 起始索引为 1
|
||||
false // 不补零
|
||||
),name:'设备'
|
||||
), name: '设备'
|
||||
},
|
||||
{
|
||||
url: genPaths(
|
||||
|
|
@ -170,16 +167,16 @@
|
|||
'png',
|
||||
1, // 起始索引为 1
|
||||
false // 不补零
|
||||
),name:'返回'
|
||||
), name: '返回'
|
||||
},
|
||||
])
|
||||
const menuArray = ref([
|
||||
{ url: '/static/index/lefticon/index.png',name:'首页' },
|
||||
{ url: '/static/index/lefticon/nurse.png',name:'护嘱' },
|
||||
{ url: '/static/index/lefticon/doctor.png',name:'医嘱' },
|
||||
{ url: '/static/index/lefticon/give.png',name:'请领' },
|
||||
{ url: '/static/index/lefticon/wifi.png' ,name:'设备'},
|
||||
{ url: '/static/index/lefticon/back.png',name:'返回' }
|
||||
{ url: '/static/index/lefticon/index.png', name: '首页' },
|
||||
{ url: '/static/index/lefticon/nurse.png', name: '护嘱' },
|
||||
{ url: '/static/index/lefticon/doctor.png', name: '医嘱' },
|
||||
{ url: '/static/index/lefticon/give.png', name: '请领' },
|
||||
{ url: '/static/index/lefticon/wifi.png', name: '设备' },
|
||||
{ url: '/static/index/lefticon/back.png', name: '返回' }
|
||||
])
|
||||
|
||||
// 初始化左侧菜单列表
|
||||
|
|
@ -232,7 +229,7 @@
|
|||
// uni.navigateBack()
|
||||
// return
|
||||
// }
|
||||
if(menuIndex.value===index){
|
||||
if (menuIndex.value === index) {
|
||||
return
|
||||
}
|
||||
menuIndex.value = index;
|
||||
|
|
@ -368,7 +365,7 @@
|
|||
} else {
|
||||
}
|
||||
} else if (saveruler.value.typeName) {
|
||||
if (isOld.value===0) {
|
||||
if (isOld.value === 0) {
|
||||
ruler.value?.rulerMoveEnd(saveruler.value);
|
||||
} else {
|
||||
rulernew.value?.rulerMoveEnd(saveruler.value);
|
||||
|
|
@ -430,23 +427,29 @@
|
|||
setTimeout(() => {
|
||||
changeMenu(menuIndex.value)
|
||||
}, 50)
|
||||
|
||||
menuIndexshow.value = false
|
||||
setTimeout(() => {
|
||||
menuIndexshow.value = true
|
||||
}, 50)
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
||||
.menus-father{
|
||||
.menus-father {
|
||||
margin-top: 50rpx;
|
||||
width: 100%;
|
||||
.menu{
|
||||
|
||||
.menu {
|
||||
height: 110rpx;
|
||||
width: 230rpx;
|
||||
// background-color: #fff;
|
||||
width: 280rpx;
|
||||
border-radius: 60rpx;
|
||||
margin: 45rpx auto;
|
||||
margin: 45rpx 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-left: 30rpx;
|
||||
// .menu-img{
|
||||
// width: 65rpx;
|
||||
// height: 65rpx;
|
||||
|
|
@ -503,7 +506,7 @@
|
|||
}
|
||||
|
||||
.left-container {
|
||||
width: 280rpx;
|
||||
width: 320rpx;
|
||||
height: 100%;
|
||||
|
||||
.blue-circle-pos {
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@
|
|||
uni.setStorageSync('username', form.username);
|
||||
uni.setStorageSync('realname', res.result.userInfo.realname);
|
||||
setTimeout(() => {
|
||||
jumpTo(`/pages/Initialization/index`)
|
||||
jumpTo(`/pages/watch/index`)
|
||||
}, 500)
|
||||
} else {
|
||||
uni.showToast({
|
||||
|
|
@ -266,7 +266,7 @@
|
|||
onShow(() => {
|
||||
zyupgrade.value?.check_update();
|
||||
if(uni.getStorageSync('token') && uni.getStorageSync('token')!==1){
|
||||
jumpTo(`/pages/Initialization/index`)
|
||||
jumpTo(`/pages/watch/index`)
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -495,7 +495,7 @@
|
|||
height: 40rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
background-color: #0184db;
|
||||
background-color: #A9ACB1;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
|
|
@ -698,7 +698,7 @@
|
|||
height: 80rpx;
|
||||
width: 247rpx;
|
||||
border-right: 1rpx solid transparent;
|
||||
border-image: repeating-linear-gradient(180deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
border-image: repeating-linear-gradient(180deg, #A9ACB1 0px,#A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
|
@ -710,7 +710,7 @@
|
|||
|
||||
flex-direction: column;
|
||||
border-right: 1rpx solid transparent;
|
||||
border-image: repeating-linear-gradient(180deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
border-image: repeating-linear-gradient(180deg, #A9ACB1 0px,#A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
}
|
||||
|
||||
.super-card-time-card {
|
||||
|
|
@ -720,11 +720,9 @@
|
|||
height: 153rpx;
|
||||
width: calc(100%);
|
||||
border-top: 1rpx solid transparent;
|
||||
border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -732,24 +730,24 @@
|
|||
z-index: 999;
|
||||
background:
|
||||
/* 左上角水平 */
|
||||
linear-gradient(to right, #0184db, #0184db) top left / 60rpx 8rpx no-repeat,
|
||||
linear-gradient(to right, #A9ACB1, #A9ACB1) top left / 60rpx 8rpx no-repeat,
|
||||
/* 左上角垂直 */
|
||||
linear-gradient(to bottom, #0184db, #0184db) top left / 8rpx 60rpx no-repeat,
|
||||
linear-gradient(to bottom, #A9ACB1, #A9ACB1) top left / 8rpx 60rpx no-repeat,
|
||||
|
||||
/* 右上角水平 */
|
||||
linear-gradient(to left, #0184db, #0184db) top right / 60rpx 8rpx no-repeat,
|
||||
linear-gradient(to left, #A9ACB1, #A9ACB1) top right / 60rpx 8rpx no-repeat,
|
||||
/* 右上角垂直 */
|
||||
linear-gradient(to bottom, #0184db, #0184db) top right / 8rpx 60rpx no-repeat,
|
||||
linear-gradient(to bottom, #A9ACB1, #A9ACB1) top right / 8rpx 60rpx no-repeat,
|
||||
|
||||
/* 左下角水平 */
|
||||
linear-gradient(to right, #0184db, #0184db) bottom left / 60rpx 8rpx no-repeat,
|
||||
linear-gradient(to right, #A9ACB1, #A9ACB1) bottom left / 60rpx 8rpx no-repeat,
|
||||
/* 左下角垂直 */
|
||||
linear-gradient(to top, #0184db, #0184db) bottom left / 8rpx 60rpx no-repeat,
|
||||
linear-gradient(to top, #A9ACB1, #A9ACB1) bottom left / 8rpx 60rpx no-repeat,
|
||||
|
||||
/* 右下角水平 */
|
||||
linear-gradient(to left, #0184db, #0184db) bottom right / 60rpx 8rpx no-repeat,
|
||||
linear-gradient(to left, #A9ACB1, #A9ACB1) bottom right / 60rpx 8rpx no-repeat,
|
||||
/* 右下角垂直 */
|
||||
linear-gradient(to top, #0184db, #0184db) bottom right / 8rpx 60rpx no-repeat;
|
||||
linear-gradient(to top, #A9ACB1, #A9ACB1) bottom right / 8rpx 60rpx no-repeat;
|
||||
}
|
||||
|
||||
.title-time-border-yellow {
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
<view class="doctorsay-container-container">
|
||||
<view class="doctorsay-container-title">
|
||||
<view class="doctorsay-container-left">
|
||||
<view class="doctorsay-container-left-gun"></view>
|
||||
<view class="doctorsay-container-left-font">时间矩阵</view>
|
||||
<!-- <view class="doctorsay-container-left-gun"></view>
|
||||
<view class="doctorsay-container-left-font">时间矩阵</view> -->
|
||||
</view>
|
||||
|
||||
<view class="doctorsay-container-right">
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
<scroll-view style="height: 100%;width: 100%;" :scroll-left="scrollLeft" scroll-x
|
||||
:show-scrollbar="false">
|
||||
<view :style="{width:widthType * 24 + `rpx`}"
|
||||
style="display: flex; box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);background: linear-gradient(to right, #c4dbf4,#c9c2ef, #c6dcf3);">
|
||||
style="display: flex;">
|
||||
<view v-for="(item0,index0) in changetimearr" :key="index0">
|
||||
<view class="super-card-time" :style="{width:widthType + `rpx`}">
|
||||
{{(item0.positioning.length == 1 ? ('0' + item0.positioning) : item0.positioning) + ":00"}}
|
||||
|
|
@ -52,12 +52,13 @@
|
|||
<view v-for="(item1,index1) in item0.children" style="width: 100%;"
|
||||
:key="index1">
|
||||
<view
|
||||
:class="(clickX === index0 && clickY ===index1) ? `title-time-border-blue` : ``"
|
||||
:style="{height:heightType + `rpx`}"
|
||||
class="super-card-time-card" style="position: relative;"
|
||||
@touchend="handleTap(item1,index0,index1,$event)" :data-index0="index0"
|
||||
:data-index1="index1">
|
||||
|
||||
<view class="title-time-blue"
|
||||
v-show="clickX == index0 && clickY == index1">
|
||||
</view>
|
||||
<view :class="getClass(item1,index0,index1)"
|
||||
style="font-size: 30rpx;overflow: hidden;">
|
||||
<view class="title-time" v-if="item1.startTime"
|
||||
|
|
@ -658,10 +659,11 @@
|
|||
width: calc(100% - 4rpx);
|
||||
height: calc(100vh - 4rpx);
|
||||
/* 设置背景图和白色背景 */
|
||||
background: url("/static/index/lightbgcnew.png") center/cover, rgba(255, 255, 255, 0.3);
|
||||
backdrop-filter: blur(20rpx);
|
||||
// background: url("/static/index/lightbgcnew.png") center/cover, rgba(255, 255, 255, 0.3);
|
||||
// backdrop-filter: blur(20rpx);
|
||||
/* 使用 screen 混合模式,让图像与白色混合变淡 */
|
||||
background-blend-mode: screen;
|
||||
// background-blend-mode: screen;
|
||||
background-color: #eff0f4;
|
||||
border-radius: 30rpx;
|
||||
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
|
||||
/* 右下角阴影 */
|
||||
|
|
@ -710,7 +712,7 @@
|
|||
height: 40rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
background-color: #0184db;
|
||||
background-color: #A9ACB1;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
|
|
@ -894,16 +896,17 @@
|
|||
|
||||
.super-card-container {
|
||||
/* 设置背景图和白色背景 */
|
||||
background: url("/static/index/clearmountain.png") center/cover, rgba(255, 255, 255, 0.5);
|
||||
// background: url("/static/index/clearmountain.png") center/cover, rgba(255, 255, 255, 0.5);
|
||||
/* 使用 screen 混合模式,让图像与白色混合变淡 */
|
||||
background-blend-mode: screen;
|
||||
isolation: isolate;
|
||||
// background-blend-mode: screen;
|
||||
// isolation: isolate;
|
||||
overflow: hidden;
|
||||
width: calc(100% - 100rpx);
|
||||
height: 100%;
|
||||
border-radius: 20rpx;
|
||||
border: 2rpx solid #fff;
|
||||
box-shadow: 10rpx 10rpx 20px rgba(0, 0, 0, 0.1);
|
||||
// border-radius: 20rpx;
|
||||
// border: 2rpx solid #fff;
|
||||
// box-shadow: 10rpx 10rpx 20px rgba(0, 0, 0, 0.1);
|
||||
color: #A9ACB1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
|
@ -913,9 +916,9 @@
|
|||
align-items: center;
|
||||
height: 80rpx;
|
||||
width: 380rpx;
|
||||
border-right: 1rpx solid transparent;
|
||||
border-image: repeating-linear-gradient(180deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
font-weight: 700;
|
||||
// border-right: 1rpx solid transparent;
|
||||
// border-image: repeating-linear-gradient(180deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
// font-weight: 700;
|
||||
}
|
||||
|
||||
.super-card-time-und {
|
||||
|
|
@ -926,7 +929,7 @@
|
|||
|
||||
flex-direction: column;
|
||||
border-right: 1rpx solid transparent;
|
||||
border-image: repeating-linear-gradient(180deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
border-image: repeating-linear-gradient(180deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
}
|
||||
|
||||
.super-card-time-card {
|
||||
|
|
@ -936,7 +939,7 @@
|
|||
// height: 180rpx;
|
||||
width: calc(100%);
|
||||
border-top: 1rpx solid transparent;
|
||||
border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
|
||||
|
|
@ -948,24 +951,24 @@
|
|||
z-index: 999;
|
||||
background:
|
||||
/* 左上角水平 */
|
||||
linear-gradient(to right, #0184db, #0184db) top left / 60rpx 8rpx no-repeat,
|
||||
linear-gradient(to right, #A9ACB1, #A9ACB1) top left / 60rpx 8rpx no-repeat,
|
||||
/* 左上角垂直 */
|
||||
linear-gradient(to bottom, #0184db, #0184db) top left / 8rpx 60rpx no-repeat,
|
||||
linear-gradient(to bottom, #A9ACB1, #A9ACB1) top left / 8rpx 60rpx no-repeat,
|
||||
|
||||
/* 右上角水平 */
|
||||
linear-gradient(to left, #0184db, #0184db) top right / 60rpx 8rpx no-repeat,
|
||||
linear-gradient(to left, #A9ACB1, #A9ACB1) top right / 60rpx 8rpx no-repeat,
|
||||
/* 右上角垂直 */
|
||||
linear-gradient(to bottom, #0184db, #0184db) top right / 8rpx 60rpx no-repeat,
|
||||
linear-gradient(to bottom, #A9ACB1, #A9ACB1) top right / 8rpx 60rpx no-repeat,
|
||||
|
||||
/* 左下角水平 */
|
||||
linear-gradient(to right, #0184db, #0184db) bottom left / 60rpx 8rpx no-repeat,
|
||||
linear-gradient(to right, #A9ACB1, #A9ACB1) bottom left / 60rpx 8rpx no-repeat,
|
||||
/* 左下角垂直 */
|
||||
linear-gradient(to top, #0184db, #0184db) bottom left / 8rpx 60rpx no-repeat,
|
||||
linear-gradient(to top, #A9ACB1, #A9ACB1) bottom left / 8rpx 60rpx no-repeat,
|
||||
|
||||
/* 右下角水平 */
|
||||
linear-gradient(to left, #0184db, #0184db) bottom right / 60rpx 8rpx no-repeat,
|
||||
linear-gradient(to left, #A9ACB1, #A9ACB1) bottom right / 60rpx 8rpx no-repeat,
|
||||
/* 右下角垂直 */
|
||||
linear-gradient(to top, #0184db, #0184db) bottom right / 8rpx 60rpx no-repeat;
|
||||
linear-gradient(to top, #A9ACB1, #A9ACB1) bottom right / 8rpx 60rpx no-repeat;
|
||||
}
|
||||
|
||||
.title-time-border-yellow {
|
||||
|
|
@ -1255,4 +1258,31 @@
|
|||
border-top-right-radius: 40rpx;
|
||||
}
|
||||
}
|
||||
.title-time-blue {
|
||||
/* 你的定位与尺寸保持不变 */
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 90%;
|
||||
height: 88%;
|
||||
z-index: 10;
|
||||
|
||||
--color: #99C9FD;
|
||||
--thick: 2px;
|
||||
--radius: 16px;
|
||||
|
||||
border: var(--thick) dashed var(--color);
|
||||
border-radius: var(--radius);
|
||||
|
||||
background:
|
||||
/* 上边 */
|
||||
repeating-linear-gradient(90deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top left / 100% var(--thick) no-repeat,
|
||||
/* 下边 */
|
||||
repeating-linear-gradient(90deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) bottom left / 100% var(--thick) no-repeat,
|
||||
/* 左边 */
|
||||
repeating-linear-gradient(0deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top left / var(--thick) 100% no-repeat,
|
||||
/* 右边 */
|
||||
repeating-linear-gradient(0deg, var(--color) 0 var(--dash), transparent 0 calc(var(--dash) + var(--gap))) top right / var(--thick) 100% no-repeat;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,522 @@
|
|||
```vue
|
||||
<!-- 轮盘(一级圆盘 + 二级左半弧滚动盘)-->
|
||||
<template>
|
||||
<view class="draw-all">
|
||||
<!-- 摄像头 -->
|
||||
<view class="carmera">
|
||||
<image class="all-size" src="/static/index/watch/camera.png" />
|
||||
</view>
|
||||
|
||||
<!-- 轮子背景 -->
|
||||
<view class="roll">
|
||||
<image class="all-size" src="/static/index/watch/panzi.png" />
|
||||
</view>
|
||||
|
||||
<!-- 一级转盘:完整圆盘,可旋转、自动校正、选中最左侧 -->
|
||||
<view ref="compass" class="compass-container" @touchstart.stop.prevent="onTouchStart"
|
||||
@touchmove.prevent.stop="onTouchMove" @touchend.stop.prevent="onTouchEnd"
|
||||
@touchcancel.stop.prevent="onTouchEnd" :style="wrapperStyle">
|
||||
<view v-for="(item, i) in items" :key="i" class="compass-item" :style="itemStyle(item.baseAngle)">
|
||||
<text :class="i===target?`item-label-target`: `item-label`" :style="labelStyle">
|
||||
<view
|
||||
style="z-index: 2;display: flex;flex-direction: column;justify-content: center;align-items: center;">
|
||||
<image style="width: 50rpx;height: 50rpx;margin-bottom: 0rpx;"
|
||||
:src="`/static/index/watch/Wheel/${i}${i===target?1:0}.png`" />
|
||||
<view :style="i===target?{color:'#fff'}:{}">
|
||||
{{ item.label }}
|
||||
</view>
|
||||
</view>
|
||||
<image class="targetimge" src="/static/index/watch/bluetarget.png"
|
||||
:style="{opacity:i===target?1:0}" />
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 二级转盘:只占左半球(90°~270°),竖向滚动、有边界、吸附、最多 5 个 -->
|
||||
<view v-if="items2.length" ref="compass2" class="compass-container second"
|
||||
@touchstart.stop.prevent="onTouchStart2" @touchmove.prevent.stop="onTouchMove2"
|
||||
@touchend.stop.prevent="onTouchEnd2" @touchcancel.stop.prevent="onTouchEnd2" :style="wrapperStyle2"
|
||||
v-show="target">
|
||||
<view v-for="(item, i) in items2" :key="i" class="compass-item" :style="itemStyle2(item.baseAngle)">
|
||||
<text :class="i===target2?`item-label-second-target`: `item-label-second`" :style="labelStyle2">
|
||||
<view
|
||||
style="z-index: 2;display: flex;flex-direction: column;justify-content: center;align-items: center;">
|
||||
<image style="width: 70rpx;height: 70rpx;margin-bottom: 0rpx;"
|
||||
:src="`/static/index/watch/Wheel/${target}${i}${i===target2?1:0}.png`" />
|
||||
<view v-show="target!==-1" :style="i===target2?{color:'#0E86EA'}:{}">
|
||||
{{ item.label }}
|
||||
</view>
|
||||
</view>
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="" v-show="target===5">
|
||||
<joystick @movecard="" :movebottom="44" :moveleft="-5" :pao="false" :notext="true" />
|
||||
</view>
|
||||
|
||||
<!-- 一级手势蒙层 -->
|
||||
<view v-if="dragging==='first'" class="gesture-mask" @touchmove.stop.prevent="onTouchMove"
|
||||
@touchend.stop.prevent="onTouchEnd" @touchcancel.stop.prevent="onTouchEnd" />
|
||||
<!-- 二级手势蒙层 -->
|
||||
<view v-if="dragging==='second'" class="gesture-mask" @touchmove.stop.prevent="onTouchMove2"
|
||||
@touchend.stop.prevent="onTouchEnd2" @touchcancel.stop.prevent="onTouchEnd2" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive, onMounted, computed, nextTick, watch, onBeforeUnmount } from 'vue'
|
||||
import joystick from '@/component/public/newgame/joysticknew.vue';
|
||||
|
||||
const emit = defineEmits([])
|
||||
const props = defineProps({})
|
||||
|
||||
/* ===================== 一级:完整圆盘 ===================== */
|
||||
// 10 个预设方向文字
|
||||
const labels = ['开机', '静音', '对讲', '截屏', '录制', '方位', '清晰度', '分屏', '翻转', '告警']
|
||||
const count = labels.length
|
||||
|
||||
// 一级:每个文字对应的初始角度(360 等分)
|
||||
const items = reactive(
|
||||
labels.map((label, idx) => ({
|
||||
label,
|
||||
baseAngle: (360 / count) * idx
|
||||
}))
|
||||
)
|
||||
// 恢复定时器(最简单的实现)
|
||||
let restoreTimer : number | null = null
|
||||
let restoreTimer2 : number | null = null
|
||||
const RESTORE_MS = 300 // 0.3s
|
||||
// 当前累积旋转角度(一级)
|
||||
const currentAngle = ref(0)
|
||||
let startAngle = 0
|
||||
const dragging = ref<null | 'first' | 'second'>(null)
|
||||
|
||||
let idleTimer : number | null = null
|
||||
function armIdleFinish(handler : () => void, ms = 160) {
|
||||
if (idleTimer) clearTimeout(idleTimer)
|
||||
idleTimer = setTimeout(() => {
|
||||
if (dragging.value) handler()
|
||||
}, ms) as unknown as number
|
||||
}
|
||||
function clearIdle() {
|
||||
if (idleTimer) {
|
||||
clearTimeout(idleTimer)
|
||||
idleTimer = null
|
||||
}
|
||||
}
|
||||
// 圆心坐标(用于一级 atan2)
|
||||
const center = reactive({ x: 0, y: 0 })
|
||||
|
||||
// 获取圆心(以一级容器为基准)
|
||||
onMounted(async () => {
|
||||
await nextTick()
|
||||
uni
|
||||
.createSelectorQuery()
|
||||
.select('.compass-container')
|
||||
.boundingClientRect(rect => {
|
||||
if (rect) {
|
||||
center.x = rect.left + rect.width / 2
|
||||
center.y = rect.top + rect.height / 2
|
||||
}
|
||||
})
|
||||
.exec()
|
||||
})
|
||||
|
||||
// 容器样式(一级)
|
||||
const transitioning = ref(false)
|
||||
const wrapperStyle = computed(() => ({
|
||||
transform: `rotate(${currentAngle.value}deg)`,
|
||||
transition: transitioning.value ? 'transform 0.3s ease-out' : 'none'
|
||||
}))
|
||||
|
||||
// 单项样式(一级)
|
||||
function itemStyle(baseAngle : number) {
|
||||
const radius = 190
|
||||
const rad = (baseAngle * Math.PI) / 180
|
||||
const x = radius * Math.cos(rad)
|
||||
const y = radius * Math.sin(rad)
|
||||
return { transform: `translate(${x}px, ${y}px)` }
|
||||
}
|
||||
|
||||
// 标签正立(一级)
|
||||
const labelStyle = computed(() => ({
|
||||
transform: `rotate(${-currentAngle.value}deg)`
|
||||
}))
|
||||
|
||||
// atan2 角度(一级)
|
||||
function getTouchAngle(e : TouchEvent) {
|
||||
const t = e.touches[0]
|
||||
const dx = t.clientX - center.x
|
||||
const dy = t.clientY - center.y
|
||||
return ((Math.atan2(dy, dx) * 180) / Math.PI) * 2 // 灵敏度×2
|
||||
}
|
||||
function clearRestoreTimer() {
|
||||
if (restoreTimer !== null) {
|
||||
clearTimeout(restoreTimer)
|
||||
restoreTimer = null
|
||||
}
|
||||
}
|
||||
// 选中最左侧索引(一级)
|
||||
const target = ref(5)
|
||||
const saveindex = ref(-1)
|
||||
function startRestoreTimer() {
|
||||
clearTimeout(restoreTimer)
|
||||
restoreTimer = setTimeout(() => {
|
||||
if (target.value === -1) {
|
||||
target.value = saveindex.value
|
||||
}
|
||||
}, 300)
|
||||
}
|
||||
function startRestoreTimer2() {
|
||||
clearTimeout(restoreTimer2)
|
||||
restoreTimer2 = setTimeout(() => {
|
||||
if (target2.value === -1) {
|
||||
target2.value = saveindex2.value
|
||||
}
|
||||
}, 300)
|
||||
}
|
||||
function onTouchStart(e : TouchEvent) {
|
||||
saveindex.value = target.value
|
||||
target.value = -1
|
||||
transitioning.value = false
|
||||
startAngle = getTouchAngle(e) - currentAngle.value
|
||||
dragging.value = 'first'
|
||||
startRestoreTimer()
|
||||
}
|
||||
function onTouchMove(e : TouchEvent) {
|
||||
const angle = getTouchAngle(e)
|
||||
currentAngle.value = angle - startAngle
|
||||
armIdleFinish(onTouchEnd)
|
||||
// 重启恢复定时器:0.3s 内没有新的 move 就恢复 saveindex
|
||||
startRestoreTimer()
|
||||
}
|
||||
function getLeftmostIndex() {
|
||||
let minDiff = Infinity
|
||||
let idx = 0
|
||||
items.forEach((item, i) => {
|
||||
let real = (item.baseAngle + currentAngle.value) % 360
|
||||
if (real < 0) real += 360
|
||||
const diff = Math.abs(real - 180)
|
||||
if (diff < minDiff) {
|
||||
minDiff = diff
|
||||
idx = i
|
||||
}
|
||||
})
|
||||
|
||||
return idx
|
||||
}
|
||||
function onTouchEnd() {
|
||||
// 结束时先清定时器,避免同时恢复和吸附冲突
|
||||
clearRestoreTimer()
|
||||
|
||||
const step = 360 / count
|
||||
const raw = currentAngle.value
|
||||
const nearest = Math.round(raw / step) * step
|
||||
transitioning.value = true
|
||||
currentAngle.value = nearest
|
||||
const leftIndex = getLeftmostIndex()
|
||||
target.value = leftIndex
|
||||
// console.log("???", target.value)
|
||||
setTimeout(() => (transitioning.value = false), 300)
|
||||
dragging.value = null
|
||||
}
|
||||
onBeforeUnmount(() => {
|
||||
if (restoreTimer !== null) clearTimeout(restoreTimer)
|
||||
if (restoreTimer2 !== null) clearTimeout(restoreTimer2)
|
||||
clearIdle()
|
||||
})
|
||||
/* ===================== 二级:左半弧竖向滚动盘 ===================== */
|
||||
// 二级映射(每组最多 5 个)
|
||||
const secondMap : Record<number, string[]> = {
|
||||
0: [],
|
||||
1: [],
|
||||
2: [],
|
||||
3: [],
|
||||
4: [],
|
||||
5: [],
|
||||
6: ['超清', '流畅', '自动'],
|
||||
7: ['180°全景', '四分屏', '360°全景', '全景拉伸', '原图'],
|
||||
8: ['上下翻转', '关闭', '左右翻转'],
|
||||
9: []
|
||||
}
|
||||
|
||||
// 二级数据与状态
|
||||
const items2 = reactive<{ label : string; baseAngle : number }[]>([])
|
||||
const target2 = ref(0)
|
||||
|
||||
// 二级:半弧滚动偏移角(只允许在 [-Δ, +Δ])
|
||||
const currentOffset2 = ref(0)
|
||||
const step2 = ref(0) // Δ = 180 / (n + 1)
|
||||
const transitioning2 = ref(false)
|
||||
|
||||
// 竖向滚动灵敏度(度/像素),可按设备调节
|
||||
const DEG_PER_PX = 0.5
|
||||
|
||||
// 容器样式(二级:整体绕圆心微旋转 currentOffset2)
|
||||
const wrapperStyle2 = computed(() => ({
|
||||
transform: `rotate(${currentOffset2.value}deg)`,
|
||||
transition: transitioning2.value ? 'transform 0.25s ease-out' : 'none'
|
||||
}))
|
||||
|
||||
// 标签正立(二级)
|
||||
const labelStyle2 = computed(() => ({
|
||||
transform: `rotate(${-currentOffset2.value}deg)`
|
||||
}))
|
||||
|
||||
// 单项样式(二级:布局在左半弧 90°~270°)
|
||||
function itemStyle2(baseAngle : number) {
|
||||
const radius = 240
|
||||
const rad = (baseAngle * Math.PI) / 180
|
||||
const x = radius * Math.cos(rad)
|
||||
const y = radius * Math.sin(rad)
|
||||
return { transform: `translate(${x}px, ${y}px)` }
|
||||
}
|
||||
|
||||
// 固定角度位置(左半球从上到下)
|
||||
const presetAngles = [135, 157.5, 180, 202.5, 225]
|
||||
|
||||
// 优先顺序:中间 → 上 → 下 → 上上 → 下下
|
||||
function getBalancedAngles(n : number) : number[] {
|
||||
const order = [2, 1, 3, 0, 4]
|
||||
return order.slice(0, n).map(i => presetAngles[i])
|
||||
}
|
||||
const minOffset2 = ref(0);
|
||||
const maxOffset2 = ref(0);
|
||||
// 替换原来的 rebuildSecondByFirstIndex:
|
||||
function rebuildSecondByFirstIndex(firstIdx : number) {
|
||||
const list = (secondMap[firstIdx] || []).slice(0, 5)
|
||||
const angles = getBalancedAngles(list.length)
|
||||
minOffset2.value = 180 - Math.max(...angles)
|
||||
maxOffset2.value = 180 - Math.min(...angles)
|
||||
items2.splice(0, items2.length)
|
||||
if (!list.length) {
|
||||
currentOffset2.value = 0
|
||||
step2.value = 0
|
||||
target2.value = -1
|
||||
return
|
||||
}
|
||||
|
||||
for (let i = 0; i < list.length; i++) {
|
||||
items2.push({
|
||||
label: list[i],
|
||||
baseAngle: angles[i]
|
||||
})
|
||||
}
|
||||
|
||||
currentOffset2.value = 0
|
||||
step2.value = 22.5 // 每个角度偏移
|
||||
nextTick(() => {
|
||||
target2.value = getLeftmostIndex2()
|
||||
})
|
||||
}
|
||||
// 获取二级“最左侧”(最靠近 180°)的索引
|
||||
function getLeftmostIndex2() {
|
||||
if (!items2.length) return -1
|
||||
let minDiff = Infinity
|
||||
let idx = 0
|
||||
items2.forEach((item, i) => {
|
||||
let real = (item.baseAngle + currentOffset2.value) % 360
|
||||
if (real < 0) real += 360
|
||||
const diff = Math.abs(real - 180)
|
||||
if (diff < minDiff) {
|
||||
minDiff = diff
|
||||
idx = i
|
||||
}
|
||||
})
|
||||
return idx
|
||||
}
|
||||
|
||||
// 监听一级 target,联动二级
|
||||
watch(
|
||||
() => target.value,
|
||||
(idx) => {
|
||||
if (idx >= 0) rebuildSecondByFirstIndex(idx)
|
||||
},
|
||||
{ immediate: true }
|
||||
)
|
||||
|
||||
/* ---- 二级手势:竖向滚动到极限距离([-Δ, +Δ]),松手吸附到 Δ 的整数倍 ---- */
|
||||
let startY2 = 0
|
||||
let startOffset2 = 0
|
||||
|
||||
function clamp2(val : number) {
|
||||
return Math.max(minOffset2.value, Math.min(maxOffset2.value, val))
|
||||
}
|
||||
const saveindex2 =ref(-1)
|
||||
function onTouchStart2(e : TouchEvent) {
|
||||
saveindex2.value = target2.value
|
||||
const t = e.touches[0]
|
||||
startY2 = t.clientY
|
||||
startOffset2 = currentOffset2.value
|
||||
transitioning2.value = false
|
||||
target2.value = -1
|
||||
dragging.value = 'second'
|
||||
startRestoreTimer2()
|
||||
}
|
||||
|
||||
function onTouchMove2(e : TouchEvent) {
|
||||
if (!items2.length) return
|
||||
const t = e.touches[0]
|
||||
const dy = t.clientY - startY2
|
||||
const Δ = step2.value || 1
|
||||
// 上滑为正角度:使用 -dy
|
||||
const raw = startOffset2 + (-dy) * DEG_PER_PX
|
||||
currentOffset2.value = clamp2(raw, -Δ, +Δ)
|
||||
armIdleFinish(onTouchEnd2)
|
||||
startRestoreTimer2()
|
||||
}
|
||||
|
||||
function onTouchEnd2() {
|
||||
if (!items2.length) return
|
||||
const Δ = step2.value || 1
|
||||
// 吸附到 Δ 的整数倍,并限制在 [-Δ, +Δ]
|
||||
const snapped = Math.round(currentOffset2.value / Δ) * Δ
|
||||
transitioning2.value = true
|
||||
currentOffset2.value = clamp2(snapped, -Δ, +Δ)
|
||||
|
||||
// 选中靠近 180° 的项
|
||||
target2.value = getLeftmostIndex2()
|
||||
setTimeout(() => (transitioning2.value = false), 250)
|
||||
dragging.value = null
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.draw-all {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #eff0f4;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
.carmera {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 250rpx;
|
||||
height: 600rpx;
|
||||
width: 200rpx;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.roll {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0rpx;
|
||||
height: 1300rpx;
|
||||
width: 650rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.compass-container {
|
||||
width: 380px;
|
||||
height: 380px;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
right: -60%;
|
||||
transform: translateY(-60%);
|
||||
bottom: 270rpx;
|
||||
margin: auto;
|
||||
touch-action: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.compass-item {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin: -50px 0 0 -50px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.item-label {
|
||||
font-size: 25rpx;
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: linear-gradient(to bottom, #e6e7ed, #f4f5f7);
|
||||
border: 2rpx solid #fff;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.item-label-target {
|
||||
font-size: 25rpx;
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: linear-gradient(to bottom, #e6e7ed, #f4f5f7);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.item-label-second {
|
||||
font-size: 25rpx;
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.item-label-second-target {
|
||||
font-size: 25rpx;
|
||||
width: 130rpx;
|
||||
height: 130rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.all-size {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.targetimge {
|
||||
width: 150rpx;
|
||||
height: 130rpx;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
transition: opacity 0.8s ease;
|
||||
}
|
||||
|
||||
/* 二级容器放在一级之下,尺寸更大一圈(视觉在后面) */
|
||||
.compass-container.second {
|
||||
width: 480px;
|
||||
height: 480px;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
right: -70%;
|
||||
transform: translateY(-70%);
|
||||
bottom: 172rpx;
|
||||
margin: auto;
|
||||
touch-action: none;
|
||||
z-index: 1; // 在一级之下
|
||||
}
|
||||
|
||||
.gesture-mask {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 9999;
|
||||
background: transparent;
|
||||
/* 或 rgba(0,0,0,0.001) */
|
||||
}
|
||||
</style>
|
||||
```
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
export type Link = {
|
||||
url : string;
|
||||
targetUrl : string;
|
||||
};
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.0 KiB |