一懒众山小 3 anni fa
parent
commit
8f5a7f2691

+ 1 - 1
src/components/basic-component/app-tab-nav/app-tab-nav.vue

xqd
@@ -23,7 +23,7 @@
                     :class="[item.id == activeItem ? `active-text` : '']"
                     :style="[
                         {
-                            'color': `${ item.id == activeItem ? theme.color : '#353535'}`,
+                            'color': `${ item.id == activeItem ? theme.color : '#838584'}`,
                             'border-color':  `${ item.id == activeItem ? theme.color : ''}`,
                             'height': `${setHeight ? setHeight : 90}rpx`,
                             'padding': `0 ${padding}rpx`,

+ 20 - 3
src/components/page-component/app-no-goods/app-no-goods.vue

xqd xqd xqd xqd
@@ -1,7 +1,9 @@
 <template>
-	<view class="app-no-goods dir-top-nowrap main-center cross-center" :style="{'backgroundColor': background}">
-		<image class="icon" v-if="is_image === 0" src="https://shop.9026.com/web/statics/img/mall/static/no-goods.png"></image>
-		<image class="icon" v-else-if="is_image === 1" src="https://shop.9026.com/web/statics/img/mall/static/order-empty.png"></image>
+	<view class="app-no-goods dir-top-nowrap main-center cross-center" :class="{'fixed':fixed}" :style="{'backgroundColor': background}">
+		
+		<image class="icon" v-if="icon" :src="icon"></image>
+		<image class="icon" v-if="is_image === 0 && !icon" src="https://shop.9026.com/web/statics/img/mall/static/no-goods.png"></image>
+		<image class="icon" v-else-if="is_image === 1 && !icon" src="https://shop.9026.com/web/statics/img/mall/static/order-empty.png"></image>
 		<text class="text" :style="{'color': color}">{{title}}</text>
 	</view>
 </template>
@@ -11,6 +13,12 @@
         name: "app-no-goods",
 	    
 	    props: {
+			fixed:{
+				type:Boolean,
+				default(){
+					return false
+				}
+			},
             background: {
                 type: String,
                 default() {
@@ -28,6 +36,12 @@
 			   default() {
 				   return '没有任何商品哦~';
 			   }
+		   },
+		   icon:{
+			 type:String,
+			   default(){
+				   return ''
+			   }
 		   },
 			is_image: {
 				type: Number,
@@ -53,4 +67,7 @@
 			margin-top: #{25upx};
 		}
 	}
+	.fixed{
+		position: fixed;top: 37%;left:50%;transform: translate(-50%,-50%);
+	}
 </style>

+ 3 - 2
src/components/page-component/app-order-goods-info/app-order-goods-info.vue

xqd
@@ -64,10 +64,11 @@ export default {
     width: 100%;
 
     .img {
-        width: 160#{rpx};
-        height: 160#{rpx};
         margin-right: 20#{rpx};
         flex-shrink: 0;
+		width: 147rpx;
+		height: 147rpx;
+		border-radius: 10rpx;
     }
 
     .item-box {

+ 2 - 2
src/pages/index/binding/binding.vue

xqd xqd
@@ -14,7 +14,7 @@
 				</image>
 				<view class="is-mainbuilding" v-if="item.is_master_estate">主楼盘</view>
 			</view>
-			<AppNoData v-if="dataList.length===0" title="您还未绑定任何楼盘"></AppNoData>
+			<AppNoData :background="'#f8f8f8'" v-if="dataList.length===0" title="您还未绑定任何楼盘"></AppNoData>
 		</view>
 		<!-- <view class="main-between cross-center lp">
 			<view class="name">世龙广场</view>
@@ -121,7 +121,7 @@
 			addmyEstate() {
 				if(this.name===''  || this.sale===''){
 					uni.showToast({
-						title:'请完整填写信息',
+						title:'请完整填写楼盘信息',
 						icon:'none'
 					})
 					return

+ 6 - 4
src/pages/index/binding/bindingSale.vue

xqd xqd xqd
@@ -1,6 +1,6 @@
 <template>
-	<view>
-		<image class="a" src="https://t17.9026.com/web/statics/image/index/addcustomerbg.png" mode=""></image>
+	<view style="min-height: 100vh;background-color: #fff;">
+		<image class="a" src="https://t17.9026.com/web/statics/image/index/addcustomerbg.png" style="margin-bottom: 41rpx;" mode=""></image>
 		<view class="main-left cross-center search">
 			<image src="https://t17.9026.com/web/statics/image/index/search.png" mode=""></image>
 			<input style="width: 560rpx;" type="text" value="" placeholder="输入销售人员姓名" placeholder-style="font-size:28rpx;color:#999;" />
@@ -9,7 +9,9 @@
 		<view class="main">
 			<view class="main-between cross-center" style="height: 100rpx;">
 				<view class="title t-omit">{{estateName}}销售人员</view>
-				<view class="main-right cross-center"><text class="pla">更多</text><image class="arrow-right" src="https://t17.9026.com/web/statics/image/index/arrow-right-gray.png" mode=""></image></view>
+				<view class="main-right cross-center">
+					<!-- <text class="pla">更多</text><image class="arrow-right" src="https://t17.9026.com/web/statics/image/index/arrow-right-gray.png" mode=""></image> -->
+					</view>
 			</view>
 			<view class="main-between cross-center item" v-for="(item,index) in dataList" :key="index" @click="selectSale(index,item.id,item.salesperson.name)">
 				<view class="main-left">
@@ -123,7 +125,7 @@
 	.search{
 		width: 680rpx;
 		height: 82rpx;
-		background: #FFFFFF;
+		background: #F8F8F8;
 		border: 1rpx solid #EEEEEE;
 		border-radius: 4rpx;
 		margin: 0 auto;

+ 37 - 18
src/pages/order/index/index.vue

xqd xqd xqd xqd xqd xqd xqd
@@ -3,14 +3,14 @@
         <!-- #ifdef H5 -->
         <bd-h5-back :iconStyle="2" height="88" width="100"></bd-h5-back>
         <!-- #endif -->
-        <view class="search-area">
+        <view class="search-area" style="background-color: #fff;">
             <view v-if="search.keyword || search.dateArr[0] || search.dateArr[1]" class="search be-search dir-left-nowrap" @click="toSearch">
                 <image class="icon-search" src="https://shop.9026.com/web/statics/image/mall/static/icon/icon-search.png"></image>
                 <view v-if="search.dateArr[0]">{{search.dateArr[0]}}</view>
                 <view v-if="search.dateArr[1]"><text v-if="search.dateArr[0]">至</text>{{search.dateArr[1]}}</view>
                 <view v-if="search.keyword"><text v-if="search.dateArr[0] || search.dateArr[1]">,</text>{{search.keyword}}</view>
             </view>
-            <view v-else class="search main-center" @click="toSearch">
+            <view v-else class="search main-left" @click="toSearch">
                 <image class="icon-search" src="https://shop.9026.com/web/statics/image/mall/static/icon/icon-search.png"></image>
                 <text>搜索</text>
             </view>
@@ -23,14 +23,16 @@
                     <view hover-class="u-hover-class" v-for='(item, index) in orders' :key='item.id' :style="{'margin-top': index == 0 ? '24rpx' : '0'}" class='order-item-box dir-top-wrap'>
                         <app-jump-button :url="getPageUrl(item.id, item.sign)">
                             <view class="dir-top-nowrap" style="width: 100%">
-                                <view class='dir-left-nowrap view-1'>
-                                    <view class='box-grow-1'>订单号:{{item.order_no}}</view>
-                                    <template v-if='item.status == 0'>
-                                        <text v-if='item.sign == "pintuan"'>{{item.is_pay == 1 ? '拼团中' : '待付款'}}</text>
-                                    </template>
-                                    <template v-else>
-                                        <view>{{item.status_text}}</view>
-                                    </template>
+                                <view class='main-between dir-left-nowrap view-1' style="color: #838584;font-size: 22rpx;">
+                                    <view class='hxj-order-status'>
+										<template v-if='item.status == 0'>
+											<text v-if='item.sign == "pintuan"'>{{item.is_pay == 1 ? '拼团中' : '待付款'}}</text>
+										</template>
+										<template v-else>
+											<view>{{item.status_text}}</view>
+										</template>
+									</view>
+									<view>订单号:{{item.order_no}}</view>
                                 </view>
                                 <view v-for='(dItem, dIndex) in item.detail' :key='dIndex' class='view-2'>
                                     <app-order-goods-info :goods='dItem.goods_info' :plugin-data="item.plugin_data" :plugin-index="dIndex"></app-order-goods-info>
@@ -46,10 +48,10 @@
                             </template>
                             <template v-else>
                                 <view class='box-grow-1 main-right cross-center price-count-box'>
-                                    <text class="price-label">合计 </text>
+                                    <text class="price-label">合计  </text>
                                     <span class='price-color'>
                                         <text v-if="item.plugin_data.exchange_count">{{item.plugin_data.exchange_count}}{{item.plugin_data.price_name}}+</text>
-                                        <text>¥{{item.total_pay_price}}</text>
+                                        <text><text class="price-rmb"></text>{{item.total_pay_price}}</text>
                                     </span>
                                     <text v-if="item.express_price > 0" class="price-express">(含运费¥{{item.express_price}})</text>
                                 </view>
@@ -162,7 +164,7 @@ export default {
             is_qrcode: false,
             is_show: false,
             is_load_show: false,
-            bgColor: '#f7f7f7',
+            bgColor: '#fff',
             isRequest: true, //防止数据重复加载
             template_message: [],
             recommend_list: []
@@ -487,10 +489,10 @@ export default {
         height: #{64rpx};
         line-height: #{64rpx};
         border-radius: #{32rpx};
-        background-color: #fff;
+        background-color: #F8F8F8;
         color: #b2b2b2;
         font-size:#{26rpx};
-
+		padding-left: 28rpx;
         &.be-search {
             color: #353535;
             padding-left: 32rpx;
@@ -559,7 +561,21 @@ export default {
     margin: 32#{rpx} 0;
 }
 
-.order-item-box .view-2 {}
+.order-item-box .view-2 {
+	
+}
+
+.hxj-order-status{
+	width: 113rpx;
+	height: 44rpx;
+	background: #F8F8F8;
+	border-radius: 4rpx;
+	font-size: 22rpx;
+	font-weight: 500;
+	color: #838584;
+	line-height: 44rpx;
+	text-align: center;
+}
 
 .order-item-box .view-3 {
     font-size: $uni-font-size-import-two;
@@ -575,12 +591,15 @@ export default {
 
 .price-label {
     margin-right: 5#{rpx};
-    font-size: $uni-font-size-weak-one;
-    color: $uni-general-color-two;
+    font-size: 24rpx;
+    color: #222222;
 }
 
 .price-color {
     color: $uni-important-color-black;
+	.price-rmb{
+		font-size: 20rpx;
+	}
 }
 
 .price-express {

+ 1 - 1
src/plugins/pt/order/order.vue

xqd
@@ -6,7 +6,7 @@
 		    </view>
 	        <view class="order-list">
 		        <app-order-list :theme="getTheme" @click="deleteItem" :list="list"></app-order-list>
-				<AppNoData v-if="list.length===0" title="暂无订单"></AppNoData>
+				<AppNoData v-if="list.length===0" :background="'#f7f7f7'" :color="'#999999'" :fixed="true" :icon="'../../../static/image/index/no-pt-order.png'" title="暂无订单"></AppNoData>
 	        </view>
 	    </view>
     </app-layout>

BIN
src/static/image/index/no-pt-order.png