Commit 8ba979fa authored by zhengke's avatar zhengke

修改

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