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.

55 lines
882 B

4 years ago
<template>
<view class="content">
<view class="admin">
<button type="primary" @click="tocode(1)" plain="true">参观核销</button>
</view>
<view class="admin">
<button type="primary" @click="tocode(2)" plain="true">活动核销</button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
tocode(type){
let url = "/pages/index/visit";
if(type==2){
url = "/pages/index/activity"
}else{
url = "/pages/index/visit"
}
uni.navigateTo({
url: url
});
}
}
}
</script>
<style>
.content{
}
.btn input{
border:1px solid #ddd;
height:40px;
padding:5px 10px;
margin:10px;
margin-top:30px;
}
.admin{
text-align: center;
}
.admin button{
margin:10px;
margin-top:20px;
}
</style>