@alu008/test_yuanqikaixiang 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/App.vue +294 -0
  2. package/Local/en.json +3 -0
  3. package/Local/indian.json +3 -0
  4. package/Local/zh-Hans.json +3 -0
  5. package/Local/zh-Hant.json +3 -0
  6. package/README.md +1 -0
  7. package/androidPrivacy.json +28 -0
  8. package/components/ball/ball.vue +230 -0
  9. package/components/cardDetails/cardDetails.vue +273 -0
  10. package/components/confirmModal/confirmModal.vue +125 -0
  11. package/components/fillInfo/fillInfo.vue +255 -0
  12. package/components/header/header.vue +92 -0
  13. package/components/selectAddress/selectAddress.vue +156 -0
  14. package/components/signDetail/signDetail.vue +33 -0
  15. package/components/skeleton/skeleton.vue +62 -0
  16. package/index.html +20 -0
  17. package/index.template.html +35 -0
  18. package/jsconfig.json +9 -0
  19. package/main.js +48 -0
  20. package/manifest.json +159 -0
  21. package/package.json +14 -0
  22. package/pages/index/index.vue +5421 -0
  23. package/pages.json +173 -0
  24. package/project.config.json +25 -0
  25. package/project.private.config.json +14 -0
  26. package/static/fonts/Alibaba-PuHuiTi-Bold.ttf +0 -0
  27. package/static/fonts/Alibaba-PuHuiTi-Medium.ttf +0 -0
  28. package/static/fonts/Alibaba-PuHuiTi-Regular.ttf +0 -0
  29. package/static/fonts/fxlh.ttf +0 -0
  30. package/static/img/R.png +0 -0
  31. package/static/img/SR.png +0 -0
  32. package/static/img/SSR.png +0 -0
  33. package/static/img/bottomBgc1.png +0 -0
  34. package/static/img/centerBgc.png +0 -0
  35. package/static/img/goldBgc.png +0 -0
  36. package/static/img/goldText.png +0 -0
  37. package/static/img/home/calendar/bgc0.png +0 -0
  38. package/static/img/home/calendar/bgc1.png +0 -0
  39. package/static/img/home/calendar/bgc2.png +0 -0
  40. package/static/img/home/calendar/bgc3.png +0 -0
  41. package/static/img/home/calendar/progress0.png +0 -0
  42. package/static/img/home/calendar/progress1.png +0 -0
  43. package/static/img/home/calendar/progress2.png +0 -0
  44. package/static/img/home/calendar/progress3.png +0 -0
  45. package/static/img/kuang.gif +0 -0
  46. package/static/img/luckyBgc.png +0 -0
  47. package/static/img/lucyText.png +0 -0
  48. package/static/img/top_Bgc.png +0 -0
  49. package/subpackages/article/article.vue +64 -0
  50. package/subpackages/confirmSendLogistics/confirmSendLogistics.vue +1035 -0
  51. package/subpackages/coupon/coupon.vue +276 -0
  52. package/subpackages/fragment/fragment.vue +1592 -0
  53. package/subpackages/myAddress/myAddress.vue +656 -0
  54. package/subpackages/myCards/myCards.vue +1250 -0
  55. package/subpackages/myOrder/myOrder.vue +779 -0
  56. package/subpackages/myOrderDetail/myOrderDetail.vue +659 -0
  57. package/subpackages/poster/poster.vue +130 -0
  58. package/subpackages/selectCoupon/selectCoupon.vue +251 -0
  59. package/subpackages/sendLogistics/sendLogistics.vue +1097 -0
  60. package/subpackages/vote/vote.vue +877 -0
  61. package/uni.promisify.adaptor.js +10 -0
  62. package/uni.scss +114 -0
  63. package/uni_modules/qf-image-cropper/changelog.md +72 -0
  64. package/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.render.js +855 -0
  65. package/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue +749 -0
  66. package/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.wxs +727 -0
  67. package/uni_modules/qf-image-cropper/package.json +81 -0
  68. package/uni_modules/qf-image-cropper/readme.md +97 -0
  69. package/uni_modules/uni-data-select/changelog.md +51 -0
  70. package/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue +837 -0
  71. package/uni_modules/uni-data-select/package.json +106 -0
  72. package/uni_modules/uni-data-select/readme.md +8 -0
  73. package/uni_modules/uni-icons/changelog.md +44 -0
  74. package/uni_modules/uni-icons/components/uni-icons/uni-icons.uvue +91 -0
  75. package/uni_modules/uni-icons/components/uni-icons/uni-icons.vue +110 -0
  76. package/uni_modules/uni-icons/components/uni-icons/uniicons.css +664 -0
  77. package/uni_modules/uni-icons/components/uni-icons/uniicons.ttf +0 -0
  78. package/uni_modules/uni-icons/components/uni-icons/uniicons_file.ts +664 -0
  79. package/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js +649 -0
  80. package/uni_modules/uni-icons/package.json +111 -0
  81. package/uni_modules/uni-icons/readme.md +8 -0
  82. package/uni_modules/uni-load-more/changelog.md +23 -0
  83. package/uni_modules/uni-load-more/components/uni-load-more/i18n/en.json +5 -0
  84. package/uni_modules/uni-load-more/components/uni-load-more/i18n/index.js +8 -0
  85. package/uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hans.json +5 -0
  86. package/uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hant.json +5 -0
  87. package/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue +404 -0
  88. package/uni_modules/uni-load-more/package.json +105 -0
  89. package/uni_modules/uni-load-more/readme.md +14 -0
  90. package/uni_modules/uni-scss/changelog.md +8 -0
  91. package/uni_modules/uni-scss/index.scss +1 -0
  92. package/uni_modules/uni-scss/package.json +82 -0
  93. package/uni_modules/uni-scss/readme.md +4 -0
  94. package/uni_modules/uni-scss/styles/index.scss +7 -0
  95. package/uni_modules/uni-scss/styles/setting/_border.scss +3 -0
  96. package/uni_modules/uni-scss/styles/setting/_color.scss +66 -0
  97. package/uni_modules/uni-scss/styles/setting/_radius.scss +55 -0
  98. package/uni_modules/uni-scss/styles/setting/_space.scss +56 -0
  99. package/uni_modules/uni-scss/styles/setting/_styles.scss +167 -0
  100. package/uni_modules/uni-scss/styles/setting/_text.scss +24 -0
  101. package/uni_modules/uni-scss/styles/setting/_variables.scss +146 -0
  102. package/uni_modules/uni-scss/styles/tools/functions.scss +19 -0
  103. package/uni_modules/uni-scss/theme.scss +31 -0
  104. package/uni_modules/uni-scss/variables.scss +62 -0
  105. package/utils/addressData.js +6042 -0
  106. package/utils/api.js +160 -0
  107. package/utils/fetch.js +548 -0
  108. package/utils/index.js +994 -0
  109. package/utils/navigator.js +17 -0
  110. package/utils/request.js +162 -0
