调整实物h5

master
游梦婷 2 years ago
parent ba1bfd0cc7
commit f611781b44
  1. 4
      components/cart-choose/cart-choose.vue
  2. 44
      components/goods-list/goods-list.vue
  3. 15
      components/pick-regions/pick-regions.vue
  4. 1
      pages.json
  5. 5
      pages/tabBar/classify/classify.css
  6. 25
      pages/tabBar/classify/classify.vue
  7. 4
      pages/tabBar/user/user.vue
  8. 2
      pages/user/order_list/order_list.vue
  9. 18
      physical-merchants/address/addNewAddress/addNewAddress.vue
  10. 10
      physical-merchants/address/address.vue
  11. 25
      physical-merchants/classify/cart/cart.vue
  12. 8
      physical-merchants/classify/goods-search/goods-search.vue
  13. 17
      physical-merchants/classify/goodsDetail/goodsDetail.vue
  14. 39
      physical-merchants/classify/order/orderDetail.vue
  15. 18
      physical-merchants/classify/order/pay.vue
  16. 2
      physical-merchants/classify/order/paymentResult.vue
  17. 11
      physical-merchants/classify/order/trackNode/trackNode.vue
  18. 56
      physical-merchants/classify/order/wuliuPupup/wuliuPupup.vue
  19. 14
      physical-merchants/settleAccounts/detail-popup/detail-popup.vue
  20. 31
      physical-merchants/settleAccounts/settleAccounts.vue

