Files
shoot-miniprograms/src/pages/practise.vue
2025-07-02 17:21:44 +08:00

76 lines
1.6 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup>
import Container from "@/components/Container.vue";
import Guide from "@/components/Guide.vue";
const toPractiseOne = () => {
uni.navigateTo({
url: "/pages/practise-one",
});
};
const toPractiseTwo = () => {
uni.navigateTo({
url: "/pages/practise-two",
});
};
</script>
<template>
<Container title="个人练习">
<view :style="{ width: '100%' }">
<Guide>
<text :style="{ color: '#fed847' }"
>师傅领进门修行靠自身赶紧练起来吧</text
>
<text :style="{ fontSize: '12px' }"
>坚持练习就能你快速升级早日加入全国排位赛</text
>
</Guide>
<image
src="../static/practise-bg.png"
class="practise-bg"
mode="widthFix"
:style="{ marginTop: 0 }"
/>
<view class="practise-btn" @click="toPractiseOne">
<image
src="../static/practise1.png"
class="practise1"
mode="widthFix"
/>
</view>
<image
src="../static/practise-bg.png"
class="practise-bg"
mode="widthFix"
/>
<view class="practise-btn" @click="toPractiseTwo">
<image
src="../static/practise2.png"
class="practise2"
mode="widthFix"
/>
</view>
<image
src="../static/practise-bg.png"
class="practise-bg"
mode="widthFix"
/>
</view>
</Container>
</template>
<style scoped>
.practise-btn {
width: 100%;
margin-top: -6px;
}
.practise-btn > image {
width: 100%;
}
.practise-bg {
width: 100%;
margin-top: -6px;
}
</style>