java-mall-app/community/community/category.vue
2025-04-24 15:47:08 +08:00

1944 lines
39 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view>
<view class="banner-nav" v-if="false">
<view class="xx-box">
<navigator hover-class="none" class="xx" url="/member/member/message">
<image
class="xx1"
src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/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>
<scroll-view
scroll-y="true"
class="m-orderlist"
@scrolltolower="scrollbottom"
:scroll-top="scposition"
@scroll="scroll"
@scrolltoupper="scrollView"
>
<view v-if="!isshow">
<view
class="bj_box"
:style="
'background: url(' +
category_row.story_category_bg +
') no-repeat ;background-size:100% ;'
"
>
<view class="tn_box">
<view class="bj_box_tx">
<image
class="box_title_image"
:src="category_row.story_category_logo"
></image>
</view>
<view class="bj_box_name_box">
<view class="bj_box_name"
><span>{{ category_row.story_category_desc }}</span></view
>
<view class="bj_box_tz"
><span class="">{{ __("帖子") }}</span
><span></span
><span>{{ category_row.story_category_count }}</span>
</view>
</view>
</view>
</view>
<view v-if="isdata">
<view
class="box_title_box"
v-for="(item, index) in PlatePostList"
:key="index"
>
<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/nvueSwiper/nvueSwiper?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://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/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://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/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://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/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://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/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">
<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>
</view>
<view v-else>
<block>
<view class="u-loadmore u-loadmore-line">
<text class="u-loadmore-tips">没有数据!</text>
</view>
</block>
</view>
</view>
<view v-else>
<block>
<navigator
hover-class="none"
url="/pages/index/community"
open-type="switchTab"
class="m-nullpage"
>
<view class="m-nullpage-middle">
<view class="m-null-tip">
<text>{{ __("当前版块已被下线或删除!") }}</text>
</view>
</view>
</navigator>
</block>
</view>
</scroll-view>
<view :class="[animation ? '' : 'zhezhaoceng']">
<movable-area class="movableArea">
<movable-view
class="movableView"
@touchmove.stop.prevent="doNothing"
direction="all"
:x="initX"
:y="initY"
>
<view class="u-top" v-if="isnav">
<image
src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/nav/black/nav_icon_nav.png"
class="quicknav"
@tap="nav"
></image>
<navigator url="/community/community/post">
<image
src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/nav/black/nav_post.png"
class="quicknav"
></image>
</navigator>
<image
src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/nav/black/nav_gotop.png"
:class="[isquicknav ? 'quicknav' : 'hide']"
@tap="returnTop"
></image>
</view>
<view v-else @tap="outnav">
<view class="u-top1">
<navigator
:class="animation ? 'navtext1' : 'navtext'"
url="/pages/index/image"
>
<text>{{ __("社区首页") }}</text>
<image
src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/nav/gray/nav_comnityhome.png"
class="quicknav"
></image>
</navigator>
<button
:class="animation ? 'navtext1' : 'navtext'"
open-type="share"
style="padding: 0; background: none; width: none"
>
<text>{{ __("分享") }}</text>
<image
src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/nav/gray/nav_share.png"
class="quicknav"
></image>
</button>
<navigator
:class="animation ? 'navtext1' : 'navtext'"
url="/community/community/userspace"
>
<text>{{ __("我的帖子") }}</text>
<image
src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/nav/gray/nav_my_post.png"
class="quicknav"
></image>
</navigator>
<navigator
:class="animation ? 'navtext1' : 'navtext'"
url="/pages/index/index"
open-type="switchTab"
>
<text>{{ __("商城首页") }}</text>
<image
src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/nav/gray/nav_home.png"
class="quicknav"
></image>
</navigator>
<view class="navtext">
<image
src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/nav/black/nav_icon_close.png"
class="quicknav"
></image>
</view>
<navigator url="/community/community/post" class="navtext">
<image
src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/nav/black/nav_post.png"
class="quicknav"
></image>
</navigator>
</view>
</view>
</movable-view>
</movable-area>
</view>
</view>
</template>
<script>
import dateUtil from "../../helpers/util_date";
import diy from "../../components/themes/diy.vue";
import { mapMutations, mapState } from "vuex";
export default {
data: function () {
return {
options: {},
is_loaded: false,
category_id: 0,
category_row: {},
PlatePostList: [],
isdata: true,
ispage: true,
flag: true,
scposition: "-1",
old: {
scposition: "0",
},
sousuovalue2: "",
istop: true,
page: 1,
isshow: false,
sousuovalue: "",
opacity: 0,
background: "fff",
isnav: true,
screenHeight: 0,
isquicknav: false,
animation: true,
initX: "690",
initY: "1336",
timer: null,
};
},
computed: mapState([
"Config",
"StateCode",
"notice",
"plantformInfo",
"shopInfo",
"userInfo",
"hasLogin",
]),
components: {
diy,
},
onLoad: function (options) {
uni.setNavigationBarTitle({
title: this.__("版块"),
});
var that = this;
this.setData({
category_id: options.id,
});
that.$.getSystemInfo({
success: function (t) {
that.setData({
screenHeight: t.screenHeight,
});
},
});
that.getCategoryDetail();
that.listStory();
},
mounted() {
let that = this;
const query = uni.createSelectorQuery().in(this);
query
.select(".movableArea")
.boundingClientRect((data) => {
that.setData({
initX: data.width,
initY: data.height - 100,
});
})
.exec();
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
let that = this;
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
// 离开页面,注销事件
var that = this;
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return {
title: this.category_row.PlateName,
path: "/community/plate/plate?id=" + this.category_id,
};
},
/**
* 页面滚动触发事件的处理函数
*/
onPageScroll: function () {},
methods: {
...mapMutations([
"logout",
"getPlantformInfo",
"forceUserInfo",
"getStoreInfo",
]),
getCategoryDetail: function () {
var that = this,
params = {
story_category_id: that.category_id,
};
that.$.request({
url: this.Config.URL.sns.category_get,
data: params,
success: function (data, status, msg, code) {
if (200 == status) {
that.setData({
isshow: false,
category_row: data,
});
} else {
that.setData({
isshow: true,
});
}
//wx.setNavigationBarTitle({title: data.PlateName})
},
});
},
listStory: function () {
var that = this;
var params = {
category_id: that.category_id,
operateId: that.cf.storeId,
page: that.page,
userId: that.userInfo.user_id,
};
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({
PlatePostList: that.PlatePostList.concat(data.items),
flag: false,
ispage: false,
});
} else {
that.setData({
PlatePostList: that.PlatePostList.concat(data.items),
flag: true,
ispage: true,
});
}
} else {
that.setData({
flag: false,
ispage: false,
});
}
that.setData({
is_loaded: true,
});
},
});
},
scrollbottom: function (t) {
if (this.flag && this.ispage) {
var a = this;
a.setData({
flag: false,
}),
clearTimeout(s);
var s = setTimeout(function () {
a.setData({
page: parseInt(a.page) + 1,
}),
a.listStory();
}, 500);
}
},
scrollView: function (t) {
t.detail.deltaY;
},
doNothing: function () {},
searchinput: function (t) {
wx.navigateTo({
url:
"../Postalist/Postalist?sousuovalue=" +
this.sousuovalue +
"&id=" +
parseInt(this.category_id),
success: function (t) {},
fail: function (t) {},
complete: function (t) {},
}),
this.setData({
sousuovalue: "",
});
},
scroll: function (t) {
this.old.scposition = t.detail.scrollTop;
100 < t.detail.scrollTop
? this.setData({
opacity: 1,
background: "f8f8f8",
})
: this.setData({
opacity: 0,
background: "fff",
}),
t.detail.scrollTop >= this.screenHeight
? this.setData({
isquicknav: true,
})
: this.setData({
isquicknav: false,
});
},
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.PlatePostList.length; r++) {
if (story_id == that.PlatePostList[r]["story_id"]) {
that.PlatePostList[r]["IsFabulous"] = 1;
that.PlatePostList[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.PlatePostList.length; r++) {
if (story_id == that.PlatePostList[r]["story_id"]) {
that.PlatePostList[r]["IsFabulous"] = 0;
that.PlatePostList[r]["story_like_count"]--;
}
}
} else {
}
},
});
},
returnTop: function () {
let that = this;
// 清除上一次的定时器
if (that.timer !== null) {
clearInterval(that.timer);
}
that.setData({
scposition: this.old.scposition,
});
that.timer = setInterval(function () {
let speed = that.scposition / 4;
speed = Math.ceil(speed);
if (that.scposition <= 0 || !that.scposition) {
clearInterval(that.timer);
}
that.scposition = that.scposition - speed;
}, 30);
this.setData({
isquicknav: false,
});
},
nav: function () {
this.setData({
isnav: false,
animation: false,
});
},
outnav: function () {
var t = this;
this.setData({
animation: true,
}),
setTimeout(function () {
t.setData({
isnav: true,
});
}, 400);
},
},
};
</script>
<style lang="scss">
@import "../../styles/_variables";
@import "../../styles/layout.scss";
page {
background-color: #fff;
}
/* 顶部 */
.bj_box {
width: 750rpx;
height: 371rpx;
position: relative;
background-color: #000;
}
.tn_box {
position: absolute;
top: 100rpx;
left: 36rpx;
width: 600rpx;
height: 119rpx;
display: flex;
}
.bj_box_tx {
width: 119rpx;
height: 119rpx;
border-radius: 100%;
overflow: hidden;
}
.bj_box_name_box {
width: 481rpx;
height: 119rpx;
font-size: 30rpx;
color: #fff;
line-height: 60rpx;
}
.bj_box_name {
width: 481rpx;
padding: 0rpx 0 0rpx 20rpx;
line-height: 43rpx;
span {
}
}
.bj_box_tz {
padding: 0rpx 0 0rpx 20rpx;
}
.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 25rpx;
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%;
background-color: #fff;
}
.newsimg_box_image3 {
width: 220rpx;
height: 220rpx;
margin: 16rpx 7rpx 16rpx 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 #ebebe7;
color: #ebebe7;
-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 #ebebe7;
color: #ebebe7;
-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 #ebebe7;
color: #ebebe7;
-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;
}
.m-orderlist {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.box_title_box {
position: relative;
z-index: 1;
clear: both;
&::before {
content: " ";
position: absolute;
left: 0;
top: 0;
right: 0;
height: 1px;
border-top: 1px solid #ebebe7;
color: #ebebe7;
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
}
}
.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;
}
.u-loadmore-tips {
background-color: #fff;
}
.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; */
}
@keyframes mymove1 {
from {
bottom: 120rpx;
opacity: 0;
}
to {
bottom: 520rpx;
opacity: 1;
}
}
@keyframes mymove2 {
from {
bottom: 120rpx;
opacity: 0;
}
to {
bottom: 420rpx;
opacity: 1;
}
}
@keyframes mymove3 {
from {
bottom: 120rpx;
opacity: 0;
}
to {
bottom: 320rpx;
opacity: 1;
}
}
@keyframes mymove4 {
from {
bottom: 120rpx;
opacity: 0;
}
to {
bottom: 220rpx;
opacity: 1;
}
}
@keyframes mymove5 {
from {
bottom: 520rpx;
opacity: 1;
}
to {
bottom: 110rpx;
}
}
@keyframes mymove6 {
from {
bottom: 420rpx;
opacity: 1;
}
to {
bottom: 110rpx;
opacity: 0;
}
}
@keyframes mymove7 {
from {
bottom: 320rpx;
opacity: 1;
}
to {
bottom: 110rpx;
opacity: 0;
}
}
@keyframes mymove8 {
from {
bottom: 220rpx;
opacity: 1;
}
to {
bottom: 110rpx;
opacity: 0;
}
}
</style>