liudan 7 months ago
parent 2924e3d813
commit 70413d2940
  1. 4
      components/orderGoods/index.vue
  2. 2
      components/plantConSwiper/index.vue
  3. 2
      components/productConSwiper/index.vue
  4. 4
      components/rightSlider.vue
  5. 2
      config/app.js
  6. 2
      manifest.json
  7. 2
      pages/activity/assist_detail/index.vue
  8. 6
      pages/activity/combination_details/index.vue
  9. 6
      pages/activity/goods_seckill_details/index.vue
  10. 6
      pages/activity/presell_details/index.vue
  11. 2
      pages/admin/goods_details/index.vue
  12. 6
      pages/chat/customer_list/chat.vue
  13. 12
      pages/goods_details/index.vue
  14. 4
      pages/huitong/huitongbao/index.vue
  15. 9
      pages/huitong/huitongbao/notice.vue
  16. 24
      pages/huitong/huitongbao/noticeItem.vue
  17. 7
      pages/index/component/goodList.vue
  18. 10
      pages/order_details/index.vue
  19. 2
      pages/points_mall/integral_goods_details.vue
  20. 16
      pages/prize/index.vue
  21. 6
      pages/store/detail/index.vue
  22. 200
      pages/store/home/index.vue
  23. 15
      pages/user/index.vue
  24. 2
      pages/users/feedback/index.vue
  25. 24
      pages/users/order_confirm/index.vue
  26. 30
      pages/users/order_list/index.vue
  27. 3
      pages/users/user_address/index.vue
  28. 55
      pages/users/user_cash/index.vue
  29. 2
      pages/users/user_integral1/benpiao.vue
  30. 10
      pages/users/user_integral1/index.vue
  31. 29
      pages/users/user_payment/index.vue
  32. 9
      pages/users/user_spread_money/index.vue
  33. BIN
      static/images/posterbackgd.png
  34. 89
      utils/util.js

@ -25,7 +25,7 @@
<text v-if="item.cart_info.productPresell.presell_type === 2">{{ item.cart_info.productPresell.delivery_type === 1 ? '支付尾款后' : '预售结束后' }}{{ item.cart_info.productPresell.delivery_day }}天内</text>
</view>
<view class="right-btn-box event_box">
<view class="btn-item" v-if="item.is_refund ==0 && (evaluate != 10 && evaluate != 11) && orderData.refund_status || item.refund_num > 0" @click.stop="refund(item)">申请退款</view>
<!-- <view class="btn-item" v-if="item.is_refund ==0 && (evaluate != 10 && evaluate != 11) && orderData.refund_status || item.refund_num > 0" @click.stop="refund(item)">申请退款</view> -->
<view class="btn-item err" v-if="item.is_refund ==1">退款中 x {{item.product_num - item.refund_num}}</view>
<view class='btn-item err' v-if="item.is_refund >1">已退款 x {{item.product_num - item.refund_num}}</view>
<view class='btn-item' v-if='item.is_reply==0 && evaluate==2 && item.is_refund==0' @click.stop="evaluateTap(item.order_product_id,orderId)">去评价</view>
@ -73,7 +73,7 @@
<view class="right-btn-box">
<view class="btn-item err" v-if="item.is_refund ==1">退款中 x {{item.product_num - item.refund_num}}</view>
<view class='btn-item err' v-if="item.is_refund >1">已退款 x {{item.product_num - item.refund_num}}</view>
<view class="btn-item" v-if="item.refund_switch==1 && (item.is_refund == 0 && evaluate != 9 && orderData.refund_status || item.refund_num > 0)" @click.stop="refund(item)">申请退款</view>
<!-- <view class="btn-item" v-if="item.refund_switch==1 && (item.is_refund == 0 && evaluate != 9 && orderData.refund_status || item.refund_num > 0)" @click.stop="refund(item)">申请退款</view> -->
<view class='btn-item' v-if='item.is_reply==0 && evaluate==2 && item.refund_num > 0' @click.stop="evaluateTap(item.order_product_id,orderId)">去评价</view>
<view class='btn-item on' v-else-if="item.is_reply==1 && evaluate==2">已评价</view>
</view>

@ -4,7 +4,7 @@
:interval="interval" :duration="duration">
<block v-for="(item,index) in imgUrls" :key='index'>
<swiper-item>
<image :src="item" class="slide-image" @click='getpreviewImage(item)' mode="aspectFit" />
<image :src="item" class="slide-image" @click='getpreviewImage(item)' mode="scaleToFill" />
<!-- <view class="stop" v-if="isType == 2">
<image class="image" src="/static/images/stop.png"></image>
</view> -->

@ -31,7 +31,7 @@
<!-- #endif -->
<block v-for="(item,index) in imgUrls" :key='index'>
<swiper-item>
<image :src="item" class="slide-image" @click='getpreviewImage(item)' mode="widthFix" />
<image :src="item" class="slide-image" @click='getpreviewImage(item)' mode="heightFix" />
</swiper-item>
</block>
</swiper>

@ -56,7 +56,7 @@
</view>
</view>
<!--商品参数-->
<view class="content-border">
<!-- <view class="content-border">
<scroll-view style="max-height:400rpx" scroll-y="true">
<view class="content-box" v-for="(item,index) in productParmasList">
<view class="content-title">
@ -76,7 +76,7 @@
</view>
</view>
</scroll-view>
</view>
</view> -->
</view>
<view class="foot-btn">
<view class="btn-item" @click="reset">重置</view>

