Sfoglia il codice sorgente

feat(cjx): 移除超吉炫项目中的反馈、授权码、领取页面及主页代码

- 删除了 feedback.vue 页面的所有内容,该页面用于用户意见反馈功能
- 删除了 authCode.vue 页面的所有内容,该页面用于扫描验证码并开始抽奖流程
- 删除了 claim.vue 页面的所有内容,该页面用于展示抽奖结果和奖励信息
- 删除了 index.vue 页面的所有内容,该页面实现了刮卡抽奖的核心交互逻辑
- 上述页面均属于超吉炫品牌的小程序页面模块
- 页面相关样式、脚本和模板代码一并移除
- 对应的业务功能包括用户反馈收集、扫码验证、奖品领取及抽奖互动等核心流程
- 此次变更可能影响到用户访问上述功能的可用性,需确认是否有替代方案或后续补充开发计划
mws 2 mesi fa
parent
commit
6c2fac62a6
42 ha cambiato i file con 126 aggiunte e 9462 eliminazioni
  1. 1 0
      .gitignore
  2. 1 1
      config.js
  3. 2 4
      manifest.json
  4. 0 1
      package.json
  5. 122 423
      pages.json
  6. 0 151
      pages/cjx/error.vue
  7. 0 219
      pages/cjx/feedback/feedback.vue
  8. 0 248
      pages/cjx/index/authCode.vue
  9. 0 174
      pages/cjx/index/claim.vue
  10. 0 859
      pages/cjx/index/index.vue
  11. 0 456
      pages/cjx/index/rules.vue
  12. 0 387
      pages/cjx/introduction/introduction.vue
  13. 0 281
      pages/cjx/my/my.vue
  14. 0 262
      pages/cjx/record/record.vue
  15. 0 267
      pages/cjx/traceability/traceability.vue
  16. 0 318
      pages/lgz/address/address.vue
  17. 0 185
      pages/lgz/error.vue
  18. 0 261
      pages/lgz/feedback/feedback.vue
  19. 0 188
      pages/lgz/index/claim.vue
  20. 0 767
      pages/lgz/index/index.vue
  21. 0 219
      pages/lgz/index/rules.vue
  22. 0 159
      pages/lgz/index/unWinPrize.vue
  23. 0 151
      pages/lgz/index/winPrize.vue
  24. 0 156
      pages/lgz/introduction/introduction.vue
  25. 0 206
      pages/lgz/my/my.vue
  26. 0 301
      pages/lgz/record/record.vue
  27. 0 254
      pages/lgz/traceability/traceability.vue
  28. 0 144
      pages/login.vue
  29. 0 137
      pages/qilang/error.vue
  30. 0 200
      pages/qilang/feedback/feedback.vue
  31. 0 232
      pages/qilang/index/authCode.vue
  32. 0 162
      pages/qilang/index/claim.vue
  33. 0 783
      pages/qilang/index/index.vue
  34. 0 216
      pages/qilang/index/rules.vue
  35. 0 102
      pages/qilang/introduction/introduction.vue
  36. 0 160
      pages/qilang/my/my.vue
  37. 0 242
      pages/qilang/record/record.vue
  38. 0 186
      pages/qilang/traceability/traceability.vue
  39. BIN
      static/images/tabbar/qilang/company.png
  40. BIN
      static/images/tabbar/qilang/my.png
  41. BIN
      static/images/tabbar/qilang/opinion.png
  42. BIN
      static/images/tabbar/qilang/traceability.png

+ 1 - 0
.gitignore

@@ -13,6 +13,7 @@ selenium-debug.log
 # Editor directories and files
 .idea
 .vscode
+.hbuilderx
 *.suo
 *.ntvs*
 *.njsproj

+ 1 - 1
config.js

