评论展示图片

This commit is contained in:
devil_gong 2019-10-11 11:47:28 +08:00
parent 99dde8510c
commit a1fd5d1760
7 changed files with 10 additions and 13 deletions

View File

@ -57,12 +57,11 @@
height: calc(100vh - 125rpx);
}
.comment-item {
padding: 0 10rpx 10rpx 10rpx;
border-bottom:solid 1px #eee;
padding-bottom: 10rpx;
}
.comment-item .nav {
background: #ebebeb;
padding: 10rpx 0;
padding: 10rpx;
}
.comment-item .avatar {
width: 70rpx;

View File

@ -16,7 +16,7 @@
<!-- 列表 -->
<scroll-view scroll-y="{{true}}" class="scroll-box" bindscrolltolower="scroll_lower" lower-threshold="30">
<view a:for="{{data_list}}" class="comment-item spacing-mt">
<view a:for="{{data_list}}" class="comment-item bg-white spacing-mt">
<view class="oh nav">
<image class="avatar dis-block fl" src="{{item.user.avatar || '/images/default-user.png'}}" mode="aspectFit"></image>
<view class="base-nav fr">

View File

@ -57,12 +57,11 @@
height: calc(100vh - 125rpx);
}
.comment-item {
padding: 0 10rpx 10rpx 10rpx;
border-bottom:solid 1px #eee;
padding-bottom: 10rpx;
}
.comment-item .nav {
background: #ebebeb;
padding: 10rpx 0;
padding: 10rpx;
}
.comment-item .avatar {
width: 70rpx;

View File

@ -16,7 +16,7 @@
<!-- 列表 -->
<scroll-view scroll-y="{{true}}" class="scroll-box" bindscrolltolower="scroll_lower" lower-threshold="30">
<view s-for="item, index in data_list" s-key="key" class="comment-item spacing-mt">
<view s-for="item, index in data_list" s-key="key" class="comment-item bg-white spacing-mt">
<view class="oh nav">
<image class="avatar dis-block fl" src="{{item.user.avatar || '/images/default-user.png'}}" mode="aspectFit"></image>
<view class="base-nav fr">

View File

@ -65,7 +65,7 @@ App({
// 请求地址
request_url: "{{request_url}}",
request_url: 'http://tp5-dev.com/',
//request_url: 'https://test.shopxo.net/',
request_url: 'https://test.shopxo.net/',
// 基础信息
application_title: "{{application_title}}",

View File

@ -16,7 +16,7 @@
<!-- 列表 -->
<scroll-view scroll-y="{{true}}" class="scroll-box" bindscrolltolower="scroll_lower" lower-threshold="30">
<view wx:for="{{data_list}}" wx:key="key" class="comment-item spacing-mt">
<view wx:for="{{data_list}}" wx:key="key" class="comment-item bg-white spacing-mt">
<view class="oh nav">
<image class="avatar dis-block fl" src="{{item.user.avatar || '/images/default-user.png'}}" mode="aspectFit"></image>
<view class="base-nav fr">

View File

@ -57,12 +57,11 @@
height: calc(100vh - 125rpx);
}
.comment-item {
padding: 0 10rpx 10rpx 10rpx;
border-bottom:solid 1px #eee;
padding-bottom: 10rpx;
}
.comment-item .nav {
background: #ebebeb;
padding: 10rpx 0;
padding: 10rpx;
}
.comment-item .avatar {
width: 70rpx;