文字长度修改
This commit is contained in:
parent
0f6fdff8fe
commit
448be8de75
@ -2,8 +2,8 @@
|
||||
"name": "惠农生活",
|
||||
"appid": "__UNI__3A527D1",
|
||||
"description": "",
|
||||
"versionName" : "2.0.41",
|
||||
"versionCode" : 2041,
|
||||
"versionName": "2.0.44",
|
||||
"versionCode": 2044,
|
||||
"transformPx": false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus": {
|
||||
|
@ -4,11 +4,12 @@
|
||||
<view class="store-wrapper" v-if="storeInfo">
|
||||
<view class="left">
|
||||
<image :src="storeInfo.mer_avatar" mode=""></image>
|
||||
<view class="txt">{{storeInfo.mer_name}}</view>
|
||||
<view class="txt line1">{{storeInfo.mer_name}}</view>
|
||||
</view>
|
||||
<view class="acea-row store-opeation">
|
||||
<navigator v-if="hide_mer_status != 1 && storeInfo.mer_id"
|
||||
:url="'/pages/store/home/index?id='+storeInfo.mer_id" class="link" open-type="redirect">进店</navigator>
|
||||
:url="'/pages/store/home/index?id='+storeInfo.mer_id" class="link" open-type="redirect">进店
|
||||
</navigator>
|
||||
<text v-if="storeInfo.service_phone" class="iconfont icon-dadianhua01" @click="goCustomer"></text>
|
||||
</view>
|
||||
</view>
|
||||
@ -24,20 +25,24 @@
|
||||
<!-- 左边 -->
|
||||
<div class="item acea-row row-top" v-if="item.send_type == 0">
|
||||
<div v-if="item.msn_type !== 100" class="pictrue" @click="userDetail(item.user.uid)">
|
||||
<image :src="item.user.avatar ? item.user.avatar : '/static/images/f.png'" mode=""></image>
|
||||
<image :src="item.user.avatar ? item.user.avatar : '/static/images/f.png'" mode="">
|
||||
</image>
|
||||
</div>
|
||||
<view v-if="item.msn_type === 100" class="recall-msg">对方撤回了一条消息</view>
|
||||
|
||||
<div class="text">
|
||||
<div class="acea-row">
|
||||
<!--退款订单链接-->
|
||||
<navigator v-if="item.msn_type === 6 && item.refundOrder && item.refundOrder.refund_order_id"
|
||||
open-type="navigate" :url="'/pages/order_details/index?order_id='+item.refundOrder.order_id">
|
||||
<navigator
|
||||
v-if="item.msn_type === 6 && item.refundOrder && item.refundOrder.refund_order_id"
|
||||
open-type="navigate"
|
||||
:url="'/pages/order_details/index?order_id='+item.refundOrder.order_id">
|
||||
<div class="broadcast-details_num">
|
||||
<span>退款单号:{{ item.refundOrder.refund_order_sn }}</span>
|
||||
</div>
|
||||
<div class="conter acea-row row-middle">
|
||||
<div class="broadcast-details_order noPad" v-for="(val, inx) in item.refundOrder.refundProduct"
|
||||
<div class="broadcast-details_order noPad"
|
||||
v-for="(val, inx) in item.refundOrder.refundProduct"
|
||||
:key="item.service_log_id">
|
||||
<div class="broadcast-details_box noPad" v-if="inx == 0">
|
||||
<div class="broadcast_details_img">
|
||||
@ -47,7 +52,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="broadcast_details_picBox noPad">
|
||||
<div class="broadcast_details_tit">{{val.product.cart_info.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit">
|
||||
{{val.product.cart_info.product.store_name}}
|
||||
</div>
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.refundOrder.refund_price }}
|
||||
</div>
|
||||
@ -61,17 +68,19 @@
|
||||
<div class="broadcast-details_num acea-row row-middle">
|
||||
<span>订单号:{{ item.orderInfo.order_sn }}</span>
|
||||
<!-- #ifdef H5 -->
|
||||
<button class="copy copy-data" :data-clipboard-text="item.orderInfo.order_sn">复制</button>
|
||||
<button class="copy copy-data"
|
||||
:data-clipboard-text="item.orderInfo.order_sn">复制</button>
|
||||
<!-- #endif -->
|
||||
<!-- #ifndef H5 -->
|
||||
<button class="copy" @tap.stop="copyText(item.orderInfo.order_sn)">复制</button>
|
||||
<button class="copy"
|
||||
@tap.stop="copyText(item.orderInfo.order_sn)">复制</button>
|
||||
<!-- #endif -->
|
||||
</div>
|
||||
<navigator
|
||||
:url="'/pages/admin/orderDetail/index?id='+item.orderInfo.order_id+'&mer_id='+item.orderInfo.mer_id"
|
||||
open-type="open-type" class="conter acea-row row-middle">
|
||||
<div class="broadcast-details_order noPad" v-for="(val, inx) in item.orderInfo.orderProduct"
|
||||
:key="val.id">
|
||||
<div class="broadcast-details_order noPad"
|
||||
v-for="(val, inx) in item.orderInfo.orderProduct" :key="val.id">
|
||||
<div class="broadcast-details_box noPad" v-if="inx == 0">
|
||||
<div class="broadcast_details_img">
|
||||
<image :src="val.cart_info.product.image" />
|
||||
@ -80,7 +89,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="broadcast_details_picBox noPad">
|
||||
<div class="broadcast_details_tit">{{val.cart_info.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit">
|
||||
{{val.cart_info.product.store_name}}
|
||||
</div>
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.orderInfo.pay_price }}
|
||||
</div>
|
||||
@ -90,10 +101,13 @@
|
||||
</navigator>
|
||||
</div>
|
||||
<!--商品链接-->
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 4 && item.product">
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 4 && item.product">
|
||||
<div class=" noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.product.product_id"
|
||||
:url="`/pages/goods_details/index?id=${item.product.product_id}`" open-type="navigate">
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.product.product_id"
|
||||
:url="`/pages/goods_details/index?id=${item.product.product_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
<image :src="item.product.image" />
|
||||
</div>
|
||||
@ -101,7 +115,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.product.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.product.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -110,7 +126,8 @@
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 7 && item.presell && item.presell.product">
|
||||
<div class=" noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.presell.product_presell_id"
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.presell.product_presell_id"
|
||||
:url="`/pages/activity/presell_details/index?id=${item.presell.product_presell_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
@ -120,7 +137,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.presell.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.presell.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.presell.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -129,7 +148,8 @@
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 8 && item.productGroup && item.productGroup.product">
|
||||
<div class=" noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.productGroup.product_group_id"
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.productGroup.product_group_id"
|
||||
:url="`/pages/activity/combination_details/index?id=${item.productGroup.product_group_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
@ -139,7 +159,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.productGroup.product.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.productGroup.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.productGroup.product.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -148,7 +170,8 @@
|
||||
<image :src="item.msn" @click="clickImg(item.msn)" mode="heightFix" />
|
||||
</div>
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 2">
|
||||
<i class="em" :class="item.msn" :style="'background-image:url('+ httpUrl +')'"></i>
|
||||
<i class="em" :class="item.msn"
|
||||
:style="'background-image:url('+ httpUrl +')'"></i>
|
||||
</div>
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 1">
|
||||
{{item.msn}}
|
||||
@ -158,12 +181,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- 右边 -->
|
||||
<div class="item acea-row row-top row-right" v-else @longpress="longTime(items,index,item,j)">
|
||||
<div class="item acea-row row-top row-right" v-else
|
||||
@longpress="longTime(items,index,item,j)">
|
||||
<div class="text textR">
|
||||
<!-- <div class="name">{{ item.user.nickname }}</div> -->
|
||||
<div class="acea-row ">
|
||||
<!--退款订单链接-->
|
||||
<navigator v-if="item.msn_type === 6 && item.refundOrder.refund_order_id" open-type="navigate">
|
||||
<navigator v-if="item.msn_type === 6 && item.refundOrder.refund_order_id"
|
||||
open-type="navigate">
|
||||
<div class="broadcast-details_num acea-row row-middle">
|
||||
<text>订单号:{{ item.refundOrder.refund_order_sn }}</text>
|
||||
<!-- #ifdef H5 -->
|
||||
@ -171,12 +196,13 @@
|
||||
:data-clipboard-text="item.refundOrder.refund_order_sn">复制</button>
|
||||
<!-- #endif -->
|
||||
<!-- #ifndef H5 -->
|
||||
<button class="copy" @tap.stop="copyText(item.refundOrder.refund_order_sn)">复制</button>
|
||||
<button class="copy"
|
||||
@tap.stop="copyText(item.refundOrder.refund_order_sn)">复制</button>
|
||||
<!-- #endif -->
|
||||
</div>
|
||||
<div class="conter acea-row row-middle">
|
||||
<div class="broadcast-details_order noPad" v-for="(val, inx) in item.refundOrder.refundProduct"
|
||||
:key="val.id">
|
||||
<div class="broadcast-details_order noPad"
|
||||
v-for="(val, inx) in item.refundOrder.refundProduct" :key="val.id">
|
||||
<div class="broadcast-details_box noPad" v-if="inx == 0">
|
||||
<div class="broadcast_details_img">
|
||||
<image :src="val.product.cart_info.product.image" />
|
||||
@ -185,7 +211,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="broadcast_details_picBox noPad">
|
||||
<div class="broadcast_details_tit">{{val.product.cart_info.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit">
|
||||
{{val.product.cart_info.product.store_name}}
|
||||
</div>
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.refundOrder.refund_price }}
|
||||
</div>
|
||||
@ -199,17 +227,19 @@
|
||||
<div class="broadcast-details_num acea-row row-middle">
|
||||
<text>订单号:{{ item.orderInfo.order_sn }}</text>
|
||||
<!-- #ifdef H5 -->
|
||||
<button class="copy copy-data" :data-clipboard-text="item.orderInfo.order_sn">复制</button>
|
||||
<button class="copy copy-data"
|
||||
:data-clipboard-text="item.orderInfo.order_sn">复制</button>
|
||||
<!-- #endif -->
|
||||
<!-- #ifndef H5 -->
|
||||
<button class="copy" @tap.stop="copyText(item.orderInfo.order_sn)">复制</button>
|
||||
<button class="copy"
|
||||
@tap.stop="copyText(item.orderInfo.order_sn)">复制</button>
|
||||
<!-- #endif -->
|
||||
</div>
|
||||
<navigator
|
||||
:url="'/pages/admin/orderDetail/index?id='+item.orderInfo.order_id+'&mer_id='+item.orderInfo.mer_id"
|
||||
open-type="navigate" class="conter acea-row row-middle">
|
||||
<div class="broadcast-details_order noPad" v-for="(val, inx) in item.orderInfo.orderProduct"
|
||||
:key="val.id">
|
||||
<div class="broadcast-details_order noPad"
|
||||
v-for="(val, inx) in item.orderInfo.orderProduct" :key="val.id">
|
||||
<div class="broadcast-details_box noPad" v-if="inx == 0">
|
||||
<div class="broadcast_details_img">
|
||||
<image :src="val.cart_info.product.image" />
|
||||
@ -218,7 +248,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="broadcast_details_picBox noPad">
|
||||
<div class="broadcast_details_tit">{{val.cart_info.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit">
|
||||
{{val.cart_info.product.store_name}}
|
||||
</div>
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.orderInfo.pay_price }}
|
||||
</div>
|
||||
@ -228,9 +260,11 @@
|
||||
</navigator>
|
||||
</div>
|
||||
<!--商品链接-->
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 4 && item.product">
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 4 && item.product">
|
||||
<div class=" acea-row row-column-around noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.product.product_id"
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.product.product_id"
|
||||
:url="`/pages/goods_details/index?id=${item.product.product_id}`">
|
||||
<div class="broadcast_details_img_no">
|
||||
<image :src="item.product.image" />
|
||||
@ -239,7 +273,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.product.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.product.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -248,7 +284,8 @@
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 7 && item.presell && item.presell.product">
|
||||
<div class=" acea-row row-column-around noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.presell.product_presell_id"
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.presell.product_presell_id"
|
||||
:url="`/pages/activity/presell_details/index?id=${item.presell.product_presell_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
@ -258,7 +295,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.presell.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.presell.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.presell.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -267,7 +306,8 @@
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 8 && item.productGroup && item.productGroup.product">
|
||||
<div class=" acea-row row-column-around noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.productGroup.product_group_id"
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.productGroup.product_group_id"
|
||||
:url="`/pages/activity/combination_details/index?id=${item.productGroup.product_group_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
@ -277,7 +317,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.productGroup.product.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.productGroup.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.productGroup.product.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -286,7 +328,8 @@
|
||||
<image :src="item.msn" @click="clickImg(item.msn)" mode="heightFix" />
|
||||
</div>
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 2">
|
||||
<i class="em" :class="item.msn" :style="'background-image:url('+ httpUrl +')'"></i>
|
||||
<i class="em" :class="item.msn"
|
||||
:style="'background-image:url('+ httpUrl +')'"></i>
|
||||
</div>
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 1">
|
||||
{{item.msn}}
|
||||
@ -307,8 +350,8 @@
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
<view v-if="(new Date().getTime()/1000 - item.send_time) <= 120" class="recall-item"
|
||||
@click.stop="reverstMsg(item)">
|
||||
<view v-if="(new Date().getTime()/1000 - item.send_time) <= 120"
|
||||
class="recall-item" @click.stop="reverstMsg(item)">
|
||||
<view class="iconfont icon-chehui"></view>撤回
|
||||
</view>
|
||||
</view>
|
||||
@ -328,21 +371,24 @@
|
||||
<!-- 左边 -->
|
||||
<div class="item acea-row row-top" v-if="item.send_type == 1">
|
||||
<div v-if="item.msn_type !== 100" class="pictrue">
|
||||
<image :src="item.service.avatar ? item.service.avatar : '/static/images/f.png'" mode=""></image>
|
||||
<image :src="item.service.avatar ? item.service.avatar : '/static/images/f.png'"
|
||||
mode=""></image>
|
||||
</div>
|
||||
<view v-if="item.msn_type === 100" class="recall-msg">对方撤回了一条消息</view>
|
||||
<div class="text">
|
||||
<!-- <div class="name">{{ item.service.nickname }}</div> -->
|
||||
<div class="acea-row">
|
||||
<!--退款订单链接-->
|
||||
<navigator v-if="item.msn_type === 6 && item.refundOrder.refund_order_id" open-type="navigate"
|
||||
<navigator v-if="item.msn_type === 6 && item.refundOrder.refund_order_id"
|
||||
open-type="navigate"
|
||||
:url="'/pages/order_details/index?order_id='+item.refundOrder.order_id">
|
||||
<div class="broadcast-details_num">
|
||||
<text>退款单号:{{ item.refundOrder.refund_order_sn }}</text>
|
||||
</div>
|
||||
<div class="conter acea-row row-middle">
|
||||
<!-- :key="item.service_log_id" -->
|
||||
<div class="broadcast-details_order noPad" v-for="(val, inx) in item.refundOrder.refundProduct">
|
||||
<div class="broadcast-details_order noPad"
|
||||
v-for="(val, inx) in item.refundOrder.refundProduct">
|
||||
<div class="broadcast-details_box noPad" v-if="inx == 0">
|
||||
<div class="broadcast_details_img">
|
||||
<image :src="val.product.cart_info.product.image" />
|
||||
@ -351,7 +397,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="broadcast_details_picBox noPad">
|
||||
<div class="broadcast_details_tit">{{val.product.cart_info.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit">
|
||||
{{val.product.cart_info.product.store_name}}
|
||||
</div>
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ val.product.cart_info.productAttr.price }}
|
||||
</div>
|
||||
@ -365,16 +413,20 @@
|
||||
<div class="broadcast-details_num acea-row row-middle">
|
||||
<text>订单号:{{ item.orderInfo.order_sn }}</text>
|
||||
<!-- #ifdef H5 -->
|
||||
<button class="copy copy-data" :data-clipboard-text="item.orderInfo.order_sn">复制</button>
|
||||
<button class="copy copy-data"
|
||||
:data-clipboard-text="item.orderInfo.order_sn">复制</button>
|
||||
<!-- #endif -->
|
||||
<!-- #ifndef H5 -->
|
||||
<button class="copy" @tap.stop="copyText(item.orderInfo.order_sn)">复制</button>
|
||||
<button class="copy"
|
||||
@tap.stop="copyText(item.orderInfo.order_sn)">复制</button>
|
||||
<!-- #endif -->
|
||||
</div>
|
||||
<navigator :url="'/pages/order_details/index?order_id='+item.orderInfo.order_id"
|
||||
<navigator
|
||||
:url="'/pages/order_details/index?order_id='+item.orderInfo.order_id"
|
||||
open-type="navigate" class="conter acea-row row-middle">
|
||||
<!-- :key="item.service_log_id" -->
|
||||
<div class="broadcast-details_order noPad" v-for="(val, inx) in item.orderInfo.orderProduct">
|
||||
<div class="broadcast-details_order noPad"
|
||||
v-for="(val, inx) in item.orderInfo.orderProduct">
|
||||
<div class="broadcast-details_box noPad" v-if="inx == 0">
|
||||
<div class="broadcast_details_img">
|
||||
<image :src="val.cart_info.product.image" />
|
||||
@ -383,7 +435,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="broadcast_details_picBox noPad">
|
||||
<div class="broadcast_details_tit">{{val.cart_info.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit">
|
||||
{{val.cart_info.product.store_name}}
|
||||
</div>
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.orderInfo.pay_price }}
|
||||
</div>
|
||||
@ -393,10 +447,13 @@
|
||||
</navigator>
|
||||
</div>
|
||||
<!--商品链接-->
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 4 && item.product">
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 4 && item.product">
|
||||
<div class=" noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.product.product_id"
|
||||
:url="`/pages/goods_details/index?id=${item.product.product_id}`" open-type="navigate">
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.product.product_id"
|
||||
:url="`/pages/goods_details/index?id=${item.product.product_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
<image :src="item.product.image" />
|
||||
</div>
|
||||
@ -404,7 +461,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.product.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.product.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -413,7 +472,8 @@
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 7 && item.presell && item.presell.product">
|
||||
<div class=" noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.presell.product_presell_id"
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.presell.product_presell_id"
|
||||
:url="`/pages/activity/presell_details/index?id=${item.presell.product_presell_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
@ -423,7 +483,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.presell.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.presell.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.presell.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -432,7 +494,8 @@
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 8 && item.productGroup && item.productGroup.product">
|
||||
<div class="noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.productGroup.product_group_id"
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.productGroup.product_group_id"
|
||||
:url="`/pages/activity/combination_details/index?id=${item.productGroup.product_group_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
@ -442,7 +505,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.productGroup.product.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.productGroup.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.productGroup.product.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -451,7 +516,8 @@
|
||||
<image :src="item.msn" @click="clickImg(item.msn)" mode="heightFix" />
|
||||
</div>
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 2">
|
||||
<i class="em" :class="item.msn" :style="'background-image:url('+ httpUrl +')'"></i>
|
||||
<i class="em" :class="item.msn"
|
||||
:style="'background-image:url('+ httpUrl +')'"></i>
|
||||
</div>
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 1">
|
||||
{{item.msn}}
|
||||
@ -466,14 +532,16 @@
|
||||
<!-- <div class="name">{{ item.user.nickname }}</div> -->
|
||||
<div class="acea-row" @longpress="longTime(items,index,item,j)">
|
||||
<!--退款订单链接-->
|
||||
<navigator v-if="item.msn_type === 6 && item.refundOrder.refund_order_id" open-type="navigate"
|
||||
<navigator v-if="item.msn_type === 6 && item.refundOrder.refund_order_id"
|
||||
open-type="navigate"
|
||||
:url="'/pages/order_details/index?order_id='+item.refundOrder.order_id">
|
||||
<div class="broadcast-details_num">
|
||||
<text>退款单号:{{ item.refundOrder.refund_order_sn }}</text>
|
||||
</div>
|
||||
<div class="conter acea-row row-middle">
|
||||
<!-- :key="item.service_log_id" -->
|
||||
<div class="broadcast-details_order noPad" v-for="(val, inx) in item.refundOrder.refundProduct">
|
||||
<div class="broadcast-details_order noPad"
|
||||
v-for="(val, inx) in item.refundOrder.refundProduct">
|
||||
<div class="broadcast-details_box noPad" v-if="inx == 0">
|
||||
<div class="broadcast_details_img">
|
||||
<image :src="val.product.cart_info.product.image" />
|
||||
@ -482,7 +550,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="broadcast_details_picBox noPad">
|
||||
<div class="broadcast_details_tit">{{val.product.cart_info.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit">
|
||||
{{val.product.cart_info.product.store_name}}
|
||||
</div>
|
||||
<div class="broadcast_details_pic">
|
||||
共{{item.refundOrder.refund_num}}件商品,
|
||||
合计 ¥{{ item.refundOrder.refund_price }}
|
||||
@ -497,15 +567,19 @@
|
||||
<div class="broadcast-details_num acea-row row-middle">
|
||||
<text>订单号:{{ item.orderInfo.order_sn }}</text>
|
||||
<!-- #ifdef H5 -->
|
||||
<button class="copy copy-data" :data-clipboard-text="item.orderInfo.order_sn">复制</button>
|
||||
<button class="copy copy-data"
|
||||
:data-clipboard-text="item.orderInfo.order_sn">复制</button>
|
||||
<!-- #endif -->
|
||||
<!-- #ifndef H5 -->
|
||||
<button class="copy" @tap.stop="copyText(item.orderInfo.order_sn)">复制</button>
|
||||
<button class="copy"
|
||||
@tap.stop="copyText(item.orderInfo.order_sn)">复制</button>
|
||||
<!-- #endif -->
|
||||
</div>
|
||||
<navigator :url="'/pages/order_details/index?order_id='+item.orderInfo.order_id"
|
||||
<navigator
|
||||
:url="'/pages/order_details/index?order_id='+item.orderInfo.order_id"
|
||||
open-type="navigate" class="conter acea-row row-middle">
|
||||
<div class="broadcast-details_order noPad" v-for="(val, inx) in item.orderInfo.orderProduct">
|
||||
<div class="broadcast-details_order noPad"
|
||||
v-for="(val, inx) in item.orderInfo.orderProduct">
|
||||
<div class="broadcast-details_box noPad" v-if="inx == 0">
|
||||
<div class="broadcast_details_img">
|
||||
<image :src="val.cart_info.product.image" />
|
||||
@ -514,7 +588,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="broadcast_details_picBox noPad">
|
||||
<div class="broadcast_details_tit">{{val.cart_info.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit">
|
||||
{{val.cart_info.product.store_name}}
|
||||
</div>
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.orderInfo.pay_price }}
|
||||
</div>
|
||||
@ -524,10 +600,13 @@
|
||||
</navigator>
|
||||
</div>
|
||||
<!--商品链接-->
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 4 && item.product">
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 4 && item.product">
|
||||
<div class="acea-row row-column-around noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.product.product_id"
|
||||
:url="`/pages/goods_details/index?id=${item.product.product_id}`" open-type="navigate">
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.product.product_id"
|
||||
:url="`/pages/goods_details/index?id=${item.product.product_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
<image :src="item.product.image" />
|
||||
</div>
|
||||
@ -535,7 +614,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.product.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.product.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -544,7 +625,8 @@
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 7 && item.presell && item.presell.product">
|
||||
<div class="acea-row row-column-around noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.presell.product_presell_id"
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.presell.product_presell_id"
|
||||
:url="`/pages/activity/presell_details/index?id=${item.presell.product_presell_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
@ -554,7 +636,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.presell.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.presell.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.presell.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -563,7 +647,8 @@
|
||||
<div class="conter acea-row row-middle"
|
||||
v-if="item.msn_type === 8 && item.productGroup && item.productGroup.product">
|
||||
<div class="acea-row row-column-around noPad">
|
||||
<navigator class="acea-row row-column-around noPad" v-if="item.productGroup.product_group_id"
|
||||
<navigator class="acea-row row-column-around noPad"
|
||||
v-if="item.productGroup.product_group_id"
|
||||
:url="`/pages/activity/combination_details/index?id=${item.productGroup.product_group_id}`"
|
||||
open-type="navigate">
|
||||
<div class="broadcast_details_img_no">
|
||||
@ -573,7 +658,9 @@
|
||||
<div class="broadcast_details_pic">
|
||||
¥{{ item.productGroup.product.price }}
|
||||
</div>
|
||||
<div class="broadcast_details_tit_no line1">{{item.productGroup.product.store_name}}</div>
|
||||
<div class="broadcast_details_tit_no line1">
|
||||
{{item.productGroup.product.store_name}}
|
||||
</div>
|
||||
</div>
|
||||
</navigator>
|
||||
</div>
|
||||
@ -582,7 +669,8 @@
|
||||
<image :src="item.msn" @click="clickImg(item.msn)" mode="heightFix" />
|
||||
</div>
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 2">
|
||||
<i class="em" :class="item.msn" :style="'background-image:url('+ httpUrl +')'"></i>
|
||||
<i class="em" :class="item.msn"
|
||||
:style="'background-image:url('+ httpUrl +')'"></i>
|
||||
</div>
|
||||
<div class="conter acea-row row-middle" v-if="item.msn_type === 1">
|
||||
{{ item.msn }}
|
||||
@ -603,8 +691,8 @@
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
<view v-if="(new Date().getTime()/1000 - item.send_time) <= 120" class="recall-item"
|
||||
@click.stop="reverstMsg(item)">
|
||||
<view v-if="(new Date().getTime()/1000 - item.send_time) <= 120"
|
||||
class="recall-item" @click.stop="reverstMsg(item)">
|
||||
<view class="iconfont icon-chehui"></view>撤回
|
||||
</view>
|
||||
</view>
|
||||
@ -653,7 +741,8 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="broadcast_details_pic">
|
||||
共{{ orderInfo.total_num }}件商品,合计 <text class="p-color">¥{{ orderInfo.pay_price }}</text>
|
||||
共{{ orderInfo.total_num }}件商品,合计 <text
|
||||
class="p-color">¥{{ orderInfo.pay_price }}</text>
|
||||
</div>
|
||||
<div class="broadcast_details_btn" @click="sendOrder">
|
||||
发送订单
|
||||
@ -705,7 +794,8 @@
|
||||
</div>
|
||||
<view class="input_count">
|
||||
<input type="text" placeholder-class='placeholder' placeholder="输入内容" class="input" ref="input"
|
||||
v-show="!voice" @input="bindInput" @keyup="keyup" @focus="focus" cursor-spacing="20" v-model="textCon">
|
||||
v-show="!voice" @input="bindInput" @keyup="keyup" @focus="focus" cursor-spacing="20"
|
||||
v-model="textCon">
|
||||
<div class="send iconfont icon-fasong" :style="'color:'+iconColor" @click="sendTest"></div>
|
||||
</view>
|
||||
</div>
|
||||
@ -715,8 +805,8 @@
|
||||
:duration="duration" v-if="emojiGroup.length > 0">
|
||||
<block v-for="(emojiList, index) in emojiGroup" :key="index">
|
||||
<swiper-item>
|
||||
<i class="em" :class="emoji" :style="'background-image:url('+ httpUrl +')'" v-for="emoji in emojiList"
|
||||
:key="emoji" @click="addEmoji(emoji)"></i>
|
||||
<i class="em" :class="emoji" :style="'background-image:url('+ httpUrl +')'"
|
||||
v-for="emoji in emojiList" :key="emoji" @click="addEmoji(emoji)"></i>
|
||||
</swiper-item>
|
||||
</block>
|
||||
</swiper>
|
||||
@ -742,15 +832,38 @@
|
||||
// #ifdef H5
|
||||
import ClipboardJS from "@/plugin/clipboard/clipboard.js";
|
||||
// #endif
|
||||
import { getChatRecord, getMerHistory, chatReverstApi, hasServiceApi } from "@/api/user";
|
||||
import { getProductDetail, getPresellProductDetail, getStoreDetail } from "@/api/store";
|
||||
import { getCombinationDetail } from "@/api/activity";
|
||||
import { getOrderDetail, refundDetail } from "@/api/order";
|
||||
import {
|
||||
getChatRecord,
|
||||
getMerHistory,
|
||||
chatReverstApi,
|
||||
hasServiceApi
|
||||
} from "@/api/user";
|
||||
import {
|
||||
getProductDetail,
|
||||
getPresellProductDetail,
|
||||
getStoreDetail
|
||||
} from "@/api/store";
|
||||
import {
|
||||
getCombinationDetail
|
||||
} from "@/api/activity";
|
||||
import {
|
||||
getOrderDetail,
|
||||
refundDetail
|
||||
} from "@/api/order";
|
||||
import Loading from "@/components/Loading";
|
||||
import { TOKENNAME, HTTP_REQUEST_URL } from '@/config/app.js';
|
||||
import { toLogin } from '@/libs/login.js';
|
||||
import { configMap } from "@/utils";
|
||||
import { mapGetters } from "vuex";
|
||||
import {
|
||||
TOKENNAME,
|
||||
HTTP_REQUEST_URL
|
||||
} from '@/config/app.js';
|
||||
import {
|
||||
toLogin
|
||||
} from '@/libs/login.js';
|
||||
import {
|
||||
configMap
|
||||
} from "@/utils";
|
||||
import {
|
||||
mapGetters
|
||||
} from "vuex";
|
||||
const chunk = function(arr, num) {
|
||||
num = num * 1 || 1;
|
||||
var ret = [];
|
||||
@ -930,16 +1043,23 @@
|
||||
});
|
||||
uni.$on(["reply", "chat", "send_chat"], data => {
|
||||
data.longpress = false
|
||||
if (that.history.length > 0 && that.history[that.history.length - 1]['children'].length > 0) {
|
||||
if (that.history.length > 0 && that.history[that.history.length - 1]['children'].length >
|
||||
0) {
|
||||
let index = that.history[that.history.length - 1]['children'].length - 1
|
||||
let item = that.history[that.history.length - 1]['children'][index]
|
||||
if (data.send_time - item.send_time > 300) {
|
||||
that.history.push({ time: data.create_time, children: [data] })
|
||||
that.history.push({
|
||||
time: data.create_time,
|
||||
children: [data]
|
||||
})
|
||||
} else {
|
||||
that.history[that.history.length - 1]['children'].push(data);
|
||||
}
|
||||
} else {
|
||||
that.history.push({ time: data.create_time, children: [data] })
|
||||
that.history.push({
|
||||
time: data.create_time,
|
||||
children: [data]
|
||||
})
|
||||
}
|
||||
that.deleteMsg(data);
|
||||
that.height();
|
||||
@ -1170,7 +1290,9 @@
|
||||
getChatRecord(this.mer_id, {
|
||||
page: this.page,
|
||||
limit: this.limit
|
||||
}).then(({ data }) => {
|
||||
}).then(({
|
||||
data
|
||||
}) => {
|
||||
let arr = this.getChatTime(data.list)
|
||||
let newArr = []
|
||||
for (var j in arr) {
|
||||
@ -1439,7 +1561,9 @@
|
||||
},
|
||||
//#ifndef H5
|
||||
copyText: function(text) {
|
||||
uni.setClipboardData({ data: text });
|
||||
uni.setClipboardData({
|
||||
data: text
|
||||
});
|
||||
},
|
||||
// #endif
|
||||
}
|
||||
@ -2011,6 +2135,10 @@
|
||||
.left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.txt {
|
||||
max-width: 480rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.link {
|
||||
|
Loading…
x
Reference in New Issue
Block a user