Commit 554d8c18 authored by lvtz's avatar lvtz

fix

parent 4fbdc9fa
......@@ -60,7 +60,7 @@ App({
this.setGlobalData(false, params);
},
onHide: function () { // 小程序从前台进入后台时
console.log('影藏')
// console.log('隐藏')
},
onError: function (err) {
},
......
......@@ -902,5 +902,6 @@ Page({
wx.redirectTo({
url: `/business/pages/themeindex/index?id=${this.data.id}&tid=${this.data.newCreateId}&sid=${this.data.sid}`,
})
}
},
true(){}
})
\ No newline at end of file
<view class="container {{modalClass?'containerDisabledScroll':''}}">
<view class="container">
<view class="theme-editor-container clearfix {{showWarn ? 'opacitybody' : ''}}">
<!-- <view class="broadcast-box clearfix mb24">
<image class="broadcast-img" src="{{imageRoot}}2b/shopeditor/voiceicon.png?{{imageVersion}}">
......@@ -23,11 +23,11 @@
<view class="section-item section-themetitle">
<view class="form-item">
<view class="item-l">
<textarea class="title-input" bindinput="titleInput" value="{{params.title}}" placeholder="请输入此次作业标题"></textarea>
<textarea class="title-input" bindinput="titleInput" value="{{params.title}}" placeholder="请输入此次作业标题" wx:if="{{!modalClass}}" auto-height="true"></textarea>
<view class="title-input title-input-mock" wx:else>{{params.title?params.title:'请输入此次作业标题'}}</view>
</view>
<view class="item-r">{{params.title.length}}/36</view>
</view>
</view>
<view class="mock-titlebox">
<view class="mock-item {{item.type==currentMockType? 'active': ''}}" wx:for="{{mockTitleList}}" wx:key="" data-type="{{item.type}}" bindtap="bindMockTitle">{{item.label}}</view>
......@@ -124,7 +124,7 @@
</form>
</view>
<view class="modal {{modelClassAnimate? 'hide': ''}}" hidden="{{!modalClass}}">
<view class="modal {{modelClassAnimate? 'hide': ''}}" hidden="{{!modalClass}}" catchtouchmove="true">
<view class="mask" bindtap="hideClassSelectModal"></view>
<view class="modal-content">
<scroll-view class="opt-list" scroll-y="{{true}}" lower-threhold="200" bindscrolltolower="scrolltolowerClass">
......@@ -136,7 +136,7 @@
</view>
</view>
<view class="modal-dialog success-dailog" wx:if="{{successDailogShow}}">
<view class="modal-dialog success-dailog" wx:if="{{successDailogShow}}" catchtouchmove="true">
<view class="modal-mask"></view>
<view class="modal-box">
<image class="top-imgbg" src="{{imageRoot}}2b/themeeditor/dailog-bj.png?{{imageVersion}}"/>
......
......@@ -98,7 +98,7 @@ page{
.modal .modal-content .opt-list{
max-height: 965rpx;
border-bottom: 16rpx solid #EDEDED;
overflow: hidden;
overflow: auto;
}
.modal .modal-content .opt-item{
height: 95rpx;
......@@ -232,12 +232,19 @@ page{
margin-left: 20rpx;
}
.section-item.section-themetitle{
padding: 30rpx 0;
padding: 34rpx 0;
position: relative;
}
.section-item.section-themetitle .item-l{
width: calc(100% - 100rpx);
}
.section-item.section-themetitle .item-l .title-input{
height: 80rpx;
padding: 0 24rpx;
line-height: 34rpx;
padding: 0 15rpx;
width: 100%;
}
.section-item.section-themetitle .item-l .title-input-mock{
padding: 5rpx 21rpx;
}
.section-item.section-themetitle .item-r{
width: 94rpx;
......
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