|
@@ -1,133 +1,156 @@
|
|
|
<!--pages/art/art.wxml-->
|
|
|
+<view class="container">
|
|
|
+ <!-- 标题 -->
|
|
|
+ <tarbar id="tarbar"/>
|
|
|
+ <!-- 内容 -->
|
|
|
+ <view class="content">
|
|
|
+ <scroll-view scroll-y="true" scroll-with-animation="true" scroll-with-animation="true" enable-back-to-top="true">
|
|
|
+ <!-- 科学艺术 -->
|
|
|
+ <view class="art">
|
|
|
+ <target/>
|
|
|
|
|
|
-<target/>
|
|
|
+ <lessonList/>
|
|
|
|
|
|
-<lessonList/>
|
|
|
-
|
|
|
-<view class="material">
|
|
|
- <view class="this-week">
|
|
|
- <image src="../image/study.png"></image>
|
|
|
- <view class="lesson-name">
|
|
|
- <text>学习资料</text>
|
|
|
- <text>本周和历史学习资料</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="material-con">
|
|
|
- <view class="art-img">
|
|
|
- <text>钻石戒指</text>
|
|
|
- <text>点击预览</text>
|
|
|
- </view>
|
|
|
- <view class="art-img">
|
|
|
- <text>钻石戒指</text>
|
|
|
- <text>点击预览</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-</view>
|
|
|
-
|
|
|
-<!--<view class="works">
|
|
|
- <view class="title">
|
|
|
- <image src="../image/xing.png" class="xing"></image>
|
|
|
- <text class="">作品分享</text>
|
|
|
- <image src="../image/xing.png" class="xing"></image>
|
|
|
- <text class="uploading" bindtap="uploadImage">分享作品</text>
|
|
|
- </view>
|
|
|
- <view >
|
|
|
- <view class="share-con" wx:for="{{productionData.list}}" wx:key="{{index}}">
|
|
|
- <view class="head">
|
|
|
- <view class="head-img">
|
|
|
- <image src="{{item.featureMap.headImgUrl}}"></image>
|
|
|
- </view>
|
|
|
- <view class="lesson-name">
|
|
|
- <text>{{item.featureMap.wechatName}}</text>
|
|
|
- <text style="height: 100%">{{item.title}}</text>
|
|
|
- </view>
|
|
|
- <image class="share_up" src="../image/share_up.png" data-flag="{{flag}}" bindtap="shareImage"></image>
|
|
|
- </view>
|
|
|
- <view class="picture">
|
|
|
- <block wx:for="{{item.imagesList}}" wx:for-item="items" wx:key="{{items.id}}">
|
|
|
- <image src="{{items.path}}" bindtap="listenerButtonPreviewImage" data-img="{{items.path}}"></image>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
- <view class="icon">
|
|
|
- <view>
|
|
|
- <image src="../image/zan.png" class="zan"></image>
|
|
|
- <text>{{item.postsAttributeInfo ? item.postsAttributeInfo.favors : '0'}}</text>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <image src="../image/weatch.png" class="weatch"></image>
|
|
|
- <text>{{item.postsAttributeInfo ? item.postsAttributeInfo.views : '0'}}</text>
|
|
|
+ <view class="material">
|
|
|
+ <view class="this-week">
|
|
|
+ <image src="../image/study.png"></image>
|
|
|
+ <view class="lesson-name">
|
|
|
+ <text>学习资料</text>
|
|
|
+ <text>本周和历史学习资料</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <image src="../image/discuss.png" class="discuss"></image>
|
|
|
- <text>{{item.replyCount}}</text>
|
|
|
+ <view class="material-con">
|
|
|
+ <view class="art-img">
|
|
|
+ <text>钻石戒指</text>
|
|
|
+ <text>点击预览</text>
|
|
|
+ </view>
|
|
|
+ <view class="art-img">
|
|
|
+ <text>钻石戒指</text>
|
|
|
+ <text>点击预览</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <chat chatData="{{item.replyList}}" uid="{{item.userId}}" postsId="{{item.id}}"/>
|
|
|
- </view>
|
|
|
- <view class="more">查看更多</view>
|
|
|
- </view>
|
|
|
- <view class="no-con" style="display: none;">
|
|
|
- <view class="state">你还没有上传作品</view>
|
|
|
- <view class="upload-works">
|
|
|
- <image src="../image/work_box.png" class="work-box"></image>
|
|
|
- <image src="../image/uploading_works.png" class="uploading-works"></image>
|
|
|
- <text>上传作品</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-</view>-->
|
|
|
-<chat productionData="{{productionData}}" />
|
|
|
|
|
|
-<view class="share">
|
|
|
- <view class="title">
|
|
|
- <image src="../image/xing.png" class="xing"></image>
|
|
|
- <text class="">答疑讨论</text>
|
|
|
- <image src="../image/xing.png" class="xing"></image>
|
|
|
- </view>
|
|
|
- <view >
|
|
|
- <view class="questions">
|
|
|
- <view class="head">
|
|
|
- <view class="head-img">
|
|
|
- <image src="../image/medal.png"></image>
|
|
|
+ <!--<view class="works">
|
|
|
+ <view class="title">
|
|
|
+ <image src="../image/xing.png" class="xing"></image>
|
|
|
+ <text class="">作品分享</text>
|
|
|
+ <image src="../image/xing.png" class="xing"></image>
|
|
|
+ <text class="uploading" bindtap="uploadImage">分享作品</text>
|
|
|
</view>
|
|
|
- <view class="lesson-name">
|
|
|
- <text>李佳怡</text>
|
|
|
- <text style="height: 100%">第一次发作品,请大家多多关注第一次发作品,请大家多多关注,第一次发作品,请大家多多关注,第一次发作品,请大家多多关注</text>
|
|
|
+ <view >
|
|
|
+ <view class="share-con" wx:for="{{productionData.list}}" wx:key="{{index}}">
|
|
|
+ <view class="head">
|
|
|
+ <view class="head-img">
|
|
|
+ <image src="{{item.featureMap.headImgUrl}}"></image>
|
|
|
+ </view>
|
|
|
+ <view class="lesson-name">
|
|
|
+ <text>{{item.featureMap.wechatName}}</text>
|
|
|
+ <text style="height: 100%">{{item.title}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="share-up-box" bindtap="shareImage">
|
|
|
+ <image class="share_up" src="../image/share_up.png"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="picture">
|
|
|
+ <block wx:for="{{item.imagesList}}" wx:for-item="items" wx:key="{{items.id}}">
|
|
|
+ <image src="{{items.path}}" bindtap="listenerButtonPreviewImage" data-img="{{items.path}}"></image>
|
|
|
+ </block>
|
|
|
+ </view>
|
|
|
+ <view class="icon">
|
|
|
+ <view>
|
|
|
+ <image src="../image/zan.png" class="zan"></image>
|
|
|
+ <text>{{item.postsAttributeInfo ? item.postsAttributeInfo.favors : '0'}}</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <image src="../image/weatch.png" class="weatch"></image>
|
|
|
+ <text>{{item.postsAttributeInfo ? item.postsAttributeInfo.views : '0'}}</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <image src="../image/discuss.png" class="discuss"></image>
|
|
|
+ <text>{{item.replyCount}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <chat chatData="{{item.replyList}}" uid="{{item.userId}}" postsId="{{item.id}}"/>
|
|
|
+ </view>
|
|
|
+ <view class="more">查看更多</view>
|
|
|
</view>
|
|
|
- <view class="dian"></view>
|
|
|
- </view>
|
|
|
- <view class="icon">
|
|
|
- <view>
|
|
|
- <image src="../image/zan.png" class="zan"></image>
|
|
|
- <text>534</text>
|
|
|
+ <view class="no-con" style="display: none;">
|
|
|
+ <view class="state">你还没有上传作品</view>
|
|
|
+ <view class="upload-works">
|
|
|
+ <image src="../image/work_box.png" class="work-box"></image>
|
|
|
+ <image src="../image/uploading_works.png" class="uploading-works"></image>
|
|
|
+ <text>上传作品</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <image src="../image/weatch.png" class="weatch"></image>
|
|
|
- <text>1534</text>
|
|
|
+ </view>-->
|
|
|
+ <chat
|
|
|
+ productionData="{{productionData}}"
|
|
|
+ title="作品分享"
|
|
|
+ query="分享作品"
|
|
|
+ type="2"/>
|
|
|
+
|
|
|
+ <chat
|
|
|
+ productionData="{{questionsData}}"
|
|
|
+ title="答疑讨论"
|
|
|
+ query="我有疑问"
|
|
|
+ type="1"/>
|
|
|
+
|
|
|
+ <!-- <view class="share">
|
|
|
+ <view class="title">
|
|
|
+ <image src="../image/xing.png" class="xing"></image>
|
|
|
+ <text class="">答疑讨论</text>
|
|
|
+ <image src="../image/xing.png" class="xing"></image>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <image src="../image/discuss.png" class="discuss"></image>
|
|
|
- <text>534</text>
|
|
|
+ <view >
|
|
|
+ <view class="questions">
|
|
|
+ <view class="head">
|
|
|
+ <view class="head-img">
|
|
|
+ <image src="../image/medal.png"></image>
|
|
|
+ </view>
|
|
|
+ <view class="lesson-name">
|
|
|
+ <text>李佳怡</text>
|
|
|
+ <text style="height: 100%">第一次发作品,请大家多多关注第一次发作品,请大家多多关注,第一次发作品,请大家多多关注,第一次发作品,请大家多多关注</text>
|
|
|
+ </view>
|
|
|
+ <view class="dian"></view>
|
|
|
+ </view>
|
|
|
+ <view class="icon">
|
|
|
+ <view>
|
|
|
+ <image src="../image/zan.png" class="zan"></image>
|
|
|
+ <text>534</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <image src="../image/weatch.png" class="weatch"></image>
|
|
|
+ <text>1534</text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <image src="../image/discuss.png" class="discuss"></image>
|
|
|
+ <text>534</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="more">查看更多</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="more">查看更多</view>
|
|
|
- </view>
|
|
|
- <view class="no-con" style="display: none;">
|
|
|
- <view class="state">你还没有提问过问题</view>
|
|
|
- <view class="upload-works">
|
|
|
- <image src="../image/work_box.png" class="work-box"></image>
|
|
|
- <image src="../image/questions.png" class="uploading-works"></image>
|
|
|
- <text>提问问题</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-</view>
|
|
|
+ <view class="no-con" style="display: none;">
|
|
|
+ <view class="state">你还没有提问过问题</view>
|
|
|
+ <view class="upload-works">
|
|
|
+ <image src="../image/work_box.png" class="work-box"></image>
|
|
|
+ <image src="../image/questions.png" class="uploading-works"></image>
|
|
|
+ <text>提问问题</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view> -->
|
|
|
+
|
|
|
|
|
|
-<share/>
|
|
|
+ <view class="questions-one">
|
|
|
+ <image src="../image/q_discuss.png" ></image>
|
|
|
+ </view>
|
|
|
|
|
|
-<view class="questions-one">
|
|
|
- <image src="../image/q_discuss.png" ></image>
|
|
|
+ <view class="upload-one">
|
|
|
+ <image src="../image/works.png" ></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="upload-one">
|
|
|
- <image src="../image/works.png" ></image>
|
|
|
-</view>
|