|
|
|
|
@ -10,13 +10,15 @@
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="bg">
|
|
|
|
|
<movable-area class="bg">
|
|
|
|
|
<movable-view class="bg" scale out-of-bounds direction="all">
|
|
|
|
|
<img :src="bg" alt="" class="bgs">
|
|
|
|
|
|
|
|
|
|
<view v-for="(item,index) in curlist">
|
|
|
|
|
<block v-for="(m,i) in item">
|
|
|
|
|
<uni-transition duration="1500" ref="ani" custom-class="transition"
|
|
|
|
|
:show="index === currentIndex">
|
|
|
|
|
<img :src="dl_cur" alt="" :style="{'top':m.top,'left':m.left,'right':m.right}" class="curs">
|
|
|
|
|
<img :src="m.icon" alt="" :style="{'top':m.top,'left':m.left,'right':m.right}" class="curs">
|
|
|
|
|
</uni-transition>
|
|
|
|
|
<!-- <u-transition :show="true" mode="fade" duration='1000'>
|
|
|
|
|
<img :src="dl_cur" alt="" :style="{'top':m.top,'left':m.left,'right':m.right}" class="curs">
|
|
|
|
|
@ -24,6 +26,10 @@
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
</movable-view>
|
|
|
|
|
</movable-area>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
@ -34,37 +40,43 @@
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
bg: require("./static/dl/dlbg.png"),
|
|
|
|
|
dl_cur: require("./static/dl/dl_cur.png"),
|
|
|
|
|
// dl_cur: require("./static/dl/dl_cur.png"),
|
|
|
|
|
currentIndex: '',
|
|
|
|
|
isshow:true,
|
|
|
|
|
curlist: [
|
|
|
|
|
[{
|
|
|
|
|
'top': '268rpx',
|
|
|
|
|
'left': '13rpx',
|
|
|
|
|
'right': ''
|
|
|
|
|
'top': '192rpx',
|
|
|
|
|
'left': '16rpx',
|
|
|
|
|
'right': '',
|
|
|
|
|
'icon': require("./static/dl/dl_cur1.png")
|
|
|
|
|
}, {
|
|
|
|
|
'top': '268rpx',
|
|
|
|
|
'right': '10rpx',
|
|
|
|
|
'left': ''
|
|
|
|
|
'top': '154rpx',
|
|
|
|
|
'right': '7rpx',
|
|
|
|
|
'left': '',
|
|
|
|
|
'icon': require("./static/dl/dl_cur2.png")
|
|
|
|
|
}, {
|
|
|
|
|
'top': '320rpx',
|
|
|
|
|
'right': '10rpx',
|
|
|
|
|
'left': ''
|
|
|
|
|
'top': '234rpx',
|
|
|
|
|
'right': '7rpx',
|
|
|
|
|
'left': '',
|
|
|
|
|
'icon': require("./static/dl/dl_cur4.png")
|
|
|
|
|
}],
|
|
|
|
|
[{
|
|
|
|
|
'top': '290rpx',
|
|
|
|
|
'right': '50rpx',
|
|
|
|
|
'left': ''
|
|
|
|
|
'top': '200rpx',
|
|
|
|
|
'right': '46rpx',
|
|
|
|
|
'left': '',
|
|
|
|
|
'icon': require("./static/dl/dl_cur3.png")
|
|
|
|
|
}],
|
|
|
|
|
[{
|
|
|
|
|
'top': '424rpx',
|
|
|
|
|
'top': '334rpx',
|
|
|
|
|
'left': '',
|
|
|
|
|
'right': '265rpx',
|
|
|
|
|
'right': '241rpx',
|
|
|
|
|
'icon': require("./static/dl/dl_cur5.png")
|
|
|
|
|
}],
|
|
|
|
|
[{
|
|
|
|
|
'top': '424rpx',
|
|
|
|
|
'left': '266rpx',
|
|
|
|
|
'top': '334rpx',
|
|
|
|
|
'left': '249rpx',
|
|
|
|
|
'right': '',
|
|
|
|
|
'icon': require("./static/dl/dl_cur6.png")
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
list: [{
|
|
|
|
|
@ -72,8 +84,8 @@
|
|
|
|
|
icon: require("./static/dl/dl1.png"),
|
|
|
|
|
icon1: require("./static/dl/dl1_cur.png"),
|
|
|
|
|
show: false,
|
|
|
|
|
width: '42rpx',
|
|
|
|
|
height: '46rpx'
|
|
|
|
|
width: '50rpx',
|
|
|
|
|
height: '50rpx'
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// text: '楼梯',
|
|
|
|
|
@ -88,7 +100,7 @@
|
|
|
|
|
icon: require("./static/dl/dl3.png"),
|
|
|
|
|
icon1: require("./static/dl/dl3_cur.png"),
|
|
|
|
|
show: false,
|
|
|
|
|
width: '38rpx',
|
|
|
|
|
width: '64rpx',
|
|
|
|
|
height: '64rpx'
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
@ -104,15 +116,15 @@
|
|
|
|
|
icon: require("./static/dl/dl5.png"),
|
|
|
|
|
icon1: require("./static/dl/dl5_cur.png"),
|
|
|
|
|
show: false,
|
|
|
|
|
width: '44rpx',
|
|
|
|
|
height: '38rpx'
|
|
|
|
|
width: '50rpx',
|
|
|
|
|
height: '50rpx'
|
|
|
|
|
}, {
|
|
|
|
|
text: '休息区',
|
|
|
|
|
icon: require("./static/dl/dl6.png"),
|
|
|
|
|
icon1: require("./static/dl/dl6_cur.png"),
|
|
|
|
|
show: false,
|
|
|
|
|
width: '54rpx',
|
|
|
|
|
height: '38rpx'
|
|
|
|
|
width: '64rpx',
|
|
|
|
|
height: '64rpx'
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// text: '出入口',
|
|
|
|
|
@ -158,6 +170,8 @@
|
|
|
|
|
padding: 30rpx 15rpx;
|
|
|
|
|
margin-bottom: 80rpx;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
z-index:9999;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav>view {
|
|
|
|
|
@ -198,10 +212,11 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg img.curs {
|
|
|
|
|
width: 80rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
width: 132rpx;
|
|
|
|
|
height: 170rpx;
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 999;
|
|
|
|
|
opacity:0.9;
|
|
|
|
|
/* top:0;
|
|
|
|
|
left:0;
|
|
|
|
|
right:0 */
|
|
|
|
|
|