Commit fbd54671 authored by zhengke's avatar zhengke

no message

parent 820745d5
......@@ -13,7 +13,7 @@
</view>
</view>
</view>
<view class="examComponents-center-box">
<view class="examComponents-center-box" @click="scoreDetails">
<view class="examComponents-center-line"></view>
<view class="examComponents-center flex">
<view class="examComponents-left">
......@@ -67,15 +67,19 @@
setup() {
let data = reactive({
obj: {
Name: '',
Photo: '',
},
showPhone: false,
showLogin: true, //多次点击
});
let methods={
scoreDetails(){
uni.reLaunch({
url: '/pages/index/scoreDetails'
});
}
}
return {
...toRefs(data),
...methods
};
},
};
......
......@@ -9,6 +9,11 @@
"style": {
"navigationStyle": "custom"
}
},{
"path": "pages/index/scoreDetails",
"style": {
"navigationStyle": "custom"
}
},{
"path": "pages/login/login",
"style": {
......
<template>
<view class="indexpage">
<navbar class="navbarSticky" bg="#F6F6F6">
<view class="index-header-box">
111
</view>
</navbar>
</view>
</template>
<script>
import vue, {
ref,
reactive,
toRefs,
toRef,
getCurrentInstance,
watch,
computed,
onMounted,
provide,
nextTick,
} from "vue";
import {
getSweepCode
} from '../../api/index.js'
import {
getImageColor
} from '../../utils/index.js'
import indexassembly from './components/indexassembly.vue'
import navbar from '../../components/navbar.vue'
import bottom from '../../components/bottom.vue'
export default {
components: {
navbar,
},
setup(props) {
let {
proxy
} = getCurrentInstance();
let data = reactive({
ActiveMsg: {
pageIndex: 1,
pageSize: 10,
ActivityType: 0,
SelectIsEnd: 0,
},
ActivityList: [],
pageData: {
LearningGardenList: []
},
SurveyObj:{
ActivitySurveyId:0,
ActivitySurveyGuestId:0,
},
userData: {}
});
let methods = {
};
onMounted(() => {
});
return {
...toRefs(data),
...methods,
};
},
onShow() {
this.getActivityData();
this.getIndexData();
this.userData = uni.getStorageSync('userInfo');
},
onShareAppMessage() {
return {
title: "甲小鹤",
query: "/pages/index/index",
imageUrl: "",
};
},
onShareTimeline() {
return {
title: "甲小鹤",
query: "/pages/index/index",
imageUrl: "",
};
},
};
</script>
<style scoped>
.navbarSticky {
display: sticky;
top: 0;
z-index: 9;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment