From 79bed38195de7d5ab86a6a20794c8bdff782ce5e Mon Sep 17 00:00:00 2001
From: Enzo <1284707383@qq.com>
Date: Mon, 6 Sep 2021 18:23:41 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E8=AF=A6=E6=83=85=20?=
 =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E9=A6=96=E9=A1=B5=20=E5=95=86?=
 =?UTF-8?q?=E5=93=81=E8=AF=A6=E6=83=85=20=E6=B5=B7=E6=8A=A5=E7=94=9F?=
 =?UTF-8?q?=E6=88=90=20=E8=B4=AD=E7=89=A9=E8=BD=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
 common/js/config.js               |    2 +-
 components/lf-price/lf-price.vue  |    6 +-
 pages.json                        |   63 +-
 pages/article/details.vue         |   54 ++
 pages/coupon/index/index.vue      |  596 +++++-----------
 pages/coupon/index/index1.vue     |  445 ++++++++++++
 pages/shop/goodsdetail.vue        |  574 +++++++++++++++
 pages/store/cart/cart.vue         | 1079 ++++-------------------------
 pages/store/cart/carttemplate.vue |  956 +++++++++++++++++++++++++
 9 files changed, 2357 insertions(+), 1418 deletions(-)
 create mode 100644 pages/article/details.vue
 create mode 100644 pages/coupon/index/index1.vue
 create mode 100644 pages/shop/goodsdetail.vue
 create mode 100644 pages/store/cart/carttemplate.vue
