This commit is contained in:
parent
6d09a05c30
commit
e4335de6b5
|
|
@ -165,14 +165,20 @@
|
||||||
false // 不补零
|
false // 不补零
|
||||||
)
|
)
|
||||||
const playall = ref(false);
|
const playall = ref(false);
|
||||||
|
let clickAudio
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
playall.value = true;
|
playall.value = true;
|
||||||
ceshi()
|
ceshi()
|
||||||
|
clickAudio = uni.createInnerAudioContext()
|
||||||
|
clickAudio.src = '/static/click.mp3'
|
||||||
|
clickAudio.volume = 0.4
|
||||||
})
|
})
|
||||||
|
|
||||||
const housedex = ref(0);
|
const housedex = ref(0);
|
||||||
const navurl = ref('')
|
const navurl = ref('')
|
||||||
const housactive = (index : number) => {
|
const housactive = (index : number) => {
|
||||||
|
clickAudio.stop() // 防止叠音(Galgame 必备)
|
||||||
|
clickAudio.play()
|
||||||
console.log(index)
|
console.log(index)
|
||||||
housedex.value = index;
|
housedex.value = index;
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
|
|
@ -459,6 +465,7 @@
|
||||||
border-right: 0.5vw solid transparent;
|
border-right: 0.5vw solid transparent;
|
||||||
border-top: 0.5vw solid #0385fa;
|
border-top: 0.5vw solid #0385fa;
|
||||||
}
|
}
|
||||||
|
|
||||||
.triangle-left-bgc {
|
.triangle-left-bgc {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 2.68vw;
|
top: 2.68vw;
|
||||||
|
|
@ -509,6 +516,7 @@
|
||||||
border-right: 0.55vw solid transparent;
|
border-right: 0.55vw solid transparent;
|
||||||
border-bottom: 0.55vw solid transparent;
|
border-bottom: 0.55vw solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.triangle-left {
|
.triangle-left {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 2.68vw;
|
top: 2.68vw;
|
||||||
|
|
@ -544,6 +552,7 @@
|
||||||
height: 5vw;
|
height: 5vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.pickingtag {
|
.pickingtag {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 24vw;
|
top: 24vw;
|
||||||
|
|
@ -559,6 +568,7 @@
|
||||||
height: 5vw;
|
height: 5vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.wanjietag {
|
.wanjietag {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 22vw;
|
top: 22vw;
|
||||||
|
|
@ -597,30 +607,35 @@
|
||||||
left: 35.5vw;
|
left: 35.5vw;
|
||||||
z-index: 51;
|
z-index: 51;
|
||||||
}
|
}
|
||||||
|
|
||||||
.returntag {
|
.returntag {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 32.5vw;
|
top: 32.5vw;
|
||||||
left: 84vw;
|
left: 84vw;
|
||||||
z-index: 51;
|
z-index: 51;
|
||||||
}
|
}
|
||||||
|
|
||||||
.leadtag {
|
.leadtag {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 44vw;
|
top: 44vw;
|
||||||
left: 71vw;
|
left: 71vw;
|
||||||
z-index: 51;
|
z-index: 51;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-title {
|
.right-title {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 2vw;
|
right: 2vw;
|
||||||
top: 3vw;
|
top: 3vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.title-imge {
|
.title-imge {
|
||||||
width: 1.8vw;
|
width: 1.8vw;
|
||||||
height: 1.8vw;
|
height: 1.8vw;
|
||||||
margin-right: 0.5vw;
|
margin-right: 0.5vw;
|
||||||
// margin-top: -0.3vw;
|
// margin-top: -0.3vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-font {
|
.title-font {
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
// margin-left: 3vw;
|
// margin-left: 3vw;
|
||||||
|
|
@ -628,6 +643,7 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// <view class="right-title">
|
// <view class="right-title">
|
||||||
// <image class="title-imge" src="/static/index/indeximage.png" mode="aspectFit"></image>
|
// <image class="title-imge" src="/static/index/indeximage.png" mode="aspectFit"></image>
|
||||||
// <view class="title-font">
|
// <view class="title-font">
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue