| | |
| | | <!-- 填空题 --> |
| | | <view wx:if="{{item.questionType == 'completion'}}"> |
| | | <view class="completion-box" wx:for="{{item.stem}}" wx:for-item="inputItem" wx:for-index="inputIndex" wx:key="inputIndex"> |
| | | <t-input disabled="{{item.isComplete}}" bind:change="onChangeInput" data-value="{{item.option}}" data-id="{{item.id}}" data-index="{{inputItem.num}}" class="title-input {{isNight ? 'input-night-color' : ''}}" style="border: 2rpx solid rgba(220,220,220,1);border-radius: 12rpx;background-color:{{isNight ? '#000' : '#fff'}}; " placeholder-style="{{placeholderstyle}}" wx:if="{{inputItem.data == 'input'}}" placeholder="请输入文字" value="{{item.userAnswer[inputItem.num]}}"></t-input> |
| | | <t-input disabled="{{item.isComplete}}" borderless bind:change="onChangeInput" data-value="{{item.option}}" data-id="{{item.id}}" data-index="{{inputItem.num}}" class="title-input {{isNight ? 'input-night-color' : ''}}" style="border: 2rpx solid rgba(220,220,220,1);border-radius: 12rpx;background-color:{{isNight ? '#000' : '#fff'}}; " placeholder-style="{{placeholderstyle}}" wx:if="{{inputItem.data == 'input'}}" placeholder="请输入文字" value="{{item.userAnswer[inputItem.num]}}"></t-input> |
| | | <text wx:else class="text-space">{{inputItem}}</text> |
| | | </view> |
| | | </view> |
| | |
| | | margin-bottom: 15rpx; |
| | | } |
| | | |
| | | .t-input--border::after { |
| | | height: 0 !important; |
| | | } |
| | | |
| | | .title-input { |
| | | /* display: inline-block; */ |
| | | height: 40rpx; |
| | |
| | | } |
| | | |
| | | .takeNotesLining { |
| | | margin: 25rpx; |
| | | margin: 30rpx 25rpx; |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | align-items: center; |
| | |
| | | } |
| | | |
| | | .t-tabs__item--active { |
| | | color: #FF6C00 !important; |
| | | color: #333 !important; |
| | | } |
| | | |
| | | .t-tabs__track { |
| | |
| | | .takeNotes image { |
| | | width: 30rpx; |
| | | height: 30rpx; |
| | | margin-top: 10rpx; |
| | | margin-right: 10rpx; |
| | | } |
| | | |
| | | .takeNotesLining { |
| | | margin: 25rpx; |
| | | margin: 30rpx 25rpx; |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | align-items: center; |
| | |
| | | } |
| | | |
| | | .t-tabs__item--active { |
| | | color: #FF6C00 !important; |
| | | color: #333 !important; |
| | | |
| | | } |
| | | |
| | |
| | | method: 'post', |
| | | data: body |
| | | }).then((resp) => { |
| | | console.log(resp, 'resp'); |
| | | //图书 0 |
| | | const data1 = resp[0] |
| | | const datas1 = handleQueryResourceListData({ |
| | |
| | | |
| | | <view class="tabsBox"> |
| | | <!-- sticky="true" --> |
| | | <t-tabs t-class="custom-tabs" split="{{false}}" defaultValue="{{tabValue}}" bind:change="onTabsChange" bind:click="onTabsClick"> |
| | | <t-tabs t-class="t-tabs" split="{{false}}" defaultValue="{{tabValue}}" bind:change="onTabsChange" bind:click="onTabsClick"> |
| | | <t-tab-panel label="图书({{bookTotal}})" value="0" style="{{tabPanelstyle}}"> |
| | | <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower"> |
| | | <view class="bookDataBox"> |
| | |
| | | } |
| | | |
| | | .t-tabs__item { |
| | | /* flex: 1 !important; */ |
| | | flex: 1 !important; |
| | | } |
| | | |
| | | |