diff --git a/common/js/config.js b/common/js/config.js
index cdaaad3..8c40c53 100644
--- a/common/js/config.js
+++ b/common/js/config.js
@@ -16,7 +16,7 @@ export default  {
 		//https://demo-guojiang-ec-api.guojiang.club/
 		
 		baseUrl: process.env.NODE_ENV === 'development' ? 
-		'http://192.168.2.221/' : 'https://v3-ec-admin-dev.guojiang.club/', // 运行时自动替换变量
+		'http://192.168.3.29/' : 'https://v3-ec-admin-dev.guojiang.club/', // 运行时自动替换变量
     },
 	 PACKAGES: {
         activity: false,
diff --git a/components/lf-price/lf-price.vue b/components/lf-price/lf-price.vue
index f4816d8..72d8a8d 100644
--- a/components/lf-price/lf-price.vue
+++ b/components/lf-price/lf-price.vue
@@ -5,7 +5,7 @@
 			.{{ showPrice(2) }}
 		
 		
-			{{ showPrice() }} 起 
+			{{ showPrice() }} 起 
 		
 	
 
@@ -16,6 +16,10 @@
 			price: {
 				type: [Number, String],
 				default: ''
+			},
+			iftext: {
+				type: Boolean,
+				default: true
 			}
 		},
 		computed: {
diff --git a/pages.json b/pages.json
index ed79974..46e1403 100644
--- a/pages.json
+++ b/pages.json
@@ -3,6 +3,44 @@
 		"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
 	},
 	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+		{
+			"path": "pages/shop/goodsdetail",
+			"style": {
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path": "pages/coupon/index/index",
+			"style": {
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path": "pages/store/list/list",
+			"style": {
+				"navigationBarTitleText": "商品列表"
+			}
+		},
+		{
+			"path": "pages/store/comment/comment",
+			"style": {
+				"navigationBarTitleText": "商品评论"	
+			}
+		},
+		{
+			"path": "pages/store/cart/cart",
+			"style": {
+				"navigationBarTitleText": "购物车",
+				"navigationStyle": "custom"	
+			}
+		},
+		{
+			"path": "pages/article/details",
+			"style": {
+				"navigationBarTitleText": "",
+				"navigationStyle": "custom"
+			}
+		},
 		{
 			"path": "pages/order/index/onlineorder",
 			"style": {
@@ -224,12 +262,6 @@
 				"navigationBarTitleText": "商品列表"
 			}
 		},
-		{
-			"path": "pages/coupon/index/index",
-			"style": {
-				"navigationBarTitleText": "优惠券列表"
-			}
-		},
 		{
 			"path": "pages/coupon/offDetail/offDetail",
 			"style": {
@@ -248,12 +280,6 @@
 				"navigationBarTitleText": ""
 			}
 		},
-		{
-			"path": "pages/store/list/list",
-			"style": {
-				"navigationBarTitleText": "商品列表"
-			}
-		},
 		{
 			"path": "pages/store/search/search",
 			"style": {
@@ -266,25 +292,12 @@
 				"navigationBarTitleText": "开具发票"	
 			}
 		},
-		{
-			"path": "pages/store/cart/cart",
-			"style": {
-				"navigationBarTitleText": "购物车",
-				"navigationStyle": "custom"	
-			}
-		},
 		{
 			"path": "pages/store/detail/detail",
 			"style": {
 				"navigationBarTitleText": ""	
 			}
 		},
-		{
-			"path": "pages/store/comment/comment",
-			"style": {
-				"navigationBarTitleText": "商品评论"	
-			}
-		},
 		{
 			"path": "pages/store/order/order",
 			"style": {
diff --git a/pages/article/details.vue b/pages/article/details.vue
new file mode 100644
index 0000000..5e74e93
--- /dev/null
+++ b/pages/article/details.vue
@@ -0,0 +1,54 @@
+
+	
+		
+		
+		
+			
+				
+					苦等一年!阳澄湖大闸蟹又肥了,让你安心吃螃蟹的文章也来了
+				
+				
+					
+						金城优选线上商城
+					
+					
+						2021.09.01 16:28:22
+					
+				
+			
+			
+			
+			
+			
+		
+	
+
+
+
+
+
diff --git a/pages/coupon/index/index.vue b/pages/coupon/index/index.vue
index 84867ed..48df1f8 100644
--- a/pages/coupon/index/index.vue
+++ b/pages/coupon/index/index.vue
@@ -1,445 +1,161 @@
 
-    
-
-        
-            
-                
-                    {{item.title}}
-                
-
-                
-                    {{item.title}}
-                
-            
-			
-            
-        
-		
-        
-            
-				
-               
-                    
-                    报告主人,您暂无
-                        优惠券~
-                        促销活动
-                    
-                
-				
-                
-                    
-                        
-                            
-                                
-                                    
-                                        ¥
-                                        {{ item.discount.action_type.value }}
-
-                                        折
-                                    
-                                    {{ item.discount.label }}
-                                
-
-                            
-                            
-                                
-
-                                
-                                
-
-                                
-                                
-
-                                
-                                
-
-                                
-                                
-
-                                
-                                
-
-                                
-                            
-                        
-						
-                        
-                            
-                                
-                                    商城
-                                    门店
-                                
-                                {{item.discount.title}}
-                            
-							
-                            
-                                
-                                    
-                                        {{item.discount.use_start_time}}至{{item.discount.use_end_time}}
-                                    
-                                    
-
-                                        
-                                              
-                                            
-                                        
-									
-                                        
-                                            去使用
-                                        
-                                    
-
-
-                                
-                            
-                        
-						
-						
-						
-                    
-                
-            
-            
-               
-                    
-                    报告主人,您暂无
-                        优惠券~
-                        促销活动
-                    
-                
-                
-                    
-                        
-                            
-                                
-                                    
-                                        ¥
-                                        {{ item.discount.action_type.value }}
-
-                                        折
-                                    
-                                    {{ item.discount.label }}
-                                
-
-                            
-                            
-                                
-
-                                
-                                
-
-                                
-                                
-
-                                
-                                
-
-                                
-                                
-
-                                
-                                
-
-                                
-                            
-                        
-                        
-                            
-                                
-                                    商城
-                                    门店
-                                
-                                {{item.discount.title}}
-                            
-                            
-                                
-                                    
-                                        {{item.discount.use_start_time}}至{{item.discount.use_end_time}}
-                                    
-                                    
-                                        
-                                        
-                                            去使用
-                                        
-                                    
-
-                                
-                            
-                        
-                    
-                
-            
-        
-        
-            查看已失效优惠券
-        
-    
-
+	
+		
+		
+			
+		
+		
+			
+				
+					
+				
+				
+					
+				
+				
+					
+						¥200
+						
+							待使用
+						
+					
+					
+						满1200减200
+						有效期2021.09.09-2021-09.15
+					
+				
+			
+		
+	
 
-
-
diff --git a/pages/coupon/index/index1.vue b/pages/coupon/index/index1.vue
new file mode 100644
index 0000000..84867ed
--- /dev/null
+++ b/pages/coupon/index/index1.vue
@@ -0,0 +1,445 @@
+
+    
+
+        
+            
+                
+                    {{item.title}}
+                
+
+                
+                    {{item.title}}
+                
+            
+			
+            
+        
+		
+        
+            
+				
+               
+                    
+                    报告主人,您暂无
+                        优惠券~
+                        促销活动
+                    
+                
+				
+                
+                    
+                        
+                            
+                                
+                                    
+                                        ¥
+                                        {{ item.discount.action_type.value }}
+
+                                        折
+                                    
+                                    {{ item.discount.label }}
+                                
+
+                            
+                            
+                                
+
+                                
+                                
+
+                                
+                                
+
+                                
+                                
+
+                                
+                                
+
+                                
+                                
+
+                                
+                            
+                        
+						
+                        
+                            
+                                
+                                    商城
+                                    门店
+                                
+                                {{item.discount.title}}
+                            
+							
+                            
+                                
+                                    
+                                        {{item.discount.use_start_time}}至{{item.discount.use_end_time}}
+                                    
+                                    
+
+                                        
+                                              
+                                            
+                                        
+									
+                                        
+                                            去使用
+                                        
+                                    
+
+
+                                
+                            
+                        
+						
+						
+						
+                    
+                
+            
+            
+               
+                    
+                    报告主人,您暂无
+                        优惠券~
+                        促销活动
+                    
+                
+                
+                    
+                        
+                            
+                                
+                                    
+                                        ¥
+                                        {{ item.discount.action_type.value }}
+
+                                        折
+                                    
+                                    {{ item.discount.label }}
+                                
+
+                            
+                            
+                                
+
+                                
+                                
+
+                                
+                                
+
+                                
+                                
+
+                                
+                                
+
+                                
+                                
+
+                                
+                            
+                        
+                        
+                            
+                                
+                                    商城
+                                    门店
+                                
+                                {{item.discount.title}}
+                            
+                            
+                                
+                                    
+                                        {{item.discount.use_start_time}}至{{item.discount.use_end_time}}
+                                    
+                                    
+                                        
+                                        
+                                            去使用
+                                        
+                                    
+
+                                
+                            
+                        
+                    
+                
+            
+        
+        
+            查看已失效优惠券
+        
+    
+
+
+
+
diff --git a/pages/shop/goodsdetail.vue b/pages/shop/goodsdetail.vue
new file mode 100644
index 0000000..ac65363
--- /dev/null
+++ b/pages/shop/goodsdetail.vue
@@ -0,0 +1,574 @@
+
+	
+		
+		
+			
+				
+				
+					
+						
+					
+				
+				
+				
+					
+						
+						
+					
+					
+						颐莲喷雾 500ml
+					
+					
+						门店自提
+					
+				
+				
+				
+					
+						
+							优惠
+							
+								{{item.tag}}
+							
+							
+								化妆品教师节满1200减200
+							
+						
+						
+							
+						
+					
+				
+				
+				
+					
+						
+							服务
+							
+								
+									
+									正品保障
+								
+							
+						
+						
+							
+						
+					
+				
+				
+					
+						
+							已选
+							已选500ml x1
+						
+						
+							
+						
+					
+				
+				
+				
+					
+						
+							
+								
+									
+								
+								
+									颐莲官方店
+									L2
+								
+							
+							
+								
+							
+						
+					
+					
+						
+							
+								
+								
+									猪大肠卖咯 5毛钱一斤咯
+									¥0.5
+								
+							
+							
+								
+									查看更多
+									
+								
+							
+						
+					
+				
+				
+				
+					商品详情
+					
+					
+				 
+				
+				
+				
+				
+					
+						
+							
+							客服
+						
+						
+							
+							
+							{{ is_collect ? '已收藏' : '收藏' }}
+						
+						
+					
+					
+						
+						
+					
+				
+				
+				
+				
+			
+		
+	
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/store/cart/cart.vue b/pages/store/cart/cart.vue
index cb731b4..90b8353 100644
--- a/pages/store/cart/cart.vue
+++ b/pages/store/cart/cart.vue
@@ -1,956 +1,133 @@
 
-
-	
-    
-        
-        
-            
-                
-                    
-                        {{discounts[0].tags}}
-                    
-                    
-                        {{discounts[0].label}} >
-                    
-                
-            
-            
-                优惠券
-            
-        
-        
-        
-    
-	
-		
+	
+		
+		
+		
+			
+				
+					
+					精品超市
+					
+				
+				
+					
+						
+							满减
+						
+						母婴产品教师节满1200减200
+					
+					去凑单
+				
+				
+					
+						
+							
+						
+					
+					
+						
+						
+							爱他美较大婴儿配方奶粉较大婴儿配方奶粉较大婴儿配方奶粉2段 900g
+							
+								1件;900g
+								¥385
+							
+						
+					
+				
+			
+		
+		
+			
+				
+					
+				
+				
+					全选
+				
+			
+			
+				
+					合计: ¥1150
+				
+				
+					结算 (6)
+				
+			
+		
 	
-    
-        
-            
-                
-                    
-                
-                
-                    
-                
-                
-                    
-                        {{item.name}}
-                    
-                    
-                        
-                            {{item.color}} , {{item.size}}
-                        
-                        
-                            ¥{{item.total}}
-                        
-                    
-                    
-                        
-                            
-                                -
-                                
-                                +
-                            
-                        
-                        
-                            移除
-
-                        
-                    
-                
-            
-
-        
-    
-    
-        
-        
-            商品总计:¥{{select_products.total!=undefined?select_products.total:''}}
-        
-        
-    
-
-
-
-    
-    
-
-    
-    
-        
-            
-                
-                    领取优惠券
-
-                    
-                        X
-                    
-                
-            
-
-            
-                
-                    可领优惠券
-                
-                
-                    
-                        
-                            
-                                
-                                    
-                                        
-                                            ¥
-                                            {{ item.action_type.value }}
-
-
-                                            折
-                                        
-                                        {{ item.label }}
-                                    
-
-                                
-                                
-                                    
-
-                                    
-                                    
-
-                                    
-                                    
-
-                                    
-                                    
-
-                                    
-                                    
-
-                                    
-                                
-                            
-                            
-                                
-                                
-                                    商店
-                                    门店
-                                
-                                    {{item.title}}
-                                
-                                
-                                    
-                                        
-                                            {{item.use_start_time}}至{{item.use_end_time}}
-                                        
-                                        
-                                            点击领取
-
-                                        
-                                        
-                                            已领取
-
-                                        
-
-                                    
-                                
-                            
-                        
-                    
-                
-
-            
-
-        
-    
-
-
-    
-
-    
-
-    
-
-    
-        
-            
-                
-                    促销
-                    
-                        X
-                    
-                
-            
-
-            
-                
-                    
-                        
-                            {{item.tags}}
-                        
-                        
-                            {{item.label}}
-                        
-                    
-                
-            
-
-        
-    
-	
-
-
-
 
-
-
\ No newline at end of file
+
+
+
+
diff --git a/pages/store/cart/carttemplate.vue b/pages/store/cart/carttemplate.vue
new file mode 100644
index 0000000..cb731b4
--- /dev/null
+++ b/pages/store/cart/carttemplate.vue
@@ -0,0 +1,956 @@
+
+
+	
+    
+        
+        
+            
+                
+                    
+                        {{discounts[0].tags}}
+                    
+                    
+                        {{discounts[0].label}} >
+                    
+                
+            
+            
+                优惠券
+            
+        
+        
+        
+    
+	
+		
+	
+    
+        
+            
+                
+                    
+                
+                
+                    
+                
+                
+                    
+                        {{item.name}}
+                    
+                    
+                        
+                            {{item.color}} , {{item.size}}
+                        
+                        
+                            ¥{{item.total}}
+                        
+                    
+                    
+                        
+                            
+                                -
+                                
+                                +
+                            
+                        
+                        
+                            移除
+
+                        
+                    
+                
+            
+
+        
+    
+    
+        
+        
+            商品总计:¥{{select_products.total!=undefined?select_products.total:''}}
+        
+        
+    
+
+
+
+    
+    
+
+    
+    
+        
+            
+                
+                    领取优惠券
+
+                    
+                        X
+                    
+                
+            
+
+            
+                
+                    可领优惠券
+                
+                
+                    
+                        
+                            
+                                
+                                    
+                                        
+                                            ¥
+                                            {{ item.action_type.value }}
+
+
+                                            折
+                                        
+                                        {{ item.label }}
+                                    
+
+                                
+                                
+                                    
+
+                                    
+                                    
+
+                                    
+                                    
+
+                                    
+                                    
+
+                                    
+                                    
+
+                                    
+                                
+                            
+                            
+                                
+                                
+                                    商店
+                                    门店
+                                
+                                    {{item.title}}
+                                
+                                
+                                    
+                                        
+                                            {{item.use_start_time}}至{{item.use_end_time}}
+                                        
+                                        
+                                            点击领取
+
+                                        
+                                        
+                                            已领取
+
+                                        
+
+                                    
+                                
+                            
+                        
+                    
+                
+
+            
+
+        
+    
+
+
+    
+
+    
+
+    
+
+    
+        
+            
+                
+                    促销
+                    
+                        X
+                    
+                
+            
+
+            
+                
+                    
+                        
+                            {{item.tags}}
+                        
+                        
+                            {{item.label}}
+                        
+                    
+                
+            
+
+        
+    
+	
+
+
+
+
+
+
\ No newline at end of file