@@ -2,7 +2,7 @@
 module.exports = {
 
   baseUrl: 'https://scanapi.dnzc.vip',
-  // baseUrl: 'http://127.0.0.1',
+  // baseUrl: 'http://172.16.4.34:8080/pg',
 
 
   // 应用信息

+ 2 - 4
manifest.json

@@ -50,7 +50,7 @@
     "quickapp" : {},
     /* 小程序特有相关 */
     "mp-weixin" : {
-        "appid" : "wx54eda1bf87ce7d03",
+        "appid" : "wxc08663cf8cdf7c47",
         "setting" : {
             "urlCheck" : false,
             "minified" : true
@@ -61,9 +61,7 @@
                 "desc" : "需要巡店的获取实时位置"
             }
         },
-		"requiredPrivateInfos": [
-		        "getLocation"
-		    ]
+        "requiredPrivateInfos" : [ "getLocation" ]
     },
     "mp-alipay" : {
         "usingComponents" : true

+ 0 - 1
package.json

@@ -2,7 +2,6 @@
   "dependencies": {
     "@amap/amap-jsapi-loader": "^1.0.1",
     "@fingerprintjs/fingerprintjs": "^4.6.2",
-    "@turf/turf": "^7.2.0",
     "fast-xml-parser": "^5.2.5",
     "flv.js": "^1.6.2",
     "js-audio-recorder": "^1.0.7",

+ 122 - 423
pages.json

@@ -4,7 +4,7 @@
 	},
 	"pages": [
 		{
-			"path": "pages/login",
+			"path": "pages/hexiao/login",
 			"style": {
 				"navigationBarTitleText": "加载中",
 				"navigationStyle": "custom"
@@ -16,311 +16,9 @@
 				"navigationBarTitleText": "登录中",
 				"navigationStyle": "custom"
 			}
-		}
-	],
-
-	"subPackages": [{
-		"root": "pages/cjx",
-		"pages": [
-			{
-				"path" : "index/rules",
-				"style" :
-				{
-					"navigationBarTitleText" : "活动规则",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "record/record",
-				"style" :
-				{
-					"navigationBarTitleText" : "扫码记录",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "index/index",
-				"style" :
-				{
-					"navigationBarTitleText" : "",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "index/authCode",
-				"style" :
-				{
-					"navigationBarTitleText" : "",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "my/my",
-				"style" :
-				{
-					"navigationBarTitleText" : "",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "index/claim",
-				"style" :
-				{
-					"navigationBarTitleText" : "中奖记录",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "introduction/introduction",
-				"style" :
-				{
-					"navigationBarTitleText" : "公司简介",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "feedback/feedback",
-				"style" :
-				{
-					"navigationBarTitleText" : "意见反馈",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "traceability/traceability",
-				"style" :
-				{
-					"navigationBarTitleText" : "溯源信息",
-					"navigationStyle": "custom"
-				}
-			},{
-				"path" : "shop/score_list",
-				"style" :
-				{
-					"navigationBarTitleText" : "积分明细",
-					"enablePullDownRefresh" : false
-				}
-			},{
-				"path" : "shop/shop",
-				"style" :
-				{
-					"navigationBarTitleText" : "积分商城",
-					"enablePullDownRefresh" : false
-				}
-			},
-			{
-				"path" : "error",
-				"style" :
-				{
-					"navigationBarTitleText" : "超吉炫",
-					"navigationStyle": "custom"
-				}
-			}
-
-		]
-	}, {
-		"root": "pages/lgz",
-		"pages": [
-			{
-				"path" : "index/index",
-				"style" :
-				{
-					"navigationBarTitleText" : "梅山古镇",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "record/record",
-				"style" :
-				{
-					"navigationBarTitleText" : "扫码记录",
-					"navigationStyle": "custom"
-				}
-			},
-
-			{
-				"path" : "traceability/traceability",
-				"style" :
-				{
-					"navigationBarTitleText" : "溯源信息",
-					"navigationStyle": "custom"
-				}
-			},
-
-			{
-				"path" : "feedback/feedback",
-				"style" :
-				{
-					"navigationBarTitleText" : "意见反馈",
-					"navigationStyle": "custom"
-				}
-			},
-
-			{
-				"path" : "introduction/introduction",
-				"style" :
-				{
-					"navigationBarTitleText" : "公司简介",
-					"navigationStyle": "custom"
-				}
-			},
-
-			{
-				"path" : "index/claim",
-				"style" :
-				{
-					"navigationBarTitleText" : "中奖记录",
-					"navigationStyle": "custom"
-				}
-			},
-
-			{
-				"path" : "index/rules",
-				"style" :
-				{
-					"navigationBarTitleText" : "活动规则",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "error",
-				"style" :
-				{
-					"navigationBarTitleText" : "梅干古筝",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "address/address",
-				"style" :
-				{
-					"navigationBarTitleText" : "",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "my/my",
-				"style" :
-				{
-					"navigationBarTitleText" : "",
-					"navigationStyle": "custom"
-				}
-			},
-
-			{
-				"path" : "index/winPrize",
-				"style" :
-				{
-					"navigationBarTitleText" : "",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "index/unWinPrize",
-				"style" :
-				{
-					"navigationBarTitleText" : "",
-					"navigationStyle": "custom"
-				}
-			}
-
-		]
-	},{
-		"root": "pages/qilang",
-		"pages": [
-			{
-				"path" : "index/rules",
-				"style" :
-				{
-					"navigationBarTitleText" : "活动规则",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "record/record",
-				"style" :
-				{
-					"navigationBarTitleText" : "扫码记录",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "index/index",
-				"style" :
-				{
-					"navigationBarTitleText" : "",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "index/authCode",
-				"style" :
-				{
-					"navigationBarTitleText" : "",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "my/my",
-				"style" :
-				{
-					"navigationBarTitleText" : "",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "index/claim",
-				"style" :
-				{
-					"navigationBarTitleText" : "中奖记录",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "introduction/introduction",
-				"style" :
-				{
-					"navigationBarTitleText" : "公司简介",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "feedback/feedback",
-				"style" :
-				{
-					"navigationBarTitleText" : "意见反馈",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "traceability/traceability",
-				"style" :
-				{
-					"navigationBarTitleText" : "七榔槟榔",
-					"navigationStyle": "custom"
-				}
-			},
-			{
-				"path" : "error",
-				"style" :
-				{
-					"navigationBarTitleText" : "超吉炫",
-					"navigationStyle": "custom"
-				}
-			}
-
-		]
-	}
-
-
-
-
-	,{
-			"root": "pages/hexiao",
-			"pages": [
-
+		},
 		{
-			"path" : "ywy/index",
+			"path" : "pages/hexiao/ywy/index",
 			"style" :
 			{
 				"navigationBarTitleText" : "首页",
@@ -328,7 +26,7 @@
 			}
 		},
 		{
-			"path" : "ywy/retail",
+			"path" : "pages/hexiao/ywy/retail",
 			"style" :
 			{
 				"navigationBarTitleText" : "门店",
@@ -337,7 +35,7 @@
 
 		},
 		{
-			"path" : "ywy/my",
+			"path" : "pages/hexiao/ywy/my",
 			"style" :
 			{
 				"navigationBarTitleText" : "我的",
@@ -345,7 +43,7 @@
 			}
 		},
 		{
-			"path" : "ywy/scan_code",
+			"path" : "pages/hexiao/ywy/scan_code",
 			"style" :
 			{
 				"navigationBarTitleText" : "上货扫描",
@@ -353,7 +51,7 @@
 			}
 		},
 		{
-			"path" : "ywy/add_retail",
+			"path" : "pages/hexiao/ywy/add_retail",
 			"style" :
 			{
 				"navigationBarTitleText" : "门店信息",
@@ -361,7 +59,7 @@
 			}
 		},
 		{
-			"path" : "ywy/add_goods_record",
+			"path" : "pages/hexiao/ywy/add_goods_record",
 			"style" :
 			{
 				"navigationBarTitleText" : "上货记录",
@@ -369,14 +67,15 @@
 			}
 		},
 		{
-			"path" : "jxs/index",
+			"path" : "pages/hexiao/jxs/index",
 			"style" :
 			{
 				"navigationBarTitleText" : "",
 				"navigationStyle": "custom"
 			}
-		},{
-			"path" : "jxs/my",
+		},
+		{
+			"path" : "pages/hexiao/jxs/my",
 			"style" :
 			{
 				"navigationBarTitleText" : "我的",
@@ -384,7 +83,7 @@
 			}
 		},
 		{
-			"path" : "jxs/ywy_list",
+			"path" : "pages/hexiao/jxs/ywy_list",
 			"style" :
 			{
 				"navigationBarTitleText" : "业务员管理",
@@ -392,7 +91,7 @@
 			}
 		},
 		{
-			"path" : "jxs/hexiao_record",
+			"path" : "pages/hexiao/jxs/hexiao_record",
 			"style" :
 			{
 				"navigationBarTitleText" : "核销记录",
@@ -400,7 +99,7 @@
 			}
 		},
 		{
-			"path" : "jxs/hexiao_detail",
+			"path" : "pages/hexiao/jxs/hexiao_detail",
 			"style" :
 			{
 				"navigationBarTitleText" : "核销详情",
@@ -408,7 +107,7 @@
 			}
 		},
 		{
-			"path" : "jxs/add_ywy",
+			"path" : "pages/hexiao/jxs/add_ywy",
 			"style" :
 			{
 				"navigationBarTitleText" : "业务员信息",
@@ -416,24 +115,22 @@
 			}
 		},
 		{
-			"path" : "login",
+			"path" : "pages/hexiao/xiaoshou/index",
 			"style" :
 			{
-				"navigationBarTitleText" : "",
-				"navigationStyle": "custom"
-
+				"navigationBarTitleText" : ""
 			}
 		},
-
 		{
-			"path" : "xiaoshou/index",
+			"path" : "pages/hexiao/ywy/add_patrol",
 			"style" :
 			{
-				"navigationBarTitleText" : ""
+				"navigationBarTitleText" : "巡店记录",
+				"enablePullDownRefresh" : false
 			}
 		},
 		{
-			"path" : "ywy/add_patrol",
+			"path" : "pages/hexiao/ywy/patrol_record",
 			"style" :
 			{
 				"navigationBarTitleText" : "巡店记录",
@@ -441,123 +138,125 @@
 			}
 		},
 		{
-			"path" : "ywy/patrol_record",
+			"path" : "pages/hexiao/ywy/hexiao_record",
 			"style" :
 			{
-				"navigationBarTitleText" : "巡店记录",
+				"navigationBarTitleText" : "",
 				"enablePullDownRefresh" : false
 			}
 		},
 		{
-			"path" : "ywy/hexiao_record",
+			"path" : "pages/hexiao/ywy/hexiao_detail",
 			"style" :
 			{
-				"navigationBarTitleText" : "",
+				"navigationBarTitleText" : "核销详情",
+				"enablePullDownRefresh" : false
+			}
+		},
+		{
+			"path" : "pages/hexiao/jxs/order",
+			"style" :
+			{
+				"navigationBarTitleText" : "订单",
+				"enablePullDownRefresh" : false
+			}
+		},
+		{
+			"path" : "pages/hexiao/jxs/add_order",
+			"style" :
+			{
+				"navigationBarTitleText" : "添加订单",
 				"enablePullDownRefresh" : false
 			}
 		},
 		{
-			"path" : "ywy/hexiao_detail",
+			"path" : "pages/hexiao/jxs/order_detail",
+			"style" :
+			{
+				"navigationBarTitleText" : "订单详情",
+				"enablePullDownRefresh" : false
+			}
+		},
+		{
+			"path" : "pages/hexiao/ywy/patrol_detail",
+			"style" :
+			{
+				"navigationBarTitleText" : "巡店详情",
+				"enablePullDownRefresh" : false
+			}
+		},
+		{
+			"path" : "pages/hexiao/ywy/add_goods_detail",
+			"style" :
+			{
+				"navigationBarTitleText" : "上货详情",
+				"enablePullDownRefresh" : false
+			}
+		},
+		{
+			"path" : "pages/hexiao/jxs/hexiao_pending_detail",
 			"style" :
 			{
 				"navigationBarTitleText" : "核销详情",
 				"enablePullDownRefresh" : false
 			}
 		},
-				{
-					"path" : "jxs/order",
-					"style" :
-					{
-						"navigationBarTitleText" : "订单",
-						"enablePullDownRefresh" : false
-					}
-				},
-				{
-					"path" : "jxs/add_order",
-					"style" :
-					{
-						"navigationBarTitleText" : "添加订单",
-						"enablePullDownRefresh" : false
-					}
-				},
-				{
-					"path" : "jxs/order_detail",
-					"style" :
-					{
-						"navigationBarTitleText" : "订单详情",
-						"enablePullDownRefresh" : false
-					}
-				},
-				{
-					"path" : "ywy/patrol_detail",
-					"style" :
-					{
-						"navigationBarTitleText" : "巡店详情",
-						"enablePullDownRefresh" : false
-					}
-				}
-			,
-				{
-					"path" : "ywy/add_goods_detail",
-					"style" :
-					{
-						"navigationBarTitleText" : "上货详情",
-						"enablePullDownRefresh" : false
-					}
-				},
-				{
-					"path" : "jxs/hexiao_pending_detail",
-					"style" :
-					{
-						"navigationBarTitleText" : "核销详情",
-						"enablePullDownRefresh" : false
-					}
-				},
-				{
-					"path" : "ywy/retail_detail",
-					"style" :
-					{
-						"navigationBarTitleText" : "数据查看",
-						"enablePullDownRefresh" : false
-					}
-				}
-			,
-				{
-					"path" : "jxs/sale_detail",
-					"style" :
-					{
-						"navigationBarTitleText" : "销售数据",
-						"enablePullDownRefresh" : false
-					}
-				},
-				{
-					"path" : "ywy/sale_detail",
-					"style" :
-					{
-						"navigationBarTitleText" : "销售数据",
-						"enablePullDownRefresh" : false
-					}
-				},
-				{
-					"path" : "ywy/hexiao_detail_ywy",
-					"style" :
-					{
-						"navigationBarTitleText" : "核销数据",
-						"enablePullDownRefresh" : false
-					}
-				},
-				{
-					"path" : "jxs/hexiao_record_history",
-					"style" :
-					{
-						"navigationBarTitleText" : "历史数据",
-						"enablePullDownRefresh" : false
-					}
-				}
-	]
+		{
+			"path" : "pages/hexiao/ywy/retail_detail",
+			"style" :
+			{
+				"navigationBarTitleText" : "数据查看",
+				"enablePullDownRefresh" : false
+			}
+		},
+		{
+			"path" : "pages/hexiao/jxs/sale_detail",
+			"style" :
+			{
+				"navigationBarTitleText" : "销售数据",
+				"enablePullDownRefresh" : false
+			}
+		},
+		{
+			"path" : "pages/hexiao/ywy/sale_detail",
+			"style" :
+			{
+				"navigationBarTitleText" : "销售数据",
+				"enablePullDownRefresh" : false
+			}
+		},
+		{
+			"path" : "pages/hexiao/ywy/hexiao_detail_ywy",
+			"style" :
+			{
+				"navigationBarTitleText" : "核销数据",
+				"enablePullDownRefresh" : false
+			}
+		},
+		{
+			"path" : "pages/hexiao/jxs/hexiao_record_history",
+			"style" :
+			{
+				"navigationBarTitleText" : "历史数据",
+				"enablePullDownRefresh" : false
+			}
+		}
+	,{
+			"path" : "pages/cjx/shop/score_list",
+			"style" :
+			{
+				"navigationBarTitleText" : "积分明细",
+				"enablePullDownRefresh" : false
+			}
+		},{
+			"path" : "pages/cjx/shop/shop",
+			"style" :
+			{
+				"navigationBarTitleText" : "积分商城",
+				"enablePullDownRefresh" : false
+			}
 		}
 	],
-
 	"globalStyle": {
 		"navigationBarTextStyle": "black",
 		"navigationBarTitleText": "uni-app",
@@ -565,4 +264,4 @@
 		"backgroundColor": "#F8F8F8"
 	},
 	"uniIdRouter": {}
-}
+}

+ 0 - 151
pages/cjx/error.vue

@@ -1,151 +0,0 @@
-<template>
-  <view class="intro-page common">
-    <view class="top-class"></view>
-    <view class="title">
-      超吉炫
-    </view>
-    <view class="head">
-      <u-row class="row-class">
-        <u-col span="4">
-          <image class="logo-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png" mode="aspectFit" />
-        </u-col>
-        <u-col span="4">
-          <image class="commodity-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png" mode="aspectFit" />
-        </u-col>
-        <u-col span="4">
-          <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png"  />
-        </u-col>
-      </u-row>
-    </view>
-
-    <view class="topImg">
-      <image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png" mode="heightFix" />
-    </view>
-    <view class="topImg">
-      <image class="img_2" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg_2.png" mode="heightFix" />
-    </view>
-    <view class="content">
-      <view class="title-1">
-
-      </view>
-
-      <view class="detail">
-        <view class="text-detail">
-          您所查询的是超吉炫新型低纤槟榔胶果,是正牌产品,感谢您的购买!
-        </view>
-        <view class="text-one">
-        </view>
-        <view class="text-one">
-          {{msg}}
-        </view>
-      </view>
-    </view>
-    <CustomTabbar />
-
-  </view>
-</template>
-
-<script>
-export default {
-
-  data() {
-    return {
-      msg: "未知错误"
-    }
-  },
-  onLoad: function(options) {
-    if (options.msg){
-      this.msg = options.msg;
-    }
-  },
-  methods: {
-  }
-}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../static/scss/common_cjx.css');
-
-.row-class {
-  height: 80rpx;
-}
-
-.theme-text {
-  height: 10vh;
-  text-align: center;
-  line-height: 11vh;
-
-  .textImage {
-    height: 80rpx;
-    width: 400rpx;
-  }
-}
-.title-1{
-  text-align: center;
-  color: #A7001C;
-  font-size: 18px;
-  letter-spacing: 4px;
-  font-weight: 600;
-}
-
-.winning-picture{
-  height: 460rpx;
-  background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
-  background-size: contain;
-  background-position: center;
-  background-repeat: no-repeat;
-  display: flex;
-  justify-content: center; /* 水平居中 */
-  // align-items: center;     /* 垂直居中 */
-}
-.detail{
-  margin: 20rpx 40rpx;
-  border-radius: 10rpx;
-  padding: 10rpx;
-  margin-top: 30vh;
-  background-image:
-      url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
-  background-size: cover;
-  background-position: center;
-  background-repeat: no-repeat;
-}
-.text-detail{
-  font-weight: 500;
-  font-size: 28rpx;
-  color: #F6F6F9;
-  margin-bottom: 10rpx;
-  padding: 20rpx;
-}
-
-.text-one{
-  font-weight: 600;
-  font-size: 32rpx;
-  color: #FF31C2 ;
-  margin-bottom: 10rpx;
-  padding: 20rpx;
-
-}
-.detail-btn{
-  text-align: center;
-  color: #F9D395;
-  height: 60rpx;
-  line-height: 60rpx;
-  margin-right: 20rpx;
-  font-size: 13px;
-  background-color: #901710;
-  padding: 3px;
-  border-radius: 5px;
-
-}
-.center-image {
-  height: 280rpx;
-  object-fit: contain;     /* 保持图片的宽高比,确保不会被拉伸或裁切 */
-}
-::v-deep .detail-btn span {
-  background-color: #8E1813;
-  padding: 4rpx;
-  border-radius: 8rpx;
-  font-weight: 400;
-  font-size: 26rpx;
-}
-</style>

+ 0 - 219
pages/cjx/feedback/feedback.vue

@@ -1,219 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			意见反馈
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png"
-						mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="commodity-img"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png"
-						mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="logo-rules"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png"
-						@click="openDetail" />
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="topImg">
-			<image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png"
-				mode="heightFix" />
-		</view>
-
-		<view class="content">
-			<view class="cardTop"></view>
-			<view class="content_text">
-        <view class="intro-content">
-        <view> 超吉炫低纤槟榔胶果消费者反馈表 </view>
-        <view> 亲爱的消费者: </view>
-        <view> 感谢您选择超吉炫低纤槟榔胶果!为了能给您带来更优质的产品和服务体验,我们诚挚地邀请您填写这份反馈表。您的宝贵意见对我们至关重要,我们会认真对待每一条反馈。若您的建议被采纳,将有机会获得超吉炫精心准备的礼品哦!
-        </view>
-        </view>
-				<view class="from">
-					<view class="filter-btn-group">
-						<view class="row-text">留言类型:</view>
-						<view v-for="(item, idx) in filterOptions" :key="idx"
-							:class="['filter-btn', filterStatus === item.value ? 'active' : '']"
-							@click="onFilterChange(item.value)">
-							{{ item.label }}
-						</view>
-					</view>
-					<u--form labelPosition="left" :model="model1" :rules="rules" ref="uForm">
-						<u-form-item label="留言人姓名:" prop="userInfo.name" ref="item1">
-							<u--input v-model="model1.userInfo.name" border="none" color="#fff"></u--input>
-						</u-form-item>
-
-						<u-form-item label="联系电话:" prop="userInfo.tel" ref="item1">
-							<u--input v-model="model1.userInfo.tel" border="none" color="#fff"></u--input>
-						</u-form-item>
-
-						<u-form-item label="E-mail:" prop="userInfo.mail" ref="item1">
-							<u--input v-model="model1.userInfo.mail" border="none" color="#fff"></u--input>
-						</u-form-item>
-
-						<u-form-item label="留言:" ref="item1">
-							<u--textarea v-model="model1.userInfo.liuyan" border="none" color="#fff"></u--textarea>
-						</u-form-item>
-
-					</u--form>
-				</view>
-
-			</view>
-
-			<view class="return_view" style="justify-content: space-around;">
-        <view class="return-button" @click="saveData">保存</view>
-				<view class="return-button" @click="goBack">返回</view>
-			</view>
-		</view>
-		<u-toast ref="uToast"></u-toast>
-
-	</view>
-</template>
-
-<script>
-import {
-  feed
-} from '@/api/scan'
-import feedbackMixin from '@/mixins/feedbackMixin.js'
-
-export default {
-  mixins: [feedbackMixin],
-  methods: {
-    saveData() {
-      // 调用 mixin 中的方法,传入特定的 API 函数
-      this.baseSaveData(feed, (data) => {
-        // 可以在这里添加特定的成功回调处理
-      });
-    },
-    goBack() {
-      this.baseGoBack();
-    },
-    openDetail() {
-      this.baseOpenDetail("cjx");
-    },
-    onFilterChange(val) {
-      this.baseOnFilterChange(val);
-    },
-  }
-}
-</script>
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_cjx.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-	.cardTop{
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/yjfk.png");
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-
-	::v-deep .u-form-item__body__left {
-		width: 160rpx !important;
-
-
-	}
-
-	::v-deep .u-form-item__body__left__content__label {
-		font-weight: bold;
-		font-size: 26rpx !important;
-		color: #FFFFFF !important;
-	}
-
-	::v-deep .u-form-item__body__right {
-		border: 1px solid #DE00FF !important;
-	}
-
-	::v-deep .u-textarea {
-		background-color: rgba(0, 0, 0, 0) !important;
-		
-	}
-	::v-deep .u-textarea__field{
-		color:#fff !important;
-	}
-
-	::v-deep .u-form-item__body {
-		display: flex;
-		flex-direction: row;
-		padding: 0 0 !important;
-		padding-top: 10rpx !important;
-	}
-
-	::v-deep .u-form-item__body__right__message {
-		margin-left: 160rpx !important;
-	}
-
-	.filter-btn-group {
-		display: flex;
-		justify-content: flex-start;
-		align-items: center;
-		gap: 24rpx;
-		margin: 10rpx 0 10rpx 0;
-	}
-
-	.filter-btn {
-		padding: 4rpx 20rpx;
-		border: 2rpx solid #DE00FF;
-		color: #DE00FF;
-		font-size: 28rpx;
-		transition: all 0.2s;
-		margin-left: 10rpx;
-	}
-
-	.filter-btn.active {
-		background: #DE00FF;
-		color: #fff;
-		border: 2rpx solid #DE00FF;
-	}
-
-	.row-text {
-		font-weight: bold;
-		font-size: 26rpx;
-		color: #FFFFFF;
-	}
-
-	.content {
-		height: 69vh;
-		overflow: auto;
-		margin: 0 32rpx;
-		padding: 32rpx 24rpx 24rpx 24rpx;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-	}
-
-	.savaBtn {
-		margin-top: 10px;
-		font-weight: 600;
-	}
-
-	.intro-content {
-		font-weight: 500;
-		font-size: 28rpx;
-		color: #F5F5F5;
-
-	}
-</style>

+ 0 - 248
pages/cjx/index/authCode.vue

@@ -1,248 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			超吉炫
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png"
-						mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="commodity-img"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png"
-						mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="logo-rules"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png" @click="openDetail" />
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="topImg">
-			<image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png"
-				mode="heightFix" />
-		</view>
-		<view class="topImg">
-			<image class="img_2" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg_2.png"
-				mode="heightFix" />
-		</view>
-		<view class="content">
-			<view class="title-1">
-
-			</view>
-
-			<view class="detail">
-				<view class="text-detail">
-					您所查询的是超吉炫新型低纤槟榔胶果,是正牌产品,感谢您的购买!
-				</view>
-				<view class="" style="padding: 20rpx;">
-					<u-row class="row-class">
-						<u-col span="9">
-							<u--input placeholder="输入包装内侧验证码" border="surround" v-model="value" color="#fff" ></u--input>
-						</u-col>
-						<u-col span="3">
-							<u-button text="开始抽奖" class="custom-style" color="#E22ADD" @click="startDraw" ></u-button>
-						</u-col>
-
-					</u-row>
-				</view>
-				<view class="hint">
-					实物大奖:如您中实物,请凭中奖外包袋兑奖,谢谢!
-				</view>
-
-			</view>
-		</view>
-		<u-toast ref="uToast"></u-toast>
-		<CustomTabbar />
-
-	</view>
-</template>
-
-<script>
-	import {
-		getScanData,
-		confirmCode
-	} from '@/api/scan'
-	import CustomTabbar from '@/components/tabbar_common.vue';
-	export default {
-		components: {
-			CustomTabbar
-		},
-		data() {
-			return {
-				scanUserData: {},
-				prizeJson: {},
-				value: '',
-				scanCode: ''
-			}
-		},
-		onLoad() {
-			this.scanCode = uni.getStorageSync('scanCode');
-
-		},
-		methods: {
-			goBack() {
-				uni.navigateBack();
-			},
-			openDetail() {
-				uni.navigateTo({
-					url: '/pages/cjx/index/rules'
-				});
-			},
-			startDraw() {
-				confirmCode(this.scanCode, this.value).then(res => {
-					if (res.code === 0) {
-						getScanData(this.scanCode).then(res => {
-							if (res.code === 0) {
-								// 获取当前页面路径
-								const pages = getCurrentPages();
-								const currentPage = pages[pages.length - 1];
-								const route = currentPage.route;
-								const dirPath = route.substring(0, route.lastIndexOf('/'));
-								let url = '/' + dirPath + '/index';
-								uni.setStorageSync('scanDetail', res.data);
-								uni.redirectTo({
-									url: url
-								})
-							}else {
-                let params = {
-                  type: "error",
-                  title: "失败",
-                  message: res.msg,
-                  iconUrl: "https://uviewui.com/demo/toast/error.png",
-                }
-                this.$refs.uToast.show({
-                  ...params
-                });
-              }
-						})
-					} else {
-						let params = {
-							type: "error",
-							title: "失败",
-							message: res.msg,
-							iconUrl: "https://uviewui.com/demo/toast/error.png",
-						}
-						this.$refs.uToast.show({
-							...params
-						});
-					}
-				});
-			}
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_cjx.css');
-
-	.row-class {
-		height: 60rpx;
-	}
-
-
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.title-1 {
-		text-align: center;
-		color: #A7001C;
-		font-size: 18px;
-		letter-spacing: 4px;
-		font-weight: 600;
-	}
-
-	.winning-picture {
-		height: 460rpx;
-		background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
-		background-size: contain;
-		background-position: center;
-		background-repeat: no-repeat;
-		display: flex;
-		justify-content: center;
-		/* 水平居中 */
-		// align-items: center;     /* 垂直居中 */
-	}
-
-	.detail {
-		margin: 20rpx 40rpx;
-		border-radius: 10rpx;
-		padding: 10rpx;
-		margin-top: 30vh;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-		height: 20vh;
-	}
-
-	.text-detail {
-		margin-top: 20rpx;
-		margin-bottom: 10rpx;
-		padding: 0px 10px;
-		font-weight: 500;
-		font-size: 26rpx;
-		color: #FFFFFF;
-	}
-
-	.text-one {
-		font-weight: 400;
-		font-size: 26rpx;
-		color: #FF31C2;
-		margin-bottom: 10rpx;
-
-	}
-
-	.detail-btn {
-		text-align: center;
-		color: #F9D395;
-		height: 60rpx;
-		line-height: 60rpx;
-		margin-right: 20rpx;
-		font-size: 13px;
-		background-color: #901710;
-		padding: 3px;
-		border-radius: 5px;
-
-	}
-
-	.center-image {
-		height: 280rpx;
-		object-fit: contain;
-		/* 保持图片的宽高比,确保不会被拉伸或裁切 */
-	}
-
-	::v-deep .detail-btn span {
-		background-color: #8E1813;
-		padding: 4rpx;
-		border-radius: 8rpx;
-		font-weight: 400;
-		font-size: 26rpx;
-	}
-
-	.hint {
-		font-weight: 500;
-		font-size: 24rpx;
-		color: #FF31C2;
-		text-align: center;
-	}
-
-	.custom-style {
-		height: 74rpx;
-	}
-</style>

+ 0 - 174
pages/cjx/index/claim.vue

@@ -1,174 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			超吉炫
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="commodity-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					 <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png"  />
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="topImg">
-			 <image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png" mode="heightFix" />
-		</view>
-		<view class="topImg">
-			 <image class="img_2" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg_2.png" mode="heightFix" />
-		</view>
-		<view class="content">
-			<view class="title-1">
-        <view class="content_imgView">
-          <image style="height: 276rpx" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/tongjichanpin.png"
-                 mode="heightFix" />
-        </view>
-			</view>
-
-			<view class="detail">
-				<view class="text-detail">
-          您所查询的是超吉炫新型低纤槟榔胶果,是正牌产品,感谢您的购买!
-				</view>
-				<view class="text-one">
-					此二维码已参与过活动!
-				</view>
-				<view class="text-one">
-					首次扫码者: {{scanUserData.openid}}
-				</view>
-				<view class="text-one">
-					首次扫码时间: {{scanUserData.scan_time}}
-				</view>
-				<view class="text-one" style="color: red; font-weight: 600;font-size: 36rpx;">
-					获得奖励: {{prizeJson.prize_type == 0 ? '谢谢惠顾' : prizeJson.prize_type == 1 ? prizeJson.money/100 + '元现金红包' : prizeJson.prize_type == 4 ? "积分奖励":"加"+prizeJson.price+"元,"+prizeJson.title+""+prizeJson.prize_name  }}
-				</view>
-			</view>
-		</view>
-		<CustomTabbar />
-
-	</view>
-</template>
-
-<script>
-	import CustomTabbar from '@/components/tabbar_common.vue';
-	export default {
-		components: {
-			CustomTabbar
-		},
-		data() {
-			return {
-				scanUserData:{},
-				prizeJson:{}
-			}
-		},
-		onLoad() {
-		  let scanDetail = uni.getStorageSync('scanDetail');
-		  this.scanUserData = scanDetail.result.scanInfo;
-		  this.prizeJson = scanDetail.prizeJson;
-		  console.log(scanDetail);
-
-		},
-		methods: {
-			goBack() {
-				uni.navigateBack();
-			},
-			openDetail(){
-				uni.navigateTo({
-					url: '/pages/cjx/index/rules'
-				});
-			}
-
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_cjx.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-	.title-1{
-		text-align: center;
-		color: #A7001C;
-		font-size: 18px;
-		letter-spacing: 4px;
-		font-weight: 600;
-	}
-
-    .winning-picture{
-		height: 460rpx;
-		background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
-		background-size: contain;
-		background-position: center;
-		background-repeat: no-repeat;
-		display: flex;
-		justify-content: center; /* 水平居中 */
-		// align-items: center;     /* 垂直居中 */
-	}
-	.detail{
-		margin: 20rpx 40rpx;
-		border-radius: 10rpx;
-		padding: 10rpx;
-		margin-top: 10vh;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-	}
-	.text-detail{
-		font-weight: 600;
-		font-size: 30rpx;
-		color: #F6F6F9;
-		margin-bottom: 10rpx;
-	}
-
-	.text-one{
-		font-weight: 400;
-		font-size: 28rpx;
-		color: #FF31C2 ;
-		margin-bottom: 10rpx;
-
-	}
-	.detail-btn{
-		text-align: center;
-	    color: #F9D395;
-	    height: 60rpx;
-	    line-height: 60rpx;
-	    margin-right: 20rpx;
-	    font-size: 13px;
-	    background-color: #901710;
-	    padding: 3px;
-	    border-radius: 5px;
-
-	}
-	.center-image {
-		height: 280rpx;
-	    object-fit: contain;     /* 保持图片的宽高比,确保不会被拉伸或裁切 */
-	}
-	::v-deep .detail-btn span {
-	    background-color: #8E1813;
-	    padding: 4rpx;
-	    border-radius: 8rpx;
-	    font-weight: 400;
-	    font-size: 26rpx;
-	}
-</style>

+ 0 - 859
pages/cjx/index/index.vue

@@ -1,859 +0,0 @@
-<template>
-	<view class="common">
-		<view class="body">
-			<view class="top-class"></view>
-			<view class="title">
-				超吉炫
-			</view>
-			<view class="head">
-				<u-row class="row-class">
-					<u-col span="4">
-						<image class="logo-img"
-							src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png"
-							mode="aspectFit" />
-					</u-col>
-					<u-col span="4">
-						<image class="commodity-img"
-							src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png"
-							mode="aspectFit" />
-					</u-col>
-					<u-col span="4">
-						<image class="logo-rules"
-							src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png"
-							@click="openDetail" />
-					</u-col>
-				</u-row>
-			</view>
-			<view class="topImg">
-				<image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png"
-					mode="heightFix" />
-			</view>
-			<view class="topImg">
-				<image class="img_2" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg_2.png"
-					mode="heightFix" />
-			</view>
-			<view class="content">
-				<view class="chouka" style="width: 100%;">
-					<view class="cardTop">
-
-					</view>
-
-					<template>
-						<!-- 卡片区 -->
-						<view class="cards">
-							<view class="card" v-for="(item, idx) in cards" :key="idx" @click="flipCard(idx)"
-								:class="{ 'flipping': item.isFlipping, 'flipped': item.flipped }">
-								<view v-if="item.checkStauts" class="select-tag">
-									已选
-								</view>
-								<view class="card-inner">
-									<view class="card-front">
-										<image class="card-img" :src="item.front" mode="scaleToFill"></image>
-									</view>
-									<view class="card-back">
-										<image class="card-img" :src="item.back" mode="scaleToFill"></image>
-										<view class="card-back-text">
-											<view v-show="item.prizeType == 0" class="card-text-1">很遗憾</view>
-											<view v-show="item.prizeType == 0" class="card-img-item">
-												<image style="height:100rpx"
-													src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/regret.png"
-													mode="heightFix"></image>
-											</view>
-											<view v-show="item.prizeType == 0" class="card-text-2">下次继续</view>
-
-											<view v-show="item.prizeType == 1" class="card-text-1">现金红包</view>
-											<view v-show="item.prizeType == 1" class="card-money">¥{{item.money/100}}
-											</view>
-											<view v-show="item.prizeType == 1" class="card-text-2">已存入您的<br />微信零钱
-											</view>
-
-											<view v-show="item.prizeType == 2" class="card-text-1">凭外袋,加{{item.price}}元换购</view>
-											<view v-show="item.prizeType == 2" class="card-img-item">
-												<image style="height:100rpx" :src="item.img" mode="heightFix"></image>
-											</view>
-										
-
-											<view v-show="item.prizeType == 4" class="card-text-1">谢谢惠顾</view>
-											<view v-show="item.prizeType == 4" class="card-point">积分+{{item.point}}</view>
-											<view v-show="item.prizeType == 4" class="card-text-2">积分已累计</view>
-										</view>
-									</view>
-								</view>
-							</view>
-						</view>
-					</template>
-
-				</view>
-				<u-popup :show="showWin" :round="10" mode="center" @close="close" @open="open" :closeable='true'>
-					<view class="popup-flex">
-						<view class="popup-content-scroll">
-							<view class="popup-title" v-if="prizeJson.prizeType == 4 || prizeJson.prize_type == 4">
-								谢谢惠顾</view>
-							<view class="popup-title" v-else>恭喜您,中奖啦</view>
-							<view class="card-logo-popup">
-								<image class="card_logo"
-									src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo_2.png"
-									mode="heightFix" />
-							</view>
-							<view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1" class="popup_text1">
-								现金红包</view>
-							<view v-show="prizeJson.prizeType == 2 || prizeJson.prize_type == 2" class="popup_text1">
-								<view>凭外袋,加{{prizeJson.price}}元换购</view>
-								{{prizeJson.prize_name}}一包</view>
-							<view v-show="prizeJson.prizeType == 4 || prizeJson.prize_type == 4" class="popup_text1">
-								活动积分奖励</view>
-							<view class="center">
-								<image v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1" class="popup_img"
-									src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/money.png"
-									mode="heightFix" />
-								<image v-show="prizeJson.prizeType == 2 || prizeJson.prize_type == 2" class="popup_img"
-									:src="prizeJson.img" mode="heightFix" />
-							</view>
-							<view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1"
-								class="center pupup_textMoney">
-								¥{{prizeJson.money/100}}</view>
-							<view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1"
-								class="center pupup_text2">
-								已存入您的微信零钱!</view>
-							<view v-show="prizeJson.prizeType == 2 || prizeJson.prize_type == 2"
-								class="center pupup_text3">
-								请凭包装袋到购买门店兑换!</view>
-							<view v-show="prizeJson.prizeType == 4 || prizeJson.prize_type == 4">
-								积分
-								<view class="center jf_text">+ {{prizeJson.point}}</view>
-								<view class="center">
-									<image class="card_jf" @click="goShop"
-										src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/shop.png"
-										mode="heightFix" />
-								</view>
-								<view class="center pupup_text3">
-									所获积分可前往积分商城兑换商品
-								</view>
-
-							</view>
-						</view>
-
-
-					</view>
-				</u-popup>
-
-				<u-popup :show="showUnWin" :round="10" mode="center" @close="close" @open="open" closeable="true">
-					<view class="popup-flex">
-						<view class="popup-content-scroll">
-							<!-- 这里放原来的内容部分(除返回按钮) -->
-							<view class="popup-title">很遗憾,未中奖</view>
-							<view class="card-logo-popup">
-								<image class="card_logo"
-									src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo_2.png"
-									mode="heightFix" />
-							</view>
-							<view class="popup_text1"></view>
-							<view class="center">
-								<image class="popup_img"
-									src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/regret.png"
-									mode="heightFix" />
-							</view>
-
-							<view class="center pupup_text3">本次抽卡未中奖,下次继续!</view>
-						</view>
-
-					</view>
-				</u-popup>
-			</view>
-		</view>
-
-		<CustomTabbar />
-	</view>
-</template>
-
-<script>
-	import CustomTabbar from '@/components/tabbar_common.vue';
-	import {
-		addWinDetail,
-		saveCardData
-	} from '@/api/scan'
-	export default {
-		components: {
-			CustomTabbar
-		},
-		data() {
-			return {
-
-				rules: {
-					'userInfo.name': {
-						type: 'string',
-						required: true,
-						message: '请填写姓名',
-						trigger: ['blur', 'change']
-					},
-					'userInfo.tel': {
-						type: 'string',
-						required: true,
-						message: '请填写手机号',
-						trigger: ['blur', 'change']
-					},
-				},
-				model1: {
-					userInfo: {
-						name: '',
-						tel: '',
-						qrcodeId: ''
-					},
-				},
-				showUnWin: false,
-				showWin: false,
-
-				cards: [{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/one.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/two.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/three.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/four.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/five.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/six.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-
-					}
-				],
-				totalDetail: '',
-				prizeJson: {},
-				saveData: {},
-				scanCode: '',
-				saveStatus: true,
-				fankaStatu: false,
-			}
-		},
-		onLoad() {
-			let scanDetail = uni.getStorageSync('scanDetail');
-			this.scanCode = uni.getStorageSync('scanCode');
-			this.model1.userInfo.qrcodeId = this.scanCode;
-
-			this.prizeJson = scanDetail.prizeJson;
-			console.log("----------------------------");
-			console.log(this.prizeJson);
-			let planDetail = JSON.parse(scanDetail.planDetail);
-			while (planDetail.length < 5) {
-				planDetail.push({
-					'prizeType': 0,
-					'money': 0
-				})
-			}
-			this.totalDetail = planDetail;
-			console.log(planDetail);
-			if (scanDetail.result.click) {
-				this.initCardData(scanDetail.clickJson);
-			}
-		},
-		methods: {
-			goShop() {
-				uni.navigateTo({
-					url: '/pages/cjx/shop/shop?type=0'
-				});
-			},
-			openDetail() {
-				uni.navigateTo({
-					url: '/pages/cjx/index/rules'
-				});
-			},
-			initCardData(clickJson) {
-				let list = JSON.parse(clickJson);
-				for (let i = 0; i < this.cards.length; i++) {
-					if (i == list.index) {
-						this.cards[i].checkStauts = true
-					}
-					this.cards[i].img = list['card' + i].img;
-					this.cards[i].price = list['card' + i].price;
-					this.cards[i].flipped = true;
-					this.cards[i].prizeType = list['card' + i].prize_type == undefined ? list['card' + i].prizeType : list[
-						'card' + i].prize_type;
-					this.cards[i].money = list['card' + i].money;
-					this.cards[i].prizeName = list['card' + i].prizeName == undefined ? list['card' + i].prize_name : list[
-						'card' + i].prizeName;
-					this.cards[i].point = list['card' + i].point;
-				}
-				this.$forceUpdate();
-
-			},
-			addWinDetail() {
-				let that = this;
-				this.$refs.uForm.validate().then(res => {
-					addWinDetail(that.model1.userInfo).then(data => {
-						this.showWin = false;
-						if (data.code == 0) {
-							that.saveStatus = false;
-							// uni.redirectTo({
-							// 	url: '/pages/lgz/index/claim' // 目标页面路径
-							// })
-							let params = {
-								type: "success",
-								title: "成功主题(带图标)",
-								message: "提交成功",
-								iconUrl: "https://uviewui.com/demo/toast/success.png",
-							}
-							that.$refs.uToast.show({
-								...params
-							});
-						} else {
-
-						}
-					})
-				}).catch(errors => {
-
-				})
-			},
-			open() {
-				// console.log('open');
-			},
-			close() {
-				this.showUnWin = false;
-				this.showWin = false
-			},
-			flipCard(idx) {
-				if (this.fankaStatu) {
-					return;
-				}
-				if (this.cards[idx].flipped) {
-					return;
-				}
-				this.fankaStatu = true;
-				setTimeout(() => {
-
-					if (this.prizeJson.prizeType == 0 || this.prizeJson.prize_type == 0) {
-						this.showUnWin = true;
-					}
-
-					if ((this.prizeJson.prizeType == 1 || this.prizeJson.prize_type == 1 ||
-							this.prizeJson.prizeType == 2 || this.prizeJson.prize_type == 2 ||
-							this.prizeJson.prizeType == 4 || this.prizeJson.prize_type == 4) &&
-						this.saveStatus) {
-						this.showWin = true;
-					}
-				}, 2500); //弹框延迟3.5秒后显示弹框
-
-				// 标记被点击的卡牌正在翻转
-				this.cards[idx].isFlipping = true;
-				this.cards[idx].checkStauts = true;
-
-				let that = this;
-				// 延迟翻转其他卡牌
-				setTimeout(() => {
-					that.cards[idx].flipped = true;
-					that.cards[idx].isFlipping = false;
-
-					// 其他未翻转的卡牌延迟2秒后同时翻转
-					setTimeout(() => {
-						that.cards.forEach((card, index) => {
-							if (index !== idx && !card.flipped) {
-								card.isFlipping = true;
-								that.$forceUpdate();
-							}
-						});
-
-						// 所有其他卡牌同时翻转
-						setTimeout(() => {
-							that.cards.forEach((card, index) => {
-								if (index !== idx && !card.flipped) {
-									card.flipped = true;
-									card.isFlipping = false;
-									that.$forceUpdate();
-								}
-							});
-						}, 300); // 与其他卡牌翻转动画保持一致
-					}, 1000); // 延迟2秒翻转其他卡牌
-
-
-					// 处理数据逻辑
-					that.totalDetail.splice(idx, 0, this.prizeJson);
-					that.saveData.index = idx;
-// 修改这段代码,添加数组长度检查
-          for (let i = 0; i < that.totalDetail.length; i++) {
-            // 确保 cards 数组在索引 i 处有元素
-            if (that.cards[i]) {
-              that.saveData['card' + i] = that.totalDetail[i];
-
-              that.cards[i].prizeType = that.totalDetail[i].prize_type == undefined ?
-                  that.totalDetail[i].prizeType :
-                  that.totalDetail[i].prize_type;
-              that.cards[i].img = that.totalDetail[i].img;
-              that.cards[i].price = that.totalDetail[i].price;
-              that.cards[i].money = that.totalDetail[i].money;
-              that.cards[i].point = that.totalDetail[i].point;
-              that.cards[i].prizeName = that.totalDetail[i].prizeName == undefined ?
-                  that.totalDetail[i].prize_name :
-                  that.totalDetail[i].prizeName;
-            }
-          }
-
-					that.saveAllCardData();
-				}, 100);
-			},
-			saveAllCardData() {
-				let jsonStr = JSON.stringify(this.saveData);
-				saveCardData(this.scanCode, jsonStr).then(res => {
-					console.log(res)
-				})
-			},
-
-		}
-	}
-</script>
-
-<style>
-	@import url('../../../static/scss/common_cjx.css');
-
-	.text {
-		height: 10vh;
-		text-align: center;
-		line-height: 13vh;
-		margin-bottom: 10rpx;
-	}
-
-	.textImage {
-		height: 80rpx;
-		width: 400rpx;
-	}
-
-	.content {
-		height: 50vh;
-		border-radius: 10rpx;
-		margin: 20rpx 40rpx;
-		padding: 10rpx 24rpx;
-		overflow: auto;
-		display: flex;
-		align-items: center;
-		justify-content: center;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-	}
-
-	.text-1 {
-		text-align: center;
-		font-size: 24rpx;
-		font-weight: 600;
-		color: white;
-		background-color: #9A1712;
-		width: 160rpx;
-		border-radius: 4rpx;
-		height: 40rpx;
-		line-height: 40rpx;
-	}
-
-	.text-2 {
-		text-align: center;
-		font-size: 24rpx;
-		font-weight: 600;
-		color: #F9D395;
-		background-color: #9A1712;
-		width: 120rpx;
-		border-radius: 4rpx;
-		height: 40rpx;
-		line-height: 40rpx;
-		margin-left: 80rpx;
-	}
-
-	.cards {
-		display: grid;
-		grid-template-columns: repeat(3, 1fr);
-		gap: 30rpx;
-		width: 100%;
-	}
-
-	.card {
-		width: 100%;
-		height: 250rpx;
-		position: relative;
-		background: none;
-		border-radius: 16rpx;
-		margin: 0;
-		perspective: 1000px;
-	}
-
-	.card-inner {
-		position: relative;
-		width: 100%;
-		height: 100%;
-		transition: transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1);
-		transform-style: preserve-3d;
-	}
-
-	.card.flipping .card-inner {
-		transform: rotateY(180deg);
-	}
-
-	.card.flipped .card-inner {
-		transform: rotateY(180deg);
-	}
-
-	.card-front,
-	.card-back {
-		position: absolute;
-		width: 100%;
-		height: 100%;
-		backface-visibility: hidden;
-	}
-
-	.card-back {
-		transform: rotateY(180deg);
-	}
-
-	.card-back-text {
-		position: absolute;
-		top: 50%;
-		left: 0;
-		width: 100%;
-		text-align: center;
-		color: #ffffff;
-		font-weight: bold;
-		font-size: 28rpx;
-		transform: translateY(-50%);
-		z-index: 2;
-		pointer-events: none;
-	}
-
-
-	.card-img {
-		width: 100%;
-		height: 100%;
-		display: block;
-	}
-
-
-	::v-deep .content .u-popup__content {
-		height: 500rpx;
-		width: 500rpx;
-		background-color: rgba(0, 0, 0, 0) !important;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/card_img_2.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-	}
-
-	::v-deep .u-popup__content__close--top-right {
-		top: 510rpx !important;
-		right: 245rpx !important;
-		color: #ffffff;
-	}
-
-	.winImgClss {
-		height: 60rpx;
-		width: 320rpx;
-	}
-
-	.popup-view {
-		text-align: center;
-		margin-top: 100rpx;
-	}
-
-	.popup-content {
-		margin: 15px 54px;
-		overflow: auto;
-	}
-
-	.popup-text {
-		font-weight: 400;
-		font-size: 20rpx;
-		color: #9B0000;
-	}
-
-	.prize {
-		height: 130rpx;
-		width: 130rpx;
-	}
-
-	::v-deep .u-form-item__body {
-		padding: 8rpx;
-	}
-
-	::v-deep uni-view.u-form-item__body__left {
-		background: #AD7F55;
-		border-radius: 5px 0px 0px 5px;
-		border: 2px solid #63462B;
-		border-right: none;
-	}
-
-	::v-deep .u-form-item__body__right {
-		background-color: #fff;
-		border-radius: 0px 5px 5px 0px;
-		border: 2px solid #63462B;
-	}
-
-	::v-deep uni-text.u-form-item__body__left__content__label {
-		color: #fff !important;
-		padding-left: 4px;
-		letter-spacing: 2px;
-	}
-
-	.popup-flex {
-		display: flex;
-		flex-direction: column;
-		height: 100%;
-
-	}
-
-	.popup-content-scroll {
-		flex: 1;
-	}
-
-	.popup-footer {
-		flex-shrink: 0;
-		padding: 0rpx 0 60rpx 0px;
-		text-align: center;
-		background: transparent;
-		/* 可选,确保无背景遮挡 */
-	}
-
-	.save-button {
-		width: 90rpx;
-		margin: 0 auto;
-		background: #b22222;
-		color: #F9D395;
-		border-radius: 12rpx;
-		padding: 18rpx 0;
-		font-size: 24rpx;
-		font-weight: bold;
-		height: 16rpx;
-		line-height: 16rpx;
-		letter-spacing: 4rpx;
-	}
-
-
-	::v-deep .u-swiper {
-		background-color: rgba(0, 0, 0, 0) !important;
-		padding: 0px 20rpx !important;
-		width: 90%;
-	}
-
-	::v-deep .u-col-4 {
-		display: flex !important;
-		justify-content: center !important;
-		/* 水平居中 */
-		align-items: center !important;
-		/* 垂直居中 */
-	}
-
-	::v-deep .right-col .u-col-4 {
-		display: flex !important;
-		justify-content: flex-end !important;
-		/* 水平居中 */
-		align-items: center !important;
-		/* 垂直居中 */
-	}
-
-	.card-img-f {
-		height: 100rpx;
-		width: 100rpx;
-	}
-
-	.card-text {
-		font-size: 26rpx;
-	}
-
-	.select-tag {
-		position: absolute;
-		right: 0px;
-
-		font-weight: 400;
-		font-size: 20rpx;
-		color: #FFFFFF;
-		width: 40px;
-		text-align: center;
-		background-color: #11BC64;
-		height: 15px;
-		border-radius: 3px;
-		line-height: 15px;
-		z-index: 5;
-	}
-
-	.cardTop {
-		margin-bottom: 20rpx;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/title_bgi.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-		height: 80rpx;
-		margin-top: 20rpx;
-	}
-
-	.card-img-item {
-		height: 100rpx;
-		display: flex;
-		justify-content: center;
-	}
-
-	.card-money {
-		font-weight: 500;
-		font-size: 36rpx;
-		color: #FF31C2;
-	}
-
-	.card-point {
-		font-weight: 500;
-		font-size: 36rpx;
-		color: yellow;
-	}
-
-	.card-text-1 {
-		font-weight: 500;
-		font-size: 30rpx;
-		color: #FFFFFF;
-	}
-
-	.card-text-2 {
-		font-weight: 500;
-		font-size: 22rpx;
-		color: #FFFFFF;
-	}
-
-	.popup-title {
-		width: 320rpx;
-		height: 60rpx;
-		background: linear-gradient(45deg, #A767DF, #E7CFFF, #6B51D5, #F6ECFC);
-		border-radius: 30rpx;
-		text-align: center;
-		margin-top: -20px;
-		margin-left: 96rpx;
-		line-height: 60rpx;
-		font-weight: bold;
-		font-size: 36rpx;
-		color: #000000;
-	}
-
-	.card_logo {
-		height: 80rpx;
-	}
-
-	.card_jf {
-		height: 120rpx;
-	}
-
-	.jf_text {
-		font-weight: bold;
-		font-size: 50rpx;
-		color: #E22ADD;
-		margin: 20rpx 0px;
-	}
-
-	.card-logo-popup {
-		display: flex;
-		justify-content: flex-end;
-	}
-
-	.popup_text1 {
-		font-weight: bold;
-		font-size: 36rpx;
-		color: #F6F6F9;
-		text-align: center;
-		margin-top: -40rpx;
-	}
-
-	.center {
-		display: flex;
-		justify-content: center;
-	}
-
-	.popup_img {
-		height: 200rpx;
-		margin-top: 20rpx;
-	}
-
-	.pupup_text2 {
-		font-weight: bold;
-		font-size: 30rpx;
-		color: #F6F6F9;
-		margin-top: 150rpx;
-
-	}
-
-	.pupup_text3 {
-		font-weight: bold;
-		font-size: 30rpx;
-		color: #F6F6F9;
-		margin-top: 20rpx;
-	}
-
-	.pupup_textMoney {
-		font-weight: 500;
-		font-size: 46rpx;
-		color: #FF6B6B;
-		margin-top: -170rpx;
-	}
-</style>

+ 0 - 456
pages/cjx/index/rules.vue

@@ -1,456 +0,0 @@
-<template>
-	<view class="common">
-		<view class="body">
-			<view class="top-class"></view>
-			<view class="title">
-				活动规则
-			</view>
-			<view class="head">
-				<u-row class="row-class">
-					<u-col span="4">
-						<image class="logo-img"
-							src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png"
-							mode="aspectFit" />
-					</u-col>
-					<u-col span="4">
-						<image class="commodity-img"
-							src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png"
-							mode="aspectFit" />
-					</u-col>
-					<u-col span="4">
-						<image class="logo-rules"
-							src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png" @click="openDetail" />
-					</u-col>
-				</u-row>
-			</view>
-			<view class="topImg">
-				<image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png"
-					mode="heightFix" />
-			</view>
-
-			<view class="content">
-
-				<view class="cardTop">
-
-				</view>
-				<view class="content_text">
-					<view class="h1">
-						.活动规则
-					</view>
-					<view class="text_1">
-						凡购买我司产品,扫描外包装背后二维码,即有机会参与优惠活动,赢取优惠或实物礼品。
-					</view>
-					<view class="h1">
-						.扫码有效时间
-					</view>
-					<view class="text_1">
-						本产品生产日期开始有效期内可以扫码参与优惠活动。
-					</view>
-					<view class="h1">
-						.扫码次数
-					</view>
-					<view class="text_1">
-						每个微信号,单日扫码活动以5次为限。
-					</view>
-					<view class="h1">
-						.活动参与方式
-					</view>
-					<view class="text_1">
-						1.通过手机扫描外包装背面二维码,进入优惠界面。
-					</view>
-					<view class="text_1">
-						2.撕开包装,输入内侧验证码参与优惠活动。
-					</view>
-					<view class="h1">
-						.活动奖品
-					</view>
-					<u-row   class="row-class" customStyle="margin-bottom: 5px" v-for="(item, index) in planDetails">
-						<u-col span="12" textAlign ="left" >
-							<view class=" item-text">{{item.prize_name}}</view>
-						</u-col>
-					</u-row>
-
-				</view>
-				<view class="return_view">
-					<view class="return-button" @click="goBack">返回</view>
-				</view>
-
-			</view>
-		</view>
-
-	</view>
-</template>
-
-<script>
-
-	import {
-		getRule
-	} from '@/api/scan'
-	export default {
-
-		data() {
-			return {
-				scanCode: '',
-				planDetails: []
-			}
-		},
-		onLoad() {
-			this.scanCode = uni.getStorageSync('scanCode');
-			this.initRuleData();
-
-		},
-		methods: {
-			openDetail(){
-				uni.navigateTo({
-					url: '/pages/cjx/index/rules'
-				});
-			},
-			goBack() {
-				uni.navigateBack();
-			},
-			initRuleData() {
-				getRule(this.scanCode).then(res => {
-					console.log(res)
-					if (res.code == 0) {
-						this.planDetails = res.data.planDetails;
-					}
-				})
-			}
-
-		}
-	}
-</script>
-
-<style>
-	@import url('../../../static/scss/common_cjx.css');
-
-	.cardTop{
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/hdgz.png");
-	}
-	.row-class {
-		height: 80rpx;
-	}
-
-	.logo-rules {
-		height: 124rpx;
-		width: 80rpx;
-		margin-left: 110rpx;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 100rpx;
-		width: 62%;
-		margin-right: 80rpx;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 72rpx;
-		width: 100%;
-	}
-	.item-text{
-		font-weight: 500;
-		font-size: 30rpx;
-		color: #FFFFFF;
-	}
-	.item-text-1{
-		font-weight: 500;
-		font-size: 30rpx;
-		color: #D9B96D;
-	}
-	.text {
-		height: 10vh;
-		text-align: center;
-		line-height: 13vh;
-		margin-bottom: 10rpx;
-	}
-
-	.textImage {
-		height: 80rpx;
-		width: 400rpx;
-	}
-
-	.content {
-		height: 60vh;
-		border-radius: 10rpx;
-		margin: 0rpx 40rpx;
-		padding: 10rpx 24rpx;
-		overflow: auto;
-		align-items: center;
-		justify-content: center;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-
-	}
-
-	.text-1 {
-		text-align: center;
-		font-size: 24rpx;
-		font-weight: 600;
-		color: white;
-		background-color: #9A1712;
-		width: 160rpx;
-		border-radius: 4rpx;
-		height: 40rpx;
-		line-height: 40rpx;
-	}
-
-	.text-2 {
-		text-align: center;
-		font-size: 24rpx;
-		font-weight: 600;
-		color: #F9D395;
-		background-color: #9A1712;
-		width: 120rpx;
-		border-radius: 4rpx;
-		height: 40rpx;
-		line-height: 40rpx;
-		margin-left: 80rpx;
-	}
-
-	.cards {
-		display: grid;
-		grid-template-columns: repeat(3, 1fr);
-		gap: 30rpx;
-		width: 100%;
-	}
-
-	.card {
-		width: 100%;
-		height: 250rpx;
-		position: relative;
-		background: none;
-		border-radius: 16rpx;
-		margin: 0;
-		perspective: 1000px;
-	}
-
-	.card-inner {
-		position: relative;
-		width: 100%;
-		height: 100%;
-		transition: transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1);
-		transform-style: preserve-3d;
-	}
-
-	.card.flipping .card-inner {
-		transform: rotateY(180deg);
-	}
-
-	.card.flipped .card-inner {
-		transform: rotateY(180deg);
-	}
-
-	.card-front,
-	.card-back {
-		position: absolute;
-		width: 100%;
-		height: 100%;
-		backface-visibility: hidden;
-	}
-
-	.card-back {
-		transform: rotateY(180deg);
-	}
-
-	.card-back-text {
-		position: absolute;
-		top: 50%;
-		left: 0;
-		width: 100%;
-		text-align: center;
-		color: #9A1712;
-		font-weight: bold;
-		font-size: 28rpx;
-		transform: translateY(-50%);
-		z-index: 2;
-		pointer-events: none;
-	}
-
-
-	.card-img {
-		width: 100%;
-		height: 100%;
-		display: block;
-	}
-
-
-	::v-deep .u-popup__content {
-		height: 720rpx;
-		width: 600rpx;
-		background-color: rgba(0, 0, 0, 0) !important;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiPopup.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-	}
-
-	::v-deep .u-popup__content__close--top-right {
-		top: 720rpx !important;
-		right: 288rpx !important;
-	}
-
-	.winImgClss {
-		height: 60rpx;
-		width: 320rpx;
-	}
-
-	.popup-view {
-		text-align: center;
-		margin-top: 100rpx;
-	}
-
-	.popup-content {
-		margin: 15px 54px;
-		overflow: auto;
-	}
-
-	.popup-text {
-		font-weight: 400;
-		font-size: 20rpx;
-		color: #9B0000;
-	}
-
-	.prize {
-		height: 130rpx;
-		width: 130rpx;
-	}
-
-	::v-deep .u-form-item__body {
-		padding: 8rpx;
-	}
-
-	::v-deep uni-view.u-form-item__body__left {
-		background: #AD7F55;
-		border-radius: 5px 0px 0px 5px;
-		border: 2px solid #63462B;
-		border-right: none;
-	}
-
-	::v-deep .u-form-item__body__right {
-		background-color: #fff;
-		border-radius: 0px 5px 5px 0px;
-		border: 2px solid #63462B;
-	}
-
-	::v-deep uni-text.u-form-item__body__left__content__label {
-		color: #fff !important;
-		padding-left: 4px;
-		letter-spacing: 2px;
-	}
-
-	.popup-flex {
-		display: flex;
-		flex-direction: column;
-		height: 100%;
-		/* 或具体高度如340px,确保撑满弹窗 */
-		min-width: 600rpx;
-	}
-
-	.popup-content-scroll {
-		flex: 1;
-	}
-
-	.popup-footer {
-		flex-shrink: 0;
-		padding: 0rpx 0 60rpx 0px;
-		text-align: center;
-		background: transparent;
-		/* 可选,确保无背景遮挡 */
-	}
-
-	.save-button {
-		width: 90rpx;
-		margin: 0 auto;
-		background: #b22222;
-		color: #F9D395;
-		border-radius: 12rpx;
-		padding: 18rpx 0;
-		font-size: 24rpx;
-		font-weight: bold;
-		height: 16rpx;
-		line-height: 16rpx;
-		letter-spacing: 4rpx;
-	}
-
-	.unWin {
-		width: 130rpx !important;
-	}
-
-	.productImg {
-		width: 400rpx;
-	}
-
-	::v-deep .u-swiper {
-		background-color: rgba(0, 0, 0, 0) !important;
-		padding: 0px 20rpx !important;
-		width: 90%;
-	}
-
-	::v-deep .u-col-4 {
-
-	}
-
-	::v-deep .right-col .u-col-4 {
-		display: flex !important;
-		justify-content: flex-end !important;
-		/* 水平居中 */
-		align-items: center !important;
-		/* 垂直居中 */
-	}
-
-	.card-img-f {
-		height: 100rpx;
-		width: 100rpx;
-	}
-
-	.card-text {
-		font-size: 26rpx;
-	}
-
-	.select-tag {
-		position: absolute;
-		right: 0px;
-
-		font-weight: 400;
-		font-size: 20rpx;
-		color: #FFFFFF;
-		width: 40px;
-		text-align: center;
-		background-color: #11BC64;
-		height: 15px;
-		border-radius: 3px;
-		line-height: 15px;
-		z-index: 5;
-	}
-
-	.h1 {
-		font-weight: bold;
-		font-size: 28rpx;
-		color: #E22ADD;
-		margin-bottom: 10rpx;
-	}
-
-	.text_1 {
-		font-weight: 400;
-		font-size: 12px;
-		color: #FFFFFF;
-		margin-bottom: 10rpx;
-	}
-</style>

File diff suppressed because it is too large
+ 0 - 387
pages/cjx/introduction/introduction.vue


+ 0 - 281
pages/cjx/my/my.vue

@@ -1,281 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			个人中心
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png"
-						mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="commodity-img"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png"
-						mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="logo-rules"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png"
-						@click="openDetail" />
-				</u-col>
-			</u-row>
-		</view>
-		<view class="topImg">
-			<image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png"
-				mode="heightFix" />
-		</view>
-
-
-
-		<view class="content">
-			<view class="cardTop">
-
-			</view>
-			<view class="">
-				<u-row customStyle="margin-bottom: 10px">
-					<u-col span="4">
-						<image class="tubiao"
-							:src="image"
-							mode="aspectFit" />
-					</u-col>
-					<u-col span="8">
-						<view class="jf_phone">
-							{{userPhone}}
-						</view>
-						<view class="text-class">
-							我的积分: <span class="point">{{ point }} </span>
-						</view>
-					</u-col>
-
-				</u-row>
-			</view>
-			<view class="content_text">
-				<u-row style="height: 200rpx;">
-					<u-col span="4" textAlign="center" @click="jumpScanLog">
-						<image class="tubiao" src="/static/images/tabbar/cjx/scan.png" mode="aspectFit" />
-						<view class="text-class">
-							扫码记录
-						</view>
-					</u-col>
-					<u-col span="4" textAlign="center" @click="jumpScanAddress">
-						<image class="tubiao"
-							src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/shopIco.png"
-							mode="aspectFit" />
-						<view class="text-class">
-							积分商城
-						</view>
-					</u-col>
-					<u-col span="4">
-
-					</u-col>
-				</u-row>
-			</view>
-			<view class="return_view">
-				<view class="return-button" @click="goBack()">返回</view>
-			</view>
-
-		</view>
-		<!--			<CustomTabbar />-->
-	</view>
-</template>
-
-<script>
-	import CustomTabbar from '@/components/tabbar_common.vue';
-	import {
-		getMiniCustomerUserInfo
-	} from '@/api/scan';
-	export default {
-		components: {
-			CustomTabbar
-		},
-		data() {
-			return {
-				userPhone: '',
-				point: 0,
-				image:''
-			}
-		},
-		onLoad() {
-			this.initUserData();
-		},
-		methods: {
-			initUserData() {
-				let that = this;
-				getMiniCustomerUserInfo().then(res => {
-
-					if (res.code == 0) {
-						that.userPhone = res.data.phone;
-						that.point = res.data.point;
-						that.image = res.data.image;
-						console.log(that.point);
-					}
-				})
-			},
-			goBack() {
-				uni.navigateBack();
-			},
-			jumpScanLog() {
-				uni.navigateTo({
-					url: '/pages/cjx/record/record'
-				});
-			},
-			jumpScanAddress() {
-				uni.navigateTo({
-					url: '/pages/cjx/shop/shop?type=0'
-				});
-			},
-      openDetail() {
-        uni.navigateTo({
-          url: '/pages/cjx/index/rules'
-        });
-      },
-
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_cjx.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-	.cardTop{
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/myCardType.png");
-	}
-	.content_text {
-		height: calc(100% - 370rpx);
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.intro-card {
-		margin: 0 32rpx;
-		padding: 32rpx 24rpx 24rpx 24rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-
-
-		.intro-view {
-			border: 1px solid #341B10;
-			padding: 10px;
-			margin: 10px;
-			position: relative;
-
-
-			.intro-label {
-				background-image:
-					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
-				/* 使用绝对路径 */
-				background-size: contain;
-				background-repeat: no-repeat;
-				width: 220rpx;
-				height: 120rpx;
-				position: absolute;
-				margin-top: -70rpx;
-				align-content: center;
-
-				.label-title {
-					font-weight: bold;
-					font-size: 30rpx;
-					color: #341B10;
-					text-align: center;
-					margin-left: 10px;
-					height: 120rpx;
-					line-height: 110rpx;
-				}
-			}
-
-			.intro-content {
-				font-size: 28rpx;
-				color: #5c4322;
-				line-height: 1.8;
-				margin: 20rpx 0px;
-				text-align: justify;
-				height: 38vh;
-			}
-
-		}
-
-	}
-
-	.textImage {
-		height: 80rpx;
-		width: 400rpx;
-	}
-
-	.content {
-		height: 68vh;
-		border-radius: 10rpx;
-		margin: 0rpx 40rpx;
-		padding: 10rpx 24rpx;
-		overflow: auto;
-		align-items: center;
-		justify-content: center;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-
-	}
-
-	.company-img {
-		width: 160rpx;
-		height: 160rpx;
-		border-radius: 12rpx;
-		object-fit: cover;
-		margin-top: 10rpx;
-		background: #eee;
-		border-radius: 80rpx;
-	}
-
-	.touxiang {
-		height: 120px;
-		align-content: center;
-		justify-content: center;
-		text-align: center;
-	}
-
-	.tubiao {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 120rpx;
-		width: 100%;
-	}
-
-	.text-class {
-		color: #fff;
-	}
-
-	.jf_phone {
-		font-weight: bold;
-		font-size: 30rpx;
-		color: #F5F5F5;
-		color: #fff;
-		margin-bottom: 10rpx;
-	}
-
-	.point {
-		font-weight: bold;
-		font-size: 30rpx;
-		color: #E22ADD;
-	}
-</style>

+ 0 - 262
pages/cjx/record/record.vue

@@ -1,262 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			扫码记录
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png"
-						mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="commodity-img"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png"
-						mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="logo-rules"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png" @click="openDetail" />
-				</u-col>
-			</u-row>
-		</view>
-		<view class="topImg">
-			<image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png"
-				mode="heightFix" />
-		</view>
-		<!-- 公司简介内容卡片 -->
-		<view class="content">
-
-			<view class="cardTop">
-
-			</view>
-			<view class="content_text">
-				<view class="filter-btn-group">
-					<view class="row-text">发放状态:</view>
-					<view v-for="(item, idx) in filterOptions" :key="idx"
-						:class="['filter-btn', filterStatus === item.value ? 'active' : '']"
-						@click="onFilterChange(item.value)">
-						{{ item.label }}
-					</view>
-				</view>
-				<view class="filter-btn-group list-title">
-					<view class="son">
-						奖品名称
-					</view>
-					<view class="son">
-						中奖时间
-					</view>
-					<view class="son">
-						兑换状态
-					</view>
-
-					<view>
-						操作
-					</view>
-				</view>
-				<view class="content-list">
-					<image v-if="list == null || list.length == 0 "
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/noData.png"
-						mode="aspectFit"></image>
-					<template v-for="(item, index) in list">
-						<view class="row-one" :key="index">
-							<view class="filter-btn-group">
-                <view class="son" v-if="item.prize_type === 2">
-                  再来一包
-                </view>
-                <view class="son" v-else-if="item.prize_type === 4">
-                  {{item.prize_detail}}积分
-                </view>
-                <view class="son" v-else>
-                  {{ item.prize_name }}
-                </view>
-								<view class="son">
-									{{ item.zhongjiang_time }}
-								</view>
-								<view class="son">
-									{{ item.duijiang_status }}
-								</view>
-								<view class="detail-btn" @click="toggleDetail(index)">
-									详情
-								</view>
-							</view>
-
-							<!-- 只有当 detailVisible 为 true 时才显示 detail 部分 -->
-							<view class="detail" v-if="item.detailVisible">
-								<view class="text-one">
-									详情:{{item.prize_detail}}
-								</view>
-								<view class="text-two">
-									发放时间:{{ item.send_time != undefined ? item.send_time : '--'  }} <!-- 这里可以填入合适的数据 -->
-								</view>
-							</view>
-						</view>
-					</template>
-
-				</view>
-			</view>
-
-
-			<view class="return_view">
-				<view class="return-button"  @click="goBack">返回</view>
-			</view>
-		</view>
-
-	</view>
-</template>
-
-<script>
-import {
-  scanQuery
-} from '@/api/scan'
-import recordMixin from '@/mixins/recordMixin.js'
-
-export default {
-  mixins: [recordMixin],
-  onLoad() {
-    this.scanCode = uni.getStorageSync('scanCode');
-    // 调用 mixin 中的通用方法
-    this.baseInitGetlist(scanQuery);
-  },
-  methods: {
-    onFilterChange(val) {
-      this.filterStatus = val;
-      this.baseInitGetlist(scanQuery);
-    },
-    initGetlist() {
-      // 调用 mixin 中的通用方法
-      this.baseInitGetlist(scanQuery);
-    },
-    openDetail() {
-      uni.navigateTo({
-        url: '/pages/cjx/index/rules'
-      });
-    },
-  }
-}
-</script>
-
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_cjx.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-	.cardTop{
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/smjl.png");
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.content {
-		height: 68vh;
-		border-radius: 10rpx;
-		margin: 0rpx 20rpx;
-		padding: 10rpx 24rpx;
-		overflow: auto;
-		align-items: center;
-		justify-content: center;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-
-	}
-
-	.filter-btn-group {
-		display: flex;
-		justify-content: flex-start;
-		align-items: center;
-		gap: 24rpx;
-		margin: 10rpx 0 10rpx 0;
-	}
-
-	.filter-btn {
-		padding: 4rpx 20rpx;
-		border: 2rpx solid #fff;
-		color: #fff;
-		font-size: 28rpx;
-		transition: all 0.2s;
-	}
-
-	.filter-btn.active {
-		background: #DE00FF;
-		color: #fff;
-		border: 2rpx solid #DE00FF;
-	}
-
-	.row-text {
-		font-weight: bold;
-		font-size: 14px;
-		color: #FFFFFF;
-	}
-
-	.list-title {
-		font-weight: bold;
-		font-size: 28rpx;
-		color: #FFFFFF;
-	}
-
-	.son {
-		width: 120rpx;
-	}
-
-	.row-one {
-		font-weight: 400;
-		font-size: 28rpx;
-		color: #FFFFFF;
-	}
-
-	.detail {
-		background-image: url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/detailImg.png");
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: inherit;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 134rpx;
-
-		.text-one {
-			height: 70rpx;
-			line-height: 90rpx;
-			text-align: left;
-			margin-left: 20rpx;
-		}
-
-		.text-two {
-			text-align: left;
-			height: 60rpx;
-			line-height: 60rpx;
-			margin-left: 20rpx;
-
-		}
-
-	}
-
-
-
-	.detail-btn {
-		color: #DE00FF;
-	}
-
-	.content-list {
-		overflow: auto;
-		text-align: center;
-		height: calc(100% - 160rpx);
-	}
-</style>

+ 0 - 267
pages/cjx/traceability/traceability.vue

@@ -1,267 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			产品溯源
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png"
-						mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="commodity-img"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png"
-						mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="logo-rules"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png"  @click="openDetail"/>
-				</u-col>
-			</u-row>
-		</view>
-		<view class="topImg">
-			<image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity_1.png"
-				mode="heightFix" />
-		</view>
-		<!-- 公司简介内容卡片 -->
-		<view class="content">
-			<view class="cardTop"></view>
-			<view class="content_text">
-				<view class="content_imgView">
-					<image class="img_2" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/tongjichanpin.png"
-						mode="heightFix" />
-				</view>
-
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">产品名称</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">{{info.productName}}</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">商标名称</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">超吉炫</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">产品类型</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">低纤槟榔胶果(槟榔制品)</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">生产日期</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">见包装喷码区</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">批&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">{{info.pici}}</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">保&nbsp;&nbsp;质&nbsp;&nbsp;期</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">18个月</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">出&nbsp;&nbsp;品&nbsp;&nbsp;商</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">武汉市胜昌经贸有限公司</view>
-					</u-col>
-				</u-row>
-<!-- 				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">销售市场</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">湖南长沙</view>
-					</u-col>
-				</u-row> -->
-<!-- 				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">生产厂址</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">湖南湘潭市湘潭县</view>
-					</u-col>
-				</u-row> -->
-			</view>
-			<view class="return_view">
-				<view class="return-button" @click="goBack">返回</view>
-			</view>
-
-		</view>
-
-	</view>
-</template>
-
-<script>
-import {
-  suyuanData
-} from '@/api/scan'
-import traceabilityMixin from '@/mixins/traceabilityMixin.js'
-
-export default {
-  mixins: [traceabilityMixin],
-  onLoad() {
-    this.scanCode = uni.getStorageSync('scanCode');
-    // 调用 mixin 中的方法
-    this.initData(suyuanData);
-  },
-  methods: {
-    // 不再需要定义 initData 方法,使用 mixin 中的方法
-    openDetail(){
-      uni.navigateTo({
-        url: '/pages/cjx/index/rules'
-      });
-    }
-  }
-}
-</script>
-
-
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_cjx.css');
-
-	.row-class {
-		height: 60rpx;
-	}
-
-	.cardTop{
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cpsy.png");
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.intro-card {
-		margin: 0 32rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-		max-height: 65vh;
-		overflow: auto;
-
-		.intro-view {
-			border: 2rpx solid #341B10;
-			padding: 20rpx;
-			margin: 20rpx;
-			position: relative;
-			margin-top: 30rpx;
-
-			.intro-label {
-				background-image:
-					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
-				/* 使用绝对路径 */
-				background-size: contain;
-				background-repeat: no-repeat;
-				width: 220rpx;
-				height: 120rpx;
-				position: absolute;
-				margin-top: -70rpx;
-				align-content: center;
-				margin-left: -28rpx;
-
-				.label-title {
-					font-weight: bold;
-					font-size: 30rpx;
-					color: #341B10;
-					text-align: center;
-					margin-left: 10px;
-					height: 120rpx;
-					line-height: 110rpx;
-				}
-			}
-
-			.intro-content {
-				font-size: 28rpx;
-				color: #5c4322;
-				line-height: 1.8;
-				margin-top: 20rpx;
-				text-align: justify;
-			}
-
-
-		}
-
-	}
-
-	.image-display {
-		text-align: center;
-
-		.company-img {
-			width: 80%;
-			height: 240rpx;
-			border-radius: 12rpx;
-			object-fit: cover;
-			margin-top: 20rpx;
-			background: #eee;
-		}
-	}
-
-	::v-deep .item-left {
-		border-radius: 6rpx !important;
-		text-align: center;
-		width: 160rpx !important;
-	}
-
-	.item-text {
-		font-weight: 500;
-		font-size: 30rpx;
-		color: #FFFFFF;
-	}
-	.content {
-		height: 69vh;
-		border-radius: 10rpx;
-		margin: 0rpx 40rpx;
-		padding: 10rpx 24rpx;
-		overflow: auto;
-		align-items: center;
-		justify-content: center;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-
-	}
-	.img_2{
-		height: 240rpx;
-	}
-	.content_imgView{
-    margin-bottom: 40rpx;
-		display: flex;
-		justify-content: center;
-	}
-</style>

+ 0 - 318
pages/lgz/address/address.vue

@@ -1,318 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			收货地址
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<!-- <image class="commodity-img" src="/static/images/common/commodity.png" mode="aspectFit" /> -->
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="theme-text">
-			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-				class="textImage"></image>
-		</view>
-
-		<view class="intro-card">
-			<view class="intro-view">
-				<view class="intro-label">
-					<view class="label-title">
-						收货地址
-					</view>
-				</view>
-				<view class="content">
-					<view class="from">
-						<u--form labelPosition="left" :model="model1" :rules="rules" ref="uForm">
-							<u-form-item label="联系电话:" prop="userInfo.phone" ref="item1">
-								<u--input v-model="model1.userInfo.phone" border="none"></u--input>
-							</u-form-item>
-							<u-form-item label="联系人:" prop="userInfo.name" ref="item1">
-								<u--input v-model="model1.userInfo.name" border="none"></u--input>
-							</u-form-item>
-							<u-form-item label="收货地址:" ref="item1">
-								<u--textarea v-model="model1.userInfo.address" border="none"></u--textarea>
-							</u-form-item>
-						</u--form>
-					</view>
-
-				</view>
-
-			</view>
-
-		</view>
-		<u-toast ref="uToast"></u-toast>
-		<!-- 返回按钮 -->
-		<view  class="footer-btn">
-					<view @click="saveData" class="return-button" style="margin-right: 180rpx;">保存</view>
-					<view @click="goBack" class="return-button" >返回</view>
-		</view>
-	</view>
-</template>
-
-<script>
-	import {
-		getMiniAppUserAddress,editMiniAppUserAddress
-	} from '@/api/scan'
-	export default {
-		data() {
-			return {
-				scanCode: '',
-				model1: {
-					userInfo: {
-            phone: '',
-						address: '',
-						name: ''
-					},
-				},
-				rules: {
-					'userInfo.name': {
-						type: 'string',
-						required: true,
-						message: '请填写姓名',
-						trigger: ['blur', 'change']
-					},
-					'userInfo.phone': [{
-							required: true,
-							message: '请输入手机号',
-							trigger: ['change', 'blur'],
-						},
-						{
-							// 自定义验证函数,见上说明
-							validator: (rule, value, callback) => {
-								console.log(value);
-								// 上面有说,返回true表示校验通过,返回false表示不通过
-								// uni.$u.test.mobile()就是返回true或者false的
-								return uni.$u.test.mobile(value);
-							},
-							message: '手机号码不正确',
-							// 触发器可以同时用blur和change
-							trigger: ['change', 'blur'],
-						}
-					],
-
-				},
-			}
-		},
-		onReady() { // 如果需要兼容微信小程序,并且校验规则中含有方法等,只能通过setRules方法设置规则
-			this.$refs.uForm.setRules(this.rules)
-		},
-		onLoad() {
-			this.scanCode = uni.getStorageSync('scanCode');
-			this.getMiniAppUserAddress();
-		},
-		methods: {
-			getMiniAppUserAddress(){
-				getMiniAppUserAddress().then(data => {
-					if (data.code == 0){
-            this.model1.userInfo.name = data.data.contact_name;
-            this.model1.userInfo.phone = data.data.contact_phone;
-            this.model1.userInfo.address = data.data.address;
-          }
-				})
-			},
-			goBack() {
-				uni.navigateBack();
-			},
-			onFilterChange(val) {
-				if (this.filterStatus !== val) {
-					this.filterStatus = val;
-				}
-			},
-			saveData() {
-				let that = this;
-				this.$refs.uForm.validate().then(res => {
-
-          editMiniAppUserAddress(that.model1.userInfo).then(data => {
-						let params = {
-							type: "success",
-							title: "成功主题(带图标)",
-							message: "提交成功",
-							iconUrl: "https://uviewui.com/demo/toast/success.png",
-						}
-						this.$refs.uToast.show({
-							...params
-						});
-					})
-				}).catch(errors => {
-
-				})
-			}
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 62%;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 35rpx;
-		width: 100%;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.intro-card {
-		margin: 0 32rpx;
-		padding: 32rpx 24rpx 24rpx 24rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-
-		.intro-view {
-			border: 1px solid #341B10;
-			padding: 10px;
-			margin-top: 20rpx;
-			position: relative;
-			height: 58vh;
-
-			.intro-label {
-				background-image:
-					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
-				/* 使用绝对路径 */
-				background-size: contain;
-				background-repeat: no-repeat;
-				width: 220rpx;
-				height: 120rpx;
-				position: absolute;
-				margin-top: -70rpx;
-				align-content: center;
-
-				.label-title {
-					font-weight: bold;
-					font-size: 30rpx;
-					color: #341B10;
-					text-align: center;
-					margin-left: 10px;
-					height: 120rpx;
-					line-height: 110rpx;
-				}
-			}
-
-			.intro-content {
-				font-size: 26rpx;
-				color: #5c4322;
-				line-height: 1.8;
-				text-align: justify;
-				margin-top: 20rpx;
-			}
-		}
-	}
-
-  .u-form-item{
-    margin-bottom: 20rpx;
-  }
-
-	::v-deep .u-form-item__body__left {
-		width: 160rpx !important;
-
-
-	}
-
-	::v-deep .u-form-item__body__left__content__label {
-		font-weight: bold;
-		font-size: 26rpx !important;
-		color: #FFFFFF !important;
-	}
-
-	::v-deep .u-form-item__body__right {
-		border: 1px solid #9B0000 !important;
-	}
-
-	::v-deep .u-textarea {
-		background-color: rgba(0, 0, 0, 0) !important;
-	}
-
-	::v-deep .u-form-item__body {
-		display: flex;
-		flex-direction: row;
-		padding: 0 0 !important;
-		padding-top: 10rpx !important;
-	}
-
-	::v-deep .u-form-item__body__right__message {
-		margin-left: 160rpx !important;
-	}
-
-  ::v-deep .row-class-footer .u-row{
-    width: 100vw !important;
-  }
-
-
-	.filter-btn-group {
-		display: flex;
-		justify-content: flex-start;
-		align-items: center;
-		gap: 24rpx;
-		margin: 10rpx 0 10rpx 0;
-	}
-
-	.filter-btn {
-		padding: 4rpx 20rpx;
-		border: 2rpx solid #b22222;
-		color: #b22222;
-		font-size: 28rpx;
-		transition: all 0.2s;
-		margin-left: 10rpx;
-	}
-
-	.filter-btn.active {
-		background: #b22222;
-		color: #fff;
-		border: 2rpx solid #b22222;
-	}
-
-	.row-text {
-		font-weight: bold;
-		font-size: 26rpx;
-		color: #FFFFFF;
-	}
-
-	.content {
-		max-height: 60vh;
-		overflow: auto;
-		margin-top: 20px;
-	}
-
-	.savaBtn {
-		margin-top: 10px;
-		font-weight: 600;
-	}
-</style>

+ 0 - 185
pages/lgz/error.vue

@@ -1,185 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			梅干古镇
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="theme-text">
-			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-				class="textImage"></image>
-		</view>
-		<!-- 公司简介内容卡片 -->
-		<view class="intro-card">
-			<view class="intro-view">
-				<view class="intro-label">
-					<view class="label-title">
-						扫码错误
-					</view>
-				</view>
-				<view class="intro-content">
-					<view class="winning-picture">
-						 <image class="center-image" src="../../static/images/common/qrcode-scan.png" mode="heightFix"></image>
-						 <view class="">
-						 	{{msg}}
-						 </view>	
-					</view>
-				</view>
-				
-			</view>
-
-		</view>
-
-
-	</view>
-</template>
-
-<script>
-
-	export default {
-		data() {
-		  return {
-		    msg: "未知错误"
-		  }
-		},
-		onLoad: function(options) {
-		  if (options.msg){
-		    this.msg = options.msg;
-		  }
-		},
-		methods: {
-			
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../static/scss/common.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 62%;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 35rpx;
-		width: 100%;
-		  
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.intro-card {
-		margin: 0 32rpx;
-		padding: 32rpx 24rpx 24rpx 24rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-
-
-		.intro-view {
-			border: 1px solid #341B10;
-			padding: 10px;
-			margin: 10px;
-			position: relative;
-			
-
-			.intro-label {
-				background-image:
-					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
-				/* 使用绝对路径 */
-				background-size: contain;
-				background-repeat: no-repeat;
-				width: 220rpx;
-				height: 120rpx;
-				position: absolute;
-				margin-top: -70rpx;
-				align-content: center;
-
-				.label-title {
-					font-weight: bold;
-					font-size: 30rpx;
-					color: #341B10;
-					text-align: center;
-					margin-left: 10px;
-					height: 120rpx;
-					line-height: 110rpx;
-				}
-			}
-
-			.intro-content {
-				font-size: 28rpx;
-				color: #5c4322;
-				line-height: 1.8;
-				margin: 20rpx 0px;
-				text-align: justify;
-				height: 50vh;
-				align-content: center;
-			}
-
-			.company-img {
-				width: 100%;
-				height: 260rpx;
-				border-radius: 12rpx;
-				object-fit: cover;
-				margin-top: 10rpx;
-				background: #eee;
-			}
-		}
-
-	}
-	.winning-picture{
-		height: 480rpx;
-		background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
-		background-size: contain;
-		background-position: center;
-		background-repeat: no-repeat;
-		align-content: center;
-		text-align: center;
-	}
-	
-	.center-image {
-		height: 100rpx;
-	    object-fit: contain;     /* 保持图片的宽高比,确保不会被拉伸或裁切 */
-		padding-top: 10rpx;
-	}
-	
-
-</style>

+ 0 - 261
pages/lgz/feedback/feedback.vue

@@ -1,261 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			意见反馈
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<!-- <image class="commodity-img" src="/static/images/common/commodity.png" mode="aspectFit" /> -->
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="theme-text">
-			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-				class="textImage"></image>
-		</view>
-
-		<view class="intro-card">
-			<view class="intro-view">
-				<view class="intro-label">
-					<view class="label-title">
-						意见反馈
-					</view>
-				</view>
-				<view class="content">
-					<view class="intro-content">
-						欢迎光临!各位梅山古镇的顾客朋友们,为了提供更优质的产品和更好的服务给你们,向各位征集对本公司的评价、期望、意见和建议,非常期待你们的反馈。我们将会报以更优质的服务。谢谢您的协助和厚爱。评价,建议一经公司评选和采纳,会有丰厚奖品赠送哦,赶快来参加吧!
-					</view>
-					<view class="from">
-						<view class="filter-btn-group">
-							<view class="row-text">留言类型:</view>
-							<view v-for="(item, idx) in filterOptions" :key="idx"
-								:class="['filter-btn', filterStatus === item.value ? 'active' : '']"
-								@click="onFilterChange(item.value)">
-								{{ item.label }}
-							</view>
-						</view>
-						<u--form labelPosition="left" :model="model1" :rules="rules" ref="uForm">
-							<u-form-item label="留言人姓名:" prop="userInfo.name" ref="item1">
-								<u--input v-model="model1.userInfo.name" border="none"></u--input>
-							</u-form-item>
-
-							<u-form-item label="联系电话:" prop="userInfo.tel" ref="item1">
-								<u--input v-model="model1.userInfo.tel" border="none"></u--input>
-							</u-form-item>
-
-							<u-form-item label="E-mail:" prop="userInfo.mail" ref="item1">
-								<u--input v-model="model1.userInfo.mail" border="none"></u--input>
-							</u-form-item>
-
-							<u-form-item label="留言:" ref="item1">
-								<u--textarea v-model="model1.userInfo.liuyan" border="none"></u--textarea>
-							</u-form-item>
-
-						</u--form>
-					</view>
-
-				</view>
-
-			</view>
-
-		</view>
-		<u-toast ref="uToast"></u-toast>
-		<!-- 返回按钮 -->
-		<view class="footer-btn">
-      <view @click="saveData" class="return-button" style="margin-right: 180rpx;">保存</view>
-			<view @click="goBack" class="return-button">返回</view>
-		</view>
-	</view>
-</template>
-
-<script>
-import {
-  feed
-} from '@/api/scan'
-import feedbackMixin from '@/mixins/feedbackMixin.js'
-
-export default {
-  mixins: [feedbackMixin],
-  methods: {
-    saveData() {
-      // 调用 mixin 中的方法,传入特定的 API 函数
-      this.baseSaveData(feed, (data) => {
-        // 可以在这里添加特定的成功回调处理
-      });
-    },
-    goBack() {
-      this.baseGoBack();
-    },
-    openDetail() {
-      this.baseOpenDetail("lgz");
-    },
-    onFilterChange(val) {
-      this.baseOnFilterChange(val);
-    },
-  }
-}
-</script>
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 62%;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 35rpx;
-		width: 100%;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.intro-card {
-		margin: 0 32rpx;
-		padding: 32rpx 24rpx 24rpx 24rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-
-		.intro-view {
-			border: 1px solid #341B10;
-			padding: 10px;
-			margin-top: 20rpx;
-			position: relative;
-
-			.intro-label {
-				background-image:
-					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
-				/* 使用绝对路径 */
-				background-size: contain;
-				background-repeat: no-repeat;
-				width: 220rpx;
-				height: 120rpx;
-				position: absolute;
-				margin-top: -70rpx;
-				align-content: center;
-
-				.label-title {
-					font-weight: bold;
-					font-size: 30rpx;
-					color: #341B10;
-					text-align: center;
-					margin-left: 10px;
-					height: 120rpx;
-					line-height: 110rpx;
-				}
-			}
-
-			.intro-content {
-				font-size: 26rpx;
-				color: #5c4322;
-				line-height: 1.8;
-				text-align: justify;
-				margin-top: 20rpx;
-			}
-		}
-	}
-
-	::v-deep .u-form-item__body__left {
-		width: 160rpx !important;
-
-
-	}
-
-	::v-deep .u-form-item__body__left__content__label {
-		font-weight: bold;
-		font-size: 26rpx !important;
-		color: #FFFFFF !important;
-	}
-
-	::v-deep .u-form-item__body__right {
-		border: 1px solid #9B0000 !important;
-	}
-
-	::v-deep .u-textarea {
-		background-color: rgba(0, 0, 0, 0) !important;
-	}
-
-	::v-deep .u-form-item__body {
-		display: flex;
-		flex-direction: row;
-		padding: 0 0 !important;
-		padding-top: 10rpx !important;
-	}
-
-	::v-deep .u-form-item__body__right__message {
-		margin-left: 160rpx !important;
-	}
-
-	.filter-btn-group {
-		display: flex;
-		justify-content: flex-start;
-		align-items: center;
-		gap: 24rpx;
-		margin: 10rpx 0 10rpx 0;
-	}
-
-	.filter-btn {
-		padding: 4rpx 20rpx;
-		border: 2rpx solid #b22222;
-		color: #b22222;
-		font-size: 28rpx;
-		transition: all 0.2s;
-		margin-left: 10rpx;
-	}
-
-	.filter-btn.active {
-		background: #b22222;
-		color: #fff;
-		border: 2rpx solid #b22222;
-	}
-
-	.row-text {
-		font-weight: bold;
-		font-size: 26rpx;
-		color: #FFFFFF;
-	}
-
-	.content {
-    max-height: 60vh;
-		overflow: auto;
-	}
-
-	.savaBtn {
-		margin-top: 10px;
-		font-weight: 600;
-	}
-</style>

+ 0 - 188
pages/lgz/index/claim.vue

@@ -1,188 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			梅山古镇
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-				<u-col span="4" textAlign="right">
-					<text class="detail-btn" @click="openDetail()">活动规则</text>
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="theme-text">
-			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-				class="textImage"></image>
-		</view>
-		<view class="content">
-			<view class="title-1">
-
-			</view>
-			<view class="winning-picture">
-				 <image class="center-image" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/commodity/one.png" mode="heightFix"></image>
-			</view>
-			<view class="detail">
-				<view class="text-detail">
-					您所查询的是湖南王爷山食品股份有限公司荣誉出品的豆干制品,是正牌产品,感谢您的购买!
-				</view>
-				<view class="text-one">
-					此二维码已参与过活动!
-				</view>
-				<view class="text-one">
-					首次扫码者: {{scanUserData.openid}}
-				</view>
-				<view class="text-one">
-					首次扫码时间: {{scanUserData.scan_time}}
-				</view>
-				<view class="text-one">
-					获得奖励: {{prizeJson.prize_type == 0 ? '谢谢惠顾' : prizeJson.prize_type == 1 ? prizeJson.money/100 + '元现金红包' :  prizeJson.prize_name  }}
-				</view>
-			</view>
-		</view>
-		<CustomTabbar />
-
-	</view>
-</template>
-
-<script>
-	import CustomTabbar from '@/components/tabbar.vue';
-	export default {
-		components: {
-			CustomTabbar
-		},
-		data() {
-			return {
-				scanUserData:{},
-				prizeJson:{}
-			}
-		},
-		onLoad() {
-		  let scanDetail = uni.getStorageSync('scanDetail');
-		  this.scanUserData = scanDetail.result.scanInfo;
-		  this.prizeJson = scanDetail.prizeJson;
-		  console.log(scanDetail);
-
-		},
-		methods: {
-			goBack() {
-				uni.navigateBack();
-			},
-			openDetail(){
-				uni.navigateTo({
-					url: '/pages/lgz/index/rules'
-				});
-			}
-
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 62%;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 35rpx;
-		width: 100%;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-	.title-1{
-		text-align: center;
-		color: #A7001C;
-		font-size: 18px;
-		letter-spacing: 4px;
-		font-weight: 600;
-	}
-
-    .winning-picture{
-		height: 460rpx;
-		background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
-		background-size: contain;
-		background-position: center;
-		background-repeat: no-repeat;
-		display: flex;
-		justify-content: center; /* 水平居中 */
-		// align-items: center;     /* 垂直居中 */
-	}
-	.detail{
-		margin: 20rpx 40rpx;
-		background: #836447;
-		border-radius: 10rpx;
-		padding: 10rpx;
-	}
-	.text-detail{
-		font-weight: 500;
-		font-size: 28rpx;
-		color: #F6F6F9;
-		margin-bottom: 10rpx;
-	}
-
-	.text-one{
-		font-weight: 400;
-		font-size: 26rpx;
-		color: #A7001C;
-		margin-bottom: 10rpx;
-
-	}
-	.detail-btn{
-		text-align: center;
-	    color: #F9D395;
-	    height: 60rpx;
-	    line-height: 60rpx;
-	    margin-right: 20rpx;
-	    font-size: 13px;
-	    background-color: #901710;
-	    padding: 3px;
-	    border-radius: 5px;
-
-	}
-	.center-image {
-		height: 280rpx;
-	    object-fit: contain;     /* 保持图片的宽高比,确保不会被拉伸或裁切 */
-	}
-	::v-deep .detail-btn span {
-	    background-color: #8E1813;
-	    padding: 4rpx;
-	    border-radius: 8rpx;
-	    font-weight: 400;
-	    font-size: 26rpx;
-	}
-</style>

+ 0 - 767
pages/lgz/index/index.vue

@@ -1,767 +0,0 @@
-<template>
-	<view class="common">
-		<view class="body">
-			<view class="top-class"></view>
-			<view class="title">
-				梅山古镇
-			</view>
-			<view>
-				<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-			</view>
-			<view class="head">
-				<u-swiper :list="list1"></u-swiper>
-			</view>
-			<view class="text">
-				<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-					class="textImage"></image>
-			</view>
-			<view class="content">
-				<view class="chouka" style="width: 100%;">
-					<view class="" style="margin-bottom: 10px;">
-						<u-row justify="space-between"
-							customStyle="margin-bottom: 5px;display: flex; align-items: center;">
-							<u-col span="4">
-							</u-col>
-							<u-col span="4" class="center-col">
-								<view class="text-1">翻卡抽盲盒</view>
-							</u-col>
-							<u-col span="4" class="right-col">
-								<view class="text-2" @click="openDetail()">活动规则</view>
-							</u-col>
-						</u-row>
-					</view>
-
-					<template>
-						<!-- 卡片区 -->
-						<view class="cards">
-							<view class="card" v-for="(item, idx) in cards" :key="idx" @click="flipCard(idx)"
-								:class="{ 'flipping': item.isFlipping, 'flipped': item.flipped }">
-								<view v-if="item.checkStauts" class="select-tag">
-									已选
-								</view>
-								<view class="card-inner">
-									<view class="card-front">
-										<image class="card-img" :src="item.front" mode="scaleToFill"></image>
-									</view>
-									<view class="card-back">
-										<image class="card-img"
-											:src="item.prizeType == 2  && item.img ? item.img : item.back"
-											mode="scaleToFill"></image>
-										<view class="card-back-text">
-											<view v-show="item.prizeType == 0" class="card-text">很遗憾</view>
-											<view v-show="item.prizeType == 1" class="card-text">{{item.money/100}}元红包
-											</view>
-											<view v-show="item.prizeType == 0" class="card-text">下次继续</view>
-
-											<view v-show="item.prizeType == 2 && !item.img " class="card-text">恭喜您中奖了
-											</view>
-                      <view v-show="item.prizeType == 2 && !item.img" class="card-text">
-                        {{item.title}}</view>
-											<view v-show="item.prizeType == 2 && !item.img" class="card-text">
-												{{item.prizeName}}</view>
-										</view>
-									</view>
-								</view>
-							</view>
-						</view>
-					</template>
-
-				</view>
-				<u-popup :show="showWin" :round="10" mode="center" @close="close" @open="open" closeable="true">
-					<view class="popup-flex">
-						<view class="popup-content-scroll">
-							<!-- 这里放原来的内容部分(除返回按钮) -->
-							<view class="popup-view">
-								<image
-									src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/win.png"
-									class="winImgClss"></image>
-							</view>
-							<view class="popup-content">
-								<u-row customStyle="margin-bottom: 5px">
-	<!-- 								<u-col span="6">
-										<image :src="prizeJson.img" class="prize"></image>
-									</u-col> -->
-									<u-col span="12">
-										<view class="popup-prize-text">{{prizeJson.prize_name}}</view>
-									</u-col>
-								</u-row>
-								<view class="popup-text">
-									请留下联系方式,稍后工作人员会联系您!
-								</view>
-								<u--form labelPosition="left" :model="model1" :rules="rules" ref="uForm">
-									<u-form-item label="姓名" prop="userInfo.name" ref="item1">
-										<u--input v-model="model1.userInfo.name" border="none"></u--input>
-									</u-form-item>
-									<u-form-item label="电话" prop="userInfo.tel" ref="item1">
-										<u--input v-model="model1.userInfo.tel" border="none"></u--input>
-									</u-form-item>
-								</u--form>
-							</view>
-						</view>
-						<view class="popup-footer">
-							<view class="save-button" @click="addWinDetail()">领取</view>
-						</view>
-					</view>
-				</u-popup>
-
-				<u-popup :show="showUnWin" :round="10" mode="center" @close="close" @open="open" closeable="true">
-					<view class="popup-flex">
-						<view class="popup-content-scroll">
-							<!-- 这里放原来的内容部分(除返回按钮) -->
-							<view class="popup-view">
-								<image
-									src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/unWin.png"
-									class="winImgClss"></image>
-							</view>
-							<view class="popup-content">
-								<view class="">
-									<image class="productImg" mode="widthFix"
-										src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/product.png  ">
-									</image>
-								</view>
-								<view class="">
-									{{ randomText }}
-								</view>
-							</view>
-						</view>
-						<view class="popup-footer">
-							<view class="save-button unWin" @click="close()">我知道了</view>
-						</view>
-					</view>
-				</u-popup>
-
-			</view>
-		</view>
-
-		<CustomTabbar />
-	</view>
-</template>
-
-<script>
-	import {
-		randomTexts
-	} from '../../../utils/randomTexts.js';
-	import CustomTabbar from '@/components/tabbar.vue';
-	import {
-		addWinDetail,
-		saveCardData
-	} from '@/api/scan'
-	export default {
-		components: {
-			CustomTabbar
-		},
-		data() {
-			return {
-
-				rules: {
-					'userInfo.name': {
-						type: 'string',
-						required: true,
-						message: '请填写姓名',
-						trigger: ['blur', 'change']
-					},
-					'userInfo.tel': {
-						type: 'string',
-						required: true,
-						message: '请填写手机号',
-						trigger: ['blur', 'change']
-					},
-				},
-				model1: {
-					userInfo: {
-						name: '',
-						tel: '',
-						qrcodeId: ''
-					},
-				},
-				showUnWin: false,
-				showWin: false,
-				list1: [
-					"https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/commodity/1.jpg",
-					"https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/commodity/2.jpg",
-					"https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/commodity/3.jpg",
-					"https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/commodity/4.jpg",
-					"https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/commodity/5.jpg",
-				],
-				cards: [{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/one.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiCard.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/two.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiCard.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/three.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiCard.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/four.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiCard.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/five.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiCard.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/six.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiCard.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-
-
-					}
-				],
-				totalDetail: '',
-				prizeJson: {},
-				saveData: {},
-				scanCode: '',
-				saveStatus: true,
-				fankaStatu: false,
-				randomText: ""
-			}
-		},
-		onLoad() {
-			this.setRandomText();
-			let scanDetail = uni.getStorageSync('scanDetail');
-			this.scanCode = uni.getStorageSync('scanCode');
-			this.model1.userInfo.qrcodeId = this.scanCode;
-
-			this.prizeJson = scanDetail.prizeJson;
-			let planDetail = JSON.parse(scanDetail.planDetail);
-			while (planDetail.length < 5) {
-				planDetail.push({
-					'prizeType': 0,
-					'money': 0
-				})
-			}
-			this.totalDetail = planDetail;
-			console.log(planDetail);
-			if (scanDetail.result.click) {
-				this.initCardData(scanDetail.clickJson);
-
-        if (!scanDetail.result.hasInfo && (this.prizeJson.prizeType == 2 || this.prizeJson.prize_type == 2)){
-           this.showWin = true;
-        }
-			}
-		},
-		methods: {
-			setRandomText() {
-				const randomIndex = Math.floor(Math.random() * randomTexts.length);
-				this.randomText = randomTexts[randomIndex];
-			},
-			initCardData(clickJson) {
-				let list = JSON.parse(clickJson);
-				for (let i = 0; i < this.cards.length; i++) {
-					if (i == list.index) {
-						this.cards[i].checkStauts = true
-					}
-
-					this.cards[i].img = list['card' + i].img;
-					this.cards[i].flipped = true;
-					this.cards[i].prizeType = list['card' + i].prize_type == undefined ? list['card' + i].prizeType : list[
-						'card' + i].prize_type;
-					this.cards[i].money = list['card' + i].money;
-					this.cards[i].prizeName = list['card' + i].prizeName == undefined ? list['card' + i].prize_name : list[
-						'card' + i].prizeName;
-					this.cards[i].title = list['card' + i].title;	
-				}
-				this.$forceUpdate();
-
-			},
-			addWinDetail() {
-				let that = this;
-				this.$refs.uForm.validate().then(res => {
-					addWinDetail(that.model1.userInfo).then(data => {
-						this.showWin = false;
-						if (data.code == 0) {
-							that.saveStatus = false;
-							// uni.redirectTo({
-							// 	url: '/pages/lgz/index/claim' // 目标页面路径
-							// })
-							let params = {
-								type: "success",
-								title: "成功主题(带图标)",
-								message: "提交成功",
-								iconUrl: "https://uviewui.com/demo/toast/success.png",
-							}
-							that.$refs.uToast.show({
-								...params
-							});
-						} else {
-
-						}
-					})
-				}).catch(errors => {
-
-				})
-			},
-			open() {
-				// console.log('open');
-			},
-			close() {
-				this.showUnWin = false;
-				this.showWin = false
-			},
-			flipCard(idx) {
-				if (this.fankaStatu) {
-					return;
-				}
-				if (this.cards[idx].flipped) {
-          if (!scanDetail.result.hasInfo && (this.prizeJson.prizeType == 2 || this.prizeJson.prize_type == 2)){
-            this.showWin = true;
-          }
-					return;
-				}
-				this.fankaStatu = true;
-				setTimeout(() => {
-					if (this.prizeJson.prizeType == 0 || this.prizeJson.prize_type == 0) {
-						this.showUnWin = true;
-					}
-
-					if ((this.prizeJson.prizeType == 2 || this.prizeJson.prize_type == 2) && this.saveStatus) {
-						this.showWin = true;
-					}
-				}, 2500); //弹框延迟3.5秒后显示弹框
-
-				// 标记被点击的卡牌正在翻转
-				this.cards[idx].isFlipping = true;
-				this.cards[idx].checkStauts = true;
-
-				let that = this;
-				// 延迟翻转其他卡牌
-				setTimeout(() => {
-					that.cards[idx].flipped = true;
-					that.cards[idx].isFlipping = false;
-
-					// 其他未翻转的卡牌延迟2秒后同时翻转
-					setTimeout(() => {
-						that.cards.forEach((card, index) => {
-							if (index !== idx && !card.flipped) {
-								card.isFlipping = true;
-								that.$forceUpdate();
-							}
-						});
-
-						// 所有其他卡牌同时翻转
-						setTimeout(() => {
-							that.cards.forEach((card, index) => {
-								if (index !== idx && !card.flipped) {
-									card.flipped = true;
-									card.isFlipping = false;
-									that.$forceUpdate();
-								}
-							});
-						}, 300); // 与其他卡牌翻转动画保持一致
-					}, 1000); // 延迟2秒翻转其他卡牌
-
-
-					// 处理数据逻辑
-					that.totalDetail.splice(idx, 0, this.prizeJson);
-					that.saveData.index = idx;
-
-					for (let i = 0; i < that.totalDetail.length; i++) {
-						if (that.cards[i]) {
-							that.saveData['card' + i] = that.totalDetail[i];
-
-							that.cards[i].prizeType = that.totalDetail[i].prize_type == undefined ?
-								that.totalDetail[i].prizeType :
-								that.totalDetail[i].prize_type;
-							that.cards[i].img = that.totalDetail[i].img;
-							that.cards[i].money = that.totalDetail[i].money;
-							that.cards[i].title = that.totalDetail[i].title;
-							that.cards[i].prizeName = that.totalDetail[i].prizeName == undefined ?
-								that.totalDetail[i].prize_name :
-								that.totalDetail[i].prizeName;
-
-						}
-					}
-
-					that.saveAllCardData();
-				}, 100);
-			},
-			saveAllCardData() {
-				let jsonStr = JSON.stringify(this.saveData);
-				saveCardData(this.scanCode, jsonStr).then(res => {
-					console.log(res)
-				})
-			},
-			openDetail() {
-				uni.navigateTo({
-					url: '/pages/lgz/index/rules'
-				});
-			}
-
-		}
-	}
-</script>
-
-<style>
-	@import url('../../../static/scss/common.css');
-
-	.common {
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgi-two.png");
-	}
-
-	.title {
-		height: 4vh;
-		line-height: 5vh;
-	}
-
-	.head {
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/zhanshi.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-		height: 23vh;
-		margin: 0px 40rpx;
-		display: flex;
-		justify-content: center;
-		/* 水平居中 */
-		align-items: center;
-		/* 垂直居中 */
-
-	}
-
-	.text {
-		height: 10vh;
-		text-align: center;
-		line-height: 13vh;
-		margin-bottom: 10rpx;
-	}
-
-	.textImage {
-		height: 80rpx;
-		width: 400rpx;
-	}
-
-	.content {
-		height: 42vh;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-		margin: 0rpx 40rpx;
-		padding: 10rpx 24rpx;
-		overflow: auto;
-		display: flex;
-		align-items: center;
-		justify-content: center;
-	}
-
-	.text-1 {
-		text-align: center;
-		font-size: 24rpx;
-		font-weight: 600;
-		color: white;
-		background-color: #9A1712;
-		width: 160rpx;
-		border-radius: 4rpx;
-		height: 40rpx;
-		line-height: 40rpx;
-	}
-
-	.text-2 {
-		text-align: center;
-		font-size: 24rpx;
-		font-weight: 600;
-		color: #F9D395;
-		background-color: #9A1712;
-		width: 120rpx;
-		border-radius: 4rpx;
-		height: 40rpx;
-		line-height: 40rpx;
-		margin-left: 80rpx;
-	}
-
-	.cards {
-		display: grid;
-		grid-template-columns: repeat(3, 1fr);
-		gap: 30rpx;
-		width: 100%;
-	}
-
-	.card {
-		width: 100%;
-		height: 250rpx;
-		position: relative;
-		background: none;
-		border-radius: 16rpx;
-		margin: 0;
-		perspective: 1000px;
-	}
-
-	.card-inner {
-		position: relative;
-		width: 100%;
-		height: 100%;
-		transition: transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1);
-		transform-style: preserve-3d;
-	}
-
-	.card.flipping .card-inner {
-		transform: rotateY(180deg);
-	}
-
-	.card.flipped .card-inner {
-		transform: rotateY(180deg);
-	}
-
-	.card-front,
-	.card-back {
-		position: absolute;
-		width: 100%;
-		height: 100%;
-		backface-visibility: hidden;
-	}
-
-	.card-back {
-		transform: rotateY(180deg);
-	}
-
-	.card-back-text {
-		position: absolute;
-		top: 50%;
-		left: 0;
-		width: 100%;
-		text-align: center;
-		color: #9A1712;
-		font-weight: bold;
-		font-size: 28rpx;
-		transform: translateY(-50%);
-		z-index: 2;
-		pointer-events: none;
-	}
-
-
-	.card-img {
-		width: 100%;
-		height: 100%;
-		display: block;
-	}
-
-
-	::v-deep .content .u-popup__content {
-		height: 720rpx;
-		width: 600rpx;
-		background-color: rgba(0, 0, 0, 0) !important;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiPopup.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-	}
-
-	::v-deep .u-popup__content__close--top-right {
-		top: 720rpx !important;
-		right: 288rpx !important;
-	}
-
-	.winImgClss {
-		height: 60rpx;
-		width: 320rpx;
-	}
-
-	.popup-view {
-		text-align: center;
-		margin-top: 100rpx;
-	}
-
-	.popup-content {
-		margin: 15px 54px;
-		overflow: auto;
-	}
-
-	.popup-text {
-		font-weight: 400;
-		font-size: 20rpx;
-		color: #9B0000;
-	}
-
-	.prize {
-		height: 130rpx;
-		width: 130rpx;
-	}
-
-	::v-deep .u-form-item__body {
-		padding: 8rpx;
-	}
-
-	::v-deep uni-view.u-form-item__body__left {
-		background: #AD7F55;
-		border-radius: 5px 0px 0px 5px;
-		border: 2px solid #63462B;
-		border-right: none;
-	}
-
-	::v-deep .u-form-item__body__right {
-		background-color: #fff;
-		border-radius: 0px 5px 5px 0px;
-		border: 2px solid #63462B;
-	}
-
-	::v-deep uni-text.u-form-item__body__left__content__label {
-		color: #fff !important;
-		padding-left: 4px;
-		letter-spacing: 2px;
-	}
-
-	.popup-flex {
-		display: flex;
-		flex-direction: column;
-		height: 100%;
-		/* 或具体高度如340px,确保撑满弹窗 */
-		min-width: 600rpx;
-	}
-
-	.popup-content-scroll {
-		flex: 1;
-	}
-
-	.popup-footer {
-		flex-shrink: 0;
-		padding: 0rpx 0 60rpx 0px;
-		text-align: center;
-		background: transparent;
-		/* 可选,确保无背景遮挡 */
-	}
-
-	.save-button {
-		width: 90rpx;
-		margin: 0 auto;
-		background: #b22222;
-		color: #F9D395;
-		border-radius: 12rpx;
-		padding: 18rpx 0;
-		font-size: 24rpx;
-		font-weight: bold;
-		height: 16rpx;
-		line-height: 16rpx;
-		letter-spacing: 4rpx;
-	}
-
-	.unWin {
-		width: 130rpx !important;
-	}
-
-	.productImg {
-		width: 400rpx;
-	}
-
-	::v-deep .u-swiper {
-		background-color: rgba(0, 0, 0, 0) !important;
-		padding: 0px 20rpx !important;
-		width: 90%;
-	}
-
-	::v-deep .u-col-4 {
-		display: flex !important;
-		justify-content: center !important;
-		/* 水平居中 */
-		align-items: center !important;
-		/* 垂直居中 */
-	}
-
-	::v-deep .right-col .u-col-4 {
-		display: flex !important;
-		justify-content: flex-end !important;
-		/* 水平居中 */
-		align-items: center !important;
-		/* 垂直居中 */
-	}
-
-	.card-img-f {
-		height: 100rpx;
-		width: 100rpx;
-	}
-
-	.card-text {
-		font-size: 26rpx;
-		padding: 0rpx 10rpx;
-	}
-
-	.select-tag {
-		position: absolute;
-		right: 0px;
-
-		font-weight: 400;
-		font-size: 20rpx;
-		color: #FFFFFF;
-		width: 40px;
-		text-align: center;
-		background-color: #11BC64;
-		height: 15px;
-		border-radius: 3px;
-		line-height: 15px;
-		z-index: 5;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 180rpx
-	}
-	.popup-prize-text{
-		height: 80rpx;
-		line-height: 80rpx;
-		text-align: center;
-		color: #b22222;
-		font-weight: bolder;
-	}
-</style>

+ 0 - 219
pages/lgz/index/rules.vue

@@ -1,219 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			活动规则
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="commodity-img" src="/static/images/common/commodity.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="theme-text">
-			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-				class="textImage"></image>
-		</view>
-		<!-- 公司简介内容卡片 -->
-		<view class="intro-card">
-
-			<view class="intro-view">
-				<view class="intro-label">
-					<view class="label-title">
-						规则信息
-					</view>
-				</view>
-				<view class="intro-content">
-					<view class="rule-text">
-						凡购买我司产品,扫描外包装背后二维码,即有机会参与优惠活动,赢取优惠或实物礼品。凡购买我司产品,扫描外包装背后二维码,即有机会参与优惠活动,赢取优惠或实物礼品。凡购买我司产品,扫描外包装背后二维码,即有机会参与优惠活动,赢取优惠或实物礼品.
-					</view>
-				</view>
-			</view>
-			<view class="intro-view">
-				<view class="intro-label" style="right: 20px;">
-					<view class="label-title">
-						活动奖励
-					</view>
-				</view>
-				<view class="intro-content" style="height: 600rpx;overflow: auto">
-					<u-row class="row-class" customStyle="margin-bottom: 5px" v-for="(item, index) in planDetails">
-						<u-col span="12">
-							<view class="item-left item-text">{{item.prize_name}}</view>
-						</u-col>
-					</u-row>
-
-
-				</view>
-			</view>
-
-		</view>
-
-		<!-- 返回按钮 -->
-		<view class="footer-btn">
-			<view  @click="goBack" class="return-button">返回</view>
-		</view>
-	</view>
-</template>
-
-<script>
-	import {
-		getRule
-	} from '@/api/scan'
-	export default {
-		data() {
-			return {
-				scanCode:'',
-				planDetails:[]
-			}
-		},
-		onLoad() {
-			this.scanCode = uni.getStorageSync('scanCode');
-			this.initRuleData();
-
-		},
-		methods: {
-			goBack() {
-				uni.navigateBack();
-			},
-			initRuleData(){
-				getRule(this.scanCode).then(res => {
-					console.log(res)
-					if (res.code == 0) {
-						this.planDetails = res.data.planDetails;
-					}
-				})
-			}
-
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 62%;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 35rpx;
-		width: 100%;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.intro-card {
-		margin: 0 32rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-		height: 65vh;
-
-		.intro-view {
-			border: 2rpx solid #341B10;
-			padding: 20rpx;
-			margin: 20rpx;
-			position: relative;
-			margin-bottom: 60rpx;
-
-			.intro-label {
-				background-image:
-					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
-				/* 使用绝对路径 */
-				background-size: contain;
-				background-repeat: no-repeat;
-				width: 220rpx;
-				height: 120rpx;
-				position: absolute;
-				margin-top: -70rpx;
-				align-content: center;
-				margin-left: -28rpx;
-
-				.label-title {
-					font-weight: bold;
-					font-size: 30rpx;
-					color: #341B10;
-					text-align: center;
-					margin-left: 10px;
-					height: 120rpx;
-					line-height: 110rpx;
-				}
-			}
-
-			.intro-content {
-        padding-top: 20rpx;
-				font-size: 28rpx;
-				color: #5c4322;
-				line-height: 1.8;
-				margin-top: 20rpx;
-				text-align: justify;
-			}
-
-
-		}
-
-	}
-	.image-display{
-		text-align: center;
-		.company-img {
-			width: 80%;
-			height: 240rpx;
-			border-radius: 12rpx;
-			object-fit: cover;
-			margin-top: 10rpx;
-			background: #eee;
-		}
-	}
-
-	.item-text{
-		font-weight: 500;
-		font-size: 30rpx;
-		color: #FFFFFF;
-	}
-	.rule-text{
-		font-weight: 500;
-		font-size: 24rpx;
-		color: #FFFFFF;
-	}
-
-	::v-deep .item-left{
-		background: #442812;
-		border-radius: 6rpx !important;
-		text-align: center;
-    width: 100%;
-	}
-
-</style>

+ 0 - 159
pages/lgz/index/unWinPrize.vue

@@ -1,159 +0,0 @@
-<template>
-  <view class="intro-page common">
-    <view class="top-class"></view>
-    <view class="title">
-      梅山古镇
-    </view>
-    <view class="head">
-      <u-row class="row-class">
-        <u-col span="4">
-          <image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-        </u-col>
-        <u-col span="4">
-        </u-col>
-        <u-col span="4">
-
-        </u-col>
-      </u-row>
-    </view>
-
-    <view class="theme-text">
-      <image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-             class="textImage"></image>
-    </view>
-    <!-- 公司简介内容卡片 -->
-    <view class="intro-card">
-      <view class="intro-view">
-        <view class="intro-content">
-          <view>
-            <image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/prize/unWinPrize_1.png" mode="heightFix"
-                   class="prize_image_1"></image>
-          </view>
-          <view style="margin: 40rpx;">
-            <image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/prize/unWinPrize_2.png" mode="heightFix"
-                   class="prize_image_2"></image>
-          </view>
-          <view>{{ randomText }}</view>
-        </view>
-
-      </view>
-
-    </view>
-
-    <!-- 返回按钮 -->
-    <view class="footer-btn">
-    </view>
-  </view>
-</template>
-
-<script>
-import { randomTexts } from '../../../utils/randomTexts.js';
-export default {
-  data() {
-    return {
-      randomText: ""
-    }
-  },
-  mounted() {
-    this.setRandomText();
-  },
-  methods: {
-    goBack() {
-      uni.navigateBack();
-    },
-    setRandomText() {
-      const randomIndex = Math.floor(Math.random() * randomTexts.length);
-      this.randomText = randomTexts[randomIndex];
-    }
-  }
-}
-</script>
-
-<style lang="scss" scoped>
-@import url('../../../static/scss/common.css');
-
-.row-class {
-  height: 80rpx;
-}
-
-.logo-img {
-  background-size: cover;
-  /* 确保背景图片自适应填充整个容器 */
-  background-position: center;
-  /* 背景图片居中显示 */
-  background-repeat: no-repeat;
-  /* 防止背景图重复 */
-  height: 42rpx;
-  width: 62%;
-}
-
-.commodity-img {
-  background-size: cover;
-  /* 确保背景图片自适应填充整个容器 */
-  background-position: center;
-  /* 背景图片居中显示 */
-  background-repeat: no-repeat;
-  /* 防止背景图重复 */
-  height: 35rpx;
-  width: 100%;
-}
-
-.theme-text {
-  height: 10vh;
-  text-align: center;
-  line-height: 11vh;
-
-  .textImage {
-    height: 80rpx;
-    width: 400rpx;
-  }
-}
-
-.prize_image_1{
-  height: 140rpx;
-}
-
-.prize_image_2{
-  height: 280rpx
-}
-
-
-
-.intro-card {
-  margin: 0 32rpx;
-  padding: 32rpx 24rpx 24rpx 24rpx;
-  background: rgba(131, 100, 71, 0.5);
-  border-radius: 10rpx;
-
-
-  .intro-view {
-    border: 1px solid #341B10;
-    padding: 10px;
-    margin: 10px;
-    position: relative;
-    height: 56vh;
-
-    .intro-content {
-      font-size: 40rpx;
-      color: #5c4322;
-      line-height: 1.8;
-      margin: 20rpx 0px;
-      text-align: center;
-      font-weight: 600;
-      color: #9B0000;
-    }
-
-    .company-img {
-      width: 100%;
-      height: 260rpx;
-      border-radius: 12rpx;
-      object-fit: cover;
-      margin-top: 10rpx;
-      background: #eee;
-    }
-  }
-
-}
-
-
-</style>

+ 0 - 151
pages/lgz/index/winPrize.vue

@@ -1,151 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			梅山古镇
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="theme-text">
-			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-				class="textImage"></image>
-		</view>
-		<!-- 公司简介内容卡片 -->
-		<view class="intro-card">
-			<view class="intro-view">
-				<view class="intro-content">
-					<view>
-						<image
-							src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/prize/winPrize_1.png"
-							mode="heightFix" class="prize_image_1"></image>
-					</view>
-					<view>
-						<image
-							src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/prize/winPrize_2.png"
-							mode="heightFix" class="prize_image_2"></image>
-					</view>
-					<view>恭喜你找到爆辣卧底,</view>
-					<view>获得一次抽奖机会!</view>
-				</view>
-
-			</view>
-
-		</view>
-
-		<!-- 返回按钮 -->
-		<view class="footer-btn">
-			<view @click="goBack" class="return-button">立即抽奖</view>
-		</view>
-	</view>
-</template>
-
-<script>
-	export default {
-		methods: {
-			goBack() {
-				uni.redirectTo({
-					url: '/pages/lgz/index/index'
-				})
-			}
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 62%;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 35rpx;
-		width: 100%;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.prize_image_1 {
-		height: 140rpx;
-	}
-
-	.prize_image_2 {
-		height: 340rpx
-	}
-
-
-
-	.intro-card {
-		margin: 0 32rpx;
-		padding: 32rpx 24rpx 24rpx 24rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-
-
-		.intro-view {
-			border: 1px solid #341B10;
-			padding: 10px;
-			margin: 10px;
-			position: relative;
-			height: 56vh;
-
-			.intro-content {
-				font-size: 40rpx;
-				color: #5c4322;
-				line-height: 1.8;
-				margin: 20rpx 0px;
-				text-align: center;
-				color: #9B0000;
-				font-weight: 600;
-			}
-
-			.company-img {
-				width: 100%;
-				height: 260rpx;
-				border-radius: 12rpx;
-				object-fit: cover;
-				margin-top: 10rpx;
-				background: #eee;
-			}
-		}
-
-	}
-</style>

+ 0 - 156
pages/lgz/introduction/introduction.vue

@@ -1,156 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			公司简介
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<!-- <image class="commodity-img" src="/static/images/common/commodity.png" mode="aspectFit" /> -->
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="theme-text">
-			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-				class="textImage"></image>
-		</view>
-		<!-- 公司简介内容卡片 -->
-		<view class="intro-card">
-			<view class="intro-view">
-				<view class="intro-label">
-					<view class="label-title">
-						公司简介
-					</view>
-				</view>
-				<view class="intro-content">
-					湖南王爷山食品股份有限公司初始成立于2007年,是一家集豆制品、肉制品、水产品研发、生产、销售为一体的食品企业。公司注册资金为1120万元,固定资产投入超6000万元。目前公司自有工厂位于湖南省娄底市新化县,占地面积16000余平米,生产区域约为12000平米,品牌运营中心位于湖南省长沙市高桥大市场。
-				</view>
-				<image class="company-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/companyImg.png" mode="aspectFill" />
-			</view>
-
-		</view>
-
-		<!-- 返回按钮 -->
-		<view class="footer-btn">
-			<view  @click="goBack" class="return-button">返回</view>
-		</view>
-	</view>
-</template>
-
-<script>
-	export default {
-		methods: {
-			goBack() {
-				uni.navigateBack();
-			}
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 62%;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 35rpx;
-		width: 100%;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.intro-card {
-		margin: 0 32rpx;
-		padding: 32rpx 24rpx 24rpx 24rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-
-
-		.intro-view {
-			border: 1px solid #341B10;
-			padding: 10px;
-			margin: 10px;
-			position: relative;
-
-
-			.intro-label {
-				background-image:
-					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
-				/* 使用绝对路径 */
-				background-size: contain;
-				background-repeat: no-repeat;
-				width: 220rpx;
-				height: 120rpx;
-				position: absolute;
-				margin-top: -70rpx;
-				align-content: center;
-
-				.label-title {
-					font-weight: bold;
-					font-size: 30rpx;
-					color: #341B10;
-					text-align: center;
-					margin-left: 10px;
-					height: 120rpx;
-					line-height: 110rpx;
-				}
-			}
-
-			.intro-content {
-				font-size: 28rpx;
-				color: #5c4322;
-				line-height: 1.8;
-				margin: 20rpx 0px;
-				text-align: justify;
-			}
-
-			.company-img {
-				width: 100%;
-				height: 260rpx;
-				border-radius: 12rpx;
-				object-fit: cover;
-				margin-top: 10rpx;
-				background: #eee;
-			}
-		}
-
-	}
-
-
-</style>

+ 0 - 206
pages/lgz/my/my.vue

@@ -1,206 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			个人中心
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<!-- <image class="commodity-img" src="/static/images/common/commodity.png" mode="aspectFit" /> -->
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="theme-text">
-			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-				class="textImage"></image>
-		</view>
-
-		<!-- 公司简介内容卡片 -->
-		<view class="intro-card">
-			<view class="touxiang">
-				<image class="company-img"
-					src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/companyImg.png"
-					mode="aspectFill" />
-			</view>
-			<view class="intro-view">
-				<view class="intro-label">
-					<view class="label-title">
-						其他服务
-					</view>
-				</view>
-				<view class="intro-content">
-					<u-row style="height: 200rpx;">
-						<u-col span="4" textAlign="center" @click="jumpScanLog">
-							<image class="tubiao" src="/static/images/tabbar/scan.png" mode="aspectFit" />
-							<view class="">
-								扫码记录
-							</view>
-						</u-col>
-						<u-col span="4"  textAlign="center" @click="jumpScanAddress">
-							<image class="tubiao" src="/static/images/tabbar/address.png" mode="aspectFit"/>
-							<view class="">
-								收货地址
-							</view>
-						</u-col>
-						<u-col span="4">
-					
-						</u-col>
-					</u-row>
-				</view>
-
-			</view>
-
-		</view>
-
-		<!-- 返回按钮 -->
-		<view class="footer-btn">
-			<view @click="goBack" class="return-button">返回</view>
-		</view>
-	</view>
-</template>
-
-<script>
-	export default {
-		methods: {
-			goBack() {
-				uni.navigateBack();
-			},
-			jumpScanLog(){
-				uni.navigateTo({
-					url: '/pages/lgz/record/record'
-				});
-			},
-			jumpScanAddress(){
-				uni.navigateTo({
-					url: '/pages/lgz/address/address'
-				});
-			},
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 62%;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 35rpx;
-		width: 100%;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.intro-card {
-		margin: 0 32rpx;
-		padding: 32rpx 24rpx 24rpx 24rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-
-
-		.intro-view {
-			border: 1px solid #341B10;
-			padding: 10px;
-			margin: 10px;
-			position: relative;
-
-
-			.intro-label {
-				background-image:
-					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
-				/* 使用绝对路径 */
-				background-size: contain;
-				background-repeat: no-repeat;
-				width: 220rpx;
-				height: 120rpx;
-				position: absolute;
-				margin-top: -70rpx;
-				align-content: center;
-
-				.label-title {
-					font-weight: bold;
-					font-size: 30rpx;
-					color: #341B10;
-					text-align: center;
-					margin-left: 10px;
-					height: 120rpx;
-					line-height: 110rpx;
-				}
-			}
-
-			.intro-content {
-				font-size: 28rpx;
-				color: #5c4322;
-				line-height: 1.8;
-				margin: 20rpx 0px;
-				text-align: justify;
-				height: 38vh;
-			}
-
-		}
-
-	}
-
-	.company-img {
-		width: 160rpx;
-		height: 160rpx;
-		border-radius: 12rpx;
-		object-fit: cover;
-		margin-top: 10rpx;
-		background: #eee;
-		border-radius: 80rpx;
-	}
-
-	.touxiang {
-		height: 120px;
-		align-content: center;
-		justify-content: center;
-		text-align: center;
-	}
-	.tubiao{
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 100rpx;
-		width: 100%;
-	}
-</style>

+ 0 - 301
pages/lgz/record/record.vue

@@ -1,301 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			扫码记录
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<!-- <image class="commodity-img" src="/static/images/common/commodity.png" mode="aspectFit" /> -->
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="theme-text">
-			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-				class="textImage"></image>
-		</view>
-		<!-- 公司简介内容卡片 -->
-		<view class="intro-card">
-			<view class="intro-view">
-				<view class="intro-label">
-					<view class="label-title">
-						扫码记录
-					</view>
-				</view>
-				<view class="intro-content">
-					<view class="filter-btn-group">
-						<view class="row-text">发放状态:</view>
-						<view v-for="(item, idx) in filterOptions" :key="idx"
-							:class="['filter-btn', filterStatus === item.value ? 'active' : '']"
-							@click="onFilterChange(item.value)">
-							{{ item.label }}
-						</view>
-					</view>
-					<view class="filter-btn-group list-title">
-						<view class="son">
-							奖品名称
-						</view>
-						<view class="son">
-							中奖时间
-						</view>
-						<view class="son">
-							兑换状态
-						</view>
-
-						<view>
-							操作
-						</view>
-					</view>
-					<view class="content-list">
-						<image v-if="list == null || list.length == 0 " src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/noData.png" mode="aspectFit"></image>
-						<template v-for="(item, index) in list" >
-							<view class="row-one" :key="index">
-								<view class="filter-btn-group">
-									<view class="son">
-										{{ item.prize_name }}
-									</view>
-									<view class="son">
-										{{ item.zhongjiang_time }}
-									</view>
-									<view class="son">
-										{{ item.duijiang_status }}
-									</view>
-									<view class="detail-btn" @click="toggleDetail(index)">
-										详情
-									</view>
-								</view>
-
-								<!-- 只有当 detailVisible 为 true 时才显示 detail 部分 -->
-								<view class="detail" v-if="item.detailVisible">
-									<view class="text-one">
-										盲盒名称:{{item.prize_detail}}
-									</view>
-									<view class="text-two">
-										发放时间:{{ item.send_time != undefined ? item.send_time : '--'  }} <!-- 这里可以填入合适的数据 -->
-									</view>
-								</view>
-							</view>
-						</template>
-
-					</view>
-				</view>
-
-			</view>
-
-		</view>
-
-		<!-- 返回按钮 -->
-		<view class="footer-btn">
-			<view @click="goBack" class="return-button">返回</view>
-		</view>
-	</view>
-</template>
-
-<script>
-import {
-  scanQuery
-} from '@/api/scan'
-import recordMixin from '@/mixins/recordMixin.js'
-
-export default {
-  mixins: [recordMixin],
-  onLoad() {
-    this.scanCode = uni.getStorageSync('scanCode');
-    // 调用 mixin 中的通用方法
-    this.baseInitGetlist(scanQuery);
-  },
-  methods: {
-    onFilterChange(val) {
-      this.filterStatus = val;
-      this.baseInitGetlist(scanQuery);
-    },
-    initGetlist() {
-      // 调用 mixin 中的通用方法
-      this.baseInitGetlist(scanQuery);
-    },
-    openDetail() {
-      uni.navigateTo({
-        url: '/pages/lgz/index/rules'
-      });
-    },
-  }
-}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 62%;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 35rpx;
-		width: 100%;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.intro-card {
-		margin: 0rpx 24rpx;
-		padding: 30rpx 0rpx 24rpx 0rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-
-		.intro-view {
-			border: 1px solid #341B10;
-			padding: 20rpx 4rpx;
-			margin: 20rpx;
-			position: relative;
-			height: 56vh;
-
-			.intro-label {
-				background-image:
-					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
-				/* 使用绝对路径 */
-				background-size: contain;
-				background-repeat: no-repeat;
-				width: 220rpx;
-				height: 120rpx;
-				position: absolute;
-				margin-top: -70rpx;
-				align-content: center;
-
-				.label-title {
-					font-weight: bold;
-					font-size: 30rpx;
-					color: #341B10;
-					text-align: center;
-					margin-left: 10px;
-					height: 120rpx;
-					line-height: 110rpx;
-				}
-			}
-
-			.intro-content {
-				height: 100%;
-				margin: 30rpx 4rpx;
-			}
-
-
-
-		}
-
-	}
-
-	.filter-btn-group {
-		display: flex;
-		justify-content: flex-start;
-		align-items: center;
-		gap: 24rpx;
-		margin: 10rpx 0 10rpx 0;
-	}
-
-	.filter-btn {
-		padding: 4rpx 20rpx;
-		border: 2rpx solid #b22222;
-		color: #b22222;
-		font-size: 28rpx;
-		transition: all 0.2s;
-	}
-
-	.filter-btn.active {
-		background: #b22222;
-		color: #fff;
-		border: 2rpx solid #b22222;
-	}
-
-	.row-text {
-		font-weight: bold;
-		font-size: 14px;
-		color: #FFFFFF;
-	}
-
-	.list-title {
-		font-weight: bold;
-		font-size: 28rpx;
-		color: #FFFFFF;
-	}
-
-	.son {
-		width: 140rpx;
-	}
-
-	.row-one {
-		font-weight: 400;
-		font-size: 28rpx;
-		color: #FFFFFF;
-	}
-
-	.detail {
-		background-image: url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/detailImg.png");
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: inherit;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 134rpx;
-
-		.text-one{
-			height: 70rpx;
-			line-height: 90rpx;
-			text-align: left;
-			margin-left: 20rpx;
-		}
-		.text-two{
-			text-align: left;
-			height: 60rpx;
-			line-height: 60rpx;
-			margin-left: 20rpx;
-
-		}
-
-	}
-
-
-
-	.detail-btn {
-		color: #9B0000;
-	}
-
-	.content-list {
-		overflow: auto;
-		text-align: center;
-    height: calc(100% - 120rpx);
-	}
-</style>

+ 0 - 254
pages/lgz/traceability/traceability.vue

@@ -1,254 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			产品溯源
-		</view>
-		<view class="head">
-			<u-row class="row-class">
-				<u-col span="4">
-					<image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-					<image class="commodity-img" src="/static/images/common/commodity.png" mode="aspectFit" />
-				</u-col>
-				<u-col span="4">
-
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="theme-text">
-			<image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
-				class="textImage"></image>
-		</view>
-		<!-- 公司简介内容卡片 -->
-		<view class="intro-card">
-			<view class="image-display">
-				<image class="company-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/companyImg.png" mode="aspectFill" />
-			</view>
-			<view class="intro-view">
-				<view class="intro-label">
-					<view class="label-title">
-						产品信息
-					</view>
-				</view>
-				<view class="intro-content">
-					<u-row class="row-class" customStyle="margin-bottom: 5px">
-						<u-col span="4">
-							<view class="item-left item-text">产品名称</view>
-						</u-col>
-						<u-col span="8">
-							<view class="item-text">{{info.productName}}</view>
-						</u-col>
-					</u-row>
-<!-- 					<u-row class="row-class" customStyle="margin-bottom: 5px">
-						<u-col span="4">
-							<view class="item-left item-text">生产日期</view>
-						</u-col>
-						<u-col span="8">
-							<view class="item-text">{{info.formatted_time}}</view>
-						</u-col>
-					</u-row> -->
-					<u-row class="row-class" customStyle="margin-bottom: 5px">
-						<u-col span="4">
-							<view class="item-left item-text">批&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</view>
-						</u-col>
-						<u-col span="8">
-							<view class="item-text">{{info.pici}}</view>
-						</u-col>
-					</u-row>
-					<u-row class="row-class" customStyle="margin-bottom: 5px">
-						<u-col span="4">
-							<view class="item-left item-text">保&nbsp;&nbsp;质&nbsp;&nbsp;期</view>
-						</u-col>
-						<u-col span="8">
-							<view class="item-text">60天</view>
-						</u-col>
-					</u-row>
-				</view>
-			</view>
-			<view class="intro-view" >
-				<view class="intro-label" style="right: 20px;">
-					<view class="label-title">
-						产家信息
-					</view>
-				</view>
-				<view class="intro-content">
-					<u-row class="row-class" customStyle="margin-bottom: 5px">
-						<u-col span="4">
-							<view class="item-left item-text">出&nbsp;&nbsp;品&nbsp;&nbsp;商</view>
-						</u-col>
-						<u-col span="8">
-							<view class="item-text">湖南王爷山食品股份有限公司</view>
-						</u-col>
-					</u-row>
-					<u-row class="row-class" customStyle="margin-bottom: 5px">
-						<u-col span="4">
-							<view class="item-left item-text">生产地址</view>
-						</u-col>
-						<u-col span="8">
-							<span class="item-text">湖南省娄底市新化县</span>
-						</u-col>
-					</u-row>
-					<u-row class="row-class">
-						<u-col span="4">
-							<view class="item-left item-text">商标名称</view>
-						</u-col>
-						<u-col span="8">
-							<view class="item-text">梅山古镇</view>
-						</u-col>
-					</u-row>
-				</view>
-			</view>
-      <view style="height:5px"></view>
-			
-		</view>
-
-		<!-- 返回按钮 -->
-		<view class="footer-btn">
-			<view  @click="goBack" class="return-button">返回</view>
-		</view>
-	</view>
-</template>
-
-<script>
-import {
-  suyuanData
-} from '@/api/scan'
-import traceabilityMixin from '@/mixins/traceabilityMixin.js'
-
-export default {
-  mixins: [traceabilityMixin],
-  onLoad() {
-    this.scanCode = uni.getStorageSync('scanCode');
-    // 调用 mixin 中的方法
-    this.initData(suyuanData);
-  },
-  methods: {
-    // 不再需要定义 initData 方法,使用 mixin 中的方法
-    openDetail(){
-      uni.navigateTo({
-        url: '/pages/cjx/index/rules'
-      });
-    }
-  }
-}
-</script>
-
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common.css');
-
-	.row-class {
-		height: 60rpx;
-	}
-
-	.logo-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 42rpx;
-		width: 62%;
-	}
-
-	.commodity-img {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 35rpx;
-		width: 100%;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.intro-card {
-		margin: 0 32rpx;
-		background: rgba(131, 100, 71, 0.5);
-		border-radius: 10rpx;
-    max-height: 65vh;
-    overflow: auto;
-
-		.intro-view {
-			border: 2rpx solid #341B10;
-			padding: 20rpx;
-			margin: 20rpx;
-			position: relative;
-			margin-top: 30rpx;
-
-			.intro-label {
-				background-image:
-					url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
-				/* 使用绝对路径 */
-				background-size: contain;
-				background-repeat: no-repeat;
-				width: 220rpx;
-				height: 120rpx;
-				position: absolute;
-				margin-top: -70rpx;
-				align-content: center;
-				margin-left: -28rpx;
-
-				.label-title {
-					font-weight: bold;
-					font-size: 30rpx;
-					color: #341B10;
-					text-align: center;
-					margin-left: 10px;
-					height: 120rpx;
-					line-height: 110rpx;
-				}
-			}
-
-			.intro-content {
-				font-size: 28rpx;
-				color: #5c4322;
-				line-height: 1.8;
-				margin-top: 20rpx;
-				text-align: justify;
-			}
-
-
-		}
-
-	}
-	.image-display{
-		text-align: center;
-		.company-img {
-			width: 80%;
-			height: 240rpx;
-			border-radius: 12rpx;
-			object-fit: cover;
-			margin-top: 20rpx;
-			background: #eee;
-		}
-	}
-	::v-deep .item-left{
-		background: #442812;
-		border-radius: 6rpx !important;
-		text-align: center;
-		width: 160rpx !important;
-	}
-	.item-text{
-		font-weight: 500;
-		font-size: 30rpx;
-		color: #FFFFFF;
-	}
-
-
-</style>

+ 0 - 144
pages/login.vue

@@ -1,144 +0,0 @@
- <template>
-
- 	<view class="">
- 		<u-loading-page iconSize="160" :loading="true" loading-text="loading..."
- 			image="/static/images/common/loading.png"></u-loading-page>
- 	</view>
- </template>
-
- <script>
- 	import {
- 		setToken,setAdminToken,setAdminInfo
- 	} from '@/utils/auth'
- 	import {
- 		login,
- 		verifyScanCode,
-    getIsNoLogin
- 	} from '@/api/login'
- 	import {
- 		getScanData
- 	} from '@/api/scan'
- 	export default {
- 		data() {
- 			return {
- 				scanCode: '',
- 				path: '',
- 				status: false
- 			}
- 		},
- 		onLoad(options) {
- 			uni.removeStorageSync("scanCode");
- 			uni.removeStorageSync("Authorization-status");
- 			// 获取并解码 q 参数
- 			let qlink = decodeURIComponent(options.q || '');
- 			if (qlink) {
- 				const decodedUrl = decodeURIComponent(qlink); // 先解码
- 				// 1. 去掉域名部分,提取路径
- 				const scanCode = decodedUrl.replace('https://e.dnzc.vip/', ''); // 得到 "a7e4a3f2947004f6"
- 				this.scanCode = scanCode;
- 			}
- 			this.login(); // 调用登录方法
-
- 		},
- 		methods: {
- 			login() {
- 				let that = this;
- 				if (this.scanCode == '' || this.scanCode == undefined) {
- 					this.status = true;
- 				}
- 				wx.login({
- 					success(resLogin) {
- 						if (resLogin.code) {
- 							// 例如发送到服务器进行登录态验证等操作
- 							login(that.scanCode, resLogin.code).then(res => {
- 								console.log('登录成功', res);
- 								if (res.code === 0) {
- 									if (res.data.isWxAuth == 1) {
- 										uni.setStorageSync('Authorization-status', true);
- 									}
-                  if ((that.scanCode === '' || that.scanCode === undefined) && res.data.roles.length > 1){
-                     that.getIsNoLogin(res.data.uid);
-                     return;
-                  }
-
- 									that.scanCode = res.data.qrCode;
- 									setToken(res.data.sessionId);
- 									that.path = res.data.page_path;
- 									that.verify();
- 								} else {
- 									if (res.code === 98) {
- 										that.getIsNoLogin();
- 										return;
- 									} else {
-										uni.showToast({
-											title: res.msg,
-											icon: 'none'
-										});
- 										console.log('登录失败!' + res.msg);
- 									}
- 								}
- 							})
- 						} else {
- 							console.log('登录失败!' + res.errMsg);
- 							uni.showToast({
- 								title: res.msg || '登录失败',
- 								icon: 'none'
- 							});
- 						}
- 					},
- 					fail(err) {
- 						uni.showToast({
- 							title: err.msg || '登录失败',
- 							icon: 'none'
- 						});
- 						console.log('登录失败', err);
- 					}
- 				});
- 			},
- 			verify() {
- 				verifyScanCode(this.scanCode).then(res => {
- 					console.log(res);
- 					if (res.code === 0) {
- 						uni.setStorageSync("scanCode", this.scanCode);
- 						if (res.data.url !== null && res.data.url !== undefined && res.data.url !== '') {
-              let skipUrl = '/pages/' + this.path + '/index/authCode';
-              uni.redirectTo({
-                url: '/pages/skip?url='+skipUrl
-              })
- 							return;
- 						}
-
- 						getScanData(this.scanCode).then(res => {
- 							let url;
- 							if (res.code === 0) {
-                uni.setStorageSync('scanDetail', res.data);
-                let skipUrl =  '/pages/' + this.path + '/index/' + res.data.url;
-                uni.redirectTo({
-                  url: '/pages/skip?url='+skipUrl
-                })
-                return;
-
- 							} else {
- 								url = '/pages/' + this.path + '/error?msg=' + res.msg;
- 							}
- 							uni.redirectTo({
- 								url: url // 目标页面路径
- 							})
- 						})
-
- 					} else {
- 						let url = '/pages/' + this.path + '/error?msg=' + res.msg;
- 						uni.redirectTo({
- 							url: url // 目标页面路径
- 						})
- 					}
- 				})
- 			},
-      getIsNoLogin(uid) {
-        uni.redirectTo({
-          url: '/pages/hexiao/login?uid=0'
-        })
-      }
- 		}
- 	}
- </script>

+ 0 - 137
pages/qilang/error.vue

@@ -1,137 +0,0 @@
-<template>
-  <view class="intro-page common">
-    <view class="top-class"></view>
-    <view class="title">
-      七榔槟榔
-    </view>
-    <view class="head">
-      <u-row class="row-class"  justify="flex-end">
-        <u-col span="4">
-          <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/rules.png"  />
-        </u-col>
-      </u-row>
-    </view>
-
-
-    <view class="content">
-      <view class="title-1">
-
-      </view>
-
-      <view class="detail">
-        <view class="text-detail">
-          您所查询的是七榔槟榔,是正牌产品,感谢您的购买!
-        </view>
-        <view class="text-one">
-        </view>
-        <view class="text-one">
-          {{msg}}
-        </view>
-      </view>
-    </view>
-    <CustomTabbar />
-
-  </view>
-</template>
-
-<script>
-export default {
-
-  data() {
-    return {
-      msg: "未知错误"
-    }
-  },
-  onLoad: function(options) {
-    if (options.msg){
-      this.msg = options.msg;
-    }
-  },
-  methods: {
-  }
-}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../static/scss/common_qilang.css');
-
-.row-class {
-  height: 80rpx;
-}
-
-.theme-text {
-  height: 10vh;
-  text-align: center;
-  line-height: 11vh;
-
-  .textImage {
-    height: 80rpx;
-    width: 400rpx;
-  }
-}
-.title-1{
-  text-align: center;
-  color: #A7001C;
-  font-size: 18px;
-  letter-spacing: 4px;
-  font-weight: 600;
-}
-
-.winning-picture{
-  height: 460rpx;
-  background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
-  background-size: contain;
-  background-position: center;
-  background-repeat: no-repeat;
-  display: flex;
-  justify-content: center; /* 水平居中 */
-  // align-items: center;     /* 垂直居中 */
-}
-.detail{
-  border-radius: 10rpx;
-  padding: 10rpx;
-  margin: 30vh 40rpx 20rpx;
-  height: 20vh;
-  background: #FDE2B1;
-  border: 4px solid #FB911B;
-}
-.text-detail{
-  font-weight: 500;
-  font-size: 28rpx;
-  color: #000000;
-  margin-bottom: 10rpx;
-  padding: 20rpx;
-}
-
-.text-one{
-  font-weight: 400;
-  font-size: 26rpx;
-  color: #901710 ;
-  margin-bottom: 10rpx;
-  padding: 20rpx;
-
-}
-.detail-btn{
-  text-align: center;
-  color: #F9D395;
-  height: 60rpx;
-  line-height: 60rpx;
-  margin-right: 20rpx;
-  font-size: 13px;
-  background-color: #901710;
-  padding: 3px;
-  border-radius: 5px;
-
-}
-.center-image {
-  height: 280rpx;
-  object-fit: contain;     /* 保持图片的宽高比,确保不会被拉伸或裁切 */
-}
-::v-deep .detail-btn span {
-  background-color: #8E1813;
-  padding: 4rpx;
-  border-radius: 8rpx;
-  font-weight: 400;
-  font-size: 26rpx;
-}
-</style>

+ 0 - 200
pages/qilang/feedback/feedback.vue

@@ -1,200 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			意见反馈
-		</view>
-    <view class="head">
-      <u-row class="row-class"  justify="flex-end">
-        <u-col span="4">
-          <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/rules.png"  />
-        </u-col>
-      </u-row>
-    </view>
-
-		<view class="content">
-
-			<view class="content_text">
-        <view class="intro-content">
-        <view> 七榔槟榔消费者反馈表 </view>
-        <view> 亲爱的消费者: </view>
-        <view> 感谢您选择七榔槟榔!为了能给您带来更优质的产品和服务体验,我们诚挚地邀请您填写这份反馈表。您的宝贵意见对我们至关重要,我们会认真对待每一条反馈。若您的建议被采纳,将有机会获得超吉炫精心准备的礼品哦!
-        </view>
-        </view>
-				<view class="from">
-					<view class="filter-btn-group">
-						<view class="row-text">留言类型:</view>
-						<view v-for="(item, idx) in filterOptions" :key="idx"
-							:class="['filter-btn', filterStatus === item.value ? 'active' : '']"
-							@click="onFilterChange(item.value)">
-							{{ item.label }}
-						</view>
-					</view>
-					<u--form labelPosition="left" :model="model1" :rules="rules" ref="uForm">
-						<u-form-item label="留言人姓名:" prop="userInfo.name" ref="item1">
-							<u--input v-model="model1.userInfo.name" border="none" color="#493D3E"></u--input>
-						</u-form-item>
-
-						<u-form-item label="联系电话:" prop="userInfo.tel" ref="item1">
-							<u--input v-model="model1.userInfo.tel" border="none" color="#493D3E"></u--input>
-						</u-form-item>
-
-						<u-form-item label="E-mail:" prop="userInfo.mail" ref="item1">
-							<u--input v-model="model1.userInfo.mail" border="none" color="#493D3E"></u--input>
-						</u-form-item>
-
-						<u-form-item label="留言:" ref="item1">
-							<u--textarea v-model="model1.userInfo.liuyan" border="none" color="#493D3E"></u--textarea>
-						</u-form-item>
-
-					</u--form>
-				</view>
-
-			</view>
-
-			<view class="return_view" style="justify-content: space-around;">
-        <view class="return-button" @click="saveData">保存</view>
-				<view class="return-button" @click="goBack">返回</view>
-			</view>
-		</view>
-		<u-toast ref="uToast"></u-toast>
-
-	</view>
-</template>
-
-<script>
-import {
-  feed
-} from '@/api/scan'
-import feedbackMixin from '@/mixins/feedbackMixin.js'
-
-export default {
-  mixins: [feedbackMixin],
-  methods: {
-    saveData() {
-      // 调用 mixin 中的方法,传入特定的 API 函数
-      this.baseSaveData(feed, (data) => {
-        // 可以在这里添加特定的成功回调处理
-      });
-    },
-    goBack() {
-      this.baseGoBack();
-    },
-    openDetail() {
-      this.baseOpenDetail("qilang");
-    },
-    onFilterChange(val) {
-      this.baseOnFilterChange(val);
-    },
-  }
-}
-</script>
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_qilang.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-	.cardTop{
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/yjfk.png");
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-
-	::v-deep .u-form-item__body__left {
-		width: 160rpx !important;
-
-
-	}
-
-	::v-deep .u-form-item__body__left__content__label {
-		font-weight: bold;
-		font-size: 26rpx !important;
-		color: #493D3E !important;
-	}
-
-	::v-deep .u-form-item__body__right {
-		border: 1px solid #F94C28 !important;
-	}
-
-	::v-deep .u-textarea {
-		background-color: rgba(0, 0, 0, 0) !important;
-		
-	}
-	::v-deep .u-textarea__field{
-		color:#fff !important;
-	}
-
-	::v-deep .u-form-item__body {
-		display: flex;
-		flex-direction: row;
-		padding: 0 0 !important;
-		padding-top: 10rpx !important;
-	}
-
-	::v-deep .u-form-item__body__right__message {
-		margin-left: 160rpx !important;
-	}
-
-	.filter-btn-group {
-		display: flex;
-		justify-content: flex-start;
-		align-items: center;
-		gap: 24rpx;
-		margin: 10rpx 0 10rpx 0;
-	}
-
-	.filter-btn {
-		padding: 4rpx 20rpx;
-		border: 2rpx solid #F94C28;
-		color: #F94C28;
-		font-size: 28rpx;
-		transition: all 0.2s;
-		margin-left: 10rpx;
-	}
-
-	.filter-btn.active {
-		background: #F94C28 ;
-		color: #fff;
-		border: 2rpx solid #F94C28 ;
-	}
-
-	.row-text {
-		font-weight: bold;
-		font-size: 26rpx;
-		color: #493D3E;
-	}
-
-	.content {
-		height: 69vh;
-		overflow: auto;
-    padding: 32rpx 24rpx 24rpx 24rpx;
-    margin: 10vh 32rpx 0;
-    border-radius: 48px;
-    background: #FDE2B1;
-    border: 6px solid #FB911b;
-  }
-
-	.savaBtn {
-		margin-top: 10px;
-		font-weight: 600;
-	}
-
-	.intro-content {
-		font-weight: 500;
-		font-size: 28rpx;
-		color: #3F4B5F;
-
-	}
-</style>

+ 0 - 232
pages/qilang/index/authCode.vue

@@ -1,232 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-      七榔
-		</view>
-    <view class="head">
-      <u-row class="row-class"  justify="flex-end">
-        <u-col span="4">
-          <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/rules.png"  />
-        </u-col>
-      </u-row>
-    </view>
-
-		<view class="content">
-      <view class="title-1">
-        <view class="content_imgView">
-          <image style="height: 400rpx" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/commodity.png"
-                 mode="heightFix" />
-        </view>
-      </view>
-
-			<view class="detail">
-				<view class="text-detail">
-					您所查询的是七榔槟榔,是正牌产品,感谢您的购买!
-				</view>
-				<view class="" style="padding: 20rpx;">
-					<u-row class="row-class">
-						<u-col span="9">
-							<u--input placeholder="输入包装内侧验证码" border="surround" v-model="value" color="#293993" ></u--input>
-						</u-col>
-						<u-col span="3">
-							<u-button text="开始抽奖" class="custom-style" color="#293993" @click="startDraw" ></u-button>
-						</u-col>
-
-					</u-row>
-				</view>
-				<view class="hint">
-					实物大奖:如您中实物,请凭中奖外包袋兑奖,谢谢!
-				</view>
-
-			</view>
-		</view>
-		<u-toast ref="uToast"></u-toast>
-		<CustomTabbar />
-
-	</view>
-</template>
-
-<script>
-	import {
-		getScanData,
-		confirmCode
-	} from '@/api/scan'
-	import CustomTabbar from '@/components/tabbar_common.vue';
-	export default {
-		components: {
-			CustomTabbar
-		},
-		data() {
-			return {
-				scanUserData: {},
-				prizeJson: {},
-				value: '',
-				scanCode: ''
-			}
-		},
-		onLoad() {
-			this.scanCode = uni.getStorageSync('scanCode');
-
-		},
-		methods: {
-			goBack() {
-				uni.navigateBack();
-			},
-			openDetail() {
-				uni.navigateTo({
-					url: '/pages/qilang/index/rules'
-				});
-			},
-			startDraw() {
-				confirmCode(this.scanCode, this.value).then(res => {
-					if (res.code === 0) {
-						getScanData(this.scanCode).then(res => {
-							if (res.code === 0) {
-								// 获取当前页面路径
-								const pages = getCurrentPages();
-								const currentPage = pages[pages.length - 1];
-								const route = currentPage.route;
-								const dirPath = route.substring(0, route.lastIndexOf('/'));
-								let url = '/' + dirPath + '/index';
-								uni.setStorageSync('scanDetail', res.data);
-								uni.redirectTo({
-									url: url
-								})
-							}else {
-                let params = {
-                  type: "error",
-                  title: "失败",
-                  message: res.msg,
-                  iconUrl: "https://uviewui.com/demo/toast/error.png",
-                }
-                this.$refs.uToast.show({
-                  ...params
-                });
-              }
-						})
-					} else {
-						let params = {
-							type: "error",
-							title: "失败",
-							message: res.msg,
-							iconUrl: "https://uviewui.com/demo/toast/error.png",
-						}
-						this.$refs.uToast.show({
-							...params
-						});
-					}
-				});
-			}
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_qilang.css');
-
-	.row-class {
-		height: 60rpx;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.title-1 {
-		text-align: center;
-		color: #A7001C;
-		font-size: 18px;
-		letter-spacing: 4px;
-		font-weight: 600;
-	}
-
-	.winning-picture {
-		height: 460rpx;
-		background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
-		background-size: contain;
-		background-position: center;
-		background-repeat: no-repeat;
-		display: flex;
-		justify-content: center;
-		/* 水平居中 */
-		// align-items: center;     /* 垂直居中 */
-	}
-
-	.detail {
-		margin: 20rpx 40rpx;
-		border-radius: 10rpx;
-		padding: 10rpx;
-		height: 20vh;
-    background: #FDE2B1;
-    border: 4px solid #FB911B;
-	}
-
-	.text-detail {
-		margin-top: 20rpx;
-		margin-bottom: 10rpx;
-		padding: 0px 10px;
-		font-weight: 600;
-		font-size: 26rpx;
-		color: #3D3D3D;
-	}
-
-	.text-one {
-		font-weight: 400;
-		font-size: 26rpx;
-		color: #293993 ;
-		margin-bottom: 10rpx;
-
-	}
-
-	.detail-btn {
-		text-align: center;
-		color: #F9D395;
-		height: 60rpx;
-		line-height: 60rpx;
-		margin-right: 20rpx;
-		font-size: 13px;
-		background-color: #901710;
-		padding: 3px;
-		border-radius: 5px;
-
-	}
-
-	.center-image {
-		height: 280rpx;
-		object-fit: contain;
-		/* 保持图片的宽高比,确保不会被拉伸或裁切 */
-	}
-
-	::v-deep .detail-btn span {
-		background-color: #8E1813;
-		padding: 4rpx;
-		border-radius: 8rpx;
-		font-weight: 400;
-		font-size: 26rpx;
-	}
-
-	.hint {
-		font-weight: 500;
-		font-size: 24rpx;
-		color: #F94C28 ;
-		text-align: center;
-	}
-
-	.custom-style {
-		height: 74rpx;
-	}
-  .content {
-    margin-top: 16vh;
-  }
-  ::v-deep .u-border{
-    border-color: #293993 !important;
-  }
-</style>

+ 0 - 162
pages/qilang/index/claim.vue

@@ -1,162 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			七榔
-		</view>
-		<view class="head">
-			<u-row class="row-class"  justify="flex-end">
-				<u-col span="4">
-					 <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/rules.png"  />
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="content">
-			<view class="title-1">
-        <view class="content_imgView">
-          <image style="height: 400rpx" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/commodity.png"
-                 mode="heightFix" />
-        </view>
-			</view>
-
-			<view class="detail">
-				<view class="text-detail">
-          您所查询的是七榔系列槟榔,是正牌产品,感谢您的购买!
-				</view>
-				<view class="text-one">
-					此二维码已参与过活动!
-				</view>
-				<view class="text-one">
-					首次扫码者: {{scanUserData.openid}}
-				</view>
-				<view class="text-one">
-					首次扫码时间: {{scanUserData.scan_time}}
-				</view>
-				<view class="text-one">
-					获得奖励: {{prizeJson.prize_type == 0 ? '谢谢惠顾' : prizeJson.prize_type == 1 ? prizeJson.money/100 + '元现金红包' : prizeJson.prize_type == 4 ? "积分奖励":"加"+prizeJson.price+"元,"+prizeJson.title+""+prizeJson.prize_name  }}
-				</view>
-			</view>
-		</view>
-		<CustomTabbar />
-
-	</view>
-</template>
-
-<script>
-	import CustomTabbar from '@/components/tabbar_common.vue';
-	export default {
-		components: {
-			CustomTabbar
-		},
-		data() {
-			return {
-				scanUserData:{},
-				prizeJson:{}
-			}
-		},
-		onLoad() {
-		  let scanDetail = uni.getStorageSync('scanDetail');
-		  this.scanUserData = scanDetail.result.scanInfo;
-		  this.prizeJson = scanDetail.prizeJson;
-		  console.log(scanDetail);
-
-		},
-		methods: {
-			goBack() {
-				uni.navigateBack();
-			},
-			openDetail(){
-				uni.navigateTo({
-					url: '/pages/qilang/index/rules'
-				});
-			}
-
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_qilang.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-  .content {
-    margin-top: 18vh;
-  }
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-	.title-1{
-		text-align: center;
-		color: #A7001C;
-		font-size: 18px;
-		letter-spacing: 4px;
-		font-weight: 600;
-	}
-
-    .winning-picture{
-		height: 460rpx;
-		background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
-		background-size: contain;
-		background-position: center;
-		background-repeat: no-repeat;
-		display: flex;
-		justify-content: center; /* 水平居中 */
-		// align-items: center;     /* 垂直居中 */
-	}
-	.detail{
-		margin: 20rpx 40rpx;
-		border-radius: 10rpx;
-		padding: 10rpx;
-    background: #FDE2B1;
-    border-radius: 8px;
-    border: 4px solid #FB911B;
-	}
-	.text-detail{
-		font-weight: 600;
-		font-size: 28rpx;
-		color: #3D3D3D;;
-		margin-bottom: 10rpx;
-	}
-
-	.text-one{
-		font-weight: 400;
-		font-size: 26rpx;
-		color: #3D3D3D; ;
-		margin-bottom: 10rpx;
-
-	}
-	.detail-btn{
-		text-align: center;
-	    color: #F9D395;
-	    height: 60rpx;
-	    line-height: 60rpx;
-	    margin-right: 20rpx;
-	    font-size: 13px;
-	    background-color: #901710;
-	    padding: 3px;
-	    border-radius: 5px;
-
-	}
-	.center-image {
-		height: 280rpx;
-	    object-fit: contain;     /* 保持图片的宽高比,确保不会被拉伸或裁切 */
-	}
-	::v-deep .detail-btn span {
-	    background-color: #8E1813;
-	    padding: 4rpx;
-	    border-radius: 8rpx;
-	    font-weight: 400;
-	    font-size: 26rpx;
-	}
-</style>

+ 0 - 783
pages/qilang/index/index.vue

@@ -1,783 +0,0 @@
-<template>
-	<view class="common">
-		<view class="body">
-			<view class="top-class"></view>
-			<view class="title">
-				七榔
-			</view>
-			<view class="head">
-				<u-row class="row-class" justify="flex-end">
-					<u-col span="4">
-						<image class="logo-rules"
-							src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/rules.png"
-							@click="openDetail" />
-					</u-col>
-				</u-row>
-			</view>
-
-			<view class="content">
-				<view class="chouka" style="width: 100%;">
-          <view class="card-title">
-            <view class="red-title-box">
-              翻卡抽红包
-            </view>
-          </view>
-
-					<template>
-						<!-- 卡片区 -->
-						<view class="cards">
-							<view class="card" v-for="(item, idx) in cards" :key="idx" @click="flipCard(idx)"
-								:class="{ 'flipping': item.isFlipping, 'flipped': item.flipped }">
-								<view v-if="item.checkStauts" class="select-tag">
-									已选
-								</view>
-								<view class="card-inner">
-									<view class="card-front">
-										<image class="card-img" :src="item.front" mode="scaleToFill"></image>
-									</view>
-									<view class="card-back">
-										<image class="card-img" :src="item.back" mode="scaleToFill"></image>
-										<view class="card-back-text">
-											<view v-show="item.prizeType == 0" class="card-text-1">很遗憾</view>
-											<view v-show="item.prizeType == 0" class="card-img-item">
-												<image style="height:100rpx"
-													src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/regret.png"
-													mode="heightFix"></image>
-											</view>
-											<view v-show="item.prizeType == 0" class="card-text-2">下次继续</view>
-
-											<view v-show="item.prizeType == 1" class="card-text-1">现金红包</view>
-											<view v-show="item.prizeType == 1" class="card-money">¥{{item.money/100}}
-											</view>
-											<view v-show="item.prizeType == 1" class="card-text-2">已存入您的<br />微信零钱
-											</view>
-
-											<view v-show="item.prizeType == 2" class="card-text-1">凭外袋,赠本品槟榔一袋</view>
-											<view v-show="item.prizeType == 2 && item.img !== '' " class="card-img-item">
-												<image style="height:100rpx" :src="item.img" mode="heightFix"></image>
-											</view>
-										
-
-											<view v-show="item.prizeType == 4" class="card-text-1">谢谢惠顾</view>
-											<view v-show="item.prizeType == 4" class="card-point">积分+{{item.point}}</view>
-											<view v-show="item.prizeType == 4" class="card-text-2">积分已累计</view>
-										</view>
-									</view>
-								</view>
-							</view>
-						</view>
-					</template>
-
-				</view>
-        <view class="popup-win">
-          <u-popup :show="showWin" :round="10" mode="center" @close="close" @open="open" >
-            <view class="popup-flex">
-              <view class="popup-content-scroll">
-
-                <view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1" class="popup_text1">
-                  现金红包</view>
-                <view v-show="prizeJson.prizeType == 2 || prizeJson.prize_type == 2" class="popup_text1">
-                  凭外袋,赠本品槟榔一袋</view>
-                <view v-show="prizeJson.prizeType == 4 || prizeJson.prize_type == 4" class="popup_text1">
-                  活动积分奖励</view>
-                <view class="center">
-                  <image v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1" class="popup_img"
-                         src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/money.png"
-                         mode="heightFix" />
-                  <image v-show="(prizeJson.prizeType == 2 || prizeJson.prize_type == 2) &&  prizeJson.img != '' " class="popup_img"
-                         :src="prizeJson.img" mode="heightFix" />
-                </view>
-                <view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1"
-                      class="center pupup_textMoney">
-                  ¥{{prizeJson.money/100}}</view>
-                <view v-show="prizeJson.prizeType == 1 || prizeJson.prize_type == 1"
-                      class="center pupup_text2">
-                  已存入您的微信零钱!</view>
-                <view v-show="prizeJson.prizeType == 2 || prizeJson.prize_type == 2"
-                      class="center pupup_text3">
-                  请凭包装袋到购买门店兑换!</view>
-                <view v-show="prizeJson.prizeType == 4 || prizeJson.prize_type == 4">
-                  <view class="center jf_text">+ {{prizeJson.point}}积分</view>
-                  <view class="center">
-
-                  </view>
-                  <view class="center pupup_text3">
-                    所获积分可前往积分商城兑换商品
-                  </view>
-                </view>
-                <view class="confirm-btn-container">
-                  <view class="confirm-btn" @click="close">确定</view>
-                </view>
-              </view>
-
-
-            </view>
-          </u-popup>
-        </view>
-				<view class="popup-unWin">
-          <u-popup :show="showUnWin" :round="10" mode="center" @close="close" @open="open" >
-            <view class="popup-flex">
-              <view class="popup-content-scroll">
-                <view class="popup_text1"></view>
-                <view class="center">
-                  <image class="popup_img"
-                         src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/regret.png"
-                         mode="heightFix" />
-                </view>
-                <view class="center pupup_text3">本次抽卡未中奖,下次继续!</view>
-                <view class="confirm-btn-container">
-                  <view class="confirm-btn" @click="close">确定</view>
-                </view>
-              </view>
-
-            </view>
-          </u-popup>
-				</view>
-
-
-			</view>
-		</view>
-
-		<CustomTabbar />
-	</view>
-</template>
-
-<script>
-	import CustomTabbar from '@/components/tabbar_common.vue';
-	import {
-		addWinDetail,
-		saveCardData
-	} from '@/api/scan'
-	export default {
-		components: {
-			CustomTabbar
-		},
-		data() {
-			return {
-
-				rules: {
-					'userInfo.name': {
-						type: 'string',
-						required: true,
-						message: '请填写姓名',
-						trigger: ['blur', 'change']
-					},
-					'userInfo.tel': {
-						type: 'string',
-						required: true,
-						message: '请填写手机号',
-						trigger: ['blur', 'change']
-					},
-				},
-				model1: {
-					userInfo: {
-						name: '',
-						tel: '',
-						qrcodeId: ''
-					},
-				},
-				showUnWin: false,
-				showWin: false,
-
-				cards: [{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/one.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/two.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/three.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/four.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/five.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-					},
-					{
-						front: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/six.png',
-						back: 'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/card_img.png',
-						flipped: false,
-						prizeName: '',
-						title: '',
-						checkStauts: false,
-						img: '',
-						money: '',
-						prizeType: '',
-						isFlipping: false,
-						point: '',
-						price: ''
-
-					}
-				],
-				totalDetail: '',
-				prizeJson: {},
-				saveData: {},
-				scanCode: '',
-				saveStatus: true,
-				fankaStatu: false,
-			}
-		},
-		onLoad() {
-			let scanDetail = uni.getStorageSync('scanDetail');
-			this.scanCode = uni.getStorageSync('scanCode');
-			this.model1.userInfo.qrcodeId = this.scanCode;
-
-			this.prizeJson = scanDetail.prizeJson;
-			console.log("----------------------------");
-			console.log(this.prizeJson);
-			let planDetail = JSON.parse(scanDetail.planDetail);
-			while (planDetail.length < 5) {
-				planDetail.push({
-					'prizeType': 0,
-					'money': 0
-				})
-			}
-			this.totalDetail = planDetail;
-			console.log(planDetail);
-			if (scanDetail.result.click) {
-				this.initCardData(scanDetail.clickJson);
-			}
-		},
-		methods: {
-
-			openDetail() {
-				uni.navigateTo({
-					url: '/pages/qilang/index/rules'
-				});
-			},
-			initCardData(clickJson) {
-				let list = JSON.parse(clickJson);
-				for (let i = 0; i < this.cards.length; i++) {
-					if (i == list.index) {
-						this.cards[i].checkStauts = true
-					}
-					this.cards[i].img = list['card' + i].img;
-					this.cards[i].price = list['card' + i].price;
-					this.cards[i].flipped = true;
-					this.cards[i].prizeType = list['card' + i].prize_type == undefined ? list['card' + i].prizeType : list[
-						'card' + i].prize_type;
-					this.cards[i].money = list['card' + i].money;
-					this.cards[i].prizeName = list['card' + i].prizeName == undefined ? list['card' + i].prize_name : list[
-						'card' + i].prizeName;
-					this.cards[i].point = list['card' + i].point;
-				}
-				this.$forceUpdate();
-
-			},
-			addWinDetail() {
-				let that = this;
-				this.$refs.uForm.validate().then(res => {
-					addWinDetail(that.model1.userInfo).then(data => {
-						this.showWin = false;
-						if (data.code == 0) {
-							that.saveStatus = false;
-							// uni.redirectTo({
-							// 	url: '/pages/lgz/index/claim' // 目标页面路径
-							// })
-							let params = {
-								type: "success",
-								title: "成功主题(带图标)",
-								message: "提交成功",
-								iconUrl: "https://uviewui.com/demo/toast/success.png",
-							}
-							that.$refs.uToast.show({
-								...params
-							});
-						} else {
-
-						}
-					})
-				}).catch(errors => {
-
-				})
-			},
-			open() {
-				// console.log('open');
-			},
-			close() {
-				this.showUnWin = false;
-				this.showWin = false
-			},
-			flipCard(idx) {
-				if (this.fankaStatu) {
-					return;
-				}
-				if (this.cards[idx].flipped) {
-					return;
-				}
-				this.fankaStatu = true;
-				setTimeout(() => {
-
-					if (this.prizeJson.prizeType == 0 || this.prizeJson.prize_type == 0) {
-						this.showUnWin = true;
-					}
-
-					if ((this.prizeJson.prizeType == 1 || this.prizeJson.prize_type == 1 ||
-							this.prizeJson.prizeType == 2 || this.prizeJson.prize_type == 2 ||
-							this.prizeJson.prizeType == 4 || this.prizeJson.prize_type == 4) &&
-						this.saveStatus) {
-						this.showWin = true;
-					}
-				}, 2500); //弹框延迟3.5秒后显示弹框
-
-				// 标记被点击的卡牌正在翻转
-				this.cards[idx].isFlipping = true;
-				this.cards[idx].checkStauts = true;
-
-				let that = this;
-				// 延迟翻转其他卡牌
-				setTimeout(() => {
-					that.cards[idx].flipped = true;
-					that.cards[idx].isFlipping = false;
-
-					// 其他未翻转的卡牌延迟2秒后同时翻转
-					setTimeout(() => {
-						that.cards.forEach((card, index) => {
-							if (index !== idx && !card.flipped) {
-								card.isFlipping = true;
-								that.$forceUpdate();
-							}
-						});
-
-						// 所有其他卡牌同时翻转
-						setTimeout(() => {
-							that.cards.forEach((card, index) => {
-								if (index !== idx && !card.flipped) {
-									card.flipped = true;
-									card.isFlipping = false;
-									that.$forceUpdate();
-								}
-							});
-						}, 300); // 与其他卡牌翻转动画保持一致
-					}, 1000); // 延迟2秒翻转其他卡牌
-
-
-					// 处理数据逻辑
-					that.totalDetail.splice(idx, 0, this.prizeJson);
-					that.saveData.index = idx;
-// 修改这段代码,添加数组长度检查
-          for (let i = 0; i < that.totalDetail.length; i++) {
-            // 确保 cards 数组在索引 i 处有元素
-            if (that.cards[i]) {
-              that.saveData['card' + i] = that.totalDetail[i];
-
-              that.cards[i].prizeType = that.totalDetail[i].prize_type == undefined ?
-                  that.totalDetail[i].prizeType :
-                  that.totalDetail[i].prize_type;
-              that.cards[i].img = that.totalDetail[i].img;
-              that.cards[i].price = that.totalDetail[i].price;
-              that.cards[i].money = that.totalDetail[i].money;
-              that.cards[i].point = that.totalDetail[i].point;
-              that.cards[i].prizeName = that.totalDetail[i].prizeName == undefined ?
-                  that.totalDetail[i].prize_name :
-                  that.totalDetail[i].prizeName;
-            }
-          }
-
-					that.saveAllCardData();
-				}, 100);
-			},
-			saveAllCardData() {
-				let jsonStr = JSON.stringify(this.saveData);
-				saveCardData(this.scanCode, jsonStr).then(res => {
-					console.log(res)
-				})
-			},
-
-		}
-	}
-</script>
-
-<style>
-	@import url('../../../static/scss/common_qilang.css');
-
-
-	.content {
-		height: 46vh;
-		border-radius: 10rpx;
-    padding: 10rpx 24rpx;
-		overflow: auto;
-		display: flex;
-		align-items: center;
-		justify-content: center;
-    background: #FDE2B1;
-    border: 4px solid #FB911B;
-    margin: 18vh 40rpx 20rpx;
-  }
-
-
-	.cards {
-		display: grid;
-		grid-template-columns: repeat(3, 1fr);
-		gap: 30rpx;
-		width: 100%;
-	}
-
-	.card {
-		width: 100%;
-		height: 250rpx;
-		position: relative;
-		background: none;
-		border-radius: 16rpx;
-		margin: 0;
-		perspective: 1000px;
-	}
-
-	.card-inner {
-		position: relative;
-		width: 100%;
-		height: 100%;
-		transition: transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1);
-		transform-style: preserve-3d;
-	}
-
-	.card.flipping .card-inner {
-		transform: rotateY(180deg);
-	}
-
-	.card.flipped .card-inner {
-		transform: rotateY(180deg);
-	}
-
-	.card-front,
-	.card-back {
-		position: absolute;
-		width: 100%;
-		height: 100%;
-		backface-visibility: hidden;
-	}
-
-	.card-back {
-		transform: rotateY(180deg);
-	}
-
-	.card-back-text {
-		position: absolute;
-		top: 50%;
-		left: 0;
-		width: 100%;
-		text-align: center;
-		color: #ffffff;
-		font-weight: bold;
-		font-size: 28rpx;
-		transform: translateY(-50%);
-		z-index: 2;
-		pointer-events: none;
-	}
-
-
-	.card-img {
-		width: 100%;
-		height: 100%;
-		display: block;
-	}
-
-
-	::v-deep .popup-win .u-popup__content {
-		height: 600rpx;
-		width: 500rpx;
-		background-color: rgba(0, 0, 0, 0) !important;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/card_img_win.png");
-		background-size: 100% 100%;
-		background-position: center;
-		background-repeat: no-repeat;
-	}
-  ::v-deep .popup-unWin .u-popup__content {
-    height: 600rpx;
-    width: 500rpx;
-    background-color: rgba(0, 0, 0, 0) !important;
-    background-image:
-        url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/card_img_unWin.png");
-    background-size: 100% 100%;
-    background-position: center;
-    background-repeat: no-repeat;
-  }
-
-	::v-deep .u-popup__content__close--top-right {
-		top: 510rpx !important;
-		right: 245rpx !important;
-		color: #ffffff;
-	}
-
-
-	::v-deep .u-form-item__body {
-		padding: 8rpx;
-	}
-
-	::v-deep uni-view.u-form-item__body__left {
-		background: #AD7F55;
-		border-radius: 5px 0px 0px 5px;
-		border: 2px solid #63462B;
-		border-right: none;
-	}
-
-	::v-deep .u-form-item__body__right {
-		background-color: #fff;
-		border-radius: 0px 5px 5px 0px;
-		border: 2px solid #63462B;
-	}
-
-	::v-deep uni-text.u-form-item__body__left__content__label {
-		color: #fff !important;
-		padding-left: 4px;
-		letter-spacing: 2px;
-	}
-
-	.popup-flex {
-		display: flex;
-		flex-direction: column;
-		height: 100%;
-
-	}
-
-	.popup-content-scroll {
-		flex: 1;
-    height: 100%;
-	}
-
-
-
-	::v-deep .u-swiper {
-		background-color: rgba(0, 0, 0, 0) !important;
-		padding: 0px 20rpx !important;
-		width: 90%;
-	}
-
-	::v-deep .u-col-4 {
-		display: flex !important;
-		justify-content: center !important;
-		/* 水平居中 */
-		align-items: center !important;
-		/* 垂直居中 */
-	}
-
-	::v-deep .right-col .u-col-4 {
-		display: flex !important;
-		justify-content: flex-end !important;
-		/* 水平居中 */
-		align-items: center !important;
-		/* 垂直居中 */
-	}
-
-
-	.select-tag {
-		position: absolute;
-		right: 0px;
-
-		font-weight: 400;
-		font-size: 20rpx;
-		color: #FFFFFF;
-		width: 40px;
-		text-align: center;
-		background-color: #11BC64;
-		height: 15px;
-		border-radius: 3px;
-		line-height: 15px;
-		z-index: 5;
-	}
-
-
-
-	.card-img-item {
-		height: 100rpx;
-		display: flex;
-		justify-content: center;
-	}
-
-	.card-money {
-		font-weight: 500;
-		font-size: 36rpx;
-		color: #FF31C2;
-	}
-
-	.card-point {
-		font-weight: 500;
-		font-size: 36rpx;
-		color: yellow;
-	}
-
-	.card-text-1 {
-		font-weight: 500;
-		font-size: 30rpx;
-		color: #FB911B;
-	}
-
-	.card-text-2 {
-		font-weight: 500;
-		font-size: 22rpx;
-		color: #FB911B;
-	}
-
-	.popup-title {
-		width: 320rpx;
-		height: 60rpx;
-		background: linear-gradient(45deg, #A767DF, #E7CFFF, #6B51D5, #F6ECFC);
-		border-radius: 30rpx;
-		text-align: center;
-		margin-top: -20px;
-		margin-left: 96rpx;
-		line-height: 60rpx;
-		font-weight: bold;
-		font-size: 36rpx;
-		color: #000000;
-	}
-
-	.card_logo {
-		height: 80rpx;
-	}
-
-
-	.jf_text {
-		font-weight: bold;
-		font-size: 50rpx;
-		color: #F94C28 ;
-    margin-top: 10rpx;
-	}
-
-	.card-logo-popup {
-		display: flex;
-		justify-content: flex-end;
-	}
-
-	.popup_text1 {
-		font-weight: bold;
-		font-size: 36rpx;
-		color: #FB911B;
-		text-align: center;
-		margin-top: 130rpx;
-	}
-
-	.center {
-		display: flex;
-		justify-content: center;
-	}
-
-	.popup_img {
-		height: 200rpx;
-		margin-top: 20rpx;
-	}
-
-	.pupup_text2 {
-		font-weight: bold;
-		font-size: 30rpx;
-    color: #FF6B6B;
-		margin-top: 150rpx;
-
-	}
-
-	.pupup_text3 {
-		font-weight: bold;
-		font-size: 30rpx;
-		color: #FF6B6B;
-		margin-top: 20rpx;
-	}
-
-	.pupup_textMoney {
-		font-weight: 500;
-		font-size: 46rpx;
-		color: #FF6B6B;
-		margin-top: -170rpx;
-	}
-
-  .confirm-btn-container {
-    display: flex;
-    justify-content: center;
-    margin-top: 150rpx;
-  }
-  .popup-unWin .confirm-btn-container{
-    margin-top: 50rpx;
-  }
-
-  .confirm-btn {
-    width: 200rpx;
-    height: 70rpx;
-    background-color: #FF4757;
-    color: #FFFFFF;
-    border-radius: 35rpx;
-    display: flex;
-    align-items: center;
-    justify-content: center;
-    font-size: 32rpx;
-    font-weight: bold;
-  }
- .logo-rules {
-    width: 130rpx;
-  }
-  .card-title {
-    display: flex;
-    justify-content: center;
-  }
-  .red-title-box {
-    background-color: #FF982F;
-    color: #FFFFFF;
-    text-align: center;
-    padding: 20rpx;
-    border-radius: 10rpx;
-    font-weight: bold;
-    font-size: 28rpx;
-    width: auto;
-    height: 16rpx;
-    line-height: 16rpx;
-    margin: 0rpx 0 15rpx;
-  }
-
-
-
-</style>

+ 0 - 216
pages/qilang/index/rules.vue

@@ -1,216 +0,0 @@
-<template>
-	<view class="common">
-		<view class="body">
-			<view class="top-class"></view>
-			<view class="title">
-				活动规则
-			</view>
-      <view class="head">
-
-      </view>
-
-
-			<view class="content">
-
-				<view class="content_text">
-					<view class="h1">
-						.活动规则
-					</view>
-					<view class="text_1">
-						凡购买我司产品,扫描外包装背后二维码,即有机会参与优惠活动,赢取优惠或实物礼品。
-					</view>
-					<view class="h1">
-						.扫码有效时间
-					</view>
-					<view class="text_1">
-						本产品生产日期开始有效期内可以扫码参与优惠活动。
-					</view>
-					<view class="h1">
-						.扫码次数
-					</view>
-					<view class="text_1">
-						每个微信号,单日扫码活动以5次为限。
-					</view>
-					<view class="h1">
-						.活动参与方式
-					</view>
-					<view class="text_1">
-						1.通过手机扫描外包装背面二维码,进入优惠界面。
-					</view>
-					<view class="text_1">
-						2.撕开包装,输入内侧验证码参与优惠活动。
-					</view>
-					<view class="h1">
-						.活动奖品
-					</view>
-					<u-row   class="row-class" customStyle="margin-bottom: 5px" v-for="(item, index) in planDetails">
-						<u-col span="12" textAlign ="left" >
-							<view class=" item-text">{{item.prize_name}}</view>
-						</u-col>
-					</u-row>
-
-				</view>
-				<view class="return_view">
-					<view class="return-button" @click="goBack">返回</view>
-				</view>
-
-			</view>
-		</view>
-
-	</view>
-</template>
-
-<script>
-
-	import {
-		getRule
-	} from '@/api/scan'
-	export default {
-
-		data() {
-			return {
-				scanCode: '',
-				planDetails: []
-			}
-		},
-		onLoad() {
-			this.scanCode = uni.getStorageSync('scanCode');
-			this.initRuleData();
-
-		},
-		methods: {
-			goBack() {
-				uni.navigateBack();
-			},
-			initRuleData() {
-				getRule(this.scanCode).then(res => {
-					console.log(res)
-					if (res.code == 0) {
-						this.planDetails = res.data.planDetails;
-					}
-				})
-			}
-
-		}
-	}
-</script>
-
-<style>
-	@import url('../../../static/scss/common_qilang.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-
-	.item-text{
-		font-weight: 500;
-		font-size: 30rpx;
-		color:  #EC6B25;
-	}
-
-
-	.content {
-		height: 65vh;
-		padding: 10rpx 24rpx;
-		overflow: auto;
-		align-items: center;
-		justify-content: center;
-    border-radius: 48px;
-    background: #FDE2B1;
-    border: 6px solid #FB911b;
-    margin: 10vh 40rpx 0rpx;
-
-	}
-
-
-
-	::v-deep .u-popup__content {
-		height: 720rpx;
-		width: 600rpx;
-		background-color: rgba(0, 0, 0, 0) !important;
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiPopup.png");
-		background-size: cover;
-		background-position: center;
-		background-repeat: no-repeat;
-	}
-
-	::v-deep .u-popup__content__close--top-right {
-		top: 720rpx !important;
-		right: 288rpx !important;
-	}
-
-
-	::v-deep .u-form-item__body {
-		padding: 8rpx;
-	}
-
-	::v-deep uni-view.u-form-item__body__left {
-		background: #AD7F55;
-		border-radius: 5px 0px 0px 5px;
-		border: 2px solid #63462B;
-		border-right: none;
-	}
-
-	::v-deep .u-form-item__body__right {
-		background-color: #fff;
-		border-radius: 0px 5px 5px 0px;
-		border: 2px solid #63462B;
-	}
-
-	::v-deep uni-text.u-form-item__body__left__content__label {
-		color: #fff !important;
-		padding-left: 4px;
-		letter-spacing: 2px;
-	}
-
-	.popup-flex {
-		display: flex;
-		flex-direction: column;
-		height: 100%;
-		/* 或具体高度如340px,确保撑满弹窗 */
-		min-width: 600rpx;
-	}
-
-	.popup-content-scroll {
-		flex: 1;
-	}
-
-	.popup-footer {
-		flex-shrink: 0;
-		padding: 0rpx 0 60rpx 0px;
-		text-align: center;
-		background: transparent;
-		/* 可选,确保无背景遮挡 */
-	}
-
-
-	::v-deep .u-swiper {
-		background-color: rgba(0, 0, 0, 0) !important;
-		padding: 0px 20rpx !important;
-		width: 90%;
-	}
-
-
-	::v-deep .right-col .u-col-4 {
-		display: flex !important;
-		justify-content: flex-end !important;
-		/* 水平居中 */
-		align-items: center !important;
-		/* 垂直居中 */
-	}
-
-	.h1 {
-		font-weight: bold;
-		font-size: 28rpx;
-		color: #000000;
-		margin-bottom: 10rpx;
-	}
-
-	.text_1 {
-		font-weight: 400;
-		font-size: 12px;
-		color: #000000;
-		margin-bottom: 10rpx;
-	}
-</style>

File diff suppressed because it is too large
+ 0 - 102
pages/qilang/introduction/introduction.vue


+ 0 - 160
pages/qilang/my/my.vue

@@ -1,160 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">个人中心</view>
-		<view class="head">
-			<u-row class="row-class"  justify="flex-end">
-				<u-col span="4">
-					<image class="logo-rules"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/rules.png"
-						@click="openDetail" />
-				</u-col>
-			</u-row>
-		</view>
-
-		<view class="content">
-			<view class="">
-				<u-row customStyle="margin-bottom: 10px">
-					<u-col span="4">
-						<image class="tubiao"
-							:src="image"
-							mode="aspectFit" />
-					</u-col>
-					<u-col span="8">
-						<view class="jf_phone">
-							{{userPhone}}
-						</view>
-					</u-col>
-
-				</u-row>
-			</view>
-      <view class="content_title">
-        我的服务
-		  </view>
-			<view class="content_text">
-				<u-row style="height: 200rpx;">
-					<u-col span="4" textAlign="center" @click="jumpScanLog">
-						<image class="tubiao" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/scan.png" mode="aspectFit" />
-						<view class="text-class">
-							扫码记录
-						</view>
-					</u-col>
-				</u-row>
-			</view>
-			<view class="return_view">
-				<view class="return-button" @click="goBack()">返回</view>
-			</view>
-
-		</view>
-		<!--			<CustomTabbar />-->
-	</view>
-</template>
-
-<script>
-	import CustomTabbar from '@/components/tabbar_common.vue';
-	import {
-		getMiniCustomerUserInfo
-	} from '@/api/scan';
-	export default {
-		components: {
-			CustomTabbar
-		},
-		data() {
-			return {
-				userPhone: '',
-				point: 0,
-        image:'https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/logo.png'
-			}
-		},
-		onLoad() {
-			this.initUserData();
-		},
-		methods: {
-      openDetail() {
-        uni.navigateTo({
-          url: '/pages/qilang/index/rules'
-        });
-      },
-			initUserData() {
-				let that = this;
-				getMiniCustomerUserInfo().then(res => {
-
-					if (res.code === 0) {
-						that.userPhone = res.data.phone;
-						that.point = res.data.point;
-            if (res.data.image !== '' && res.data.image != null){
-              that.image = res.data.image;
-            }
-						console.log(that.point);
-					}
-				})
-			},
-			goBack() {
-				uni.navigateBack();
-			},
-			jumpScanLog() {
-				uni.navigateTo({
-					url: '/pages/qilang/record/record'
-				});
-			},
-
-		}
-	}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_qilang.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-	.content_text {
-		height: calc(100% - 300rpx);
-	}
-  .content_title {
-    font-weight: 700;
-    font-size: 38rpx;
-    color: #333333;
-    margin-bottom: 10rpx;
-    margin-left: 30rpx;
-  }
-
-
-	.content {
-		height: 64vh;
-		border-radius: 10rpx;
-    margin: 16vh 40rpx 0vh 40rpx;
-		padding: 10rpx 24rpx;
-		overflow: auto;
-		align-items: center;
-		justify-content: center;
-    border-radius: 48px;
-    background: #FDE2B1;
-    border: 6px solid #FB911b;
-	}
-
-	.tubiao {
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: center;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 120rpx;
-		width: 100%;
-	}
-
-	.text-class {
-    font-weight: 600;
-    font-size: 16px;
-    color: #333333;
-	}
-
-	.jf_phone {
-		font-weight: bold;
-		font-size: 30rpx;
-		color: #000000;
-		margin-bottom: 10rpx;
-	}
-
-</style>

+ 0 - 242
pages/qilang/record/record.vue

@@ -1,242 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			扫码记录
-		</view>
-    <view class="head">
-      <u-row class="row-class"  justify="flex-end">
-        <u-col span="4">
-          <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/rules.png"  />
-        </u-col>
-      </u-row>
-    </view>
-
-		<!-- 公司简介内容卡片 -->
-		<view class="content">
-
-			<view class="content_text">
-				<view class="filter-btn-group">
-					<view class="row-text">发放状态:</view>
-					<view v-for="(item, idx) in filterOptions" :key="idx"
-						:class="['filter-btn', filterStatus === item.value ? 'active' : '']"
-						@click="onFilterChange(item.value)">
-						{{ item.label }}
-					</view>
-				</view>
-				<view class="filter-btn-group list-title">
-					<view class="son">
-						奖品名称
-					</view>
-					<view class="son">
-						中奖时间
-					</view>
-					<view class="son">
-						兑换状态
-					</view>
-
-					<view>
-						操作
-					</view>
-				</view>
-				<view class="content-list">
-					<image v-if="list == null || list.length == 0 " style="height: 240rpx;margin-top: 140rpx"
-						src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/noData.png"
-						mode="heightFix"></image>
-					<template v-for="(item, index) in list">
-						<view class="row-one" :key="index">
-							<view class="filter-btn-group">
-                <view class="son" v-if="item.prize_type === 2">
-                  再来一包
-                </view>
-                <view class="son" v-else-if="item.prize_type === 4">
-                  {{item.prize_detail}}积分
-                </view>
-                <view class="son" v-else>
-                  {{ item.prize_name }}
-                </view>
-								<view class="son">
-									{{ item.zhongjiang_time }}
-								</view>
-								<view class="son">
-									{{ item.duijiang_status }}
-								</view>
-								<view class="detail-btn" @click="toggleDetail(index)">
-									详情
-								</view>
-							</view>
-
-							<!-- 只有当 detailVisible 为 true 时才显示 detail 部分 -->
-							<view class="detail" v-if="item.detailVisible">
-								<view class="text-one">
-									详情:{{item.prize_detail}}
-								</view>
-								<view class="text-two">
-									发放时间:{{ item.send_time != undefined ? item.send_time : '--'  }} <!-- 这里可以填入合适的数据 -->
-								</view>
-							</view>
-						</view>
-					</template>
-
-				</view>
-			</view>
-
-
-			<view class="return_view">
-				<view class="return-button"  @click="goBack">返回</view>
-			</view>
-		</view>
-
-	</view>
-</template>
-
-<script>
-import {
-  scanQuery
-} from '@/api/scan'
-import recordMixin from '@/mixins/recordMixin.js'
-
-export default {
-  mixins: [recordMixin],
-  onLoad() {
-    this.scanCode = uni.getStorageSync('scanCode');
-    // 调用 mixin 中的通用方法
-    this.baseInitGetlist(scanQuery);
-  },
-  methods: {
-    onFilterChange(val) {
-      this.filterStatus = val;
-      this.baseInitGetlist(scanQuery);
-    },
-    initGetlist() {
-      // 调用 mixin 中的通用方法
-      this.baseInitGetlist(scanQuery);
-    },
-    openDetail() {
-      uni.navigateTo({
-        url: '/pages/qilang/index/rules'
-      });
-    },
-  }
-}
-</script>
-
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_qilang.css');
-
-	.row-class {
-		height: 80rpx;
-	}
-	.cardTop{
-		background-image:
-			url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/smjl.png");
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-	.content {
-		height: 68vh;
-		padding: 10rpx 24rpx;
-		overflow: auto;
-		align-items: center;
-		justify-content: center;
-    border-radius: 48px;
-    background: #FDE2B1;
-    border: 6px solid #FB911b;
-    margin: 10vh 40rpx 0rpx;
-
-	}
-
-	.filter-btn-group {
-		display: flex;
-		justify-content: flex-start;
-		align-items: center;
-		gap: 24rpx;
-		margin: 10rpx 0 10rpx 0;
-	}
-
-	.filter-btn {
-		padding: 4rpx 20rpx;
-		border: 2rpx solid #F94C28;
-		color: #F94C28;
-		font-size: 28rpx;
-		transition: all 0.2s;
-	}
-
-	.filter-btn.active {
-		background: #F94C28;
-		color: #fff;
-		border: 2rpx solid #F94C28;
-	}
-
-	.row-text {
-		font-weight: bold;
-		font-size: 14px;
-		color: #493D3E ;
-	}
-
-	.list-title {
-		font-weight: bold;
-		font-size: 28rpx;
-		color: #493D3E ;
-	}
-
-	.son {
-		width: 140rpx;
-	}
-
-	.row-one {
-		font-weight: 400;
-		font-size: 28rpx;
-		color: #4A3D3E ;
-	}
-
-	.detail {
-		background-image: url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/detailImg.png");
-		background-size: cover;
-		/* 确保背景图片自适应填充整个容器 */
-		background-position: inherit;
-		/* 背景图片居中显示 */
-		background-repeat: no-repeat;
-		/* 防止背景图重复 */
-		height: 134rpx;
-
-		.text-one {
-			height: 70rpx;
-			line-height: 90rpx;
-			text-align: left;
-			margin-left: 20rpx;
-		}
-
-		.text-two {
-			text-align: left;
-			height: 60rpx;
-			line-height: 60rpx;
-			margin-left: 20rpx;
-
-		}
-
-	}
-
-
-
-	.detail-btn {
-		color: #F94C28;
-	}
-
-	.content-list {
-		overflow: auto;
-		text-align: center;
-		height: calc(100% - 160rpx);
-	}
-</style>

+ 0 - 186
pages/qilang/traceability/traceability.vue

@@ -1,186 +0,0 @@
-<template>
-	<view class="intro-page common">
-		<view class="top-class"></view>
-		<view class="title">
-			产品溯源
-		</view>
-    <view class="head">
-      <u-row class="row-class"  justify="flex-end">
-        <u-col span="4">
-          <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/rules.png"  />
-        </u-col>
-      </u-row>
-    </view>
-
-		<!-- 公司简介内容卡片 -->
-		<view class="content">
-
-			<view class="content_text">
-				<view class="content_imgView">
-					<image class="img_2" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/commodity_1.png"
-						mode="heightFix" />
-				</view>
-
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">产品名称</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text-value">{{info.productName}}</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">商标名称</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text-value">七榔槟榔</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">产品类型</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text-value">低纤槟榔胶果(槟榔制品)</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">生产日期</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text-value">见包装喷码区</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">批&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text-value">{{info.pici}}</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">保&nbsp;&nbsp;质&nbsp;&nbsp;期</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text-value">18个月</view>
-					</u-col>
-				</u-row>
-				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">出&nbsp;&nbsp;品&nbsp;&nbsp;商</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text-value">武汉市胜昌经贸有限公司</view>
-					</u-col>
-				</u-row>
-<!-- 				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">销售市场</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">湖南长沙</view>
-					</u-col>
-				</u-row> -->
-<!-- 				<u-row class="row-class" customStyle="margin-bottom: 5px">
-					<u-col span="4">
-						<view class="item-left item-text">生产厂址</view>
-					</u-col>
-					<u-col span="8">
-						<view class="item-text">湖南湘潭市湘潭县</view>
-					</u-col>
-				</u-row> -->
-			</view>
-			<view class="return_view">
-				<view class="return-button" @click="goBack">返回</view>
-			</view>
-
-		</view>
-
-	</view>
-</template>
-
-<script>
-import {
-  suyuanData
-} from '@/api/scan'
-import traceabilityMixin from '@/mixins/traceabilityMixin.js'
-
-export default {
-  mixins: [traceabilityMixin],
-  onLoad() {
-    this.scanCode = uni.getStorageSync('scanCode');
-    // 调用 mixin 中的方法
-    this.initData(suyuanData);
-  },
-  methods: {
-    // 不再需要定义 initData 方法,使用 mixin 中的方法
-    openDetail(){
-      uni.navigateTo({
-        url: '/pages/qilang/index/rules'
-      });
-    }
-  }
-}
-</script>
-
-<style lang="scss" scoped>
-	@import url('../../../static/scss/common_qilang.css');
-
-	.row-class {
-		height: 60rpx;
-	}
-
-	.theme-text {
-		height: 10vh;
-		text-align: center;
-		line-height: 11vh;
-
-		.textImage {
-			height: 80rpx;
-			width: 400rpx;
-		}
-	}
-
-
-	::v-deep .item-left {
-		border-radius: 6rpx !important;
-		text-align: center;
-		width: 160rpx !important;
-	}
-
-	.item-text {
-		font-weight: 600;
-		font-size: 30rpx;
-		color: #333333;
-	}
-  .item-text-value{
-    font-weight: 600;
-    font-size: 30rpx;
-    color: #EC6B25;
-  }
-
-	.content {
-		height: 69vh;
-		padding: 10rpx 24rpx;
-		overflow: auto;
-		align-items: center;
-		justify-content: center;
-    border-radius: 48px;
-    background: #FDE2B1;
-    border: 6px solid #FB911b;
-    margin: 10vh 40rpx 0rpx;
-
-	}
-	.img_2{
-		height: 240rpx;
-	}
-	.content_imgView{
-    margin-bottom: 40rpx;
-		display: flex;
-		justify-content: center;
-	}
-</style>

BIN
static/images/tabbar/qilang/company.png


BIN
static/images/tabbar/qilang/my.png


BIN
static/images/tabbar/qilang/opinion.png


BIN
static/images/tabbar/qilang/traceability.png