@ -123,7 +123,9 @@
}, },
goodsDetail:{ goodsDetail:{
type:Object, type:Object,
default:{} default() {
return {}
}
} }
}, },
watch:{ watch:{

@ -1,10 +1,11 @@
<template> <template>
<view style="height: 100%;"> <view style="height: 100%;">
<!-- perspective: 1000; --> <!-- perspective: 1000; -->
<scroll-view v-if="typeList=='classify'" class="scroll-view goods-list" :scroll-top="scrollTop" @scroll="handleScroll" :scroll-y="true" <scroll-view v-if="typeList=='classify'" class="scroll-view goods-list" :scroll-top="scrollTop"
:lower-threshold="lowerThreshold" @scrolltolower="handleScrolltolower" @touchstart="handleTouchStart" @scroll="handleScroll" scroll-y="true" :lower-threshold="lowerThreshold"
@touchmove.stop.prevent="handleTouchMove" @touchend="handleTouchEnd" @touch.stop> @scrolltolower="handleScrolltolower" @touchstart="handleTouchStart"
<!-- @touchmove.stop.prevent --> @touchmove.stop.prevent="handleTouchMove" @touchend="handleTouchEnd">
<!-- @touchmove.stop.prevent @touch.stop -->
<view class="scroll-content1" :style="[scrollContentStyle]"> <view class="scroll-content1" :style="[scrollContentStyle]">
<!-- 下拉 --> <!-- 下拉 -->
<view class="pull-down-view"> <view class="pull-down-view">
@ -75,10 +76,10 @@
<!--search-List --> <!--search-List -->
<scroll-view v-if="typeList=='goodsSearch'" :scroll-y="true" class="ht-auto goods-list" <scroll-view v-if="typeList=='goodsSearch'" scroll-y="true" class="ht-auto goods-list" @scroll="handleScroll"
@scroll="handleScroll" :scroll-top="scrollTop" @scrolltolower="scroll_lower" lower-threshold="30"> :scroll-top="scrollTop" @scrolltolower="scroll_lower" lower-threshold="30">
<!-- <view class="right-content-actual pr bs" :style="'padding-bottom:'+paddBottom+'px;'"> --> <!-- <view class="right-content-actual pr bs" :style="'padding-bottom:'+paddBottom+'px;'"> -->
<view v-if="(propData || null) != null && propData.length > 0" > <view v-if="(propData || null) != null && propData.length > 0">
<view v-for="(item, index) in propData" :key="index"> <view v-for="(item, index) in propData" :key="index">
<view @click="goGoodsDetail(item.id)" class="goods-item bs"> <view @click="goGoodsDetail(item.id)" class="goods-item bs">
@ -129,7 +130,7 @@
</view> </view>
</view> </view>
<!-- 选择类别 --> <!-- 选择类别 -->
<wybPopup ref="popup" type="bottom" height="500" width="500" scrollY="true" radius="6" :showCloseIcon="true"> <wybPopup ref="popup" type="bottom" height="500" width="500" :scrollY="true" radius="6" :showCloseIcon="true">
<cart-choose @refreshCartNum="refreshCartNum" :specificationList="specificationList" @close="close"> <cart-choose @refreshCartNum="refreshCartNum" :specificationList="specificationList" @close="close">
</cart-choose> </cart-choose>
@ -155,8 +156,8 @@
imageUrl: app.globalData.imgUrl, // imageUrl: app.globalData.imgUrl, //
imagewxUrl: app.globalData.imageWxImg, imagewxUrl: app.globalData.imageWxImg,
imgadres: 'goods_default_pages.png', imgadres: 'goods_default_pages.png',
scrollTop:0, scrollTop: 0,
currentScrollTop:0, currentScrollTop: 0,
// start // start
refresherThreshold: 50, refresherThreshold: 50,
lowerThreshold: 50, lowerThreshold: 50,
@ -205,7 +206,9 @@
props: { props: {
propData: { propData: {
type: Array, type: Array,
default: null default () {
return []
}
}, },
paddBottom: { paddBottom: {
type: Number, type: Number,
@ -213,18 +216,22 @@
}, },
pageData: { pageData: {
type: Object, type: Object,
default: { default() {
return {
pageStart: 1, pageStart: 1,
pageNum: 0, pageNum: 0,
allData: 0 allData: 0
} }
}
}, },
selectObject: { selectObject: {
type: Object, type: Object,
default: { default(){
return {
selectIndex: 0, selectIndex: 0,
length: 0 length: 0
} }
}
}, },
typeList: { typeList: {
type: String, type: String,
@ -261,8 +268,8 @@
pullUpHeight, pullUpHeight,
pullingUp pullingUp
} = this; } = this;
style.transform = pullingDown&&!pullingUp ? `translateY(${pullDownHeight}px)` : `translateY(0px)`; style.transform = pullingDown && !pullingUp ? `translateY(${pullDownHeight}px)` : `translateY(0px)`;
style.transition = pullingDown&&!pullingUp ? `transform .1s linear` : style.transition = pullingDown && !pullingUp ? `transform .1s linear` :
`transform 0.3s cubic-bezier(0.19,1.64,0.42,0.72)`; `transform 0.3s cubic-bezier(0.19,1.64,0.42,0.72)`;
return style; return style;
}, },
@ -486,14 +493,16 @@
width: 35px; width: 35px;
height: 35px; height: 35px;
color: #3DA7E7 !important; color: #3DA7E7 !important;
.font40{
.font40 {
font-size: 35px !important; font-size: 35px !important;
color: #F0AD4E; color: #F0AD4E;
} }
} }
.searchCart{ .searchCart {
bottom: 27px !important; bottom: 27px !important;
right: 30px !important; right: 30px !important;
} }
@ -636,6 +645,7 @@
.scroll-content1 { .scroll-content1 {
width: 100%; width: 100%;
padding-bottom: 40px; padding-bottom: 40px;
// position: relative; // position: relative;
// height: inherit; // height: inherit;
.empty-view { .empty-view {

@ -108,7 +108,7 @@
}, },
methods: { methods: {
handleColumnChange(e){ handleColumnChange(e){
console.log(e,"change"); // console.log(e,"change");
this.isInitMultiArray = false; this.isInitMultiArray = false;
const that = this; const that = this;
let col = e.detail.column; let col = e.detail.column;
@ -165,20 +165,29 @@
} }
if(condition){ if(condition){
// //
// console.log(i,j,children.length-1); // console.log(i,j,children.length-1);
// children = children[j].childs; // children = children[j].childs;
if(children[j].childs&&children[j].childs.length>0){ if(children[j].childs&&children[j].childs.length>0){
children = children[j].childs; children = children[j].childs;
}else{
let arr = [];
arr.push(children[j]);
children =arr;
} }
console.log(children,"children")
if(i==0){ if(i==0){
this.cityArr = children this.cityArr = children
}else if(i==1){ }else if(i==1){
this.districtArr = children this.districtArr = children
} }
this.$set(this.multiIndex,i,j) this.$set(this.multiIndex,i,j)
// console.log(this.multiIndex);
break; break;
}else{ }else{
// //

@ -1183,6 +1183,7 @@
"path": "classify/order/paymentResult", "path": "classify/order/paymentResult",
"style": { "style": {
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#3da7e7", "navigationBarBackgroundColor": "#3da7e7",
"backgroundColorTop": "#3da7e7", "backgroundColorTop": "#3da7e7",
"navigationBarTitleText": "支付结果", "navigationBarTitleText": "支付结果",

@ -91,11 +91,12 @@
width: 100%; width: 100%;
} }
.top-nav { .top-nav {
height: 150rpx; height: 150rpx;
top: 0; /* top: 0;
left: 0; left: 0;
z-index: 2; z-index: 2; */
} }
.top-nav .icon-content { .top-nav .icon-content {

@ -1,6 +1,5 @@
<template> <template>
<view class="" style="height: 100vh;overflow: hidden;background: linear-gradient(to bottom, #3DA7E7, #FFFFFF ) no-repeat;background-size: 100% calc(50px + 150rpx) <view class="classify-contain" >
">
<!-- 搜索框 --> <!-- 搜索框 -->
<block > <block >
<view class="nav-search jianbian" @click="toSearch"> <view class="nav-search jianbian" @click="toSearch">
@ -15,13 +14,13 @@
> >
</skeleton> --> </skeleton> -->
<view v-if="category_list.length > 0" class="category-content pr " :style="'height:calc(100vh - '+(60)+'px);'"> <view v-if="category_list.length > 0" class="category-content pr " :style="'height:calc(100% - '+(60)+'px);'">
<!-- 商品列表模式 --> <!-- 商品列表模式 -->
<block > <block >
<!-- 一级导航 --> <!-- 一级导航 -->
<view class="top-nav scroll-view-horizontal"> <view class="top-nav scroll-view-horizontal">
<scroll-view :scroll-x="true" > <scroll-view style="height: 100%;" scroll-x="true" @touchmove.stop>
<block v-for="(item, index) in category_list" :key="index"> <block v-for="(item, index) in category_list" :key="index">
<view :class="' item dis-inline-block ' + (nav_active_index == index ? 'active-class ' : '')" :data-index="index" :data-itemtwoindex="0" @click="nav_event"> <view :class="' item dis-inline-block ' + (nav_active_index == index ? 'active-class ' : '')" :data-index="index" :data-itemtwoindex="0" @click="nav_event">
<view :class="'icon-content circle br ' + (nav_active_index == index ? 'active-border' : '')"> <view :class="'icon-content circle br ' + (nav_active_index == index ? 'active-border' : '')">
@ -39,7 +38,7 @@
<!-- 二级导航 --> <!-- 二级导航 -->
<view class="left-nav "> <view class="left-nav ">
<scroll-view :scroll-y="true" :scroll-top="scrollTop" class="ht-auto"> <scroll-view scroll-y="true" :scroll-top="scrollTop" class="ht-auto">
<view class="left-content-actual bs tc "> <view class="left-content-actual bs tc ">
<block v-if="(data_content || null) != null && (data_content.children || null) != null && data_content.children.length > 0"> <block v-if="(data_content || null) != null && (data_content.children || null) != null && data_content.children.length > 0">
@ -369,6 +368,16 @@
@import url("./classify.css"); @import url("./classify.css");
.classify-contain{
height: calc(100vh - var(--window-bottom));
overflow: hidden;
background: linear-gradient(to bottom, #3DA7E7, #FFFFFF ) no-repeat;
background-size: 100% calc(61px + 150rpx);
}
.gouwuche { .gouwuche {
position: absolute; position: absolute;
bottom: 10px; bottom: 10px;
@ -394,9 +403,9 @@
/* /*
*/ */
.item-img{ .item-img{
height: 40rpx; height: 20px;
width:40rpx; width:20px;
margin-right: 12rpx; margin-right: 6px;
} }
.spinner { .spinner {

@ -750,10 +750,10 @@
.list { .list {
display: flex; display: flex;
padding-bottom: 10upx; padding-bottom: 10upx;
flex-wrap: wrap;
.box { .box {
width: 25%; width: 25%;
margin-bottom: 10px;
.img { .img {
width: 100%; width: 100%;
display: flex; display: flex;

@ -703,7 +703,7 @@
.list { .list {
width: 94%; width: 94%;
margin: 0 auto; margin: 0 auto;
overflow: auto;
.onorder { .onorder {
width: 100%; width: 100%;
height: 50vw; height: 50vw;

@ -68,7 +68,7 @@
<text class="font18">设为默认地址</text> <text class="font18">设为默认地址</text>
</view> </view>
<view class="bottom-fixed padding-main"> <view class="bottom-fixed ">
<button class="btn " type="default" form-type="submit">保存</button> <button class="btn " type="default" form-type="submit">保存</button>
</view> </view>
</view> </view>
@ -333,10 +333,10 @@
.bottom-fixed { .bottom-fixed {
position: fixed; position: fixed;
left: 0; left: 10%;
bottom: 0; bottom:var(--window-bottom);
border: none; border: none;
width: 100%; width: 80%;
box-sizing: border-box; box-sizing: border-box;
z-index: 2; z-index: 2;
.btn{ .btn{
@ -352,8 +352,8 @@
.page-bottom-fixed { .page-bottom-fixed {
height: 100vh; height: calc(100vh - var(--window-top));
padding-bottom: 80px; padding-bottom: 100px;
box-sizing: border-box; box-sizing: border-box;
} }
@ -371,8 +371,10 @@
border-radius: 0; border-radius: 0;
box-sizing: border-box; box-sizing: border-box;
font-size: 18px; font-size: 18px;
height: 30px; // height: 30px;
line-height: 30px; // min-height: 60px;
// line-height: 30px;
// padding: 8px 0;
} }
} }

@ -7,7 +7,7 @@
<view v-for="(item,index) in addressList" @click="chooseAddress(item)" :key="item.id" <view v-for="(item,index) in addressList" @click="chooseAddress(item)" :key="item.id"
class="border-8r paading10 backcolorfff marb10"> class="border-8r paading10 backcolorfff marb10">
<view class="user-msg border-b paddbotm5"> <view class="user-msg border-b paddbotm5">
<view class=" mart3 "> <view class=" mart3 fontwig6">
<text class="address-name">{{item.consignee}}</text> <text class="address-name">{{item.consignee}}</text>
<text class=" margle10 ">{{item.phone}}</text> <text class=" margle10 ">{{item.phone}}</text>
</view> </view>
@ -19,7 +19,7 @@
<view class="user-handle mart10"> <view class="user-handle mart10">
<view class="handle-left"> <view class="handle-left">
<!-- <radio :checked="item.whetherDefault" style="transform:scale(0.7)" :value="item.id" color="#FF1A34" /> --> <!-- <radio :checked="item.whetherDefault" style="transform:scale(0.7)" :value="item.id" color="#FF1A34" /> -->
<radio @click.stop :checked="selectId == item.id" style="transform:scale(1.1)" :value="item.id" <radio @click.stop :checked="selectId == item.id" style="transform:scale(1.1)" :value="item.id+''"
color="#FF1A34" /> color="#FF1A34" />
<text class=" margle">默认地址</text> <text class=" margle">默认地址</text>
</view> </view>
@ -246,11 +246,11 @@
} }
.user-address { .user-address {
height: 100vh; height: calc(100vh - var(--window-top));
overflow: hidden; overflow: hidden;
.address-contain { .address-contain {
height: calc(100vh - 80px); height: calc(100% - 100px);
width: calc(100% - 20px); width: calc(100% - 20px);
} }
@ -290,7 +290,7 @@
// //
.address-btn { .address-btn {
position: absolute; position: absolute;
bottom: 0; bottom:var(--window-bottom);
left: 0; left: 0;
right: 0; right: 0;
display: flex; display: flex;

@ -15,7 +15,7 @@
<view class="cart-container2"> <view class="cart-container2">
<checkbox-group @change="checkClick(item)"> <checkbox-group @change="checkClick(item)">
<checkbox @click.stop class="mycheck checkContainer" :disabled="!isEdit&&item.loseEfficacy" color="#FFC71E" <checkbox @click.stop class="mycheck checkContainer" :disabled="!isEdit&&item.loseEfficacy" color="#FFC71E"
:value="item.id" :checked="item.whetherCheck" /> value="item.id" :checked="item.whetherCheck" />
</checkbox-group> </checkbox-group>
<view class="cart-detail"> <view class="cart-detail">
<view class="cart-img"> <view class="cart-img">
@ -71,27 +71,27 @@
</view> </view>
<view class="cart-tool bg-white"> <view class="cart-tool bg-white font16">
<view class="select-all"> <view class="select-all dis-flex height100">
<checkbox-group @change="checkAllClick"> <checkbox-group @change="checkAllClick">
<label> <label class="dis-flex">
<!-- :disabled="cartList.length == 0" --> <!-- :disabled="cartList.length == 0" -->
<checkbox class="mycheck" color="#FFC71E" :value="allCheck.value" <checkbox class="mycheck" color="#FFC71E" :value="allCheck.value"
:checked="allCheck.whetherCheck" style="transform: scale(1.1);"/> :checked="allCheck.whetherCheck" style="transform: scale(1.1);"/>
<text class="paddleft5 fcor777">全选</text> <view class="paddleft5 fcor777">全选</view>
</label> </label>
<!-- --> <!-- -->
</checkbox-group> </checkbox-group>
<text v-if="!isEdit" class="paddleft5 fcorred " @click="editDelete">编辑</text> <view v-if="!isEdit" class="paddleft5 fcorred " @click="editDelete">编辑</view>
<text v-if="isEdit" class="icon-ymt delete paddleft5 fcorred" @click="deleteCart"></text> <view v-if="isEdit" class="icon-ymt delete paddleft5 fcorred font16" @click="deleteCart">删除</view>
</view> </view>
<text v-if="isEdit" class="tool-right paddleft5 fcorred " @click="editDelete">退出编辑</text> <view v-if="isEdit" class="tool-right paddleft5 fcorred " @click="editDelete">退出编辑</view>
<view v-if="!isEdit" class="tool-right "> <view v-if="!isEdit" class="tool-right ">
<view class="tool-jiesuan marRight10 "> <view class="tool-jiesuan marRight10 dis-flex">
<!-- <text v-if="priceOrigin > 0" class="fcor666 margle10 marRight10 font14 text-lt">¥{{priceOrigin}}</text> --> <!-- <text v-if="priceOrigin > 0" class="fcor666 margle10 marRight10 font14 text-lt">¥{{priceOrigin}}</text> -->
合计:<text v-if="priceAll>0" class="fcorred font20">¥{{priceAll | numFormat}}</text> <text>合计:</text> <text v-if="priceAll>0" class="fcorred font20">¥{{priceAll | numFormat}}</text>
<text v-if="priceAll==0" class="fcorred">¥{{priceAll}}</text> <text v-if="priceAll==0" class="fcorred">¥{{priceAll}}</text>
</view> </view>
@ -543,7 +543,7 @@
} }
.cart-container { .cart-container {
height: 100vh; height:calc(100vh - var(--window-top)) ;
padding: 10px 20rpx 0px; padding: 10px 20rpx 0px;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
@ -648,7 +648,8 @@
// //
.cart-tool { .cart-tool {
position: absolute; position: absolute;
bottom: 0; // bottom: 0;
bottom:var(--window-bottom);
left: 0; left: 0;
right: 0; right: 0;
box-sizing: border-box; box-sizing: border-box;

@ -1,6 +1,6 @@
<template> <template>
<view class="backcor9" style="height: 100vh;overflow: hidden;"> <!-- <view class="backcor9" style="height: 100vh;overflow: hidden;"> -->
<view class="search-container"> <view class="search-container backcor9">
<!-- 搜索框 --> <!-- 搜索框 -->
<block> <block>
<view class="nav-search jianbian"> <view class="nav-search jianbian">
@ -18,7 +18,7 @@
</view> </view>
</view> <!-- </view> -->
</template> </template>
<script> <script>
@ -136,7 +136,7 @@
.search-list { .search-list {
height: calc(100vh - 80px); height: calc(100vh - 80px - var(--window-top));
// padding: 20rpx; // padding: 20rpx;
} }
} }

@ -1,7 +1,7 @@
<template> <template>
<view class=""> <view class="">
<!-- 商品主图轮播 --> <!-- 商品主图轮播 -->
<view class="swiper-box"> <view class="swiper-box" v-if="goodsDetail.bannerImg">
<swiper circular="true" :autoplay="false" style="height: 288px;" @change="swiperChange"> <swiper circular="true" :autoplay="false" style="height: 288px;" @change="swiperChange">
<swiper-item class="fotct" v-for="(swiper,index) in goodsDetail.bannerImg" :key="index"> <swiper-item class="fotct" v-for="(swiper,index) in goodsDetail.bannerImg" :key="index">
<image mode="heightFix" style="height: 100%;" :src="swiper" @click="perImage(index,goodsDetail.bannerImg)"></image> <image mode="heightFix" style="height: 100%;" :src="swiper" @click="perImage(index,goodsDetail.bannerImg)"></image>
@ -29,7 +29,7 @@
<view class=" "> <view class=" ">
选择 选择
</view> </view>
<view class="color999 "> <view class="color999 font14">
规格 规格
</view> </view>
<view class="icon-ymt to-right"></view> <view class="icon-ymt to-right"></view>
@ -39,7 +39,7 @@
<view class=" "> <view class=" ">
保障 保障
</view> </view>
<view class="color999 "> <view class="color999 font14">
破损包赔 · 假一赔四 · 退货运费险 破损包赔 · 假一赔四 · 退货运费险
</view> </view>
<view class="icon-ymt to-right"></view> <view class="icon-ymt to-right"></view>
@ -60,11 +60,11 @@
</view> --> </view> -->
<!-- 详情 --> <!-- 详情 -->
<view class="goods-desc-img br tc marb10 colorccc"> <view class="font13 goods-desc-img br tc marb10 colorccc">
商品详情 商品详情
</view> </view>
<view style="font-size: 0;" > <view style="font-size: 0;" >
<image mode="widthFix" class="width100" v-for="(item,index) in goodsDetail.detailImg" :key="key" <image mode="widthFix" class="width100" v-for="(item,index) in goodsDetail.detailImg" :key="index"
:src="item" @click="perImage(index,goodsDetail.detailImg)"> :src="item" @click="perImage(index,goodsDetail.detailImg)">
</image> </image>
</view> </view>
@ -89,14 +89,14 @@
<!-- 选择类别 --> <!-- 选择类别 -->
<wybPopup ref="popup" height="500" type="bottom" width="500" scrollY="true" radius="6" :showCloseIcon="true"> <wybPopup ref="popup" height="500" type="bottom" width="500" :scrollY="true" radius="6" :showCloseIcon="true">
<cart-choose :goodsDetail="goodsDetail" :status="status" @refreshCartNum="refreshCartNum" <cart-choose :goodsDetail="goodsDetail" :status="status" @refreshCartNum="refreshCartNum"
:specificationList="specificationList" @close="close"></cart-choose> :specificationList="specificationList" @close="close"></cart-choose>
</wybPopup> </wybPopup>
<!-- 保障 --> <!-- 保障 -->
<wybPopup ref="popup2" type="bottom" width="500" scrollY="true" radius="6" :showCloseIcon="true"> <wybPopup ref="popup2" type="bottom" width="500" :scrollY="true" radius="6" :showCloseIcon="true">
<view class="choose-detail baozhang-detail"> <view class="choose-detail baozhang-detail">
@ -202,7 +202,7 @@
goodsId: 0, goodsId: 0,
goodsDetail: null, goodsDetail: {},
specificationList: [], specificationList: [],
// 0,12 // 0,12
@ -581,6 +581,7 @@
.parameter { .parameter {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center;
border-bottom: 1px solid #F6F6F6; border-bottom: 1px solid #F6F6F6;
} }

@ -12,7 +12,7 @@
</view> </view>
</view> </view>
<!-- 其他 --> <!-- 其他 -->
<view v-if="recinfo.orderStatus != 1" v-else class="order-de-title pd-main"> <view v-if="recinfo.orderStatus != 1" class="order-de-title pd-main">
<view class="font22 fcor333"> <view class="font22 fcor333">
{{typeText[recinfo.orderStatus]}} {{typeText[recinfo.orderStatus]}}
</view> </view>
@ -90,12 +90,6 @@
<view class="">商品金额</view> <view class="">商品金额</view>
<view class="fontwig6"><text class="paddtright5">¥</text>{{goodsPrice | numFormat}}</view> <view class="fontwig6"><text class="paddtright5">¥</text>{{goodsPrice | numFormat}}</view>
</view> </view>
<!-- 优惠券 -->
<view class="flex-center-sp pd-tb10">
<view class="">优惠券</view>
<view class="fontwig6 fcorred">-<text class="paddtright5">¥</text>{{recinfo.deductionCouponPrice}}
</view>
</view>
<!-- 运费 --> <!-- 运费 -->
<view class="flex-center-sp pd-tb10"> <view class="flex-center-sp pd-tb10">
@ -103,14 +97,25 @@
<!-- <text class="icon-ymt question fcor666 font16 paddleft5"></text> --> <!-- <text class="icon-ymt question fcor666 font16 paddleft5"></text> -->
</view> </view>
<view class="fontwig6"> <view class="fontwig6">
<text class="fcor666 fcorred">¥{{recinfo.goodsOrder.freightPrice || 0}}</text> <view v-if="recinfo.goodsOrder" >
<text class="paddtright5">¥</text>{{recinfo.goodsOrder.freightPrice || 0}}
</view>
</view>
</view>
<!-- 优惠券 -->
<view class="flex-center-sp pd-tb10">
<view class="">优惠券</view>
<view class="fontwig6 fcorred">-<text class="paddtright5">¥</text>{{recinfo.deductionCouponPrice}}
</view> </view>
</view> </view>
<!-- 积分 --> <!-- 积分 -->
<view class="flex-center-sp pd-tb10"> <view class="flex-center-sp pd-tb10">
<view class="">积分</view> <view class="">积分抵扣</view>
<view class="fontwig6 fcorred">-<text class="paddtright5">¥</text>{{(recinfo.payGold / 100).toFixed(2)}} <view class="fontwig6 fcorred">-<text class="paddtright5">¥</text>{{(recinfo.payGold / 100).toFixed(2)}}
</view> </view>
</view> </view>
@ -123,7 +128,12 @@
<view class="tr fontwig6 pd-tb10"> <view class="tr fontwig6 pd-tb10">
<!-- <text class="paddtright10">已优惠<text class="fcorred">¥ 12.01</text></text> --> <!-- <text class="paddtright10">已优惠<text class="fcorred">¥ 12.01</text></text> -->
<view v-if="recinfo.orderStatus == 1 ||recinfo.orderStatus == 5 " class="dis-flex flex-end">商品总金额<text class="margle10 font22">¥{{recinfo.payPrice | numFormat}}</text> </view> <view v-if="recinfo.orderStatus == 1 ||recinfo.orderStatus == 5 " class="dis-flex flex-end">商品总金额<text class="margle10 font22">¥{{recinfo.payPrice | numFormat}}</text> </view>
<view v-else class="dis-flex flex-end">实付 <text class="font22 margle10">¥{{recinfo.payRealPrice}}</text></view> <view v-else class="dis-flex flex-end">
实付
<view class="font22">
<text class=" margle10 paddtright5">¥</text>{{recinfo.payRealPrice}}
</view>
</view>
</view> </view>
@ -172,7 +182,7 @@
<!-- 订单编号 --> <!-- 订单编号 -->
<view class="flex-center-sp pd-tb10 "> <view class="flex-center-sp pd-tb10 ">
<view class="fcor666 width80px">订单编号</view> <view class="fcor666 width80px">订单编号</view>
<view class=" flex-center-sp"> <view class=" flex-center-sp font16">
<text class="tr flex-1">{{orderId}}</text> <text class="tr flex-1">{{orderId}}</text>
<text class=" margle10 font12 copy-num fcor666" @click="copyText(orderId)">复制</text> <text class=" margle10 font12 copy-num fcor666" @click="copyText(orderId)">复制</text>
</view> </view>
@ -219,7 +229,7 @@
<!-- 订单编号 --> <!-- 订单编号 -->
<view class="flex-center-sp pd-tb10 "> <view class="flex-center-sp pd-tb10 ">
<view class="fcor666 width80px">订单编号</view> <view class="fcor666 width80px">订单编号</view>
<view class=" flex-center-sp"> <view class=" flex-center-sp font16">
<text class="tr flex-1">{{orderId}}</text> <text class="tr flex-1">{{orderId}}</text>
<text class=" margle10 font12 copy-num fcor666" @click="copyText(orderId)">复制</text> <text class=" margle10 font12 copy-num fcor666" @click="copyText(orderId)">复制</text>
</view> </view>
@ -578,7 +588,7 @@
} }
.width80px { .width80px {
width: 80px; // width: 80px;
} }
.flex-center-sp { .flex-center-sp {
@ -664,7 +674,8 @@
align-items: center; align-items: center;
border-top: 1px solid #f6f6f6; border-top: 1px solid #f6f6f6;
position: fixed; position: fixed;
bottom: 0; // bottom: 0;
bottom:var(--window-bottom);
right: 0; right: 0;
left: 0; left: 0;

@ -104,6 +104,8 @@
PaymentPassword: '', PaymentPassword: '',
noClick:true,//
} }
}, },
@ -257,6 +259,17 @@
}) })
return; return;
} }
if(this.noClick){
this.noClick = false;
setTimeout(()=>{
this.noClick = true;
},2000)
}else{
return
}
if (that.paytype == '2') { if (that.paytype == '2') {
// #ifdef H5 // #ifdef H5
let params = { let params = {
@ -497,7 +510,8 @@
} }
.pay-syt { .pay-syt {
height:calc(100vh - 60px); height:calc(100vh - 70px - var(--window-top));
box-sizing: border-box;
overflow: auto; overflow: auto;
} }
@ -525,6 +539,6 @@
border-radius: 25px; border-radius: 25px;
line-height: 50px; line-height: 50px;
background-color: #EA3E44; background-color: #EA3E44;
margin-bottom: 10px; // margin-bottom: 10px;
} }
</style> </style>

@ -98,7 +98,7 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.pay-suc{ .pay-suc{
height: 100vh; height:calc(100vh - var(--window-top)) ;
// background: url('@/physical-merchants/static/img/bgimg.jpg') no-repeat ; // background: url('@/physical-merchants/static/img/bgimg.jpg') no-repeat ;
// background-color: rgba(40, 116, 204, 0.8); // background-color: rgba(40, 116, 204, 0.8);
background: linear-gradient(to bottom, #3da7e7, #FFFFFF) no-repeat; background: linear-gradient(to bottom, #3da7e7, #FFFFFF) no-repeat;

@ -8,6 +8,7 @@
<view class="node-tag"></view> <view class="node-tag"></view>
</view> </view>
</view> </view>
<view class="line-container" :style="{height: isMainNode?'142rpx':'88rpx', paddingTop: isMainNode?'22rpx':'8rpx'}"> <view class="line-container" :style="{height: isMainNode?'142rpx':'88rpx', paddingTop: isMainNode?'22rpx':'8rpx'}">
<view v-if="!isFirst" class="line" :style="{height: isMainNode?'120rpx':'80rpx'}"></view> <view v-if="!isFirst" class="line" :style="{height: isMainNode?'120rpx':'80rpx'}"></view>
</view> </view>
@ -66,15 +67,15 @@ export default {
computed: { computed: {
nodeIconUrl () { nodeIconUrl () {
if (this.nodeData.logisticsStatus === 'WAIT_ACCEPT') { // if (this.nodeData.logisticsStatus === 'WAIT_ACCEPT') { //
return this.isNewest ? '../../../static/img/wuliu/ic-paied.png' : '../../../static/img/wuliu/ic-paied-G.png' return this.isNewest ? '/physical-merchants/static/img/wuliu/ic-paied.png' : '/physical-merchants/static/img/wuliu/ic-paied-G.png'
} else if (this.nodeData.logisticsStatus === 'ACCEPT') { // } else if (this.nodeData.logisticsStatus === 'ACCEPT') { //
return this.isNewest ? '../../../static/img/wuliu/ic-pacakaging.png' : '../../../static/img/wuliu/ic-pacakaging-G.png' return this.isNewest ? '/physical-merchants/static/img/wuliu/ic-pacakaging.png' : '/physical-merchants/static/img/wuliu/ic-pacakaging-G.png'
} else if (this.nodeData.logisticsStatus === 'DELIVERING') { // } else if (this.nodeData.logisticsStatus === 'DELIVERING') { //
return this.isNewest ? '../../../static/img/wuliu/ic-sending.png' : '../../../static/img/wuliu/ic-sending-G.png' return this.isNewest ? '/physical-merchants/static/img/wuliu/ic-sending.png' : '/physical-merchants/static/img/wuliu/ic-sending-G.png'
} else if (this.nodeData.logisticsStatus === 'SIGN'|| this.nodeData.logisticsStatus === 'AGENT_SIGN') { // , } else if (this.nodeData.logisticsStatus === 'SIGN'|| this.nodeData.logisticsStatus === 'AGENT_SIGN') { // ,
return this.isNewest ? '../../../static/img/wuliu/ic-delivering.png' : '../../../static/img/wuliu/ic-delivering-G.png' return this.isNewest ? '/physical-merchants/static/img/wuliu/ic-delivering.png' : '/physical-merchants/static/img/wuliu/ic-delivering-G.png'
}else if (this.nodeData.logisticsStatus === 'FAILED') { // }else if (this.nodeData.logisticsStatus === 'FAILED') { //
return this.isNewest ? '../../../static/img/wuliu/ic-package-failed.png' : '../../../static/img/wuliu/ic-package-failed-G.png' return this.isNewest ? '/physical-merchants/static/img/wuliu/ic-package-failed.png' : '/physical-merchants/static/img/wuliu/ic-package-failed-G.png'
} }
}, },
acceptStationFixed () { acceptStationFixed () {

@ -1,8 +1,8 @@
<template> <template>
<wybPopup ref="popup" type="bottom" width="500" height="500" scrollY="true" radius="0" :showCloseIcon="true"> <wybPopup ref="popup" zIndex="100" type="bottom" width="500" height="500" :scrollY="true" radius="0" :showCloseIcon="true">
<view class="pd-main wuliupop backcor9"> <view class="pd-main wuliupop backcor9">
<view class="pop-title fontwig6"><text>物流信息</text></view> <view class="pop-title fontwig6 backcor9"><text>物流信息</text></view>
<view class="pd-main backcolorfff border-8r font14"> <view class="pd-main backcolorfff border-8r font14" @touchmove.stop>
<view class="dis-flex flex-sp mart10 marb10 paddbotm10 border-b"> <view class="dis-flex flex-sp mart10 marb10 paddbotm10 border-b">
<view class="dis-flex"> <view class="dis-flex">
<!-- <image class="wuliu-img" src="https://pic.616pic.com/ys_bnew_img/00/07/04/1ZtrvD1AMY.jpg" mode="aspectFill"></image> --> <!-- <image class="wuliu-img" src="https://pic.616pic.com/ys_bnew_img/00/07/04/1ZtrvD1AMY.jpg" mode="aspectFill"></image> -->
@ -39,6 +39,7 @@
data () { data () {
return { return {
tracesData:{}, tracesData:{},
phoneNumber:[],
/* [ /* [
{ {
acceptStation: '包裹已被吴亦发同学签收', // acceptStation: '包裹已被吴亦发同学签收', //
@ -134,18 +135,7 @@
trackNode trackNode
}, },
created(){ created(){
// this.tracesData=dataList.data;
// this.tracesData.logisticsTraceDetails=this.tracesData.logisticsTraceDetails.sort((item,item2)=>{
// if(item.logisticsStatus == 'TRANSPORT'){
// item.isMainNode=false;
// }else{
// item.isMainNode=true;
// }
// return item2.time - item.time;
// })
}, },
methods:{ methods:{
show(logisticsNo){ show(logisticsNo){
@ -177,9 +167,28 @@
}else{ }else{
item.isMainNode=true; item.isMainNode=true;
} }
return item2.time - item.time; return item2.time - item.time;
}) })
}else{
let mobile = /(1[0-9]{10})|([0-9]{3,4})?[0-9]{7,8}/g; //
let phone = [];
this.tracesData.logisticsTraceDetails.map(item=>{
//
// if(item.logisticsStatus == 'SIGN'||item.logisticsStatus == 'DELIVERING'){
let num = item.desc.replace(/\s|[(]|[)]|[(]|[)]|[-]*/g, ''); //
if(num.match(mobile)){
phone.push((num.match(mobile)))
}
// }
})
this.phoneNumber =phone.flat(Infinity);
// console.log(this.phoneNumber, phone)
} else {
uni.showToast({ uni.showToast({
title: res.return_msg, title: res.return_msg,
icon: 'none', icon: 'none',
@ -214,13 +223,23 @@
}, },
// //
callPhone(){ callPhone(){
if(this.phoneNumber.length==0){
uni.showToast({
title:"暂无可拨打电话号码",
icon:'none'
})
return
}
uni.showModal({ uni.showModal({
title: '', title: '确定拨打电话',
content: '4006780738', content: this.phoneNumber[0],
success: function(res) { success: function(res) {
if (res.confirm) { if (res.confirm) {
uni.makePhoneCall({ uni.makePhoneCall({
phoneNumber: '4006780738', // phoneNumber: this.phoneNumber[0], //
success: function(e) { success: function(e) {
console.log(e); console.log(e);
}, },
@ -262,6 +281,7 @@
top:0; top:0;
left: 0; left: 0;
right: 0; right: 0;
z-index: 10;
background-color: #f6f6f6; background-color: #f6f6f6;
} }
</style> </style>

@ -1,7 +1,7 @@
<template> <template>
<!-- 选择类别 --> <!-- 选择类别 -->
<wybPopup ref="popup" @hide="hide" type="bottom" height="500" width="500" scrollY="true" radius="0" :showCloseIcon="true"> <wybPopup ref="popup" @hide="hide" type="bottom" height="500" width="500" :scrollY="true" radius="0" :showCloseIcon="true">
<!-- 货品 --> <!-- 货品 -->
<view v-if="keywords == 'goods'" class="pop-contain pd-main"> <view v-if="keywords == 'goods'" class="pop-contain pd-main">
<view class="pop-title fontwig6"><text>商品列表</text></view> <view class="pop-title fontwig6"><text>商品列表</text></view>
@ -139,7 +139,7 @@
不使用优惠券 不使用优惠券
</view> </view>
<view class=""> <view class="">
<radio class="radio-ca" :checked="yhqType == 0" :value="0" color="#FF1A34" /> <radio class="radio-ca" :checked="yhqType == 0" value="0" color="#FF1A34" />
</view> </view>
</view> </view>
@ -162,7 +162,7 @@
</view> </view>
<view class="" v-if="item.discountCondition<=totalPrice"> <view class="" v-if="item.discountCondition<=totalPrice">
<radio class="radio-ca" :checked="yhqType == item.id" :value="item.id" color="#FF1A34" /> <radio class="radio-ca" :checked="yhqType == item.id" :value="item.id+''" color="#FF1A34" />
</view> </view>
</view> </view>
@ -194,9 +194,7 @@
keywords: '', keywords: '',
// //
// yhqId: [
// 111, 222, 333, 444
// ],
// //
goodsList: [],// goodsList: [],//
@ -271,11 +269,11 @@
this.keywords = str; this.keywords = str;
if (str == 'goods') { if (str == 'goods') {
this.yhqId = yhqID; this.yhqId = yhqID;
console.log(this.yhqId,"this.yhqId") // console.log(this.yhqId,"this.yhqId")
this.goodsList = data; this.goodsList = data;
} else if (str == 'freight') { } else if (str == 'freight') {
this.postPrice = data; this.postPrice = data;
console.log(this.postPrice, "obj") // console.log(this.postPrice, "obj")
}else if(str == 'coupon'){ }else if(str == 'coupon'){
this.discountList =data.discountList// this.discountList =data.discountList//
this.totalPrice =data.totalPrice // this.totalPrice =data.totalPrice //

@ -130,7 +130,7 @@
<!-- 积分抵现 --> <!-- 积分抵现 -->
<view class="container-price select-address border-bt" v-if="isShowjf"> <view class="container-price select-address border-bt" v-if="isShowjf">
<view class="address-left "> <view class="address-left ">
<text @click="showPopup('integral')">积分抵 <text @click="showPopup('integral')">积分抵
<text class="icon-ymt question font16 paddleft5 fcor666"></text> <text class="icon-ymt question font16 paddleft5 fcor666"></text>
</text> </text>
<!-- <view class="font14 fcor666" >当前积分{{availIntegal}}</view> --> <!-- <view class="font14 fcor666" >当前积分{{availIntegal}}</view> -->
@ -243,7 +243,8 @@
isShowjf:true,// isShowjf:true,//
PaymentPassword: 0, PaymentPassword: 0,
noClick:true,// noClick:true,//
} }
}, },
components: { components: {
@ -398,7 +399,7 @@
uni.$on('address',(addressDetail)=>{ uni.$on('address',(addressDetail)=>{
this.addressDetail = addressDetail; this.addressDetail = addressDetail;
this.getRegiFreight(addressDetail); this.getRegiFreight(addressDetail);
console.log(addressDetail,"监听")
}) })
}, },
@ -637,17 +638,6 @@
// , // ,
settleAccount() { settleAccount() {
if(this.noClick){
this.noClick = false;
setTimeout(()=>{
this.noClick = true;
},2000)
}else{
return
}
if (!this.addressDetail&&!this.haveAddress) { if (!this.addressDetail&&!this.haveAddress) {
uni.showToast({ uni.showToast({
title: '请选择地址', title: '请选择地址',
@ -657,6 +647,15 @@
return return
} }
if(this.noClick){
this.noClick = false;
setTimeout(()=>{
this.noClick = true;
},2000)
}else{
return
}
//0 //0
if (this.priceSettle == 0) { if (this.priceSettle == 0) {
// //
@ -814,7 +813,7 @@
.settleAccounts { .settleAccounts {
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 140px; padding-bottom: 155px;
} }
// //
@ -876,7 +875,7 @@
// //
.tool-contain { .tool-contain {
position: fixed; position: fixed;
bottom: 0; bottom:var(--window-bottom);
left: 0; left: 0;
right: 0; right: 0;
z-index: 10; z-index: 10;

Loading…
Cancel
Save