Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
wechatapp.shangjiadao.com
Commits
b0948efa
Commit
b0948efa
authored
Mar 31, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e77e9e60
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
4 deletions
+27
-4
index.js
business/pages/themeeditor/index.js
+1
-1
index.wxml
business/pages/themeeditor/index.wxml
+1
-1
index.wxml
components/newsjdmediaeditor/index.wxml
+2
-1
index.wxss
components/newsjdmediaeditor/index.wxss
+10
-0
index.wxml
components/sjdmediaeditor/index.wxml
+3
-1
index.wxss
components/sjdmediaeditor/index.wxss
+10
-0
No files found.
business/pages/themeeditor/index.js
View file @
b0948efa
...
...
@@ -168,7 +168,7 @@ Page({
videoId
:
''
,
src
:
''
},
placeholder
:
'请输入打卡作业的具体要求
,如:演唱歌曲《小小少年》
\
r
\
n演唱歌曲《小小少年》,具体要求
\
r
\
n1.跟随伴奏唱一段副歌
\
r
\
n2.视频录下唱歌过程
\
r
\
n3.上传歌唱视频打卡成功
\
r
\
n如果有该歌曲示例视频,你可以点击上传视频,供学员参考。
'
,
placeholder
:
'请输入打卡作业的具体要求'
,
audioStorage
:
{
},
...
...
business/pages/themeeditor/index.wxml
View file @
b0948efa
...
...
@@ -334,7 +334,7 @@
<sound-recording sid="{{sid}}" show="{{audioStatus.show}}" bind:addVoice="addVoice" bind:pushVoice="pushVoice">
</sound-recording>
</view>
<
view class="form-fixbtn" bindtap="saveTheme">发布</
view>
<
cover-view class="form-fixbtn" bindtap="saveTheme">发布</cover-
view>
</view>
<view class="modal-dialog" wx:if="{{changesubjectCountInputShow}}">
<view class="modal-mask"></view>
...
...
components/newsjdmediaeditor/index.wxml
View file @
b0948efa
...
...
@@ -3,7 +3,8 @@
<view class="media-content-box {{exchangeIndex - 1 == index ? 'down' : '' }} {{exchangeIndex == index ? 'up' : '' }}" wx:for="{{content}}" wx:key="index">
<view class="media-box-item media-text-item" data-type="{{item.type}}" data-index="{{index}}" wx:if="{{item.type == 'text'}}">
<image class="del-icon" data-type="{{item.type}}" data-index="{{index}}" src="{{imageRoot}}2b/common/icon_delblue.png?{{imageVersion}}" bindtap="delitem"></image>
<basetextarea class="basetextarea-style" bindinput="textareaChange" data-type="{{item.type}}" maxlength="500" data-index="{{index}}" value="{{item.value}}" placeholder="{{placeholder}}"></basetextarea>
<!-- <basetextarea class="basetextarea-style" bindinput="textareaChange" data-type="{{item.type}}" maxlength="500" data-index="{{index}}" value="{{item.value}}" placeholder="{{placeholder}}"></basetextarea> -->
<textarea bindinput="textareaChange" auto-height="{{true}}" maxlength="500" data-index="{{index}}" value="{{item.value}}" placeholder="{{placeholder}}"></textarea>
<text class="word-count">{{item.value.length}}/500</text>
<view class="exchange-btn" wx:if="{{index != 0}}" data-type="{{item.type}}" data-index="{{index}}" bindtap="exchange" >
<image class="exchange-icon" src="{{imageRoot}}2b/common/exchangeicon.png?{{imageVersion}}"></image>更换顺序
...
...
components/newsjdmediaeditor/index.wxss
View file @
b0948efa
...
...
@@ -104,6 +104,16 @@
border: 1px dashed #DADBDC;
border-radius: 8rpx;
}
.sjd-media-editor .media-content-box .media-box-item.media-text-item textarea{
line-height: 1.2;
position: relative;
z-index: 1;
padding: 0;
height: 160rpx;
min-height: 160rpx;
width: 100%;
padding: 20rpx;
}
.sjd-media-editor .media-content-box .media-box-item.media-text-item .word-count {
position: absolute;
font-size: 26rpx;
...
...
components/sjdmediaeditor/index.wxml
View file @
b0948efa
...
...
@@ -3,7 +3,9 @@
<view class="media-content-box {{exchangeIndex - 1 == index ? 'down' : '' }} {{exchangeIndex == index ? 'up' : '' }}" wx:for="{{content}}" wx:key="index">
<view class="media-box-item media-text-item" data-type="{{item.type}}" data-index="{{index}}" wx:if="{{item.type == 'text'}}">
<image class="del-icon" data-type="{{item.type}}" data-index="{{index}}" src="{{imageRoot}}2b/common/icon_delblue.png?{{imageVersion}}" bindtap="delitem"></image>
<basetextarea class="basetextarea-style" bindinput="textareaChange" data-type="{{item.type}}" maxlength="500" data-index="{{index}}" value="{{item.value}}" placeholder="{{placeholder}}"></basetextarea>
<!-- <basetextarea class="basetextarea-style" bindinput="textareaChange" data-type="{{item.type}}" maxlength="500" data-index="{{index}}" value="{{item.value}}" placeholder="{{placeholder}}"></basetextarea> -->
<textarea bindinput="textareaChange" auto-height="{{true}}" maxlength="500" data-index="{{index}}" value="{{item.value}}" placeholder="{{placeholder}}"></textarea>
<text class="word-count">{{item.value.length}}/500</text>
<view class="exchange-btn" wx:if="{{index != 0}}" data-type="{{item.type}}" data-index="{{index}}" bindtap="exchange" >
<image class="exchange-icon" src="{{imageRoot}}2b/common/exchangeicon.png?{{imageVersion}}"></image>更换顺序
...
...
components/sjdmediaeditor/index.wxss
View file @
b0948efa
...
...
@@ -104,6 +104,16 @@
border: 1px dashed #DADBDC;
border-radius: 8rpx;
}
.sjd-media-editor .media-content-box .media-box-item.media-text-item textarea{
line-height: 1.2;
position: relative;
z-index: 1;
padding: 0;
height: 160rpx;
min-height: 160rpx;
width: 100%;
padding: 20rpx;
}
.sjd-media-editor .media-content-box .media-box-item.media-text-item .word-count {
position: absolute;
font-size: 26rpx;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment