You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
707 B
42 lines
707 B
2 weeks ago
|
<template>
|
||
|
<view :class="['container', extend_class]">
|
||
|
<image class="background" src="@/static/components/swiper/exercise/background.png"></image>
|
||
|
<image class="button" @click="go_to_exercise" src="@/static/components/swiper/exercise/button.png"></image>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
|
||
|
export default {
|
||
|
name: "exercise",
|
||
|
data() {
|
||
|
return {};
|
||
|
},
|
||
|
methods:{
|
||
|
go_to_my_exercise_plan() {
|
||
|
uni.navigateTo({
|
||
|
url: '/pages/homepages/homes/my_exercise_plan/my_exercise_plan'
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss">
|
||
|
.background{
|
||
|
position: absolute;
|
||
|
width: 100%;
|
||
|
|
||
|
}
|
||
|
.button{
|
||
|
position: absolute;
|
||
|
height: 18%;
|
||
|
width: 34%;
|
||
|
left: 7%;
|
||
|
top: 74%;
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
</style>
|