package/pages.json ADDED
@@ -0,0 +1,173 @@
1
+ {
2
+ "easycom": {
3
+ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
4
+ },
5
+ "pages": [
6
+ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
7
+
8
+ {
9
+ "path": "pages/index/index",
10
+ "style": {
11
+ "navigationBarTitleText": "集好运赢入场券",
12
+ "navigationStyle": "custom"
13
+ }
14
+ }
15
+ ],
16
+ "tabBar": {},
17
+
18
+ "subPackages": [
19
+ {
20
+ "root": "subpackages",
21
+ "pages": [
22
+ {
23
+ "path": "poster/poster",
24
+ "style": {
25
+ "navigationBarTitleText": "我的订单",
26
+ "navigationStyle": "custom",
27
+ "titleNView": {
28
+ "backgroundColor": "#FFFFFF",
29
+ "titleColor": "#000000"
30
+ }
31
+ }
32
+ },
33
+ {
34
+ "path": "myOrder/myOrder",
35
+ "style": {
36
+ "navigationBarTitleText": "中奖记录",
37
+ "navigationStyle": "custom",
38
+ "titleNView": {
39
+ "backgroundColor": "#FFFFFF",
40
+ "titleColor": "#000000"
41
+ }
42
+ }
43
+ },
44
+
45
+ {
46
+ "path": "myAddress/myAddress",
47
+ "style": {
48
+ "navigationBarTitleText": "地址管理",
49
+ "navigationStyle": "custom",
50
+ "titleNView": {
51
+ "backgroundColor": "#FFFFFF",
52
+ "titleColor": "#000000"
53
+ }
54
+ }
55
+ },
56
+ {
57
+ "path": "coupon/coupon",
58
+ "style": {
59
+ "navigationBarTitleText": "我的卡券",
60
+ "titleNView": {
61
+ "backgroundColor": "#FFFFFF",
62
+ "titleColor": "#000000"
63
+ }
64
+ }
65
+ },
66
+
67
+ {
68
+ "path": "myOrderDetail/myOrderDetail",
69
+ "style": {
70
+ "navigationBarTitleText": "发货详情",
71
+ "titleNView": {
72
+ "backgroundColor": "#FFFFFF",
73
+ "titleColor": "#000000"
74
+ },
75
+ "navigationStyle": "custom"
76
+ }
77
+ },
78
+
79
+ {
80
+ "path": "myCards/myCards",
81
+ "style": {
82
+ "navigationBarTitleText": "我的奖品",
83
+ "titleNView": {
84
+ "backgroundColor": "#FFFFFF",
85
+ "titleColor": "#000000"
86
+ },
87
+ "navigationStyle": "custom"
88
+ }
89
+ },
90
+
91
+ {
92
+ "path": "sendLogistics/sendLogistics",
93
+ "style": {
94
+ "navigationBarTitleText": "邮寄",
95
+ "navigationStyle": "custom",
96
+ "titleNView": {
97
+ "backgroundColor": "#FFFFFF",
98
+ "titleColor": "#000000"
99
+ }
100
+ }
101
+ },
102
+
103
+ {
104
+ "path": "confirmSendLogistics/confirmSendLogistics",
105
+ "style": {
106
+ "navigationBarTitleText": "确认发货",
107
+ "navigationStyle": "custom",
108
+ "titleNView": {
109
+ "backgroundColor": "#FFFFFF",
110
+ "titleColor": "#000000"
111
+ }
112
+ }
113
+ },
114
+
115
+ {
116
+ "path": "fragment/fragment",
117
+ "style": {
118
+ "navigationBarTitleText": "好运值",
119
+ "navigationStyle": "custom",
120
+ "titleNView": {
121
+ "backgroundColor": "#FFFFFF",
122
+ "titleColor": "#000000"
123
+ }
124
+ }
125
+ },
126
+ {
127
+ "path": "article/article",
128
+ "style": {
129
+ "navigationBarTitleText": "规则",
130
+ "navigationStyle": "custom",
131
+ "titleNView": {
132
+ "backgroundColor": "#FFFFFF",
133
+ "titleColor": "#000000"
134
+ }
135
+ }
136
+ },
137
+
138
+ {
139
+ "path": "selectCoupon/selectCoupon",
140
+ "style": {
141
+ "navigationBarTitleText": "优惠券",
142
+ "titleNView": {
143
+ "backgroundColor": "#FFFFFF",
144
+ "titleColor": "#000000"
145
+ }
146
+ }
147
+ },
148
+ {
149
+ "path": "vote/vote",
150
+ "style": {
151
+ "navigationBarTitleText": "",
152
+ "navigationStyle": "custom",
153
+ "titleNView": {
154
+ "backgroundColor": "#FFFFFF",
155
+ "titleColor": "#000000"
156
+ }
157
+ }
158
+ }
159
+ ]
160
+ }
161
+ ],
162
+ "globalStyle": {
163
+ "navigationBarTextStyle": "black",
164
+ "navigationBarTitleText": "",
165
+ "navigationBarBackgroundColor": "#fff",
166
+ "app-plus": {
167
+ "bounce": "none"
168
+ },
169
+ "rpxCalcMaxDeviceWidth": 500
170
+ },
171
+ "uniIdRouter": {},
172
+ "requiredPrivateInfos": []
173
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "setting": {
3
+ "es6": true,
4
+ "postcss": true,
5
+ "minified": true,
6
+ "uglifyFileName": false,
7
+ "enhance": true,
8
+ "packNpmRelationList": [],
9
+ "babelSetting": {
10
+ "ignore": [],
11
+ "disablePlugins": [],
12
+ "outputPath": ""
13
+ },
14
+ "useCompilerPlugins": false,
15
+ "minifyWXML": true
16
+ },
17
+ "compileType": "miniprogram",
18
+ "simulatorPluginLibVersion": {},
19
+ "packOptions": {
20
+ "ignore": [],
21
+ "include": []
22
+ },
23
+ "appid": "wx5a2e25ccaf79b3f2",
24
+ "editorSetting": {}
25
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "libVersion": "3.12.1",
3
+ "projectname": "",
4
+ "setting": {
5
+ "urlCheck": true,
6
+ "coverView": true,
7
+ "lazyloadPlaceholderEnable": false,
8
+ "skylineRenderEnable": false,
9
+ "preloadBackgroundData": false,
10
+ "autoAudits": false,
11
+ "showShadowRootInWxmlPanel": true,
12
+ "compileHotReLoad": true
13
+ }
14
+ }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,64 @@
1
+ <template>
2
+ <view>
3
+ <u-sticky bgColor="#fff">
4
+ <Header title=""></Header>
5
+ </u-sticky>
6
+ <view class="htmlContent">
7
+ <rich-text :nodes="htmlSnip"></rich-text>
8
+ </view>
9
+ </view>
10
+ </template>
11
+
12
+ <script>
13
+ import { fetchSystemProtocol } from "@/utils/fetch";
14
+ import Header from '@/components/header/header.vue';
15
+ export default {
16
+ data() {
17
+ return {
18
+ statusBarHeight:0,
19
+ htmlSnip: "<div></div>",
20
+ key: "",
21
+ };
22
+ },
23
+ components: {
24
+ Header
25
+ },
26
+ onLoad(option) {
27
+ this.key = option.key;
28
+
29
+ let title = "";
30
+
31
+ if (option.key == "system:PrivacyClause") {
32
+ title = "隐私政策";
33
+ } else if (option.key == "system:UserAgreement") {
34
+ title = "用户服务协议";
35
+ } else if (option.key == "gacha") {
36
+ title = "活动规则";
37
+ } else if (option.key == "system:ThirdPartyPointExchange") {
38
+ title = "规则说明";
39
+ }
40
+ uni.setNavigationBarTitle({
41
+ title: title,
42
+ });
43
+ this.getProtocol();
44
+
45
+ // this.htmlSnip = option.htmlSnip;
46
+ },
47
+
48
+ methods: {
49
+ getProtocol() {
50
+ fetchSystemProtocol({
51
+ key: this.key,
52
+ }).then((res) => {
53
+ this.htmlSnip = res.text;
54
+ });
55
+ },
56
+ },
57
+ };
58
+ </script>
59
+
60
+ <style scoped>
61
+ .htmlContent {
62
+ padding: 32rpx;
63
+ }
64
+ </style>