29 changed files with 480 additions and 181 deletions
@ -1,5 +1,5 @@ |
|||
const config = { |
|||
// api_url: 'http://192.168.42.44:8083/fqsb', // 服务器地址
|
|||
api_url: 'http://121.42.41.42:8092/fqsb' |
|||
api_url: 'https://shibeirencai.elinkit.com.cn:8083/fqsb' |
|||
} |
|||
export { config } |
@ -1,40 +1,45 @@ |
|||
<!--pages/topics/common/goodIdea/cell/index.wxml--> |
|||
<view class="cell" id="cell" > |
|||
<view class="content-left"> |
|||
<image src="{{itemData.commentIcon}}" style="width:20px;height:20px;"></image> |
|||
</view> |
|||
<view class="content-right"> |
|||
<view class="userInfo"> |
|||
<view class="userInfo-left"> |
|||
<view class="userName">{{itemData.commentName}}</view> |
|||
<view class="comment-time">{{itemData.commentTime}}</view> |
|||
<view class="touch-item {{isTouchMove ? 'touch-move-active' : ''}}" data-index="{{itemIndex}}" data-name="{{itemData.commentName}}" bindtouchstart="touchstart" bindtouchmove="touchmove" > |
|||
<view class="content"> |
|||
<view class="content-left"> |
|||
<image src="{{itemData.commentIcon}}" style="width:20px;height:20px;"></image> |
|||
</view> |
|||
<view class="userInfo-right" bindtap="onClickPraise" data-item="{{itemData}}" data-index='{{itemIndex}}'> |
|||
<view class="praiseNum">{{itemData.praiseNum}}</view> |
|||
<view class="praise-icon"> |
|||
<image src="{{item.isPraise ? praise : unPraise}}" style="width:100%;"></image> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view style="color:#3B3B3B;font-size:14px;padding: 0 0 5px 0;">{{itemData.comment}}</view> |
|||
<view class="detail" bindtap="pushTopic"> |
|||
<view class="detail-title">{{itemData.topicTtitle}}</view> |
|||
<view class="detail-userInfo"> |
|||
<view class="detail-userInfo-left"> |
|||
<view class="detail-user-icon"> |
|||
<image src="{{itemData.topicGroupAvator}}"></image> |
|||
<view class="content-right"> |
|||
<view class="userInfo"> |
|||
<view class="userInfo-left"> |
|||
<view class="userName">{{itemData.commentName}}</view> |
|||
<view class="comment-time">{{itemData.commentTime}}</view> |
|||
</view> |
|||
<view class="userInfo-right" bindtap="onClickPraise" data-item="{{itemData}}" data-index='{{itemIndex}}'> |
|||
<view class="praiseNum">{{itemData.praiseNum}}</view> |
|||
<view class="praise-icon"> |
|||
<image src="{{item.isPraise ? praise : unPraise}}" style="width:100%;"></image> |
|||
</view> |
|||
</view> |
|||
<view class="detail-userName">{{itemData.topicAuthor}}</view> |
|||
<view class="detail-time">{{itemData.topicGroupCreateTime}}</view> |
|||
</view> |
|||
<view class="detail-userInfo-right"> |
|||
<view class="detail-comments-icon"> |
|||
<image src="/images/common/com_count.png"></image> |
|||
<view style="color:#3B3B3B;font-size:14px;padding: 0 0 5px 0;">{{itemData.comment}}</view> |
|||
<view class="detail" bindtap="pushTopic"> |
|||
<view class="detail-title">{{itemData.topicTtitle}}</view> |
|||
<view class="detail-userInfo"> |
|||
<view class="detail-userInfo-left"> |
|||
<view class="detail-user-icon"> |
|||
<image src="{{itemData.topicGroupAvator}}"></image> |
|||
</view> |
|||
<view class="detail-userName">{{itemData.topicAuthor}}</view> |
|||
<view class="detail-time">{{itemData.topicGroupCreateTime}}</view> |
|||
</view> |
|||
<view class="detail-userInfo-right"> |
|||
<view class="detail-comments-icon"> |
|||
<image src="/images/common/com_count.png"></image> |
|||
</view> |
|||
<view class="detail-commentNum">{{itemData.topicCommentNum}}</view> |
|||
</view> |
|||
</view> |
|||
<view class="detail-commentNum">{{itemData.topicCommentNum}}</view> |
|||
<view class="detail-text">{{itemData.topicDetail}}</view> |
|||
</view> |
|||
</view> |
|||
<view class="detail-text">{{itemData.topicDetail}}</view> |
|||
</view> |
|||
</view> |
|||
<view class="del" data-index="{{itemIndex}}" data-id="{{itemData.commentId}}" catchtap="del">删除</view> |
|||
</view> |
|||
</view> |
|||
|
@ -1,11 +1,16 @@ |
|||
<!--pages/topics/common/message/index.wxml--> |
|||
<view class="mian"> |
|||
<view class="content-wrapper"> |
|||
<view class="section"> |
|||
<textarea class="textArea" value="{{textAreaString}}" bindinput="bindTextAreaInput" placeholder="有什么想留言的内容?" /> |
|||
<view class="btnView"> |
|||
<e-ibutton title="提交" bind:onTap="submit"/> |
|||
</view> |
|||
<view class="container"> |
|||
<view class="item"> |
|||
<view class="must_fill">*</view> |
|||
<input class="title" value="{{messageTitle}}" bindinput="bindTextInput" placeholder="请输入标题"></input> |
|||
</view> |
|||
|
|||
<view class="line-view"></view> |
|||
<view class="item"> |
|||
<view class="must_fill">*</view> |
|||
<textarea class="textArea" value="{{messageDetail}}" bindinput="bindTextAreaInput" placeholder="请输入正文" /> |
|||
</view> |
|||
<view class="btnView"> |
|||
<e-ibutton title="提交" bind:onTap="submit"/> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
|
@ -1,15 +1,17 @@ |
|||
<!--pages/user/myMessage/cell/index.wxml--> |
|||
<view class="cell" id="cell" bindtap="onTap"> |
|||
<view class="item-left"> |
|||
<!-- <image wx:if="{{itemData.msgType === 0}}" src="/images/user/activity_icon.png"></image> --> |
|||
<image class="img" wx:if="{{itemData.msgType === 1}}" src="/images/user/msg_icon.png"></image> |
|||
<image class="img" wx:if="{{itemData.msgType === 2}}" src="/images/user/activity_icon.png"></image> |
|||
</view> |
|||
<view class="item-right"> |
|||
<view class="item-text"> |
|||
<view class="msgName">{{itemData.msgName}}</view> |
|||
<view class="title">{{itemData.title}}</view> |
|||
<view class="content"> |
|||
<view class="item-left"> |
|||
<!-- <image wx:if="{{itemData.msgType === 0}}" src="/images/user/activity_icon.png"></image> --> |
|||
<image class="img" wx:if="{{itemData.msgType === 1}}" src="/images/user/msg_icon.png"></image> |
|||
<image class="img" wx:if="{{itemData.msgType === 2}}" src="/images/user/activity_icon.png"></image> |
|||
</view> |
|||
<view class="item-right"> |
|||
<view class="item-text"> |
|||
<view class="msgName">{{itemData.msgName}}</view> |
|||
<view class="title">{{itemData.title}}</view> |
|||
</view> |
|||
<view class="item-time">{{itemData.time}}</view> |
|||
</view> |
|||
</view> |
|||
<view class="item-time">{{itemData.time}}</view> |
|||
</view> |
|||
</view> |
|||
|
Loading…
Reference in new issue