|
|
@@ -11,29 +11,52 @@
|
|
|
<div class="top-progress-num"><span>{{2}}</span>/{{36}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="memo adfac" v-if="type==='questionnaire'" @click="noticeShow=true">
|
|
|
+ <text>问卷答题说明</text>
|
|
|
+ <image :src="imgBase+'icon_memo.png'"></image>
|
|
|
+ </div>
|
|
|
<div class="list">
|
|
|
<question-item v-for="(item,index) in list" :key="index" :item="item"></question-item>
|
|
|
</div>
|
|
|
<div class="bottom adfacjb">
|
|
|
- <div class="bottom-left adffcac" @click="teamShow=true">
|
|
|
+ <div class="bottom-left adffcac" @click="teamShow=true" v-if="!type">
|
|
|
<image :src="imgBase+'team_info.png'"></image>
|
|
|
<text>团队信息</text>
|
|
|
</div>
|
|
|
- <div class="bottom-right" @click="confirmSubmit">提交问卷</div>
|
|
|
+ <div class="bottom-left adfac" v-else-if="type==='questionnaire'">
|
|
|
+ <div class="bottom-left-pre adffcac" @click="teamShow=true">
|
|
|
+ <image :src="imgBase+'questionnaire_info.png'"></image>
|
|
|
+ <text>团队信息</text>
|
|
|
+ </div>
|
|
|
+ <div class="bottom-left-pre adffcac" @click="userShow=true">
|
|
|
+ <image :src="imgBase+'questionnaire_users.png'"></image>
|
|
|
+ <text>团队人员</text>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="bottom-right" :class="{'questionnaire':type==='questionnaire'}" @click="confirmSubmit">提交问卷</div>
|
|
|
</div>
|
|
|
+ <cus-notice title="问卷答题说明" :show="noticeShow" :content="noticeContent"
|
|
|
+ @close="noticeShow=false" @handleKnow="noticeShow=false"></cus-notice>
|
|
|
<cus-team-info :show="teamShow" :teamInfo="teamInfo" @close="teamShow=false"></cus-team-info>
|
|
|
+ <cus-team-user :show="userShow" :list="teamUserList" @close="userShow=false"></cus-team-user>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import QuestionItem from '@/components/QuestionItem/index3.vue'
|
|
|
+ import CusNotice from '@/components/CusNotice/index.vue'
|
|
|
import CusTeamInfo from '@/components/CusTeamInfo/index.vue'
|
|
|
import CusTeamUser from '@/components/CusTeamUser/index.vue'
|
|
|
export default {
|
|
|
- components:{ QuestionItem, CusTeamInfo, CusTeamUser },
|
|
|
+ components:{ CusNotice, QuestionItem, CusTeamInfo, CusTeamUser },
|
|
|
data(){
|
|
|
return {
|
|
|
+ type:'',
|
|
|
+ noticeShow:false,
|
|
|
+ noticeContent:`问卷答题说明<br/><br/>问卷答题说明<br/><br/>问卷答题说明<br/><br/>问卷答题说明`,
|
|
|
teamShow:false,
|
|
|
+ userShow:false,
|
|
|
+ teamUserList:[],
|
|
|
list:[
|
|
|
{
|
|
|
question:'我们的团队成员可以清晰阐述团队的共享目的 We can collectively and clearly articulate our shared purpose',
|
|
|
@@ -76,11 +99,14 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ onLoad(options) {
|
|
|
+ this.type = options.type;
|
|
|
+ },
|
|
|
methods:{
|
|
|
confirmSubmit(){
|
|
|
- uni.navigateTo({
|
|
|
- url:'/pagesPublish/questionnaireResult'
|
|
|
- })
|
|
|
+ let url = '/pagesPublish/questionnaireResult'
|
|
|
+ if(this.type === 'questionnaire') url = '/pagesPublish/submitResult'
|
|
|
+ uni.navigateTo({ url })
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -141,6 +167,22 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .memo{
|
|
|
+ margin: -20rpx 0 50rpx 24rpx;
|
|
|
+ text{
|
|
|
+ font-family: PingFangSC, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 24rpx;
|
|
|
+ color: #AD78A6;
|
|
|
+ line-height: 30rpx;
|
|
|
+ }
|
|
|
+ image{
|
|
|
+ width: 24rpx;
|
|
|
+ height: 24rpx;
|
|
|
+ margin-left: 9rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
.list{
|
|
|
flex: 1;
|
|
|
@@ -171,6 +213,11 @@
|
|
|
line-height: 40rpx;
|
|
|
margin-top: 2rpx;
|
|
|
}
|
|
|
+ &-pre{
|
|
|
+ &:last-child{
|
|
|
+ margin-left: 40rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
&-right{
|
|
|
width: 448rpx;
|
|
|
@@ -184,6 +231,9 @@
|
|
|
line-height: 88rpx;
|
|
|
text-align: center;
|
|
|
letter-spacing: 2rpx;
|
|
|
+ &.questionnaire{
|
|
|
+ width: 383rpx;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|