Jelajahi Sumber

按文档调整

fuwei 5 tahun lalu
induk
melakukan
05c452f215

+ 7 - 4
ghs/src/admin/billing/index.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view class="billing_box_bg">
 	<view class="billing_box_bg">
 		<view class="input-wrap">
 		<view class="input-wrap">
-			<app-search-module placeholder="请输入关键词搜索" @search="searchFn" />
+			<app-search-module placeholder="请输入关键词" @search="searchFn" />
 		</view>
 		</view>
 		<app-tabs
 		<app-tabs
 			:tabs="tabs"
 			:tabs="tabs"
@@ -248,9 +248,12 @@ export default {
 			}
 			}
 		},
 		},
 		confirmSelectEvent() {
 		confirmSelectEvent() {
-			if (this.selectList.length > 0) {
-				this.showSubmitModel = true;
-			}
+			uni.navigateTo({
+				url: "/admin/billing/affirm"
+			});
+			// if (this.selectList.length > 0) {
+			// 	this.showSubmitModel = true;
+			// }
 		},
 		},
 		change(e) {
 		change(e) {
 			if (this.tabIndex == e.index) {
 			if (this.tabIndex == e.index) {

+ 1 - 1
ghs/src/admin/billing/priceChange.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
   <view class="billing_box_bg">
   <view class="billing_box_bg">
     <view class="input-wrap">
     <view class="input-wrap">
-      <app-search-module placeholder="请输入关键词搜索"
+      <app-search-module placeholder="请输入关键词"
                          @search="searchFn" />
                          @search="searchFn" />
     </view>
     </view>
     <view class="scroll-middle_bx">
     <view class="scroll-middle_bx">

+ 1 - 2
ghs/src/admin/home/order.vue

@@ -24,8 +24,7 @@
 					class="list"
 					class="list"
 					v-for="(item, index) in list.data"
 					v-for="(item, index) in list.data"
 					:key="index"
 					:key="index"
-					@click="
-						pageTo({
+					@click="pageTo({
 							url: '/pagesOrder/detail',
 							url: '/pagesOrder/detail',
 							query: {
 							query: {
 								id: item.id
 								id: item.id

+ 13 - 9
ghs/src/admin/home/workbench.vue

@@ -5,11 +5,11 @@
 			<div class="user-top">
 			<div class="user-top">
 				<div class="app-size-28">今日概况</div>
 				<div class="app-size-28">今日概况</div>
 				<view class="open-bt_bx">
 				<view class="open-bt_bx">
-					<button id="shareStore" open-type="share" style="margin-right:8px;">
+					<button id="shareStore" open-type="share" class="admin-button-com">
 						<i class="iconfont iconfenxiang"></i>
 						<i class="iconfont iconfenxiang"></i>
 						商城分享
 						商城分享
 					</button>
 					</button>
-					<button id="sharePay" open-type="share">
+					<button id="sharePay" open-type="share" class="admin-button-com" style="margin-left: 8px;">
 						<i class="iconfont iconshoukuanma"></i>
 						<i class="iconfont iconshoukuanma"></i>
 						收款
 						收款
 					</button>
 					</button>
@@ -222,7 +222,7 @@ export default {
 				// },
 				// },
 				{
 				{
 					name: "库存预警",
 					name: "库存预警",
-					img: `${this.$constant.imgUrl}/ghs/home/kcyj.png`,
+					img: `${this.$constant.imgUrl}/ghs/home/kcyjs.png`,
 					url: "/pagesStorehouse/stockWarn/manage"
 					url: "/pagesStorehouse/stockWarn/manage"
 				},
 				},
 				{
 				{
@@ -273,7 +273,8 @@ export default {
 				{
 				{
 					name: "全部",
 					name: "全部",
 					img: `${this.$constant.imgUrl}/ghs/home/qball.png`,
 					img: `${this.$constant.imgUrl}/ghs/home/qball.png`,
-					url: "/admin/interest/my-invite"
+					url: "/admin/home/apply",
+					type:4
 				}
 				}
 				// {
 				// {
 				//   name: "进货",
 				//   name: "进货",
@@ -323,14 +324,14 @@ export default {
 				title: "商城分享",
 				title: "商城分享",
 				desc: "",
 				desc: "",
 				imgUrl: "",
 				imgUrl: "",
-				pagePath: "pagesShare/pay"
+				pagePath: "/admin/billing/index"
 			};
 			};
 		} else if (res.target.id === "sharePay") {
 		} else if (res.target.id === "sharePay") {
 			return {
 			return {
 				title: "分享收款",
 				title: "分享收款",
 				desc: "",
 				desc: "",
 				imgUrl: "",
 				imgUrl: "",
-				pagePath: "pagesShare/pay"
+				pagePath: "/pagesShare/pay"
 			};
 			};
 		} else {
 		} else {
 			return {};
 			return {};
@@ -431,13 +432,16 @@ export default {
 		.open-bt_bx {
 		.open-bt_bx {
 			display: flex;
 			display: flex;
 			align-items: center;
 			align-items: center;
+			line-height: 1upx;
 			& > button {
 			& > button {
+				padding:0;
+				line-height: auto;
 				background-color: transparent;
 				background-color: transparent;
 				border: 1px solid #ffffff;
 				border: 1px solid #ffffff;
 				border-radius: 22px;
 				border-radius: 22px;
-				padding: 0px 17px;
-				height: 44px;
-				line-height: 44px;
+				padding: 10upx 17upx!important;
+				// height: 44px;
+				// line-height: 44px;
 				font-size: 24px;
 				font-size: 24px;
 				font-family: PingFang SC;
 				font-family: PingFang SC;
 				font-weight: 400;
 				font-weight: 400;

+ 2 - 2
ghs/src/components/app-flower-sel.vue

@@ -8,10 +8,10 @@
 				</div>
 				</div>
 				<!-- 搜索 -->
 				<!-- 搜索 -->
 				<div class="map-search">
 				<div class="map-search">
+					<!-- :focus="false" -->
 					<app-search-module
 					<app-search-module
 						ref="aaaaa"
 						ref="aaaaa"
-						placeholder="请输入关键字"
-						:focus="false"
+						placeholder="请输入关键词"
 						@input="searchFn"
 						@input="searchFn"
 					/>
 					/>
 				</div>
 				</div>

+ 4 - 4
ghs/src/components/module/app-commodity.vue

@@ -24,11 +24,11 @@
 					<input
 					<input
 						class="change-input"
 						class="change-input"
 						:value="autoPrice"
 						:value="autoPrice"
-						type="text"
+						type="number"
 						placeholder="自动调价"
 						placeholder="自动调价"
 						@change="changePriceEvent"
 						@change="changePriceEvent"
 					/>
 					/>
-					<i class="iconfont icondelete" @click="removeEvent"></i>
+					<i class="iconfont iconcachu" @click="removeEvent"></i>
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>
@@ -138,8 +138,8 @@ export default {
 					color: #3385ff;
 					color: #3385ff;
 					font-size: 40px;
 					font-size: 40px;
 				}
 				}
-				.icondelete {
-					margin: 0 10px 0 30px;
+				.iconcachu {
+					margin: 0 6px 0 20px;
 					color: #ccc;
 					color: #ccc;
 					&.edit {
 					&.edit {
 						color: #3385ff;
 						color: #3385ff;

+ 9 - 7
ghs/src/mixins/globalMixins.js

@@ -59,13 +59,15 @@ export default {
 							});
 							});
 						//未知身份
 						//未知身份
 						}else{
 						}else{
-							this.$util.pageTo({
-								url: "/pagesClient/official/index",
-								type: 2,
-								query: {
-									...this.option	
-								}
-							});
+							if(this.option.style != 1){
+								this.$util.pageTo({
+									url: "/pagesClient/official/index",
+									type: 2,
+									query: {
+										...this.option	
+									}
+								});
+							}	
 						}
 						}
 					}
 					}
 					getUser()
 					getUser()

+ 9 - 2
ghs/src/pagesArrears/list.vue

@@ -15,7 +15,14 @@
 				</view>
 				</view>
 				<view class="item-main">
 				<view class="item-main">
 					<view class="phone">15280215347 </view>
 					<view class="phone">15280215347 </view>
-					<view class="price"
+					<view 
+						@click="pageTo({
+							url: '/pagesOrder/detail',
+							query: {
+								id: 0
+							}
+						})"
+						class="price"
 						>¥580.50 <text class="iconfont iconxiangyou"></text>
 						>¥580.50 <text class="iconfont iconxiangyou"></text>
 					</view>
 					</view>
 				</view>
 				</view>
@@ -28,7 +35,7 @@
 				</text>
 				</text>
 				<text class="price">
 				<text class="price">
-					7,867,531.95
+					7867531.95
 				</text>
 				</text>
 			</view>
 			</view>
 		</view>
 		</view>

+ 28 - 17
ghs/src/pagesClient/member/detail.vue

@@ -23,7 +23,7 @@
             <view 
             <view 
               v-else
               v-else
               class="already-shop">
               class="already-shop">
-              <i class="iconfont iconweixinlaiyuan"></i>
+              <i class="iconfont iconyikaidian"></i>
               已开店
               已开店
             </view>
             </view>
         </view>
         </view>
@@ -50,19 +50,21 @@
             <view>
             <view>
                 <view>
                 <view>
                   {{userInfo.userName}} {{userInfo.mobile}}
                   {{userInfo.userName}} {{userInfo.mobile}}
+                  <button
+                    @click="pageTo({
+                      url:'/pagesClient/member/bind'
+                    })" 
+                    class="admin-button-com default">
+                    关联微信
+                  </button>
+                  <!-- <i class="iconfont iconweixinlaiyuan _i"></i> -->
                 </view>
                 </view>
-                <view class="">
+                <view>
                   {{userInfo.address}}
                   {{userInfo.address}}
                 </view>
                 </view>
             </view>
             </view>
             <view>
             <view>
-              <view
-                @click="pageTo({
-                  url:'/pagesClient/member/bind'
-                })" 
-                class="invite-bt white">
-                关联微信
-              </view>
+              
               <i @click="callUp" class="iconfont icondianhua1"></i>
               <i @click="callUp" class="iconfont icondianhua1"></i>
             </view>
             </view>
           </view>
           </view>
@@ -76,10 +78,10 @@
                 <switch :checked="form.debt == 0 ? false : true" @change="remindChangeFn" />
                 <switch :checked="form.debt == 0 ? false : true" @change="remindChangeFn" />
               </div>
               </div>
             </tui-list-cell>
             </tui-list-cell>
-            <tui-list-cell class="line-cell" :hover="false" :arrow="true">
+            <!-- <tui-list-cell class="line-cell" :hover="false" :arrow="true">
               <div class="tui-title">消费记录</div>
               <div class="tui-title">消费记录</div>
-              <!-- <input v-model="form.name" placeholder-class="phcolor" class="tui-input" name="name" placeholder="请输入" maxlength="50" type="text" /> -->
-            </tui-list-cell>
+              <input v-model="form.name" placeholder-class="phcolor" class="tui-input" name="name" placeholder="请输入" maxlength="50" type="text" />
+            </tui-list-cell> -->
         </view>
         </view>
       </view>
       </view>
     </templete>
     </templete>
@@ -300,6 +302,9 @@ export default {
       text-align: center;
       text-align: center;
       margin:20px 0px;
       margin:20px 0px;
       border-right: 1px solid $borderColor;
       border-right: 1px solid $borderColor;
+      .app-color-3 {
+        font-size: 24upx;
+      }
       .list-num {
       .list-num {
         margin-top: 8px;
         margin-top: 8px;
         margin-bottom: 8px;
         margin-bottom: 8px;
@@ -334,17 +339,23 @@ export default {
     & > view:nth-child(1) {
     & > view:nth-child(1) {
       flex: 1;
       flex: 1;
       margin-top: 10px;
       margin-top: 10px;
+
       & > view:nth-child(1) {
       & > view:nth-child(1) {
         color: #333333;
         color: #333333;
         font-size: 28px;
         font-size: 28px;
         font-weight: bold;
         font-weight: bold;
+        display: flex;
+        align-items: center;
+        & .admin-button-com {
+          margin-left: 10upx;
+          border-radius: 25upx;
+        }
       }
       }
       & > view:nth-child(2) {
       & > view:nth-child(2) {
-        color: #666666;
-        font-size: 28px;
-        font-weight: 400;
-        margin-top: 20px;
-        
+          color: #666666;
+          font-size: 28px;
+          font-weight: 400;
+          margin-top: 20px; 
       }
       }
     }
     }
     & > view:nth-child(2) {
     & > view:nth-child(2) {

+ 20 - 22
ghs/src/pagesInvite/list.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
-	<view class="invite-page">
+	<view class="invite-page app-content">
 		<view class="tabs">
 		<view class="tabs">
 			<Tabs
 			<Tabs
 				:tabs="pageTabs"
 				:tabs="pageTabs"
@@ -13,8 +13,8 @@
 			<view class="info-main">
 			<view class="info-main">
 				<app-avatar-module :width="100" />
 				<app-avatar-module :width="100" />
 				<view class="content">
 				<view class="content">
-					<view class="mark"> {{ userInfo.merchantName || "" }}</view>
-					<view class="name"> 三级代理 </view>
+					<view class="name"> {{ userInfo.merchantName || "" }}</view>
+					<view class="mark"> 三级代理 </view>
 				</view>
 				</view>
 				<button
 				<button
 					id="sharekh"
 					id="sharekh"
@@ -43,20 +43,20 @@
 			</view>
 			</view>
 			<view class="info-list">
 			<view class="info-list">
 				<view class="info-item">
 				<view class="info-item">
-					<view class="item-name">{{ balance || 0 }}</view>
-					<view class="item-value">帐户余额(¥)</view>
+					<view class="item-value">{{ balance || 0 }}</view>
+					<view class="item-name">帐户余额(¥)</view>
 				</view>
 				</view>
 				<view class="info-item">
 				<view class="info-item">
-					<view class="item-name">{{ invitedNum || 0 }}</view>
-					<view class="item-value">已邀请</view>
+					<view class="item-value">{{ invitedNum || 0 }}</view>
+					<view class="item-name">已邀请</view>
 				</view>
 				</view>
 				<view class="info-item">
 				<view class="info-item">
-					<view class="item-name">{{ payNum || 0 }}</view>
-					<view class="item-value">已付费</view>
+					<view class="item-value">{{ payNum || 0 }}</view>
+					<view class="item-name">已付费</view>
 				</view>
 				</view>
 				<view class="info-item">
 				<view class="info-item">
-					<view class="item-name">{{ income || 0 }}</view>
-					<view class="item-value">累计收益(¥)</view>
+					<view class="item-value">{{ income || 0 }}</view>
+					<view class="item-name">累计收益(¥)</view>
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>
@@ -110,13 +110,13 @@ export default {
 			pageIndex: 0,
 			pageIndex: 0,
 			constant: this.$constant,
 			constant: this.$constant,
 			pageTabs: [
 			pageTabs: [
-				{
-					name: "供应商",
-					key: "1"
-				},
 				{
 				{
 					name: "零售商",
 					name: "零售商",
 					key: "2"
 					key: "2"
+				},
+				{
+					name: "供货商",
+					key: "1"
 				}
 				}
 			],
 			],
 			tabIndex: 0,
 			tabIndex: 0,
@@ -183,7 +183,7 @@ export default {
 				title: "更懂您的花卉宝",
 				title: "更懂您的花卉宝",
 				desc: "",
 				desc: "",
 				imgUrl: this.constant.imgUrl + "/retail/official/banner-1.png",
 				imgUrl: this.constant.imgUrl + "/retail/official/banner-1.png",
-				pagePath: `/pagesClient/official/index?introMerchantId=${this.userInfo.id}&form=2&style=2`
+				pagePath: `/pagesClient/official/index?introMerchantId=${this.userInfo.id}&form=2&style=1`
 			};
 			};
 		} else {
 		} else {
 			return {};
 			return {};
@@ -243,8 +243,8 @@ export default {
 	height: 100%;
 	height: 100%;
 	display: flex;
 	display: flex;
 	flex-direction: column;
 	flex-direction: column;
-	background-color: #f9fbfc;
 	.info-view {
 	.info-view {
+		margin-top: 20upx;
 		padding: 40upx 30upx;
 		padding: 40upx 30upx;
 		background-color: #fff;
 		background-color: #fff;
 		.info-main {
 		.info-main {
@@ -287,8 +287,7 @@ export default {
 			}
 			}
 		}
 		}
 		.info-list {
 		.info-list {
-			margin-top: 30upx;
-
+			margin-top: 50upx;
 			display: flex;
 			display: flex;
 			.info-item {
 			.info-item {
 				flex: 1;
 				flex: 1;
@@ -297,7 +296,6 @@ export default {
 				align-items: center;
 				align-items: center;
 				.item-name {
 				.item-name {
 					margin-top: 15upx;
 					margin-top: 15upx;
-
 					font-size: 24upx;
 					font-size: 24upx;
 					font-weight: 400;
 					font-weight: 400;
 					color: #999999;
 					color: #999999;
@@ -312,13 +310,13 @@ export default {
 		}
 		}
 	}
 	}
 	.list-title {
 	.list-title {
-		padding: 30upx;
+		padding: 30upx 30upx 15upx;
 		font-size: 24upx;
 		font-size: 24upx;
 		font-weight: 400;
 		font-weight: 400;
 		color: #999999;
 		color: #999999;
 	}
 	}
 	.invite-list {
 	.invite-list {
-		margin-top: 20upx;
+		// margin-top: 20upx;
 		flex: 1;
 		flex: 1;
 		padding-bottom: 150upx;
 		padding-bottom: 150upx;
 	}
 	}

+ 6 - 5
ghs/src/pagesPurchase/order.vue

@@ -1,14 +1,15 @@
 <template>
 <template>
 	<view class="order-page">
 	<view class="order-page">
+				<!-- @add="addEvent"
+				isAdd
+				addText="筛选" -->
 		<view class="tabs">
 		<view class="tabs">
 			<Tabs
 			<Tabs
+				:isFixed="true"
 				:tabs="tabs"
 				:tabs="tabs"
-				:itemWidth="'23%'"
 				:currentTab="tabIndex"
 				:currentTab="tabIndex"
 				@change="changeTabEvent"
 				@change="changeTabEvent"
-				@add="addEvent"
-				isAdd
-				addText="筛选"
+				itemWidth="20%"
 			></Tabs>
 			></Tabs>
 		</view>
 		</view>
 		<scroll-view scroll-y class="order-list">
 		<scroll-view scroll-y class="order-list">
@@ -189,7 +190,7 @@ export default {
 	flex-direction: column;
 	flex-direction: column;
 	background-color: #f9fbfc;
 	background-color: #f9fbfc;
 	.order-list {
 	.order-list {
-		padding-top: 20upx;
+		padding-top: 80upx;
 		flex: 1;
 		flex: 1;
 		// padding-bottom: 50upx;
 		// padding-bottom: 50upx;
 		.allot-item {
 		.allot-item {

+ 8 - 4
ghs/src/pagesStorehouse/stockWarn/manage.vue

@@ -6,8 +6,11 @@
 			@change="change"
 			@change="change"
 			itemWidth="50%"
 			itemWidth="50%"
 		/>
 		/>
-		<view class="input-wrap">
-			<view class="city-select text-line">
+		<view 
+			class="input-wrap">
+			<view 
+				v-if="loginInfo.super == 1"
+				class="city-select text-line">
 				瑞经典<text class="iconfont iconsanjiao_xia"></text>
 				瑞经典<text class="iconfont iconsanjiao_xia"></text>
 			</view>
 			</view>
 			<view class="search-bar">
 			<view class="search-bar">
@@ -82,7 +85,7 @@ import AppWrapperEmpty from "@/components/app-wrapper-empty";
 import CommodityStock from "../components/CommodityStock";
 import CommodityStock from "../components/CommodityStock";
 import { STOCK_TYPE } from "@/utils/declare";
 import { STOCK_TYPE } from "@/utils/declare";
 import productMins from "@/mixins/product";
 import productMins from "@/mixins/product";
-
+import { mapGetters } from 'vuex'
 export default {
 export default {
 	name: "stock_manage", // 开单
 	name: "stock_manage", // 开单
 	components: {
 	components: {
@@ -117,7 +120,8 @@ export default {
 	computed: {
 	computed: {
 		pageType() {
 		pageType() {
 			return this.tabs[this.tabIndex].key;
 			return this.tabs[this.tabIndex].key;
-		}
+		},
+		...mapGetters({ loginInfo: "getLoginInfo" })
 	},
 	},
 	methods: {
 	methods: {
 		affirm(val) {
 		affirm(val) {

+ 11 - 6
ghs/src/static/iconfont/iconfont.css

@@ -1,12 +1,13 @@
 @font-face {
 @font-face {
   font-family: 'iconfont';  /* project id 1525256 */
   font-family: 'iconfont';  /* project id 1525256 */
-  src: url('//at.alicdn.com/t/font_1525256_g9h34pw8xqu.eot');
-  src: url('//at.alicdn.com/t/font_1525256_g9h34pw8xqu.eot?#iefix') format('embedded-opentype'),
-  url('//at.alicdn.com/t/font_1525256_g9h34pw8xqu.woff2') format('woff2'),
-  url('//at.alicdn.com/t/font_1525256_g9h34pw8xqu.woff') format('woff'),
-  url('//at.alicdn.com/t/font_1525256_g9h34pw8xqu.ttf') format('truetype'),
-  url('//at.alicdn.com/t/font_1525256_g9h34pw8xqu.svg#iconfont') format('svg');
+  src: url('//at.alicdn.com/t/font_1525256_6bxwphhntqh.eot');
+  src: url('//at.alicdn.com/t/font_1525256_6bxwphhntqh.eot?#iefix') format('embedded-opentype'),
+  url('//at.alicdn.com/t/font_1525256_6bxwphhntqh.woff2') format('woff2'),
+  url('//at.alicdn.com/t/font_1525256_6bxwphhntqh.woff') format('woff'),
+  url('//at.alicdn.com/t/font_1525256_6bxwphhntqh.ttf') format('truetype'),
+  url('//at.alicdn.com/t/font_1525256_6bxwphhntqh.svg#iconfont') format('svg');
 }
 }
+
 .iconfont {
 .iconfont {
   font-family: "iconfont" !important;
   font-family: "iconfont" !important;
   font-size: 16px;
   font-size: 16px;
@@ -14,6 +15,10 @@
   -webkit-font-smoothing: antialiased;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   -moz-osx-font-smoothing: grayscale;
 }
 }
+.iconcachu::before {
+  content: "\e7e6";
+}
+
 .iconjihuo:before {
 .iconjihuo:before {
   content: "\e601";
   content: "\e601";
 }
 }