Commit 8ba979fa authored by zhengke's avatar zhengke

修改

parent bee586fa
<template>
<view class="indexpage">
<div class="wenjuan_dc" @click="goTongji()">
<img src="../../static/image/wjdc.png" alt="" />
</div>
<navbar class="navbarSticky" bg="#F5F5F5">
<view class="navbarCon">
<view class="pagetitle">
......@@ -45,9 +48,6 @@
<view class="wordTitle">
单词练习
</view>
<view @click="goTongji()">
跳转
</view>
<view class="flex_around_center ">
<view class="wordItem">
<text class="wordItemTitle">今日新词</text>
......@@ -191,7 +191,7 @@
let methods = {
goTongji(){
this.jumpPage('/pages/study/questionNaire');
this.jumpPage('/pages/study/questionNaire?ActivitySurveyId=6');
},
jumpPage(url) {
uni.navigateTo({
......@@ -326,7 +326,18 @@
background-color: #F5F5F5;
box-sizing: border-box;
}
.wenjuan_dc{
position: fixed;
width:83rpx;
height:83rpx;
right:30rpx;
bottom:200rpx;
z-index:999;
}
.wenjuan_dc img{
width:100%;
height:100%;
}
.navbarSticky {
display: sticky;
top: 0;
......
......@@ -72,6 +72,9 @@
export default {
components: {},
onLoad(options) {
if (options&&options.ActivitySurveyId) {
this.msg.ActivitySurveyId = options.ActivitySurveyId;
}
this.GetSurveyInfo();
},
setup(props) {
......@@ -79,16 +82,15 @@
proxy
} = getCurrentInstance();
let data = reactive({
msg: {},
msg: {
ActivitySurveyId:0
},
count: 5,
dataObj: {}
})
let methods = {
async GetSurveyInfo() {
var qMsg = {
ActivitySurveyId: 6
};
let res = await querySurveyInfo(qMsg);
let res = await querySurveyInfo(data.msg);
if (res) {
//this.loading = false;
this.dataObj = res.data;
......
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