1561 lines
31 KiB
Vue
1561 lines
31 KiB
Vue
<template>
|
|
<view class="page" v-if="loadPageFlag" :style="{background:(BgConfig.BackgroundObj.type==1?BgConfig.BackgroundObj.bgColor:('url('+BgConfig.BackgroundObj.path+') no-repeat '+ BgConfig.BackgroundObj.pathColor))}">
|
|
<scroll-view scroll-y="true" class="m-orderlist" @scrolltolower="scrollbottom" @scrolltoupper="scrollView" @scroll="bindscroll">
|
|
<status-bar :backgroundColor="BgConfig.BackgroundObj.bgColor"></status-bar>
|
|
<view class='banner-nav' :style="{background:(BgConfig.BackgroundObj.type==1?BgConfig.BackgroundObj.bgColor:'transparent')}">
|
|
<view class='xx-box'>
|
|
<navigator hover-class="none" class="xx" url='/member/member/message'>
|
|
<image class='xx1' src='https://static.lancerdt.com/xcxfile/appicon/img/tzxq_05.png'></image>
|
|
</navigator>
|
|
</view>
|
|
<view class='input_box2' style='background: #f1f1f1;' v-if="NIndex">
|
|
<uni-icons class='iconfont icon-sousuo-sousuo' style='font-size:70rpx;color:#959593' @tap='searchinput'/>
|
|
<input v-model="story_index" class="input_box2_input" :placeholder="__('搜索您想看的内容')"
|
|
placeholder-style="font-size:30rpx;color:#959593;line-height:54rpx"
|
|
confirm-type="done" @confirm="searchinput"/></view>
|
|
<view class='sq_0-box'>
|
|
<navigator hover-class="none" :url="'/community/community/userspace?uid=' + userInfo.user_id"
|
|
:class="'sq_0 ' + (istop==true?'border22':'')">
|
|
<image lazy-load class='sq_1' :src="(userInfo.user_avatar)" mode="scaleToFill" />
|
|
</navigator>
|
|
</view>
|
|
</view>
|
|
<diy :BgConfig="BgConfig" :PageContent="PageContent" :pageId="pageId" :PageNav="PageNav" :loadPageFlag="loadPageFlag"></diy>
|
|
<view class='box_title_box' v-for="(item, i) in MemberPostsList" :key="i">
|
|
<view class='box_title'>
|
|
<navigator hover-class="none" :url='"/community/community/userspace?uid=" + item.user_id'
|
|
style='position: relative;display: inline-block'>
|
|
<view class='box_title_img'>
|
|
<image class='box_title_image' :src="item.user_avatar"></image>
|
|
</view>
|
|
<view class='box_title_name'>{{item.user_nickname}}</view>
|
|
<view class='box_title_name_time'>{{item.story_time_str}}</view>
|
|
</navigator>
|
|
<view v-if="item.story_is_top" class='box_title_guanzhu'>
|
|
<view class='box_title_guanzhu_text'>{{__('置顶')}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<navigator @tap="moNitor" hover-class="none" :url='"/community/community/video?id="+item.story_id' style='display: inline-block' v-if="item.story_type == 4">
|
|
<view class='box_title_conton'>{{item.story_title}}</view>
|
|
<view class='newsimg_box_img' v-if="item.story_file.length>0">
|
|
<block v-for="(imgItem, j) in item.story_file" :key="j">
|
|
<view class='newsimg_box_image3' :style='"background: url(" + imgItem + ") center no-repeat ;background-size:cover;"'></view>
|
|
</block>
|
|
</view>
|
|
</navigator>
|
|
|
|
<navigator @tap="moNitor" hover-class="none" :url='"/community/community/detail?id="+item.story_id' style='display: inline-block' v-if="item.story_type != 4">
|
|
<view class='box_title_conton'>{{item.story_content}}</view>
|
|
<view class='newsimg_box_img' v-if="item.story_file.length>0">
|
|
<block v-for="(imgItem, j) in item.story_file" :key="j">
|
|
<view class='newsimg_box_image3' :style='"background: url(" + imgItem + ") center no-repeat ;background-size:cover;"'></view>
|
|
</block>
|
|
</view>
|
|
</navigator>
|
|
<view class='pldz_box'>
|
|
<view>
|
|
<view class='rmtz_box_content_box_dz'>
|
|
<image class='dz' src='https://static.lancerdt.com/xcxfile/appicon/img/tzxq_03.png'></image>
|
|
<span>{{item.story_brower_count}}</span></view>
|
|
<view class='rmtz_box_content_box_pl'>
|
|
<image class='pl' src='https://static.lancerdt.com/xcxfile/appicon/img/tzxq_05.png'></image>
|
|
<span style="font-size: 12px;color: #959593;">{{item.story_comment_count}}</span></view>
|
|
<button hover-class='none' style='padding-left:22rpx;' v-if="item.IsFabulous == 1"
|
|
class='rmtz_box_content_box_pl' :data-story_id='item.story_id' open-type="getUserInfo" lang="zh_CN"
|
|
@click="onUnLike">
|
|
<image class='pl' src='https://static.lancerdt.com/xcxfile/appicon/img/side1_03.png'></image>
|
|
<span style="font-size:12px">{{item.story_like_count}}</span></button>
|
|
<button hover-class='none' style='padding-left:22rpx;' class='rmtz_box_content_box_pl' v-else
|
|
:data-story_id='item.story_id' open-type="getUserInfo" lang="zh_CN" @click="onLike">
|
|
<image class='pl' src='https://static.lancerdt.com/xcxfile/appicon/img/side1_05.png'></image>
|
|
<span style='font-size:12px;color:#959593'>{{item.story_like_count}}</span>
|
|
</button>
|
|
</view>
|
|
<view class='rmtz_box_content_box_p11' v-if="false"><span>{{__('来自:')}}{{item.user_nickname}}</span></view>
|
|
</view>
|
|
</view>
|
|
<view class="m-loading-box" style="margin-top:120rpx;">
|
|
<block v-if="ispage">
|
|
<view class="u-loadmore">
|
|
<label class="u-loading"></label>
|
|
<text class="u-loadmore-tips">{{__('正在加载')}}</text>
|
|
</view>
|
|
<view>
|
|
<text></text>
|
|
</view>
|
|
</block>
|
|
<block v-else>
|
|
<view class="u-loadmore u-loadmore-line">
|
|
<text class="u-loadmore-tips">{{__('没有更多数据啦!')}}</text>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</scroll-view>
|
|
<view class="u-top-default">
|
|
<image @click="onPostStory" src='https://static.lancerdt.com/xcxfile/appicon/nav/black/nav_post.png' class='quicknav'
|
|
style='position: fixed;right: 20rpx;bottom:220rpx'></image>
|
|
<image src='https://static.lancerdt.com/xcxfile/appicon/nav/black/nav_gotop.png'
|
|
:class='"quicknav " + (isquicknav?"":"hide")' @tap="returnTop"
|
|
style='position: fixed;right: 20rpx;top:82%'></image>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import diy from '../../components/themes/diy.vue'
|
|
import dateUtil from "../../helpers/util_date";
|
|
import statusBar from '../../components/status-bar.vue'
|
|
|
|
import {
|
|
mapState,
|
|
mapMutations
|
|
} from 'vuex'
|
|
|
|
export default {
|
|
data: function() {
|
|
return {
|
|
options:{},
|
|
pageId: '',
|
|
loadPageFlag: false,
|
|
PageContent: [],
|
|
BgConfig: {BackgroundObj:{type:1, bgColor:'#ffffff' ,"pathColor":"#f8f8f8","path":""}},
|
|
PageNav:{window:{"navigationBarBackgroundColor":"#ffffff","navigationBarTextStyle":"black","navigationBarTitleText":"","backgroundColor":"#f8f8f8","backgroundTextStyle":"dark"}},
|
|
shareImg: "",
|
|
shareTitle: "",
|
|
refresh: true,
|
|
page: 1,
|
|
ispage: true,
|
|
flag:true,
|
|
w:0,
|
|
chatUrl:"",
|
|
MemberPostsList:[],
|
|
NIndex:true,
|
|
story_index:"",
|
|
|
|
scposition: '',
|
|
old: {
|
|
scposition: 0
|
|
},
|
|
|
|
isClose:true,
|
|
is_loaded:false,
|
|
|
|
isquicknav: false,
|
|
opacity: 1,
|
|
background: "f1f1f1",
|
|
istop: true
|
|
}
|
|
},
|
|
computed: mapState(['Config', 'StateCode', 'notice', 'plantformInfo', 'shopInfo', 'userInfo', 'hasLogin']),
|
|
components: {
|
|
diy,
|
|
statusBar
|
|
},
|
|
onLoad: function(options) {
|
|
uni.setNavigationBarTitle({
|
|
title:this.__('')
|
|
});
|
|
|
|
var that = this;
|
|
|
|
that.$.showLoading();
|
|
|
|
this.setData({
|
|
options: options
|
|
});
|
|
|
|
var w = that.$.getSystemInfoSync().windowWidth;
|
|
that.setData({
|
|
w: w
|
|
})
|
|
|
|
//that.initData(false);
|
|
},
|
|
|
|
/**
|
|
* 生命周期函数--监听页面显示
|
|
*/
|
|
onShow: function() {
|
|
let that = this;
|
|
|
|
this.refresh || this.setData({
|
|
refresh: true
|
|
})
|
|
|
|
if (!that.is_loaded)
|
|
{
|
|
that.initData(false);
|
|
}
|
|
},
|
|
|
|
/**
|
|
* 生命周期函数--监听页面卸载
|
|
*/
|
|
onUnload: function() {
|
|
// 离开页面,注销事件
|
|
var that = this
|
|
this.notice.removeNotification("RefreshProduct", that);
|
|
},
|
|
|
|
/**
|
|
* 页面相关事件处理函数--监听用户下拉动作
|
|
*/
|
|
onPullDownRefresh: function() {
|
|
this.initData(true)
|
|
},
|
|
|
|
/**
|
|
* 页面上拉触底事件的处理函数
|
|
*/
|
|
onReachBottom: function() {
|
|
|
|
},
|
|
|
|
/**
|
|
* 用户点击右上角分享
|
|
*/
|
|
onShareAppMessage: function() {
|
|
// #ifdef MP-WEIXIN
|
|
wx.showShareMenu({
|
|
withShareTicket: true,
|
|
menus: ['shareAppMessage', 'shareTimeline']
|
|
});
|
|
// #endif
|
|
|
|
return {
|
|
title: this.shareTitle,
|
|
imageUrl: this.shareImg,
|
|
path: "/pages/index/index?uid=" + this.userInfo.user_id
|
|
}
|
|
},
|
|
|
|
/**
|
|
* 用户点击右上角分享朋友圈
|
|
*/
|
|
onShareTimeline: function () {
|
|
return {
|
|
title: this.shareTitle,
|
|
query: {
|
|
uid: this.userInfo.user_id
|
|
},
|
|
imageUrl: this.shareImg,
|
|
}
|
|
},
|
|
/**
|
|
* 页面滚动触发事件的处理函数
|
|
*/
|
|
onPageScroll: function() {},
|
|
|
|
methods: {
|
|
...mapMutations(['logout', 'getPlantformInfo', 'forceUserInfo', 'getStoreInfo']),
|
|
|
|
getPostsList: function () {
|
|
let that = this;
|
|
var params = {page: this.page, 'rand':1};
|
|
|
|
that.$.request({
|
|
url: this.Config.URL.sns.story_lists,
|
|
data: params,
|
|
success: function (data, status, msg, code) {
|
|
if (data.items.length > 0) {
|
|
for (var r = 0; r < data.items.length; r++) {
|
|
data.items[r]['story_time_str'] = dateUtil.dateUtils.format(that.$.datetimeFormatter(data.items[r]['story_time']));
|
|
}
|
|
|
|
if (data.page >= data.total) {
|
|
that.setData({
|
|
MemberPostsList: that.MemberPostsList.concat(data.items),
|
|
flag: false,
|
|
ispage: false
|
|
});
|
|
} else {
|
|
that.setData({
|
|
MemberPostsList: that.MemberPostsList.concat(data.items),
|
|
flag: true,
|
|
ispage: true
|
|
})
|
|
}
|
|
|
|
} else {
|
|
that.setData({flag: false, ispage: false})
|
|
}
|
|
|
|
that.setData({is_loaded: true})
|
|
|
|
that.$.stopPullDownRefresh()
|
|
that.$.hideLoading();
|
|
}
|
|
});
|
|
},
|
|
|
|
//初始化数据,获取店铺分类
|
|
initData: function(force_refresh) {
|
|
var that = this;
|
|
|
|
that.getDivModel(force_refresh)
|
|
|
|
|
|
let param = {}
|
|
|
|
that.getPostsList()
|
|
|
|
},
|
|
moNitor: function () {
|
|
this.setData({isClose: false})
|
|
},
|
|
onLike: function (a) {
|
|
let that = this;
|
|
that.forceUserInfo(function(user) {
|
|
that.dianzan(a.currentTarget.dataset.story_id)
|
|
});
|
|
},
|
|
dianzan: function (story_id) {
|
|
var that = this, params = {
|
|
story_id: story_id
|
|
};
|
|
|
|
that.$.request({
|
|
url: this.Config.URL.sns.story_like_add,
|
|
data: params,
|
|
success: function (data, status, msg, code) {
|
|
if (200 == status) {
|
|
//that.getPostsList()
|
|
|
|
//修正当前记录数据
|
|
for (var r = 0; r < that.MemberPostsList.length; r++) {
|
|
if (story_id == that.MemberPostsList[r]['story_id'])
|
|
{
|
|
that.MemberPostsList[r]['IsFabulous'] = 1;
|
|
that.MemberPostsList[r]['story_like_count']++;
|
|
}
|
|
}
|
|
} else {
|
|
}
|
|
}
|
|
});
|
|
},
|
|
onUnLike: function (a) {
|
|
let that = this;
|
|
that.forceUserInfo(function(user) {
|
|
that.canceldianzan(a.currentTarget.dataset.story_id)
|
|
});
|
|
},
|
|
canceldianzan: function (story_id) {
|
|
var that = this, params = {
|
|
story_id: story_id
|
|
};
|
|
|
|
that.$.request({
|
|
url: this.Config.URL.sns.story_like_remove,
|
|
data: params,
|
|
success: function (data, status, msg, code) {
|
|
if (200 == status) {
|
|
//修正当前记录数据
|
|
for (var r = 0; r < that.MemberPostsList.length; r++) {
|
|
if (story_id == that.MemberPostsList[r]['story_id'])
|
|
{
|
|
that.MemberPostsList[r]['IsFabulous'] = 0;
|
|
that.MemberPostsList[r]['story_like_count']--;
|
|
}
|
|
}
|
|
} else {
|
|
}
|
|
}
|
|
});
|
|
},
|
|
|
|
onPostStory: function (a) {
|
|
let that = this;
|
|
that.forceUserInfo(function(user) {
|
|
that.$.navigateTo({url: "/community/community/post"})
|
|
})
|
|
},
|
|
|
|
//读取diy内容
|
|
getDivModel: function(force_refresh) {
|
|
var that = this,
|
|
params = {page_type:'page_sns'};
|
|
|
|
that.$.request({
|
|
url: that.Config.URL.index_app,
|
|
data: params,
|
|
loading: false,
|
|
ajaxCache: {
|
|
timeout: that.Config.CACHE_EXPIRE,
|
|
forceRefresh: force_refresh
|
|
},
|
|
success: function(data, status, msg, code) {
|
|
uni.stopPullDownRefresh()
|
|
that.setData({
|
|
loadPageFlag: true
|
|
});
|
|
|
|
that.setData({
|
|
pageId: data.page_id,
|
|
PageContent: that.$.parseJSON(data.page_code),
|
|
BgConfig: that.$.parseJSON(data.page_config),
|
|
PageNav: that.$.parseJSON(data.page_nav),
|
|
shareImg: data.page_share_image,
|
|
shareTitle: data.page_share_title
|
|
});
|
|
|
|
if (that.PageNav.window.navigationBarTextStyle == 'black')
|
|
{
|
|
that.PageNav.window.navigationBarTextStyle = '#000000'
|
|
}
|
|
|
|
if (that.PageNav.window.navigationBarTextStyle == 'white')
|
|
{
|
|
that.PageNav.window.navigationBarTextStyle = '#ffffff'
|
|
}
|
|
|
|
uni.setNavigationBarColor({
|
|
frontColor: that.PageNav.window.navigationBarTextStyle,
|
|
backgroundColor: that.PageNav.window.navigationBarBackgroundColor,
|
|
animation: {
|
|
duration: 400,
|
|
timingFunc: 'easeIn'
|
|
}
|
|
})
|
|
}
|
|
});
|
|
},
|
|
searchinput: function (a) {
|
|
wx.navigateTo({
|
|
url: "/community/community/lists?story_index=" + this.story_index,
|
|
success: function (a) {
|
|
},
|
|
fail: function (a) {
|
|
},
|
|
complete: function (a) {
|
|
}
|
|
}), this.setData({story_index: ""})
|
|
},
|
|
|
|
scrollbottom: function () {
|
|
if (this.flag) {
|
|
var that = this;
|
|
that.setData({flag: false});
|
|
clearTimeout(t);
|
|
|
|
var t = setTimeout(function () {
|
|
that.setData({page: parseInt(that.page) + 1});
|
|
that.getPostsList()
|
|
}, 500)
|
|
}
|
|
},
|
|
bindscroll: function (a) {
|
|
//console.log(a.detail.scrollTop);
|
|
|
|
0 != a.detail.scrollTop && wx.setStorage({
|
|
key: "key",
|
|
data: [a.detail.scrollTop]
|
|
});
|
|
|
|
100 < a.detail.scrollTop ? this.setData({
|
|
opacity: 1,
|
|
background: "f1f1f1",
|
|
istop: true
|
|
}) : this.setData({
|
|
opacity: 0,
|
|
background: "fff",
|
|
istop: false
|
|
});
|
|
|
|
a.detail.scrollTop >= this.screenHeight ? this.setData({isquicknav: true}) : this.setData({isquicknav: false})
|
|
},
|
|
scrollView: function(e) {
|
|
},
|
|
scrollTop: function() {
|
|
},
|
|
scrolltoupper: function(t) {
|
|
this.old.scposition = t.detail.scrollTop;
|
|
},
|
|
returnTop: function() {
|
|
var that = this;
|
|
|
|
// 解决view层不同步的问题
|
|
that.setData({
|
|
scposition: this.old.scposition
|
|
})
|
|
|
|
this.$nextTick(function() {
|
|
that.setData({
|
|
scposition: 0
|
|
})
|
|
});
|
|
}
|
|
}
|
|
};
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
@import "../../styles/_variables";
|
|
|
|
@import '../../styles/layout.scss';
|
|
|
|
|
|
send-message button {
|
|
display: inline-block;
|
|
width: 100%;
|
|
height: 100%;
|
|
float: left;
|
|
}
|
|
|
|
page {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.wrap-box {
|
|
position: relative;
|
|
width: 750rpx;
|
|
}
|
|
|
|
.box_title {
|
|
/* height: 157rpx; */
|
|
position: relative;
|
|
padding: 0 30rpx;
|
|
}
|
|
|
|
.box_title_img {
|
|
width: 75rpx;
|
|
height: 75rpx;
|
|
padding: 25rpx 17rpx 15rpx 0rpx;
|
|
float: left;
|
|
display: inline-block;
|
|
}
|
|
|
|
.box_title_image {
|
|
width: 73rpx;
|
|
height: 73rpx;
|
|
border-radius: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.box_title_image2 {
|
|
width: 53rpx;
|
|
height: 53rpx;
|
|
border-radius: 100%;
|
|
border: 1rpx solid #fff;
|
|
overflow: hidden;
|
|
margin: 17rpx -5rpx;
|
|
}
|
|
|
|
.box_title_name {
|
|
min-width: 59px;
|
|
line-height: 95rpx;
|
|
/* float: left; */
|
|
font-size: 28rpx;
|
|
height: 112rpx;
|
|
color: #333;
|
|
display: inline-block;
|
|
}
|
|
|
|
.box_title_name_time {
|
|
position: absolute;
|
|
top: 41rpx;
|
|
left: 93rpx;
|
|
min-width: 200rpx;
|
|
line-height: 95rpx;
|
|
/* float: left; */
|
|
font-size: 24rpx;
|
|
color: #959593;
|
|
}
|
|
|
|
.box_title_guanzhu {
|
|
display: inline-block;
|
|
float: right;
|
|
}
|
|
|
|
.box_title_guanzhu_text {
|
|
width: 118rpx;
|
|
text-align: right;
|
|
color: #db384c;
|
|
font-size: 28rpx;
|
|
line-height: 112rpx;
|
|
align-content: center;
|
|
height: 112rpx;
|
|
}
|
|
|
|
.box {
|
|
/* float: left; */
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
overflow: hidden;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.box_text {
|
|
font-size: 30rpx;
|
|
line-height: 55rpx;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
margin-top: 40rpx;
|
|
label {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
}
|
|
|
|
.aaa {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
padding: 0 30rpx 20rpx 30rpx;
|
|
color: #606060;
|
|
}
|
|
|
|
.bbb {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
padding: 0 28rpx;
|
|
}
|
|
|
|
.quanbu {
|
|
color: #5f9ee3;
|
|
font-size: 36rpx;
|
|
line-height: 100rpx;
|
|
padding: 0 28rpx;
|
|
}
|
|
|
|
.time {
|
|
color: #767676;
|
|
font-size: 26rpx;
|
|
line-height: 100rpx;
|
|
padding: 0 30rpx;
|
|
height: 100rpx;
|
|
}
|
|
|
|
.newsimg_box {}
|
|
|
|
.newsimg_box_img {
|
|
padding: 0rpx 24rpx 20rpx 24rpx;
|
|
display: flex;
|
|
}
|
|
|
|
.newsimg_box_image2 {
|
|
width: 333rpx;
|
|
height: 333rpx;
|
|
padding: 0 14rpx;
|
|
/* float: left; */
|
|
}
|
|
|
|
.time_box {
|
|
width: 532rpx;
|
|
height: 100rpx;
|
|
/* float: left */
|
|
}
|
|
|
|
.time_box_dz {
|
|
width: 136rpx;
|
|
height: 100rpx;
|
|
line-height: 123rpx;
|
|
/* float: left */
|
|
}
|
|
|
|
.time_box_dz_img2 {
|
|
width: 37rpx;
|
|
height: 40rpx;
|
|
margin-top: 17rpx;
|
|
margin-left: 20rpx;
|
|
}
|
|
|
|
.time_box_dz_img {
|
|
width: 37rpx;
|
|
height: 40rpx;
|
|
margin-top: 1rpx;
|
|
margin-left: 90rpx;
|
|
}
|
|
|
|
.time_box_fx_img {
|
|
width: 30rpx;
|
|
height: 35rpx;
|
|
margin-left: 65rpx;
|
|
}
|
|
|
|
.box_box::before {
|
|
content: " ";
|
|
position: absolute;
|
|
left: 28rpx;
|
|
top: 0;
|
|
right: 28rpx;
|
|
height: 1px;
|
|
border-top: 1px solid #d9d9d9;
|
|
color: #d9d9d9;
|
|
-webkit-transform-origin: 0 0;
|
|
transform-origin: 0 0;
|
|
-webkit-transform: scaleY(0.5);
|
|
transform: scaleY(0.5);
|
|
}
|
|
|
|
.box_title_guanzhu span {
|
|
line-height: 156rpx;
|
|
font-size: 30rpx;
|
|
color: #ff6000;
|
|
}
|
|
|
|
.newsimg_box_image1 {
|
|
width: 694rpx;
|
|
height: 342rpx;
|
|
padding: 0 14rpx;
|
|
}
|
|
|
|
.m-orderlist {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.newsimg_box_image3 {
|
|
width: 220rpx;
|
|
height: 220rpx;
|
|
margin: 0rpx 7rpx 0rpx 8rpx;
|
|
display: inline-block;
|
|
}
|
|
|
|
.givealike_box {
|
|
position: relative;
|
|
margin: 0rpx 28rpx 0 28rpx;
|
|
display: flex;
|
|
}
|
|
|
|
.up {
|
|
height: 22rpx;
|
|
width: 26rpx;
|
|
position: absolute;
|
|
top: -21rpx;
|
|
left: 29rpx;
|
|
}
|
|
|
|
.box_title_image2_box {
|
|
/* max-width: 319rpx; */
|
|
width: 100%;
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
|
|
.dzys {
|
|
width: 115rpx;
|
|
height: 61rpx;
|
|
border-left: 1rpx solid #e8e8e8;
|
|
margin-top: 37rpx;
|
|
}
|
|
|
|
.dzys_img {
|
|
width: 36rpx;
|
|
height: 40rpx;
|
|
margin: 8rpx 0 0 40rpx;
|
|
}
|
|
|
|
.commentaries {
|
|
vertical-align: text-top;
|
|
font-size: 30rpx;
|
|
border-left: 4rpx solid #ed2b43;
|
|
padding-left: 20rpx;
|
|
/* position: relative; */
|
|
position: relative;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
span {
|
|
/* position: absolute; */
|
|
/* top: -2rpx; */
|
|
}
|
|
}
|
|
|
|
.commentaries_title {
|
|
display: flex;
|
|
}
|
|
|
|
.touxiang_box2 {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
padding: 0rpx 25rpx 13rpx 0rpx;
|
|
float: left;
|
|
}
|
|
|
|
.commentaries_title_img {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
padding: 29rpx 25rpx 29rpx 25rpx;
|
|
}
|
|
|
|
.commentaries_tzpl {
|
|
width: 495rpx;
|
|
color: #ed2b43;
|
|
}
|
|
|
|
.commentaries_title_image {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
border-radius: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.commentaries_title_name {
|
|
font-size: 30rpx;
|
|
margin: 30rpx 25rpx 25rpx 0rpx;
|
|
padding-left: 28rpx;
|
|
width: 620rpx;
|
|
height: 66rpx;
|
|
background-color: #f4f8fb;
|
|
line-height: 66rpx;
|
|
}
|
|
|
|
.commentaries_text_box {
|
|
margin: 0 25rpx 0 110rpx;
|
|
clear: both;
|
|
}
|
|
|
|
.commentaries_text {
|
|
font-size: 32rpx;
|
|
line-height: 50rpx;
|
|
}
|
|
|
|
.commentaries_text_time {
|
|
font-size: 26rpx;
|
|
padding: 29rpx 0;
|
|
color: #9aa1ae;
|
|
position: relative;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.commentaries_text_img {
|
|
width: 24rpx;
|
|
height: 24rpx;
|
|
margin: 6rpx 0 0 10rpx;
|
|
}
|
|
|
|
.commentaries_text_revert_box {
|
|
background-color: #f4f8fb;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.commentaries_text_revert {
|
|
padding: 13rpx 0rpx 0 28rpx;
|
|
}
|
|
|
|
.commentaries_text_revert_name {
|
|
color: #9aa1ae;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.commentaries_text_revert_name_img {
|
|
width: 24rpx;
|
|
height: 18rpx;
|
|
}
|
|
|
|
.commentaries_text_revert_name_box {}
|
|
|
|
.allcommentaries {
|
|
font-size: 30rpx;
|
|
color: #9aa1ae;
|
|
text-align: center;
|
|
margin: 75rpx 0 100rpx 0;
|
|
span {
|
|
padding: 17rpx 40rpx;
|
|
border: 1rpx solid #9aa1ae;
|
|
border-radius: 40rpx;
|
|
}
|
|
}
|
|
|
|
.input_box {
|
|
width: 100%;
|
|
height: 87rpx;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
background-color: #fff;
|
|
z-index: 1;
|
|
display: flex;
|
|
}
|
|
|
|
.input_box_img {
|
|
width: 55rpx;
|
|
height: 55rpx;
|
|
padding: 16rpx 15rpx 16rpx 23rpx;
|
|
}
|
|
|
|
.input_box_image {
|
|
width: 55rpx;
|
|
height: 55rpx;
|
|
border-radius: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.input_box_input {
|
|
width: 587rpx;
|
|
height: 65rpx;
|
|
background-color: #f6f6f6;
|
|
margin: 12rpx 0rpx 14rpx 22rpx;
|
|
border-radius: 5rpx;
|
|
position: relative;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
span {
|
|
font-size: 30rpx;
|
|
margin-left: 20rpx;
|
|
color: #cbcbcb;
|
|
line-height: 55rpx;
|
|
}
|
|
}
|
|
|
|
.input_box_fs {
|
|
text-align: center;
|
|
font-size: 30rpx;
|
|
color: #939ca9;
|
|
line-height: 87rpx;
|
|
width: 113rpx;
|
|
}
|
|
|
|
.tianchong {
|
|
width: 100%;
|
|
height: 210rpx;
|
|
background-color: #fff;
|
|
line-height: 144rpx;
|
|
color: #9aa1ae;
|
|
text-align: center;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.input_box_input_input {
|
|
width: 690rpx;
|
|
margin: 20rpx 10rpx;
|
|
height: 160rpx;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.hidden_box {
|
|
background-color: #000;
|
|
position: fixed;
|
|
height: 100%;
|
|
width: 100%;
|
|
opacity: 0.6;
|
|
z-index: 2;
|
|
}
|
|
|
|
.hidden_box_Input {
|
|
width: 100%;
|
|
height: 315rpx;
|
|
position: fixed;
|
|
bottom: 0;
|
|
z-index: 3;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.hidden_box_Input_box {
|
|
margin: 20rpx;
|
|
border: 1rpx solid #d9d9d9;
|
|
height: 200rpx;
|
|
border-radius: 5rpx;
|
|
}
|
|
|
|
.hidden_box_input {
|
|
height: 160rpx;
|
|
}
|
|
|
|
.hidden_box_Input_but {
|
|
padding: 0 20rpx;
|
|
}
|
|
|
|
.hidden_box_Input_button {
|
|
padding: 10rpx 20rpx;
|
|
background-color: #d9d9d9;
|
|
font-size: 28rpx;
|
|
border-radius: 5rpx;
|
|
color: #fff;
|
|
float: right;
|
|
}
|
|
|
|
.box_text_title {
|
|
font-size: 32rpx;
|
|
padding: 30rpx;
|
|
color: #343434;
|
|
}
|
|
|
|
.commentaries_box {
|
|
background-color: #fff;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.commodity_box {
|
|
padding: 40rpx 30rpx;
|
|
display: flex;
|
|
position: relative;
|
|
}
|
|
|
|
.commodity_img {
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.commodity_text {
|
|
font-size: 30rpx;
|
|
margin-left: 17rpx;
|
|
color: #d23349;
|
|
}
|
|
|
|
.commodity_shop {
|
|
margin: 0 30rpx 0rpx 30rpx;
|
|
background-color: #fbfbfb;
|
|
width: 690rpx;
|
|
height: 160rpx;
|
|
}
|
|
|
|
.commodity_shopImg {
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
float: left;
|
|
}
|
|
|
|
.commodity_shop_name {
|
|
padding: 22rpx 40rpx 0 21rpx;
|
|
font-size: 30rpx;
|
|
height: 74rpx;
|
|
float: left;
|
|
width: 468rpx;
|
|
}
|
|
|
|
.commodity_shop_nametext {
|
|
color: #323232;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
.commodity_shop_pic {
|
|
font-size: 30rpx;
|
|
color: #d23349;
|
|
padding: 0 0 0 21rpx;
|
|
height: 76rpx;
|
|
line-height: 76rpx;
|
|
float: left;
|
|
}
|
|
|
|
.commodity {
|
|
position: relative;
|
|
margin-bottom: 37rpx;
|
|
&::before {
|
|
content: " ";
|
|
position: absolute;
|
|
left: 30rpx;
|
|
top: 0rpx;
|
|
right: 30rpx;
|
|
height: 1px;
|
|
border-top: 1px solid #d9d9d9;
|
|
color: #d9d9d9;
|
|
-webkit-transform-origin: 0 0;
|
|
transform-origin: 0 0;
|
|
-webkit-transform: scaleY(0.5);
|
|
transform: scaleY(0.5);
|
|
}
|
|
}
|
|
|
|
.box_title_image2_box::before {
|
|
content: " ";
|
|
position: absolute;
|
|
left: 0rpx;
|
|
top: 0rpx;
|
|
right: 0rpx;
|
|
height: 1px;
|
|
border-top: 1px solid #d9d9d9;
|
|
color: #d9d9d9;
|
|
-webkit-transform-origin: 0 0;
|
|
transform-origin: 0 0;
|
|
-webkit-transform: scaleY(0.5);
|
|
transform: scaleY(0.5);
|
|
}
|
|
|
|
.box_title_image2_box_box {
|
|
width: 571rpx;
|
|
display: flex;
|
|
padding: 20rpx 0;
|
|
span {
|
|
font-size: 28rpx;
|
|
color: #5c5c5c;
|
|
line-height: 88rpx;
|
|
width: 120rpx;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.rmtz_box_title {
|
|
width: 750rpx;
|
|
height: 86rpx;
|
|
}
|
|
|
|
.rmtz_box {
|
|
background-color: #f6f6f6;
|
|
padding: 20rpx 0;
|
|
}
|
|
|
|
.rmtz_box_content_box2 {
|
|
width: 540rpx;
|
|
float: left;
|
|
}
|
|
|
|
.rmtz_box_content_img {
|
|
width: 149rpx;
|
|
height: 149rpx;
|
|
float: right;
|
|
}
|
|
|
|
.rmtz_box_content_Img {
|
|
width: 149rpx;
|
|
height: 149rpx;
|
|
}
|
|
|
|
.rmtz_box_content_box {
|
|
background-color: #fff;
|
|
padding: 10rpx 23rpx;
|
|
height: 150rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.rmtz_box_content_box_text {
|
|
width: 540rpx;
|
|
float: left;
|
|
font-size: 30rpx;
|
|
padding-top: 15rpx;
|
|
height: 101rpx;
|
|
}
|
|
|
|
.pldz_box {
|
|
float: right;
|
|
color: #959593;
|
|
font-size: 24rpx;
|
|
height: 32rpx;
|
|
padding: 30rpx;
|
|
position: relative;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.dz {
|
|
width: 30rpx;
|
|
height: 24rpx;
|
|
vertical-align: text-top;
|
|
}
|
|
|
|
.pl {
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
vertical-align: text-top;
|
|
}
|
|
|
|
.rmtz_box_content_box_dz {
|
|
float: left;
|
|
padding-right: 20rpx;
|
|
position: relative;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
line-height: 1.8;
|
|
span {
|
|
padding: 0 10rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
}
|
|
|
|
.rmtz_box_content_box_pl {
|
|
span {
|
|
padding: 0 10rpx;
|
|
font-size: 24rpx;
|
|
/*
|
|
margin-top: 0;
|
|
/*line-height: 32rpx;*/
|
|
}
|
|
float: left;
|
|
position: relative;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
|
|
background-color: #fff;
|
|
line-height: 1.8;
|
|
|
|
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.rmtz_box_content_box::before {
|
|
content: " ";
|
|
position: absolute;
|
|
left: 30rpx;
|
|
top: 168rpx;
|
|
right: 0rpx;
|
|
height: 1px;
|
|
border-top: 1px solid #d9d9d9;
|
|
color: #d9d9d9;
|
|
-webkit-transform-origin: 0 0;
|
|
transform-origin: 0 0;
|
|
-webkit-transform: scaleY(0.5);
|
|
transform: scaleY(0.5);
|
|
}
|
|
|
|
.commentaries2 {
|
|
padding: 22rpx 30rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.right {
|
|
width: 20rpx;
|
|
height: 27rpx;
|
|
float: right;
|
|
}
|
|
|
|
.right2 {
|
|
width: 20rpx;
|
|
height: 27rpx;
|
|
}
|
|
|
|
.commentaries_title_box_box {
|
|
margin: 25rpx 0 0 0;
|
|
}
|
|
|
|
.commentaries2::before {
|
|
content: " ";
|
|
position: absolute;
|
|
left: 30rpx;
|
|
top: 83rpx;
|
|
right: 0rpx;
|
|
height: 1px;
|
|
border-top: 1px solid #d9d9d9;
|
|
color: #d9d9d9;
|
|
-webkit-transform-origin: 0 0;
|
|
transform-origin: 0 0;
|
|
-webkit-transform: scaleY(0.5);
|
|
transform: scaleY(0.5);
|
|
}
|
|
|
|
.touxiang_box {
|
|
height: 86rpx;
|
|
padding: 0 25rpx;
|
|
}
|
|
|
|
.name_box3 {
|
|
height: 74rpx;
|
|
width: 490rpx;
|
|
line-height: 66rpx;
|
|
float: left;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.name_box2 {
|
|
height: 40rpx;
|
|
width: 615rpx;
|
|
float: left;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.conton_box2 {
|
|
width: 615rpx;
|
|
float: left;
|
|
font-size: 32rpx;
|
|
line-height: 45rpx;
|
|
padding: 20rpx 0;
|
|
}
|
|
|
|
.conton_box {
|
|
padding: 10rpx 28rpx 0 0;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.commentaries_text_time_img {
|
|
width: 30rpx;
|
|
height: 33rpx;
|
|
vertical-align: text-top;
|
|
}
|
|
|
|
.commentaries_text_time_Img {
|
|
margin-left: 13rpx;
|
|
margin-right: 30rpx;
|
|
color: #000;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.commentaries_text_time_tome {
|
|
width: 410rpx;
|
|
}
|
|
|
|
.time_a {
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
color: #000;
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.hidden_time_a {
|
|
width: 244rpx;
|
|
height: 68rpx;
|
|
position: absolute;
|
|
background: url(http://bbcfile.kukeduo.cn//ad001/20171114/813c794a-3122-406c-8a3d-19879fe382aa.png) center no-repeat;
|
|
background-size: 100%;
|
|
right: 42rpx;
|
|
}
|
|
|
|
.zghf {
|
|
clear: both;
|
|
font-size: 30rpx;
|
|
margin: 0rpx 0rpx 0rpx 110rpx;
|
|
padding-left: 28rpx;
|
|
width: 620rpx;
|
|
height: 66rpx;
|
|
background-color: #f4f8fb;
|
|
line-height: 66rpx;
|
|
position: relative;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.zghf_lanse {
|
|
color: #446fcd;
|
|
}
|
|
|
|
.hidden_time_b {
|
|
font-size: 28rpx;
|
|
color: #fff;
|
|
border-right: 1rpx solid #fff;
|
|
line-height: 33rpx;
|
|
height: 30rpx;
|
|
margin: 19rpx 0;
|
|
width: 50%;
|
|
text-align: center;
|
|
display: inline-block;
|
|
}
|
|
|
|
.hidden_time_c {
|
|
font-size: 28rpx;
|
|
color: #fff;
|
|
line-height: 33rpx;
|
|
height: 30rpx;
|
|
margin: 19rpx 0;
|
|
width: 44%;
|
|
text-align: center;
|
|
display: inline-block;
|
|
}
|
|
|
|
.xiepinglun {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
text-align: center;
|
|
vertical-align: text-top;
|
|
margin-left: 15rpx;
|
|
}
|
|
|
|
.box_title_conton {
|
|
padding: 8rpx 30rpx 30rpx;
|
|
font-size: 30rpx;
|
|
/*line-height: 53rpx;*/
|
|
width: 690rpx;
|
|
/*height: 40rpx*/;
|
|
|
|
height: 48rpx;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.u_top {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
}
|
|
|
|
.box_title_box {
|
|
position: relative;
|
|
z-index: 1;
|
|
clear: both;
|
|
}
|
|
|
|
.rmtz_box_content_box_p11 {
|
|
width: 334rpx;
|
|
text-align: right;
|
|
color: #959593;
|
|
|
|
height: 48rpx;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.box_title_box::before {
|
|
content: " ";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
border-top: 1px solid #d9d9d9;
|
|
color: #d9d9d9;
|
|
-webkit-transform-origin: 0 0;
|
|
transform-origin: 0 0;
|
|
-webkit-transform: scaleY(0.5);
|
|
transform: scaleY(0.5);
|
|
}
|
|
|
|
.u-view, .u_top {
|
|
border: none;
|
|
}
|
|
|
|
.u-back2 {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
line-height: 80rpx;
|
|
border-radius: 100%;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.u-view2 {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
line-height: 80rpx;
|
|
margin: 10rpx 0;
|
|
border-radius: 100%;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
}
|
|
|
|
.formButtom {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.titile_top {
|
|
width: 100%;
|
|
background-color: #fff;
|
|
position: fixed;
|
|
height: 90rpx;
|
|
z-index: 9;
|
|
}
|
|
|
|
|
|
.banner-nav {
|
|
/* position: absolute; */
|
|
width: 100%;
|
|
height: 88rpx;
|
|
z-index: 999;
|
|
display: flex;
|
|
align-items: center;
|
|
/* justify-content: center; */
|
|
justify-content: space-around;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
.xx-box {
|
|
/* margin-top: 20rpx; margin-left: 22rpx; */
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
}
|
|
|
|
.xx {
|
|
/* position: fixed;*/
|
|
/* top: 20rpx; left: 22rpx; */
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
z-index: 999;
|
|
border-radius: 100%;
|
|
opacity: 0.8;
|
|
background-color: #fafafa;
|
|
border: 1rpx solid #fafafa;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.xx1 {
|
|
width: 35rpx;
|
|
height: 35rpx;
|
|
margin: 9rpx;
|
|
}
|
|
|
|
.input_box2 {
|
|
/* position: fixed;*/
|
|
/* top: 20rpx; left: 95rpx; */
|
|
width: 560rpx;
|
|
height: 54rpx;
|
|
z-index: 99;
|
|
border-radius: 35rpx;
|
|
opacity: 0.8;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.input_box2_input {
|
|
width: 400rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.sq_0 {
|
|
width: 54rpx;
|
|
height: 54rpx;
|
|
/* top: 20rpx; right: 22rpx; */
|
|
z-index: 99;
|
|
border-radius: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sq_1 {
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
|
|
border-radius: 120rpx;
|
|
border: 1px solid #fff;
|
|
vertical-align: middle;
|
|
box-shadow: 0px 2rpx 15rpx rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.border {
|
|
border: 1rpx solid #d9d9d9;
|
|
}
|
|
|
|
.border1 {
|
|
border-bottom: 1rpx solid #fafafa;
|
|
}
|
|
|
|
.border22 {
|
|
/* border: 1rpx solid #d9d9d9; */
|
|
}
|
|
</style>
|