@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
@@ -0,0 +1,10 @@
1
+ uni.addInterceptor({
2
+ returnValue (res) {
3
+ if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) {
4
+ return res;
5
+ }
6
+ return new Promise((resolve, reject) => {
7
+ res.then((res) => res[0] ? reject(res[0]) : resolve(res[1]));
8
+ });
9
+ },
10
+ });
package/uni.scss ADDED
@@ -0,0 +1,114 @@
1
+ /**
2
+ * 这里是uni-app内置的常用样式变量
3
+ *
4
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
5
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
6
+ *
7
+ */
8
+
9
+ /**
10
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
11
+ *
12
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
13
+ */
14
+ @import "uview-ui/theme.scss";
15
+ /* 颜色变量 */
16
+
17
+ /* 行为相关颜色 */
18
+ $uni-color-primary: #007aff;
19
+ $uni-color-success: #4cd964;
20
+ $uni-color-warning: #f0ad4e;
21
+ $uni-color-error: #dd524d;
22
+
23
+ /* 文字基本颜色 */
24
+ $uni-text-color: #333; //基本色
25
+ $uni-text-color-inverse: #fff; //反色
26
+ $uni-text-color-grey: #999; //辅助灰色,如加载更多的提示信息
27
+ $uni-text-color-placeholder: #808080;
28
+ $uni-text-color-disable: #c0c0c0;
29
+
30
+ /* 背景颜色 */
31
+ $uni-bg-color: #ffffff;
32
+ $uni-bg-color-grey: #f8f8f8;
33
+ $uni-bg-color-hover: #f1f1f1; //点击状态颜色
34
+ $uni-bg-color-mask: rgba(0, 0, 0, 0.4); //遮罩颜色
35
+
36
+ /* 边框颜色 */
37
+ $uni-border-color: #c8c7cc;
38
+
39
+ /* 尺寸变量 */
40
+
41
+ /* 文字尺寸 */
42
+ $uni-font-size-sm: 12px;
43
+ $uni-font-size-base: 14px;
44
+ $uni-font-size-lg: 16px;
45
+
46
+ /* 图片尺寸 */
47
+ $uni-img-size-sm: 20px;
48
+ $uni-img-size-base: 26px;
49
+ $uni-img-size-lg: 40px;
50
+
51
+ /* Border Radius */
52
+ $uni-border-radius-sm: 2px;
53
+ $uni-border-radius-base: 3px;
54
+ $uni-border-radius-lg: 6px;
55
+ $uni-border-radius-circle: 50%;
56
+
57
+ /* 水平间距 */
58
+ $uni-spacing-row-sm: 5px;
59
+ $uni-spacing-row-base: 10px;
60
+ $uni-spacing-row-lg: 15px;
61
+
62
+ /* 垂直间距 */
63
+ $uni-spacing-col-sm: 4px;
64
+ $uni-spacing-col-base: 8px;
65
+ $uni-spacing-col-lg: 12px;
66
+
67
+ /* 透明度 */
68
+ $uni-opacity-disabled: 0.3; // 组件禁用态的透明度
69
+
70
+ /* 文章场景相关 */
71
+ $uni-color-title: #2c405a; // 文章标题颜色
72
+ $uni-font-size-title: 20px;
73
+ $uni-color-subtitle: #555555; // 二级标题颜色
74
+ $uni-font-size-subtitle: 26px;
75
+ $uni-color-paragraph: #3f536e; // 文章段落颜色
76
+ $uni-font-size-paragraph: 15px;
77
+
78
+ // 新建全局颜色
79
+
80
+ $uni-normal-color: red;
81
+
82
+ view {
83
+ box-sizing: border-box;
84
+ cursor: pointer;
85
+ }
86
+
87
+ html,
88
+ body {
89
+ width: 100%;
90
+ @media (min-width: 500px) {
91
+ max-width: 375px !important;
92
+ margin: 0 auto;
93
+ }
94
+ // overflow-x: hidden;
95
+ }
96
+ view {
97
+ @media (min-width: 500px) {
98
+ max-width: 375px !important;
99
+ }
100
+ }
101
+
102
+ @media (min-width:500px) {
103
+ .u-popup{
104
+ position: absolute;
105
+ width: 100%;
106
+ height: 0;
107
+ left: 0;
108
+ >view{
109
+ left: 50% !important;
110
+
111
+ transform: translateX(-50%);
112
+ }
113
+ }
114
+ }
@@ -0,0 +1,72 @@
1
+ ## 2.2.5(2024-07-30)
2
+ * 修复 当 checkRange=true 时,拖动四个伸缩角放大图片时还可能会超出或未到边界的问题
3
+ * 修复 当 checkRange=false 时,图片旋转时会放大图片适应裁剪尺寸的问题
4
+ * 修复 当 checkRange=true 时,图片旋转 90° 或 270° 进行缩放可能会无法拖动图片的问题
5
+ ## 2.2.4(2024-06-21)
6
+ * 新增 reverseRotatable 属性,是否支持逆向翻转
7
+ * 修复 `2.1.7` 版本导致旋转后图片没有自动适配裁剪框的问题
8
+
9
+ ## 2.2.3(2024-06-21)
10
+ * 新增 gpu 属性,是否开启硬件加速,图片缩放过程中如果出现元素的“留影”或“重影”效果,可通过该方式解决或减轻这一问题
11
+ * 修复 组件使用 `v-if` 并设置 `src` 属性时可能会出现图片渲染位置存在偏差的问题
12
+
13
+ ## 2.2.2(2024-06-21)
14
+ * 优化 组件实例 chooseImage 方法支持传参
15
+ * 修复 组件使用 `v-if` 时组件无非正常渲染的问题
16
+
17
+ ## 2.2.1(2024-06-15)
18
+ * 修复 H5平台不支持手势拖动图片的问题
19
+
20
+ ## 2.2.0(2024-05-31)
21
+ * 修复 APP平台 `vue2` 项目因 `2.1.9` 版本修复 `vue3` 项目bug而引发的问题
22
+
23
+ ## 2.1.9(2024-05-29)
24
+ * 修复 APP平台 `vue3` 项目因 uniapp `renderjs` 中未支持条件编译,导致运行了H5平台代码报错的问题
25
+
26
+ ## 2.1.8(2024-05-29)
27
+ * 新增 zIndex 属性,调整组件层级
28
+ * 新增 组件内容插槽
29
+ * 优化 微信小程序平台动态修改元素style时的多余内容
30
+
31
+ ## 2.1.7(2024-05-28)
32
+ * 新增 checkRange 属性,当 checkRange=false 时允许图片位置超出裁剪边界
33
+ * 新增 minScale 属性,图片最小缩放倍数,当 minScale<0 时可使图片宽高不再受裁剪区域宽高限制
34
+ * 新增 backgroundColor 属性,生成图片背景色,如果裁剪区域没有完全包含在图片中时,不设置该属性生成图片存在一定的透明块
35
+ * 优化 动态修改图片宽高但没有传入src时,尺寸适应问题
36
+ * 修复 APP平台通过 `this.$ownerInstance` 获取组件实例时机过早,其值为 `undefined` 导致报错界面没有正常渲染的问题
37
+
38
+ ## 2.1.6(2023-04-16)
39
+ * 修复 组件使用 v-show 指令会导致选择图片后初始位置严重偏位的问题
40
+
41
+ ## 2.1.5(2023-04-15)
42
+ * 新增 兼容APP平台
43
+
44
+ ## 2.1.4(2023-03-13)
45
+ * 新增 fileType 属性,用于指定生成文件的类型,只支持 'jpg' 或 'png',默认为 'png'
46
+ * 新增 delay 属性,微信小程序平台使用 `Canvas 2D` 绘制时控制图片从绘制到生成所需时间
47
+ * 优化 当生成图片的尺寸宽/高超过 Canvas 2D 最大限制(1365*1365)则将画布尺寸缩放在限制范围内绘制完成后输出目标尺寸
48
+ * 优化 旋转图标指示方向与实际旋转方向不符
49
+
50
+ ## 2.1.3(2023-02-06)
51
+ * 优化 vue3支持
52
+
53
+ ## 2.1.2(2023-02-03)
54
+ * 新增 navigation 属性,H5平台当 showAngle 为 true 时,使用插件的页面在 `page.json` 中配置了 "navigationStyle": "custom" 时,必须将此值设为 false ,否则四个可拉伸角的触发位置会有偏差
55
+ * 修复 H5平台部分设备(已知iPhone11以下机型)拍照的图片缩放时会闪动的问题
56
+
57
+ ## 2.1.1(2022-12-06)
58
+ * 修复 横屏适配问题
59
+
60
+ ## 2.1.0(2022-12-06)
61
+ * 新增 兼容H5平台,使用 renderjs 响应手势事件
62
+
63
+ ## 2.0.0(2022-12-05)
64
+ * 重构 插件,使用 WXS 响应手势事件
65
+ * 新增 图片翻转
66
+ * 新增 拉伸裁剪框放大图片
67
+ * 新增 监听PC鼠标滚轮触发缩放
68
+ * 新增 圆形、圆角矩形的图片裁剪
69
+ * 优化 图片缩放,移动端以双指触摸中心点为缩放中心点,PC端以鼠标所在点为缩放中心点
70
+ * 优化 裁剪框样式
71
+ * 优化 图片位置拖动 支持边界回弹效果(滑动时可滑出边界,释放时回弹到边界)
72
+ * 优化 生成图片使用新版 Canvas 2D 接口