|
|
@@ -86,6 +86,30 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <!--答疑 -->
|
|
|
+ <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="您可以在这里输入答疑内容" type="textarea" :custom-style="inputStyle" v-model="value" />
|
|
|
+ </view>
|
|
|
+ <view style="color: #007AFF;font-size: 30rpx;font-weight: bold;width: 15%;text-align: center;">
|
|
|
+ 提交
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view v-for="(item, index) in menuList" style="background-color: #FFFFFF;">
|
|
|
+ <view class="chat_box" >
|
|
|
+ <view>
|
|
|
+ <image src="https://file-dev.xyyxt.net/oss/images/avatar/20210623/1624414559368_44562477.png" style="width: 64rpx;height: 64rpx;"></image>
|
|
|
+ </view>
|
|
|
+ <view style="margin-left: 15rpx;">
|
|
|
+ <view class="chat1">倪虹洁</view>
|
|
|
+ <view class="chat2">2021/10/31 09:36:23</view>
|
|
|
+ <view class="chat3">老师的课讲得太棒了!</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <u-line color="#D6D6DB" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -126,7 +150,7 @@ export default {
|
|
|
children:[1,2]
|
|
|
}],[],[]
|
|
|
],
|
|
|
- current:1
|
|
|
+ current:2
|
|
|
};
|
|
|
},
|
|
|
onUnload() {
|
|
|
@@ -151,6 +175,30 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scope>
|
|
|
+ .chat_box{
|
|
|
+ display: flex;
|
|
|
+ padding: 20rpx;
|
|
|
+ }
|
|
|
+ .chat3{
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #666666;
|
|
|
+ margin-top: 10rpx;
|
|
|
+ }
|
|
|
+ .chat2{
|
|
|
+ font-size: 20rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #999999;
|
|
|
+ margin-top: 10rpx;
|
|
|
+ }
|
|
|
+ .chat1{
|
|
|
+ font-size: 24rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
.leftPadding{
|
|
|
margin-left: 8rpx;
|
|
|
}
|