@ -19,7 +19,7 @@ let httpApi = 'https://b3.njrenzhou.com' //生产
// 聊天接口修改此字符 小程序聊天要求wss 例如:wss://mer.crmeb.net
// let wsApi = 'ws://192.168.3.20:8324'
let wsApi = 'wss://mer1.crmeb.net'
let wsApi = 'wss://b3.njrenzhou.com'
module.exports = {
// 请求域名 格式: https://您的域名

@ -1,5 +1,5 @@
{
"name" : "CRMEB",
"name" : "启橙易购",
"appid" : "__UNI__241B89A",
"description" : "",
"versionName" : "1.0.4",

@ -294,7 +294,7 @@
PromotionCode: '', //
canvasStatus: false, //
posterImage: '', //
posterbackgd: 'https://b3.njrenzhou.com/static/images/posterbackgd.png',
posterbackgd: '/static/images/posterbackgd.png',
isDown: true,
isCopy: false,
copyUrl: '',

@ -4,7 +4,7 @@
<view class="head-wrapper" id="home" :style="{ top: homeTop + 'rpx' }">
<view class="head-menu">
<view class='iconfont icon-fanhui2' @click="returns"></view>
<view class="iconfont icon-gengduo5" @click="showNav"></view>
<!-- <view class="iconfont icon-gengduo5" @click="showNav"></view> -->
</view>
</view>
<!-- 导航小图标 -->
@ -433,7 +433,7 @@
PromotionCode: '', //
canvasStatus: false, //
posterImage: '', //
posterbackgd: 'https://b3.njrenzhou.com/static/images/posterbackgd.png',
posterbackgd: '/static/images/posterbackgd.png',
sharePacket: {
isState: true, //
}, //
@ -2024,7 +2024,7 @@
display: flex;
align-items: center;
height: 58rpx;
width: 158rpx;
width: 58rpx;
background: rgba(255,255,255,0.302);
border: 2rpx solid rgba(0,0,0,0.0588);
border-radius: 29rpx;

@ -4,7 +4,7 @@
<view class="head-wrapper" id="home" :style="{ top: homeTop + 'rpx' }">
<view class="head-menu">
<view class='iconfont icon-fanhui2' @click="returns"></view>
<view class="iconfont icon-gengduo5" @click="showNav"></view>
<!-- <view class="iconfont icon-gengduo5" @click="showNav"></view> -->
</view>
</view>
<!-- 导航小图标 -->
@ -345,7 +345,7 @@
PromotionCode: '', //
canvasStatus: false, //
posterImage: '', //
posterbackgd: 'https://b3.njrenzhou.com/static/images/posterbackgd.png',
posterbackgd: '/static/images/posterbackgd.png',
// uid: 0, //uid
circular: false,
autoplay: false,
@ -1971,7 +1971,7 @@
display: flex;
align-items: center;
height: 58rpx;
width: 158rpx;
width: 58rpx;
background: rgba(255,255,255,0.302);
border: 2rpx solid rgba(0,0,0,0.0588);
border-radius: 29rpx;

@ -4,7 +4,7 @@
<view class="head-wrapper" id="home" :style="{ top: homeTop + 'rpx' }">
<view class="head-menu">
<view class='iconfont icon-fanhui2' @click="returns"></view>
<view class="iconfont icon-gengduo5" @click="showNav"></view>
<!-- <view class="iconfont icon-gengduo5" @click="showNav"></view> -->
</view>
</view>
<!-- 导航小图标 -->
@ -447,7 +447,7 @@
PromotionCode: '', //
canvasStatus: false, //
posterImage: '', //
posterbackgd: 'https://b3.njrenzhou.com/static/images/posterbackgd.png',
posterbackgd: '/static/images/posterbackgd.png',
sharePacket: {
isState: true, //
}, //
@ -2394,7 +2394,7 @@
display: flex;
align-items: center;
height: 58rpx;
width: 158rpx;
width: 58rpx;
background: rgba(255,255,255,0.302);
border: 2rpx solid rgba(0,0,0,0.0588);
border-radius: 29rpx;

@ -323,7 +323,7 @@
storeImage: '', //
canvasStatus: false, //
posterImage: '', //
posterbackgd: 'https://b3.njrenzhou.com/static/images/posterbackgd.png',
posterbackgd: '/static/images/posterbackgd.png',
source: '',
domain: HTTP_REQUEST_URL,
sharePacket: {

@ -1035,11 +1035,17 @@
}
},
uploadImg() {
console.log("777")
let self = this
self.$util.uploadImageOne('upload/image', function(res) {
console.log(res,"99")
if(res.status == 200){
self.sendMsg(res.data.path, 3)
}
},(err)=>{
console.log("uu")
});
},
/*长按事件*/

@ -4,7 +4,7 @@
<view class="head-wrapper" id="home" :style="{ top: homeTop + 'rpx' }">
<view class="head-menu">
<view class='iconfont icon-fanhui2' @click="returns"></view>
<view class="iconfont icon-gengduo5" @click="showNav"></view>
<!-- <view class="iconfont icon-gengduo5" @click="showNav"></view> -->
</view>
</view>
<!-- 导航小图标 -->
@ -41,7 +41,7 @@
{{storeInfo.store_name}}
</view>
<view class="fenxiang_btn">
<view @click="setCollect"><text class="iconfont" :class="storeInfo.isRelation ? 'icon-yishoucang2' : 'icon-shoucang4'"></text><br/>收藏</view>
<!-- <view @click="setCollect"><text class="iconfont" :class="storeInfo.isRelation ? 'icon-yishoucang2' : 'icon-shoucang4'"></text><br/>收藏</view> -->
<view @click="listenerActionSheet"><text class="iconfont icon-fenxiang4"></text><br/>分享</view>
</view>
</view>
@ -61,7 +61,7 @@
</view>
<view class="fenxiang_btn">
<view @click="setCollect">
<text class="iconfont" :class="storeInfo.isRelation ? 'icon-yishoucang2' : 'icon-shoucang4'"></text><br/>收藏
<!-- <text class="iconfont" :class="storeInfo.isRelation ? 'icon-yishoucang2' : 'icon-shoucang4'"></text><br/>收藏 -->
</view>
<view @click="listenerActionSheet"><text class="iconfont icon-fenxiang4"></text><br/>分享</view>
</view>
@ -523,7 +523,8 @@
PromotionCode: '', //
canvasStatus: false, //
posterImage: '', //
posterbackgd: 'https://b3.njrenzhou.com/static/images/posterbackgd.png',
// https://b3.njrenzhou.com
posterbackgd: '/static/images/posterbackgd.png',
source: '',
sharePacket: {
isState: true, //
@ -2167,6 +2168,7 @@
z-index: 399;
top: 50%;
margin-top: -500rpx;
background-color: #fff;
}
.poster-pop image {
width: 100%;
@ -2420,7 +2422,7 @@
display: flex;
align-items: center;
height: 58rpx;
width: 158rpx;
width: 58rpx;
background: rgba(255,255,255,0.302);
border: 2rpx solid rgba(0,0,0,0.0588);
border-radius: 29rpx;

@ -447,8 +447,8 @@
getUserInfo() {
let that = this;
getUserInfo().then((res)=>{
this.huitong = res.data.assets.integral_buy
this.huitong_frozen = res.data.assets.integral_withdraw;//
this.huitong = Math.floor(Number(res.data.assets.integral_buy))
this.huitong_frozen = Math.floor(Number(res.data.assets.integral_withdraw));//
this.mobilePhoneNum = res.data.phone
this.getIntegralList()
// getIntegralInfo().then(function(res) {

@ -1,8 +1,11 @@
<template>
<div class="notice">
<div v-for="(item,index) in list" class="noticeItem" @click="getNoticeItem(item)">
<div class="noticeTitle">{{item.notice_title}}</div>
<div class="time">{{item.create_time}}</div>
<view style="flex: 1;">
<div class="noticeTitle">{{item.notice_title}}</div>
<div class="time">{{item.create_time}}</div>
</view>
<u-icon name="arrow-right"></u-icon>
</div>
</div>
</template>
@ -42,6 +45,8 @@ export default{
background: #fff;
border-radius: 10px;
margin:24rpx;
display: flex;
align-items: center;
.noticeTitle{
font-weight: 400;

@ -1,5 +1,11 @@
<template>
<div>
<div style="padding:20rpx;background: #ffffff;margin: 24rpx;min-height: calc(100vh - 48rpx);">
<view class="title">
{{title}}
</view>
<view class="time">
{{time}}
</view>
<u-parse :content="content"></u-parse>
</div>
</template>
@ -10,6 +16,8 @@ export default{
data(){
return{
content:'',
title:'',
time:''
}
},
onLoad(option) {
@ -19,7 +27,9 @@ export default{
let list= res.data.list;
list.forEach(item=>{
if(item.notice_id==option.id){
this.content = item.notice_content
this.content = item.notice_content;
this.title = item.notice_title;
this.time = item.create_time
}
})
@ -29,5 +39,13 @@ export default{
</script>
<style lang="scss" scoped>
.title{
font-size: 39rpx;
}
.time{
font-size: 32rpx;
text-align: right;
color:#999999;
margin-top:20rpx;
}
</style>

@ -27,7 +27,7 @@
<view class="pingfen" v-if="item.rate">
{{item.rate}}评分
</view>
<view class="dianpu" v-if="item.merchant">
<view class="dianpu" v-if="item.merchant" @click="goStore(item)">
<text>{{item.merchant.mer_name}}</text>
<text style="color:#333333;margin-left:10rpx;">进店 ></text>
</view>
@ -150,6 +150,11 @@ export default {
this.productslist();
},
methods: {
goStore(item){
uni.navigateTo({
url:'/pages/store/home/index?id='+item.merchant.mer_id
})
},
productslist() {
let data = {};
if (this.type == 1) {

@ -262,24 +262,24 @@
</block>
<view class='bnt b-color' v-if="orderInfo.activity_type==4" @tap='goJoinPink'>查看拼团</view>
<block v-if="orderInfo.status == 1">
<view class="bnt cancel" @click="allRefund" v-if="refundNum.length != cartInfo.length && orderInfo.refund_status && orderInfo.refund_switch == 1">批量退款</view>
<!-- <view class="bnt cancel" @click="allRefund" v-if="refundNum.length != cartInfo.length && orderInfo.refund_status && orderInfo.refund_switch == 1">批量退款</view> -->
<navigator v-if="orderInfo.delivery_type == 1 || orderInfo.delivery_type == 4" class='bnt cancel' hover-class='none' :url="'/pages/users/goods_logistics/index?orderId='+ orderInfo.order_id">查看物流</navigator>
<view class='bnt b-color' @tap='confirmOrder'>确认收货</view>
</block>
<block v-if="orderInfo.status == 2">
<view class="bnt cancel" @click="allRefund" v-if="refundNum.length != cartInfo.length && orderInfo.refund_status && orderInfo.refund_switch == 1">批量退款</view>
<!-- <view class="bnt cancel" @click="allRefund" v-if="refundNum.length != cartInfo.length && orderInfo.refund_status && orderInfo.refund_switch == 1">批量退款</view> -->
<navigator v-if="orderInfo.delivery_type == 1 || orderInfo.delivery_type == 4" class='bnt cancel' hover-class='none' :url="'/pages/users/goods_logistics/index?orderId='+ orderInfo.order_id">查看物流</navigator>
<view class='bnt b-color' @click="goOrderConfirm" v-if="orderInfo.activity_type!=1 && orderInfo.activity_type!=2 && orderInfo.activity_type!=3 &&orderInfo.activity_type!=4 && orderInfo.activity_type!=10">再次购买</view>
</block>
<block v-if="orderInfo.status == 3">
<view class='bnt cancel' @click="delOrder">删除订单</view>
<view class="bnt cancel" @click="allRefund" v-if="refundNum.length != cartInfo.length && orderInfo.refund_status && orderInfo.refund_switch == 1">批量退款</view>
<!-- <view class="bnt cancel" @click="allRefund" v-if="refundNum.length != cartInfo.length && orderInfo.refund_status && orderInfo.refund_switch == 1">批量退款</view> -->
<view class='bnt b-color' @click="goOrderConfirm" v-if="orderInfo.activity_type!=1 && orderInfo.activity_type!=2 && orderInfo.activity_type!=3 && orderInfo.activity_type!=4 && orderInfo.activity_type!=10">再次购买</view>
</block>
</view>
<view class='footer acea-row row-right row-middle' v-if="isGoodsReturn==false && orderInfo.status == 0 && refundNum.length != cartInfo.length && orderInfo.refund_status && orderInfo.refund_switch">
<!-- <view class='footer acea-row row-right row-middle' v-if="isGoodsReturn==false && orderInfo.status == 0 && refundNum.length != cartInfo.length && orderInfo.refund_status && orderInfo.refund_switch">
<view class="bnt cancel" @click="allRefund">批量退款</view>
</view>
</view> -->
</view>
<payment :payMode='payMode' :pay_close="pay_close" @onChangeFun='onChangeFun' :order_id="pay_order_id" :totalPrice='totalPrice' :order_type='1'></payment>
<addInvoicing ref="addInvoicing" @changeInvoiceClose="changeInvoiceClose" :invoice='invoice'></addInvoicing>

@ -5,7 +5,7 @@
<view class="head-wrapper" :style="'top:'+statusBarHeight">
<view class="head-menu">
<view class='iconfont icon-xiangzuo' @click.native="returns"></view>
<view class="iconfont icon-shouye4" @click.native="goHome"></view>
<!-- <view class="iconfont icon-shouye4" @click.native="goHome"></view> -->
</view>
</view>
<!-- #endif -->

@ -26,7 +26,7 @@
</view>
</view>
<view @tap="playReward" class="canvas-btn" v-bind:class="btnDisabled">
<view @click="playReward" class="canvas-btn" v-bind:class="btnDisabled">
<image src="https://b3.njrenzhou.com/static/images/start.png" mode="widthFix"></image>
<text>开始<br/>抽奖</text>
@ -169,8 +169,16 @@
},
//
playReward(){
setPrizeApi().then(res=>{
let index = 3, duration = 3000
let index, duration = 3000
this.list.forEach((item,i)=>{
if(item.id==res.data.item.id){
console.log("yy",i)
index=i
}
})
this.animation(index, duration)
setTimeout(() => {
this.type=res.data.item.type
@ -189,8 +197,8 @@
this.image = "https://b3.njrenzhou.com/static/images/1.png"
}
this.show = true;
this.btnDisabled = '';
document.getElementById('zhuanpano').style=''
this.btnDisabled = '';
// document.getElementById('zhuanpano').style=''
}, duration + 1000)

@ -10,12 +10,12 @@
<text v-if="store.type_name" class="font-bg-red ml8">{{ store.type_name }}</text>
<text v-else-if="store.is_trader" class="font-bg-red ml8">自营</text>
</view>
<view class="fans">{{ store.care_count < 10000 ? store.care_count : (store.care_count / 10000).toFixed(2) + '万' }}人关注</view>
<!-- <view class="fans">{{ store.care_count < 10000 ? store.care_count : (store.care_count / 10000).toFixed(2) + '万' }}人关注</view> -->
</view>
<button :class="{ followed: store.care }" hover-class="none" @click="followToggle">
<!-- <button :class="{ followed: store.care }" hover-class="none" @click="followToggle">
<text v-show="!store.care" class="iconfont icon-guanzhu"></text>
{{ store.care ? '已关注' : '关注' }}
</button>
</button> -->
</view>
<view class="section wrap">
<view class="name">店铺评级</view>

@ -7,7 +7,7 @@
<view class="header">
<view class="head-menu">
<view class="iconfont icon-xiangzuo" @click="goback" style="color: #fff;"></view>
<view class="iconfont icon-shouye4" @click="goHome" style="color: #fff;"></view>
<!-- <view class="iconfont icon-shouye4" @click="goHome" style="color: #fff;"></view> -->
</view>
<navigator :url="'/pages/store/list/index?mer_id='+id" hover-class="none" class="search"><text class="iconfont icon-xiazai5"></text>搜索商品</navigator>
</view>
@ -16,12 +16,12 @@
<view class="header" :class="{noPointer : preview}">
<view class="head-menu">
<view class="iconfont icon-xiangzuo" @click="goback"></view>
<view class="iconfont icon-shouye4" @click="goHome"></view>
<!-- <view class="iconfont icon-shouye4" @click="goHome"></view> -->
</view>
<navigator :url="'/pages/store/list/index?mer_id='+id" hover-class="none" class="search"><text class="iconfont icon-xiazai5"></text>搜索商品</navigator>
</view>
<!-- #endif -->
<view v-show="navShow && tabActive === 3" class="nav" :style="viewColor">
<!-- <view v-show="navShow && tabActive === 3" class="nav" :style="viewColor">
<view class="nav-cont" :class="{noPointer : preview}">
<view :class="{ active: navActive === 0 }" class="item" @click="navActive = 0;select.show = !select.show">
<view class="cont">
@ -51,9 +51,9 @@
<text v-if="item.id === select.selected" class="iconfont icon-gou"></text>
</view>
</view>
</view>
</view> -->
<!--diy页面的导航-->
<view v-show="navShow && tabActive == 1" class="nav" :style="viewColor">
<!-- <view v-show="navShow && tabActive == 1" class="nav" :style="viewColor">
<view class="nav-cont" :class="{noPointer : preview}">
<view :class="{ active: diyActive == 0 }" class="item" @click="setDiy">
<view class="cont">精选</view>
@ -68,7 +68,7 @@
<view class="cont">领券</view>
</view>
</view>
</view>
</view> -->
<scroll-view class="main" scroll-y="true" @scroll="scrollHome" catchtouchmove :style="viewColor">
<!-- 店铺信息 -->
<view id="store" class="store" :class="{noPointer : preview}">
@ -98,16 +98,16 @@
<view v-else class="kefu" @click="call(0)">
<text class="iconfont icon-kefu3"></text>
</view>
<button hover-class="none" :class="store.care ? 'care' : ''" v-if="!isLogin" @click="authOpen">
<!-- <button hover-class="none" :class="store.care ? 'care' : ''" v-if="!isLogin" @click="authOpen">
<text v-show="!store.care" class="iconfont icon-guanzhu"></text>
{{ store.care ? '已关注' : '关注' }}
</button>
<button v-else hover-class="none" :class="store.care ? 'care' : ''" @click="followToggle">
<text v-show="!store.care" class="iconfont icon-guanzhu"></text>
{{ store.care ? '已关注' : '关注' }}
</button>
</button> -->
</view>
<view v-show="!navShow && tabActive === 3" class="nav">
<view class="nav">
<view class="nav-cont" :class="{noPointer : preview}">
<view :class="{ active: navActive === 0 }" class="item" @click="navActive = 0;select.show = !select.show">
<view class="cont">
@ -141,7 +141,7 @@
</view>
</view>
<!--diy导航-->
<view v-show="!navShow && tabActive === 1" class="nav">
<!-- <view v-show="!navShow && tabActive === 1" class="nav">
<view class="nav-cont" :class="{noPointer : preview}">
<view :class="{ active: diyActive == 0 }" class="item" @click="setDiy">
<view class="cont">精选</view>
@ -162,51 +162,11 @@
<text v-if="item.id === select.selected" class="iconfont icon-gou"></text>
</view>
</view>
</view>
</view> -->
<view class="tab-cont" :style="viewColor" :class="{noPointer : preview}">
<!-- diy组件 -->
<view v-show="diyActive == 0 && tabActive == 1">
<!-- #ifdef H5 -->
<view v-for="(item, index) in styleConfig" :key="index">
<block v-if="item.name != 'headerSerch' && item.name != 'tabNav'">
<component
:is="item.name"
:index="index"
:dataConfig="item"
:merId="id"
@detail="goGoodsDetail"
></component>
</block>
</block>
</view>
<!-- #endif -->
<!-- #ifdef MP || APP-PLUS-->
<block v-for="(item, index) in styleConfig" :key="index" >
<view>
<activeParty v-if="item.name == 'activeParty'" :merId="id" :dataConfig="item"></activeParty>
<articleList v-if="item.name == 'articleList'" :merId="id" :dataConfig="item"></articleList>
<bargain v-if="item.name == 'bargain'" :merId="id" :dataConfig="item"></bargain>
<blankPage v-if="item.name == 'blankPage'" :merId="id" :dataConfig="item"></blankPage>
<combination v-if="item.name == 'combination'" :merId="id" :dataConfig="item"></combination>
<topic v-if="item.name == 'topic'" :merId="id" :dataConfig="item"></topic>
<coupon v-if="item.name == 'coupon'" :merId="id" :dataConfig="item"></coupon>
<goodList v-if="item.name == 'goodList'" :merId="id" :dataConfig="item" @detail="goGoodsDetail"></goodList>
<guide v-if="item.name == 'guide'" :merId="id" :dataConfig="item"></guide>
<!-- <liveBroadcast v-if="item.name == 'liveBroadcast'" :merId="id" :dataConfig="item"></liveBroadcast> -->
<menus v-if="item.name == 'menus'" :merId="id" :dataConfig="item"></menus>
<presellList v-if="item.name == 'presellList'" :merId="id" :dataConfig="item"></presellList>
<richText v-if="item.name == 'richText'" :merId="id" :dataConfig="item"></richText>
<seckill v-if="item.name == 'seckill'" :merId="id" :dataConfig="item"></seckill>
<swiperBg v-if="item.name == 'swiperBg'" :merId="id" :dataConfig="item"></swiperBg>
<pictureCube v-if="item.name == 'pictureCube'" :merId="id" :dataConfig="item"></pictureCube>
<swipers v-if="item.name == 'swipers'" :merId="id" :dataConfig="item"></swipers>
<titles v-if="item.name == 'titles'" :merId="id" :dataConfig="item"></titles>
</view>
</block>
<!-- #endif -->
</view>
<!-- 首页 -->
<view v-show="(tabActive == 3 || diyActive == 1 || diyActive == 2) && tabActive != 5 && tabActive != 2">
<view>
<!-- 商品 -->
<view v-if="goods.length" class="goods-wrap" id="goods" @touchmove="onTouchmove">
<view v-if="isColumn" class="goods column">
@ -256,144 +216,16 @@
</view>
<emptyPage v-if="goods.length == 0 && !goodsLoading" title="暂无商品~"></emptyPage>
</view>
<!-- 分类 -->
<view v-show="tabActive == 2">
<view class="category">
<view class="section">
<view class="head" @click="goCategoryGoods('')">
<view class="title">全部</view>
<view class="iconfont icon-xiangyou"></view>
</view>
</view>
<view v-for="item in category" :key="item.store_category_id" class="section">
<view class="head" @click="goCategoryGoods(item.store_category_id)">
<view class="title">{{ item.cate_name }}</view>
<view class="iconfont icon-xiangyou"></view>
</view>
<view v-if="item.children" class="body">
<view v-for="value in item.children" :key="value.store_category_id" class="item" @click="goCategoryGoods(value.store_category_id)">{{ value.cate_name }}</view>
</view>
</view>
</view>
<view class="acea-row row-center-wrapper loadingicon">
<text :hidden="!categoryLoading" class="iconfont icon-jiazai loading"></text>
{{loadTitle}}
</view>
</view>
<!--生活服务-->
<view v-show="tabActive === 5" id="product" @touchmove="onTouchmoves">
<view v-if="productList.length" class="goods column">
<view v-for="item in productList" :key="item.product_id" class="item" @click="goGoodsDetail(item)">
<view class="image">
<easy-loadimage mode="widthFix" :image-src="item.image"></easy-loadimage>
</view>
<view class="text acea-row row-between-wrapper">
<view class="name line2">
<text class="name_text line1">{{ item.store_name }}</text>
</view>
<view class="item_bot">
<view class="money-wrap acea-row">
<view class="money">
¥
<text>{{ item.price }}</text>
</view>
<view v-if="item.show_svip_info && item.show_svip_info.show_svip_price && item.svip_price" class="acea-row row-middle">
<text class='vip-money'>{{item.svip_price}}</text>
<view class="vipImg">
<image class="image" :src="`${domain}/static/images/svip.png`"></image>
</view>
</view>
</view>
<view v-if="item.product_type != 0 || item.issetCoupon || item.delivery_free == 1" class="item_tags">
<text v-if="item.product_type != 0" :class="'font_bg-red type'+item.product_type">{{item.product_type == 1 ? "秒杀" : item.product_type == 2 ? "预售" : item.product_type == 3 ? "助力" : item.product_type == 4 ? "拼团" : ""}}</text>
<text class="tags_item ticket" v-if="item.issetCoupon">领券</text>
<text class="tags_item delivery" v-if="item.delivery_free == 1">包邮</text>
</view>
<view class="score">{{ item.rate }}评分 {{ item.reply_count }}条评论</view>
</view>
</view>
<view v-if="item.max_extension && (item.product_type == 0 || item.product_type == 2)" class="foot">
<text v-show="!isColumn" class="iconfont"></text>
最高赚 ¥{{ item.max_extension }}
</view>
</view>
</view>
<view v-if="goodsLoading" class="acea-row row-center-wrapper loadingicon">
<text :hidden="!goodsLoading" class="iconfont icon-jiazai loading"></text>
{{loadTitle}}
</view>
<emptyPage v-if="productList.length == 0 && !goodsLoading" title="暂无商品~"></emptyPage>
</view>
<!-- 优惠券 -->
<view v-show="diyActive == 3 && tabActive == 1">
<view v-if="coupon.length" class="coupon">
<view v-for="item in coupon" :key="item.coupon_id" class="item">
<view class="left gary" v-if="item.issue">
<view class="money">
¥
<text>{{ item.coupon_price }}</text>
</view>
<view>{{ item.use_min_price }}元可用</view>
</view>
<view class="left" v-else :style="{ 'background-image': `url(${domain}/static/diy/couponBg${keyColor}.png)` }">
<view class="money">
¥
<text>{{ item.coupon_price }}</text>
</view>
<view>{{ item.use_min_price }}元可用</view>
</view>
<view class="right">
<view class="name line1">
<text :class="{gary:item.issue}">{{item.type===0?'店铺券':'商品券'}}</text>
{{ item.title }}
</view>
<view class="time-wrap" style="justify-content: space-between;">
<block v-if="item.coupon_type == 1">
<view class="time">{{ item.use_start_time | dateFormat }}-{{ item.use_end_time | dateFormat }}</view>
</block>
<block v-if="item.coupon_type == 0">
<view>领取后{{ item.coupon_time}}天内可用</view>
</block>
<block v-if="item.issue">
<view class="gary iconfont icon-yilingqu2"></view>
</block>
<block v-else>
<view class="button" @click="receiveCoupon(item)">立即领取</view>
</block>
</view>
</view>
</view>
</view>
<emptyPage v-if="coupon.length == 0" title="暂无优惠券~"></emptyPage>
</view>
<!--活动专场-->
<view v-show="tabActive === 4">
<block v-if="topicList.length>0">
<view class="main_count">
<navigator v-for="(item,index) in topicList" :key='item.group_data_id' :url="`/pages/activity/topic_detail/index?id=${item.group_data_id}`" hover-class="none">
<view class='list'>
<image :src="item.pic" class="picture"></image>
</view>
</navigator>
</view>
</block>
<block v-else>
<view class='empty-box' v-cloak>
<image src='../static/images/no-topic.png'></image>
<view class="txt">暂无活动专场哦~</view>
</view>
</block>
</view>
</view>
</scroll-view>
<view class="footer" :style="viewColor" :class="{noPointer : preview}">
<!-- <view class="footer" :style="viewColor" :class="{noPointer : preview}">
<view v-for="(item, index) in tabs" :key="index" :class="{ active: tabActive === item.value }" class="item" @click="tab(item.value)">
<view :class="['iconfont', item.icon]"></view>
<view>{{ item.name }}</view>
</view>
</view>
</view> -->
</view>
</template>

@ -47,6 +47,7 @@
<!--#endif-->
<view class="name" v-if="userInfo.uid">
{{userInfo.nickname}}<image v-if="member_status" class="level_icon" :src="userInfo.member_icon" alt="">
<view class="flagUser">{{userInfo.group_name}}</view>
<view class="vip" v-if="userInfo.is_svip > 0 && svip_switch_status == 1">
<image :src="`${domain}/static/images/svip.png`"></image>
</view>
@ -81,7 +82,7 @@
</view> -->
<view class="num-wrapper skeleton-rect">
<view class="num-item" @click="goOtherPage('/pages/huitong/huitongbao/index')">
<text class="num">{{assets.integral_buy||0}}</text>
<text class="num">{{assets.finalScore||0}}</text>
<view class="txt">积分</view>
</view>
<view class="num-item" @click="goOtherPage('/pages/users/user_integral1/index')">
@ -563,9 +564,10 @@
that.is_promoter = res.data.is_promoter;
that.extension_status = res.data.extension_status;
Object.keys(res.data.assets).forEach(item=>{
that.$set(that.assets,item,Math.floor(res.data.assets[item]));
that.$set(that.assets,item,Math.floor(Number(res.data.assets[item])));
})
that.$set(that.assets,'finalScore',Math.floor((Number(res.data.assets.integral_buy)+Number(res.data.assets.integral_withdraw))));
that.getMyMenus();
});
},
@ -1233,4 +1235,13 @@
}
}
}
.flagUser{
border: 1px solid #fff;
border-radius: 5px;
padding: 0 10rpx;
font-size: 24rpx;
margin-left: 20rpx;
margin-top: 8rpx;
}
</style>

@ -178,6 +178,8 @@
console.log(res, '回调')
that.uploadImg.push(res.data.path);
that.$set(that, 'uploadImg', that.uploadImg);
},err=>{
console.log(err,"-000")
});
},
//

@ -344,12 +344,12 @@
</view>
</form>
</view>
<view class='wrapper'>
<!-- <view class='wrapper'>
<view class='item'>
<view>支付方式</view>
<view class='list'>
<view class='list'> -->
<!-- #ifdef H5 -->
<view class='payItem acea-row row-middle' :class='active==index ?"on":""' @tap='payItem(index)'
<!-- <view class='payItem acea-row row-middle' :class='active==index ?"on":""' @tap='payItem(index)'
v-for="(item,index) in cartArr" :key='index' v-if="item.payStatus==1">
<view class='name acea-row row-center-wrapper'>
<view class='iconfont animated'
@ -362,10 +362,10 @@
{{userInfo.now_money}}
</block>
</view>
</view>
</view> -->
<!-- #endif -->
<!-- #ifdef MP || APP-PLUS -->
<view class='payItem acea-row row-middle' :class='active==index ?"on":""' @tap='payItem(index)'
<!-- <view class='payItem acea-row row-middle' :class='active==index ?"on":""' @tap='payItem(index)'
v-for="(item,index) in cartArr" :key='index' v-if="item.payStatus==1">
<view class='name acea-row row-center-wrapper'>
<view class='iconfont animated'
@ -378,11 +378,11 @@
{{userInfo.now_money}}
</block>
</view>
</view>
</view> -->
<!-- #endif -->
</view>
<!-- </view>
</view>
</view>
</view> -->
<view class='moneyList'>
<view class='item acea-row row-between-wrapper'>
<view>商品总价</view>
@ -399,7 +399,7 @@
<view class='item acea-row row-between-wrapper' v-if="open_integral && userInfo.integral>=0 && order_type == 0">
<view>积分抵扣</view>
<view class='money'>
<text v-if="!use_integral">当前积分<text class="pColor">{{Number(userInfo.assets.integral_buy)}}</text></text>
<text v-if="!use_integral">当前积分<text class="pColor">{{Math.floor(Number(userInfo.assets.integral_buy)+Number(userInfo.assets.integral_withdraw))}}</text></text>
<text v-else>使用了{{integral_count}}个积分抵扣<text
class="pColor">{{integral_price}}</text></text>
<view class="checkbox integral_checked" @click="changeIntegral">
@ -408,7 +408,7 @@
</view>
</view>
</view>
<view class='item acea-row row-between-wrapper'
<!-- <view class='item acea-row row-between-wrapper'
v-if="order_type != 3 && order_type != 4 && enabledPlatformCoupon">
<view>平台优惠券<text @tap="showCoupon" class="iconfont icon-wenhao1"></text></view>
<block v-if="platformCoupon.length > 0">
@ -421,7 +421,7 @@
<block v-else>
<view class='discount'>暂无优惠券</view>
</block>
</view>
</view> -->
<view class='item acea-row row-between-wrapper' v-if="priceGroup.storePostage > 0">
<view>运费</view>
<view class='money'>+{{priceGroup.storePostage}}</view>
@ -612,7 +612,7 @@
mark: '', //
couponTitle: '请选择', //
coupon_price: 0, //
useIntegral: false, //使
useIntegral: true, //使
integral_price: 0, //
integral: 0,
status: 0,

@ -306,21 +306,21 @@
title: '微信快捷支付',
payStatus: 1
},
{
name: "支付宝支付",
icon: "icon-zhifubao",
value: 'alipay',
title: '支付宝支付',
payStatus: this.$store.getters.globalData.alipay_open
},
{
name: "余额支付",
icon: "icon-yuezhifu",
value: 'balance',
title: '可用余额:',
number: 0,
payStatus: this.$store.getters.globalData.yue_pay_status
}
// {
// name: "",
// icon: "icon-zhifubao",
// value: 'alipay',
// title: '',
// payStatus: this.$store.getters.globalData.alipay_open
// },
// {
// name: "",
// icon: "icon-yuezhifu",
// value: 'balance',
// title: ':',
// number: 0,
// payStatus: this.$store.getters.globalData.yue_pay_status
// }
],
pay_close: false,
pay_order_id: '',

@ -192,6 +192,7 @@
getAddress() {
let that = this;
that.$wechat.openAddress().then(res => {
console.log(res,"0099")
getCityList(res.provinceName+'/'+res.cityName+'/'+res.countryName).then(res=>{
that.addressInfo = res.data;
})
@ -266,7 +267,7 @@
title: '请填写联系电话'
});
if (!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(value.phone)) return that.$util.Tips({
title: '请输入正确的手机号码'
title: '请输入正确的号码'
});
if (!that.addressInfo.length) return that.$util.Tips({
title: '请选择所在地区'

@ -48,16 +48,33 @@
type='digit' v-model="extract_price"></input></view>
</view>
<view class='tip mt25'>
当前可提现金额: <text class="price">{{userInfo.brokerage_price}},</text>冻结佣金{{userInfo.lock_brokerage}}
当前可提现金额: <text class="price">{{userInfo.brokerage_price}}</text>
<!-- 冻结佣金{{userInfo.lock_brokerage}} -->
</view>
<view class='tip'>
说明: 每笔佣金的冻结期为{{userInfo.broken_day}}到期后可提现
<view style="background-color: #F5F5F5;margin: 0 -30rpx;padding-top: 10rpx;">
<view class='intruduce'>
<!-- 说明: 每笔佣金的冻结期为{{userInfo.broken_day}}到期后可提现 -->
<view class="title">
提现说明
</view>
<view class="textInfo">
1.单次提现金额 最少 1.00;最多 1000.00;<br/>
2.每月最多可提现 10 ;<br/>
3.每次收取提现手续费 0.3%;<br/>
4.提现申请后将审核后到账,到账结果请查收对应渠道服务通知;<br/>
5.如有疑问请及时联系客服;
</view>
</view>
</view>
<view class="btn-submit">
<button formType="submit" :disabled="load" class='bnt b-color' :class="load ? 'disabled' : ''" >提现</button>
</view>
</form>
</view>
<view :hidden='currentTab != 1' class='list'>
<form @submit="subCash" report-submit='true'>
<view v-if="!sys_extension_type" class="">
@ -370,11 +387,12 @@
title: res.message,
icon: 'success'
});
setTimeout(function(){
uni.navigateTo({
url: '/pages/users/user_spread_user/index'
});
},1000)
that.getUserInfo();
// setTimeout(function(){
// uni.navigateTo({
// url: '/pages/users/user_spread_user/index'
// });
// },1000)
}).catch(err => {
that.load = false;
return that.$util.Tips({
@ -617,4 +635,25 @@
text-align: center;
color: #116636;
}
.intruduce{
background: #FFFFFF;
border-radius: 10px;
padding:40rpx 30rpx;
margin: 20rpx 24rpx 0 24rpx;
.title{
font-weight: bold;
font-size: 30rpx;
color: #333333;
margin-bottom: 38rpx;
}
.textInfo{
font-weight: 400;
font-size: 24rpx;
color: #999999;
line-height: 40rpx;
}
}
</style>

@ -202,7 +202,7 @@
getUserInfo: function() {
let that = this;
getUserInfo().then((res)=>{
this.contribution = res.data.assets.stock
this.contribution = Math.floor(Number(res.data.assets.stock))
// this.contribution_frozen = res.data.assets.contribution_frozen
getIntegralInfo().then(function(res) {
that.$set(that,'userInfo',res.data);

@ -308,12 +308,12 @@
}
if(this.huitongToConsumeNum>this.huitong){
uni.showToast({
title: '积分不足',
title: '钻石不足',
icon:'none'
});
return;
}
DiamondTostock({count:Number(this.huitongToConsumeNum).toFixed(2)}).then(res=>{
DiamondTostock({count:Math.floor(Number(this.huitongToConsumeNum))}).then(res=>{
if(res.status==200){
this.getUserInfo()
@ -335,7 +335,7 @@
}
if(this.zhuanrang.count>this.huitong){
uni.showToast({
title: '积分不足',
title: '钻石不足',
icon:'none'
});
return;
@ -364,7 +364,7 @@
});
return;
}
this.zhuanrang.count = Number(this.zhuanrang.count).toFixed(2)
this.zhuanrang.count = Math.floor(Number(this.zhuanrang.count))
sendDiamond(this.zhuanrang).then(res=>{
@ -444,7 +444,7 @@
getUserInfo() {
let that = this;
getUserInfo().then((res)=>{
this.huitong = res.data.assets.diamond;
this.huitong = Math.floor(Number(res.data.assets.diamond));
this.mobilePhoneNum = res.data.phone
this.getIntegralList()

@ -7,7 +7,8 @@
<view class='nav acea-row'>
<view class='item'>
<view>预存金额</view>
<view class='num'>{{ userinfo.now_money || 0 }}</view>
<!-- <view class='num'>{{ userinfo.now_money || 0 }}</view> -->
<view class='num'>{{ deposit_total || 0 }}</view>
</view>
@ -78,7 +79,8 @@
rechargeWechat,
getRechargeApi,
depositData,
rechargeBrokerage
rechargeBrokerage,
getUserInfo
} from '@/api/user.js';
import { mapGetters } from "vuex";
import payment from '@/components/payment';
@ -90,6 +92,7 @@
data() {
let that = this;
return {
deposit_total:0,
content:'',
otherValue: '其他',
now_money: 0,
@ -139,6 +142,7 @@
payStatus: true
}
// #endif
],
};
},
@ -146,7 +150,7 @@
onLoad(options) {
this.delta = options.delta || 1;
if (this.isLogin) {
// this.getUserInfo();
this.getUserInfo();
this.getRecharge();
} else {
toLogin()
@ -210,12 +214,17 @@
/**
* 获取用户信息
*/
// getUserInfo: function() {
// let that = this;
// spreadInfo().then(res => {
// that.$set(that, 'userinfo', res.data);
// })
// },
getUserInfo: function() {
let that = this;
// spreadInfo().then(res => {
// that.$set(that, 'userinfo', res.data);
// })
getUserInfo().then((res)=>{
this.deposit_total = Math.floor(Number(res.data.assets.deposit_total));
})
},
payClose: function() {
this.pay_close = false;
},
@ -447,7 +456,7 @@
...jsConfig,
success: function(res) {
uni.hideLoading();
// that.getUserInfo();
that.getUserInfo();
that.getRecharge();
return that.$util.Tips({
title: '支付成功',

@ -10,18 +10,21 @@
<view class='item'>
<view class='listn'>
<view class='itemn acea-row row-between-wrapper'>
<view>
<view style="flex:1">
<block v-if="item.status>=0">
<view class='name line1' v-if="item.extract_type == 0">银行卡提现</view>
<view class='name line1' v-if="item.extract_type == 1">微信提现</view>
<view class='name line1' v-if="item.extract_type == 2">支付宝提现</view>
<view class='name line1' v-if="item.extract_type == 3">提现到零钱</view>
</block>
<block v-else>
<!-- <block v-else>
<view class='name line1'>提现失败<text class="message">({{item.fail_msg}})</text></view>
</block>
</block> -->
<view>{{item.create_time}}</view>
</view>
<view style="margin:0 10px;">
{{item.status==-1?'未通过':item.status==0?'审核中':item.status==1?'已提现':'-'}}
</view>
<view class='nums' v-if="item.status>=0">-{{item.extract_price}}</view>
<view class='nums p-color acea-row row-between-wrapper' v-else>
<text v-if="item.status == 0" class="item-label">冻结中</text>

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

@ -576,60 +576,71 @@ export default {
* @param callable errorCallback 失败执行方法
*/
uploadImageOne: function(opt, successCallback, errorCallback) {
console.log(opt,"nmnm")
let that = this;
if (typeof opt === 'string') {
let url = opt;
opt = {};
opt.url = url;
}
let count = opt.count || 1,
sizeType = opt.sizeType || ['compressed'],
sourceType = opt.sourceType || ['album', 'camera'],
is_load = opt.is_load || true,
uploadUrl = opt.url || '',
inputName = opt.name || 'field';
uni.chooseImage({
count: count, //最多可以选择的图片总数
sizeType: sizeType, // 可以指定是原图还是压缩图,默认二者都有
sourceType: sourceType, // 可以指定来源是相册还是相机,默认二者都有
success: async (res)=> {
let image = [];
let filesLen = res.tempFiles.length;
let exceeded_list = [];
let uploadMaxSize = 10;
let imageList = [];
let urlPath = HTTP_REQUEST_URL + '/api/' + uploadUrl + '/' + inputName
if (count === 1) {
successCallback && successCallback(await that.uploadFile(urlPath, res.tempFilePaths[
0], opt, '图片上传中'))
} else {
for (let i = 0; i < res.tempFiles.length; i++) {
if (Math.ceil(res.tempFiles[i].size / 1024) < uploadMaxSize * 1024) {
image.push(res.tempFiles[i].path);
} else {
exceeded_list.push(i + 1);
filesLen = filesLen - 1;
// #ifdef APP-PLUS
plus.nativeUI.alert(
`${[...new Set(exceeded_list)].join(',')}张图片超出限制${uploadMaxSize}MB,已过滤`
);
// #endif
// #ifndef APP-PLUS
uni.showModal({
content: `${[...new Set(exceeded_list)].join(',')}张图片超出限制${uploadMaxSize}MB,已过滤`
});
// #endif
continue;
setTimeout(()=>{
// uni.chooseImage({
uni.chooseMedia({
count: count, //最多可以选择的图片总数
sizeType: sizeType, // 可以指定是原图还是压缩图,默认二者都有
sourceType: sourceType, // 可以指定来源是相册还是相机,默认二者都有
success: async (res)=> {
let image = [];
let filesLen = res.tempFiles.length;
let exceeded_list = [];
let uploadMaxSize = 10;
let imageList = [];
let urlPath = HTTP_REQUEST_URL + '/api/' + uploadUrl + '/' + inputName
if (count === 1) {
console.log(res,"bnbn")
successCallback && successCallback(await that.uploadFile(urlPath, res.tempFiles[0].tempFilePath, opt, '图片上传中'))
} else {
for (let i = 0; i < res.tempFiles.length; i++) {
if (Math.ceil(res.tempFiles[i].size / 1024) < uploadMaxSize * 1024) {
image.push(res.tempFiles[i].path);
} else {
exceeded_list.push(i + 1);
filesLen = filesLen - 1;
// #ifdef APP-PLUS
plus.nativeUI.alert(
`${[...new Set(exceeded_list)].join(',')}张图片超出限制${uploadMaxSize}MB,已过滤`
);
// #endif
// #ifndef APP-PLUS
uni.showModal({
content: `${[...new Set(exceeded_list)].join(',')}张图片超出限制${uploadMaxSize}MB,已过滤`
});
// #endif
continue;
}
}
for (const key in image) {
let data = await that.uploadFile(urlPath, image[key], opt, '图片上传中')
imageList.push(data.data.path)
}
successCallback && successCallback(imageList)
}
for (const key in image) {
let data = await that.uploadFile(urlPath, image[key], opt, '图片上传中')
imageList.push(data.data.path)
}
successCallback && successCallback(imageList)
},
fail:(err)=>{
}
}
})
})
})
},
uploadFile(urlPath, localPath, opt, message) {
let that = this;

Loading…
Cancel
Save