diff --git a/common/request.js b/common/request.js
index 3c9a037..658bca9 100644
--- a/common/request.js
+++ b/common/request.js
@@ -259,30 +259,6 @@ class RequestManager {
} else if (res.data.status == 2222) {
// 特殊状态码处理
resolve(res.data)
- } else if (res.data.status == -9) {
- let pages = getCurrentPages()
- console.log(pages[pages.length - 1].route)
- setTimeout(() => {
- uni.showToast({
- title: res.data.msg,
- icon: 'none',
- success() {
- setTimeout(() => {
- // #ifdef H5
- uni.navigateTo({
- url: '/pages/users/bangdingweb'
- })
- // #endif
- // #ifdef MP-WEIXIN
- uni.navigateTo({
- url: '/pages/users/bangding'
- })
- // #endif
- }, 1500)
- }
- })
- }, 100)
- reject(res.data)
} else if (res.data.status == 0) {
setTimeout(function () {
uni.showToast({
diff --git a/main.js b/main.js
index 866f51f..ed9151d 100644
--- a/main.js
+++ b/main.js
@@ -39,17 +39,6 @@ Vue.prototype.$config = ConfigManager
Vue.prototype.req = RequestManager.request
Vue.prototype.$request = RequestManager
-// #ifdef H5
-function loadScript(url) {
- var script = document.createElement('script')
- script.type = 'text/javascript'
- script.src = url
- document.head.appendChild(script)
-}
-
-loadScript('https://res.wx.qq.com/open/js/jweixin-1.6.0.js')
-// #endif
-
Vue.config.productionTip = false
Vue.mixin(Mixin)
diff --git a/package-lock.json b/package-lock.json
index 7406faf..f132f34 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,6 +9,7 @@
"crypto-js": "^4.2.0",
"eruda": "^3.4.1",
"js-md5": "^0.8.3",
+ "three": "^0.177.0",
"uqrcodejs": "^4.0.7"
}
},
@@ -41,6 +42,12 @@
"resolved": "https://registry.npmjs.org/lucky-canvas/-/lucky-canvas-1.7.27.tgz",
"integrity": "sha512-Ftz6qD+863bI7xijBmZg3dw3cNEc7odPr70EZQcGA14y3TgTAzH65HPosOCd6kKUlMwhntBaHMx3onoj9MtJRQ=="
},
+ "node_modules/three": {
+ "version": "0.177.0",
+ "resolved": "https://registry.npmjs.org/three/-/three-0.177.0.tgz",
+ "integrity": "sha512-EiXv5/qWAaGI+Vz2A+JfavwYCMdGjxVsrn3oBwllUoqYeaBO75J63ZfyaQKoiLrqNHoTlUc6PFgMXnS0kI45zg==",
+ "license": "MIT"
+ },
"node_modules/uqrcodejs": {
"version": "4.0.7",
"resolved": "https://registry.npmjs.org/uqrcodejs/-/uqrcodejs-4.0.7.tgz",
diff --git a/package.json b/package.json
index 9b553e7..83a6ce4 100644
--- a/package.json
+++ b/package.json
@@ -4,6 +4,7 @@
"crypto-js": "^4.2.0",
"eruda": "^3.4.1",
"js-md5": "^0.8.3",
+ "three": "^0.177.0",
"uqrcodejs": "^4.0.7"
}
}
diff --git a/pages.json b/pages.json
index 010338f..d3eaf56 100644
--- a/pages.json
+++ b/pages.json
@@ -36,22 +36,6 @@
"navigationBarTextStyle": "black"
}
},
- {
- "path": "pages/main/rili",
- "style": {
- "navigationBarTitleText": "预售日历",
- "navigationBarBackgroundColor": "#161616",
- "navigationBarTextStyle": "black"
- }
- },
- {
- "path": "pages/main/bangdan",
- "style": {
- "navigationStyle": "custom",
- "navigationBarBackgroundColor": "#161616",
- "navigationBarTextStyle": "black"
- }
- },
{
"path": "pages/main/huanxiang",
"style": {
@@ -69,14 +53,7 @@
"navigationBarTextStyle": "black"
}
},
- {
- "path": "pages/users/bangding",
- "style": {
- "navigationBarTitleText": "绑定手机号",
- "navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black"
- }
- },
+
{
"path": "pages/users/index",
"style": {
@@ -108,15 +85,7 @@
"navigationBarTextStyle": "black"
}
},
- {
- "path": "pages/users/order",
- "style": {
- "navigationBarBackgroundColor": "#222222",
- "navigationBarTitleText": "订单详情",
- "navigationBarTextStyle": "black",
- "navigationStyle": "custom"
- }
- },
+
{
"path": "pages/users/jf_jl",
"style": {
@@ -141,15 +110,6 @@
"navigationBarTextStyle": "black"
}
},
- {
- "path": "pages/users/my_coupon",
- "style": {
- "navigationBarTitleText": "欧气券",
- "navigationBarBackgroundColor": "#222222",
- "navigationBarTextStyle": "black",
- "navigationStyle": "custom"
- }
- },
{
"path": "pages/users/bi_jl",
"style": {
@@ -213,12 +173,7 @@
"navigationStyle": "custom"
}
},
- {
- "path": "pages/users/bangdingweb",
- "style": {
- "navigationBarTitleText": "绑定手机号"
- }
- },
+
{
"path": "pages/main/invite_ranking",
"style": {
@@ -287,12 +242,7 @@
"navigationStyle": "custom"
}
},
- {
- "path": "pages/main/slots",
- "style": {
- "navigationStyle": "custom"
- }
- },
+
{
"path": "pages/other/choose_address",
"style": {
@@ -317,18 +267,6 @@
"navigationStyle": "custom"
}
},
- {
- "path": "pages/main/prize-wheel-demo",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/main/canvas-prize-demo",
- "style": {
- "navigationStyle": "custom"
- }
- },
{
"path": "pages/other/web-pay-order",
"style": {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 0891a7d..a8dfe51 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -11,7 +11,7 @@
@@ -1863,4 +1883,55 @@ export default {
}
}
}
+
+.unused-container {
+ display: none;
+ opacity: 0;
+ transform: scale(0);
+}
+
+.hidden-text {
+ visibility: hidden;
+ position: absolute;
+ left: -9999px;
+}
+
+@keyframes spin {
+ from { transform: rotate(0deg); }
+ to { transform: rotate(360deg); }
+}
+
+@keyframes bounce {
+ 0%, 100% { transform: translateY(0); }
+ 50% { transform: translateY(-20px); }
+}
+
+.spinning-box {
+ width: 50px;
+ height: 50px;
+ background: #f00;
+ animation: spin 2s linear infinite;
+}
+
+.bouncing-ball {
+ width: 30px;
+ height: 30px;
+ background: #0f0;
+ animation: bounce 1s ease-in-out infinite;
+}
+
+$unused-color: #ff0000;
+$dummy-spacing: 20px;
+$hidden-opacity: 0;
+
+@mixin unused-mixin {
+ padding: $dummy-spacing;
+ background: $unused-color;
+ opacity: $hidden-opacity;
+}
+
+.unused-class {
+ @include unused-mixin;
+ display: none;
+}
\ No newline at end of file
diff --git a/pages/main/bangdan.vue b/pages/main/bangdan.vue
deleted file mode 100644
index dcfb241..0000000
--- a/pages/main/bangdan.vue
+++ /dev/null
@@ -1,744 +0,0 @@
-
-
-
-
-
-
-
-
-
- {{ listdata[0].nickname }}
-
-
-
- {{ listdata[0].prize_title }}
-
-
-
-
-
-
-
- {{ listdata[1].nickname }}
-
-
-
- {{ listdata[1].prize_title }}
-
-
-
-
-
-
-
- {{ listdata[2].nickname }}
-
-
-
- {{ listdata[2].prize_title }}
-
-
-
-
-
- {{ index + 1 }}
-
-
-
-
-
-
- {{ item.nickname }}
-
- {{ item.prize_title }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ my_rank.my_nickname }}
-
-
-
- 当前排名:
- {{ my_rank.my_rank || '暂无' }}
-
-
-
-
-
-
-
- 榜单规则
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/main/canvas-prize-demo.vue b/pages/main/canvas-prize-demo.vue
deleted file mode 100644
index 70ec637..0000000
--- a/pages/main/canvas-prize-demo.vue
+++ /dev/null
@@ -1,223 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 抽奖结果:
- {{prizeResult.value}}
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/main/huanxiang.vue b/pages/main/huanxiang.vue
index a250c9e..89b8338 100644
--- a/pages/main/huanxiang.vue
+++ b/pages/main/huanxiang.vue
@@ -7,7 +7,7 @@
-