|
@@ -58,7 +58,7 @@
|
|
|
<view class="inputBottom">
|
|
|
<view style="width: 10%;"><image src="/static/icon/note3.png" style="width: 39rpx;height: 39rpx;margin:0 29rpx;"></image></view>
|
|
|
<view style="width: 73%;height: 88rpx;margin-bottom: 15rpx;">
|
|
|
- <u-input height="78" fixed="true" placeholder="您可以在这里输入笔记内容" type="textarea" :custom-style="inputStyle" v-model="noteValue" />
|
|
|
+ <u-input class="input" fixed="true" placeholder="您可以在这里输入笔记内容" type="textarea" :custom-style="inputStyle" v-model="noteValue" />
|
|
|
</view>
|
|
|
<view style="color: #007AFF;font-size: 30rpx;font-weight: bold;width: 15%;text-align: center;" @click="postNote">提交</view>
|
|
|
</view>
|
|
@@ -86,10 +86,10 @@
|
|
|
<!--答疑 -->
|
|
|
<view v-show="current == 2">
|
|
|
<view class="inputBottom">
|
|
|
- <view style="width: 73%;height: 88rpx;margin-bottom: 15rpx;margin-left: 10% ;">
|
|
|
- <u-input height="78" fixed="true" :placeholder="placeholder" type="textarea" :custom-style="inputStyle" v-model="ctxValue" />
|
|
|
+ <view class="flex_auto">
|
|
|
+ <u-input height="60" fixed="true" :placeholder="placeholder" type="textarea" :custom-style="inputStyle" v-model="ctxValue" />
|
|
|
</view>
|
|
|
- <view style="color: #007AFF;font-size: 30rpx;font-weight: bold;width: 15%;text-align: center;" @click="postContent">提交</view>
|
|
|
+ <view class="btn" @click="postContent">提交</view>
|
|
|
</view>
|
|
|
<view v-for="(item, index) in answerList" style="background-color: #FFFFFF;margin-bottom: 20rpx;">
|
|
|
<view class="chat_box" @click.stop="clearCtx">
|
|
@@ -622,9 +622,20 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
onStateChange(newstate, oldstate) {
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.photoPopup = true;
|
|
|
+ uni.authorize({
|
|
|
+ scope: 'scope.camera',
|
|
|
+ success() {
|
|
|
+
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ console.log(9999119)
|
|
|
+ },5000)
|
|
|
console.log(newstate, 6989);
|
|
|
if (newstate.detail.newstate == 'playing') {
|
|
|
- if (this.needSeek) {
|
|
|
+ if (this.needSeek) {
|
|
|
var polyvPlayerContext = this.selectComponent('#playerVideo');
|
|
|
polyvPlayerContext.seek(this.recordObj.studyDuration);
|
|
|
polyvPlayerContext.play();
|
|
@@ -918,6 +929,19 @@ page {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
width: 100%;
|
|
|
+
|
|
|
+ .flex_auto {
|
|
|
+ flex:1;
|
|
|
+ margin-left: 10% ;
|
|
|
+
|
|
|
+ .input {
|
|
|
+ height:60rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .btn {
|
|
|
+ color: #007AFF;font-size: 30rpx;font-weight: bold;width: 15%;text-align: center;
|
|
|
+ }
|
|
|
}
|
|
|
.noteBox {
|
|
|
width: 100%;
|