zhongshujie
2024-12-19 8a27f5724e10e82cc5a30bf7051397da2e697e63
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!--packageBookService/pages/psychologyAnswer/psychologyAnswer.wxml-->
<view
  class="page"
  wx:if="{{!loading}}"
  style="background-color:{{isNight ? '#222' : ''}}"
>
  <view
    wx:if="{{!loading}}"
    class="page-content"
    style="background-color:{{isNight ? '#222' : ''}}"
  >
    <question-list
      wx:if="{{!loading}}"
      sliderValue="{{sliderValue}}"
      isNight="{{isNight}}"
      currentIndex="{{currentIndex}}"
      questionList="{{questionDataList}}"
      questionTitle="{{questionDataTitle}}"
      questionOptions="{{questionDataOptions}}"
      submitStatus="{{submitStatus}}"
      noData="{{noData}}"
      bind:onChangeRadio="onChangeRadio"
      bind:handeleOption="handeleOption"
      bind:onChangeInput="onChangeInput"
      bind:changeSwiper="changeSwiper"
      bind:viewParsing="viewParsing"
    ></question-list>
  </view>
  <!-- 底部区域-->
  <view
    class="page-bottom"
    style="background-color:{{isNight ? '#202020' : ''}}"
    wx:if="{{!loading}}"
  >
    <question-options
      wx:if="{{!loading}}"
      id="question-options"
      isShowDialog="{{isShowDialog}}"
      isNight="{{isNight}}"
      submitStatus="{{submitStatus}}"
      currentIndex="{{currentIndex}}"
      questionDataList="{{questionDataList}}"
      showId="{{showId}}"
      scoreData="{{scoreDataList}}"
      bind:setCollect="setCollect"
      bind:submitPaper="submitPaper"
      bind:openIsShowDialog="openIsShowDialog"
      bind:restart="restart"
      bind:goQuestion="goQuestion"
      bind:changeBGColor="changeBGColor"
      bind:onChangeSlider="onChangeSlider"
      bind:changeLoadingState="changeLoadingState"
      bind:changeNavBarColor="changeNavBarColor"
    ></question-options>
  </view>
</view>
 
<page-container
  wx:if="{{loading}}"
  show="{{showDialog}}"
  duration="{{false}}"
  overlay="{{false}}"
  bind:beforeleave="beforeleave"
></page-container>