|
| xqd
@@ -5,7 +5,7 @@
|
|
|
<view class="weui-article">
|
|
|
<view class="weui-article__h1" style='font-size:42rpx;word-break:break-all;'>{{news.title}}</view>
|
|
|
<view class='container1' style='margin-left:0rpx;margin-top:0rpx'>
|
|
|
- <image src='{{news.avatar}}' style='width:80rpx;height:80rpx'></image>
|
|
|
+ <image src='{{news.avatar}}' style='width:80rpx;height:80rpx;border-radius:80rpx;'></image>
|
|
|
</view>
|
|
|
<view class="weui-article__section">
|
|
|
<view class="weui-article__title" style='margin-left:100rpx'>天天家居惠</view>
|
|
| xqd
@@ -17,66 +17,71 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
- <view style='height:80rpx;width:100%;position:relative;display:flex'>
|
|
|
- <view class='container1' style='margin-top:50rpx'>{{news.viewed}}</view>
|
|
|
- <image src='../../../images/eyes.png' style='width:50rpx;height:50rpx;margin-top:46rpx'></image>
|
|
|
+ <view style='width:690rpx;margin-left:30rpx;height:50rpx;'>
|
|
|
+ <text style='font-size:24rpx;float:right;margin-right:30rpx'>{{news.viewed}}</text>
|
|
|
+ <image src='../../../images/eyes.png' style='width:40rpx;height:40rpx;float:right;margin-right:10rpx'></image>
|
|
|
+ </view>
|
|
|
+ <!-- <image src='../../../images/eyes.png' style='width:40rpx;height:40rpx;margin-top:10rpx;margin-left:550rpx;'></image>
|
|
|
+ <view class='container1' style='margin-top:-54rpx;margin-left:605rpx;font-size:24rpx'>{{news.viewed}}</view> -->
|
|
|
+ <view style='height:160rpx;width:100%;'>
|
|
|
<view class='like' bindtap='like' wx:if="{{like}}">
|
|
|
- <view style='margin-top:10rpx'>
|
|
|
- <image src='../../../images/like1.png' style='width:60rpx;height:60rpx;margin-left:20rpx'></image>
|
|
|
+ <view style=''>
|
|
|
+ <image src='https://t6.9026.com/upload/images/20180831/5e4dfbda11f345e34f448ae508f42455.png' style='width:160rpx;height:160rpx;'></image>
|
|
|
</view>
|
|
|
- <view style='margin:15rpx 0 15rpx 20rpx;border-right:1px solid #EA6F5A;padding:0 20rpx 0 0'>喜欢</view>
|
|
|
- <view style='margin:16rpx 0 15rpx 10rpx'>
|
|
|
+ <view style='margin:-63rpx 0 15rpx -90rpx;text-align:center;font-size:28rpx;color:#fff'>
|
|
|
{{news.like}}
|
|
|
</view>
|
|
|
+ <view style='margin:-20rpx 0 14rpx 50rpx;padding:0 20rpx 0 0'>喜欢</view>
|
|
|
+
|
|
|
</view>
|
|
|
|
|
|
<view class='like1' bindtap='like' wx:if="{{!like}}">
|
|
|
- <view style='margin-top:10rpx'>
|
|
|
- <image src='../../../images/like.png' style='width:60rpx;height:60rpx;margin-left:20rpx'></image>
|
|
|
+ <view style='margin-top:0rpx'>
|
|
|
+ <image src='https://t6.9026.com/upload/images/20180831/18ee9b02643eb4d3a4529329b8f8d66a.png' style='width:160rpx;height:160rpx;'></image>
|
|
|
</view>
|
|
|
- <view style='margin:15rpx 0 15rpx 20rpx;border-right:1px solid white;padding:0 20rpx 0 0'>喜欢</view>
|
|
|
- <view style='margin:16rpx 0 15rpx 10rpx'>
|
|
|
+ <view style='margin:-63rpx 0 15rpx -90rpx;text-align:center;font-size:28rpx;color:#fff'>
|
|
|
{{news.like+1}}
|
|
|
</view>
|
|
|
+ <view style='margin:-20rpx 0 14rpx 50rpx;padding:0 20rpx 0 0'>喜欢</view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view style='margin-top:80rpx;background-color:#f5f5f5;width:100%;height:50rpx;padding:10rpx 0 5rpx 15rpx;color:#999;'>
|
|
|
+ <view style='margin-top:0rpx;background-color:#f5f5f5;width:100%;height:50rpx;padding:10rpx 0 5rpx 15rpx;color:#999;'>
|
|
|
全部评论({{news_comments.total}})
|
|
|
</view>
|
|
|
<view class='conment' wx:for='{{comments}}'>
|
|
|
- <view class='container1' style='margin-left:0rpx;margin-top:0rpx'>
|
|
|
- <image src='{{item.avatar}}' style='width:80rpx;height:80rpx'></image>
|
|
|
- </view>
|
|
|
- <view class="weui-article__title" style='margin-left:100rpx'>{{item.username}}</view>
|
|
|
- <view class='container1' style='margin-left:100rpx;margin-top:5rpx;font-size:24rpx;color:#d3d3d3'>
|
|
|
- {{item.created_at}}
|
|
|
+ <view class='container1' style='margin-left:0rpx;margin-top:-10rpx'>
|
|
|
+ <image src='{{item.avatar}}' style='width:80rpx;height:80rpx;border-radius:80rpx;'></image>
|
|
|
</view>
|
|
|
- <view style='font-size:35rpx;margin-left:100rpx;margin-top:50rpx;word-break:break-all;' id='{{item.id}}' bindtap='reply' data-name='{{item.username}}'>
|
|
|
+ <view class="weui-article__title" style='margin-left:100rpx'>{{item.username}}<text style='float:right;font-size:26rpx;color:#666;'>{{item.created_at}}</text></view>
|
|
|
+ <!-- <view class='container1' style='margin-left:600rpx;margin-top:-35rpx;'>
|
|
|
+ <text style='font-size:22rpx;color:#666;float:left;'>{{item.created_at}}</text>
|
|
|
+ </view> -->
|
|
|
+ <view style='font-size:35rpx;margin-left:100rpx;margin-top:30rpx;word-break:break-all;' id='{{item.id}}' bindtap='reply' data-name='{{item.username}}'>
|
|
|
{{item.content}}
|
|
|
</view>
|
|
|
<view style='margin-top:5rpx;background-color:#f5f5f5;margin-left:100rpx;height:50rpx;padding:5rpx 0 0 20rpx;border-radius:10rpx' id='{{item.id}}' bindtap='toConment' wx:if='{{item.replys.total != 0}}'>
|
|
|
<text style='color:#1E90FF;font-size:30rpx' decode="{{true}}" space="{{true}}">共{{item.replys.total}}条回复 ></text>
|
|
|
</view>
|
|
|
- <view class='container1' style='margin-top:0rpx;margin-left:100rpx'>
|
|
|
- <image src='/images/huifufengexian.png ' style='width:630rpx;height:1rpx;margin-top:0rpx;margin-left:0rpx;'></image>
|
|
|
+ <view style='margin-top:-20rpx;margin-left:100rpx'>
|
|
|
+ <image src='/images/huifufengexian.png ' style='width:620rpx;height:2rpx;margin-top:10rpx;margin-left:0rpx'></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='sousuo'>
|
|
|
<input class='findit' placeholder='{{placeholder}}' bindblur='comment' value='{{comment_content}}' focus='{{focus}}'></input>
|
|
|
<view class='sweep' bindtap='set_is_reply_false'>
|
|
|
<!-- <image src='/images/查看评论按钮.png'></image> -->
|
|
|
- <button class="share-btn" plain="true">
|
|
|
- <image src="/images/chakanpinglun.png" style="width: 50rpx;height: 50rpx"></image>
|
|
|
+ <button class="share-btn" plain="true" style='border:none;'>
|
|
|
+ <image src="https://t6.9026.com/upload/images/20180831/3bad223d3d57118306c3a7bd4a85e361.png" style="width: 50rpx;height: 50rpx"></image>
|
|
|
</button>
|
|
|
</view>
|
|
|
<view class='sweep' style='margin-left:10rpx'>
|
|
|
- <button open-type='share' class="share-btn" plain="true">
|
|
|
+ <button open-type='share' class="share-btn" plain="true" style='border:none;'>
|
|
|
<image src="/images/fenxiang.png" style="width: 50rpx;height: 50rpx"></image>
|
|
|
</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-<include src="/pages/fc/fc.wxml" />
|
|
|
+<include src="/pages/fc/fc.wxml" />
|