@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,106 @@
1
+ {
2
+ "id": "uni-data-select",
3
+ "displayName": "uni-data-select 下拉框选择器",
4
+ "version": "1.1.0",
5
+ "description": "通过数据驱动的下拉框选择器",
6
+ "keywords": [
7
+ "uni-ui",
8
+ "select",
9
+ "uni-data-select",
10
+ "下拉框",
11
+ "下拉选"
12
+ ],
13
+ "repository": "https://github.com/dcloudio/uni-ui",
14
+ "engines": {
15
+ "HBuilderX": "^3.1.1",
16
+ "uni-app": "^4.45",
17
+ "uni-app-x": ""
18
+ },
19
+ "directories": {
20
+ "example": "../../temps/example_temps"
21
+ },
22
+ "dcloudext": {
23
+ "sale": {
24
+ "regular": {
25
+ "price": "0.00"
26
+ },
27
+ "sourcecode": {
28
+ "price": "0.00"
29
+ }
30
+ },
31
+ "contact": {
32
+ "qq": ""
33
+ },
34
+ "declaration": {
35
+ "ads": "无",
36
+ "data": "无",
37
+ "permissions": "无"
38
+ },
39
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui",
40
+ "type": "component-vue",
41
+ "darkmode": "x",
42
+ "i18n": "x",
43
+ "widescreen": "x"
44
+ },
45
+ "uni_modules": {
46
+ "dependencies": [
47
+ "uni-load-more"
48
+ ],
49
+ "encrypt": [],
50
+ "platforms": {
51
+ "cloud": {
52
+ "tcb": "√",
53
+ "aliyun": "√",
54
+ "alipay": "√"
55
+ },
56
+ "client": {
57
+ "uni-app": {
58
+ "vue": {
59
+ "vue2": "√",
60
+ "vue3": "√"
61
+ },
62
+ "web": {
63
+ "safari": "√",
64
+ "chrome": "√"
65
+ },
66
+ "app": {
67
+ "vue": "√",
68
+ "nvue": "-",
69
+ "android": "√",
70
+ "ios": "√",
71
+ "harmony": "√"
72
+ },
73
+ "mp": {
74
+ "weixin": "√",
75
+ "alipay": "√",
76
+ "toutiao": "√",
77
+ "baidu": "-",
78
+ "kuaishou": "-",
79
+ "jd": "-",
80
+ "harmony": "-",
81
+ "qq": "-",
82
+ "lark": "-"
83
+ },
84
+ "quickapp": {
85
+ "huawei": "-",
86
+ "union": "-"
87
+ }
88
+ },
89
+ "uni-app-x": {
90
+ "web": {
91
+ "safari": "-",
92
+ "chrome": "-"
93
+ },
94
+ "app": {
95
+ "android": "-",
96
+ "ios": "-",
97
+ "harmony": "-"
98
+ },
99
+ "mp": {
100
+ "weixin": "-"
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
@@ -0,0 +1,8 @@
1
+ ## DataSelect 下拉框选择器
2
+ > **组件名:uni-data-select**
3
+ > 代码块: `uDataSelect`
4
+
5
+ 当选项过多时,使用下拉菜单展示并选择内容
6
+
7
+ ### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-data-select)
8
+ #### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
@@ -0,0 +1,44 @@
1
+ ## 2.0.12(2025-08-26)
2
+ - 优化 uni-app x 下 size 类型问题
3
+ ## 2.0.11(2025-08-18)
4
+ - 修复 图标点击事件返回
5
+ ## 2.0.9(2024-01-12)
6
+ fix: 修复图标大小默认值错误的问题
7
+ ## 2.0.8(2023-12-14)
8
+ - 修复 项目未使用 ts 情况下,打包报错的bug
9
+ ## 2.0.7(2023-12-14)
10
+ - 修复 size 属性为 string 时,不加单位导致尺寸异常的bug
11
+ ## 2.0.6(2023-12-11)
12
+ - 优化 兼容老版本icon类型,如 top ,bottom 等
13
+ ## 2.0.5(2023-12-11)
14
+ - 优化 兼容老版本icon类型,如 top ,bottom 等
15
+ ## 2.0.4(2023-12-06)
16
+ - 优化 uni-app x 下示例项目图标排序
17
+ ## 2.0.3(2023-12-06)
18
+ - 修复 nvue下引入组件报错的bug
19
+ ## 2.0.2(2023-12-05)
20
+ -优化 size 属性支持单位
21
+ ## 2.0.1(2023-12-05)
22
+ - 新增 uni-app x 支持定义图标
23
+ ## 1.3.5(2022-01-24)
24
+ - 优化 size 属性可以传入不带单位的字符串数值
25
+ ## 1.3.4(2022-01-24)
26
+ - 优化 size 支持其他单位
27
+ ## 1.3.3(2022-01-17)
28
+ - 修复 nvue 有些图标不显示的bug,兼容老版本图标
29
+ ## 1.3.2(2021-12-01)
30
+ - 优化 示例可复制图标名称
31
+ ## 1.3.1(2021-11-23)
32
+ - 优化 兼容旧组件 type 值
33
+ ## 1.3.0(2021-11-19)
34
+ - 新增 更多图标
35
+ - 优化 自定义图标使用方式
36
+ - 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
37
+ - 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-icons](https://uniapp.dcloud.io/component/uniui/uni-icons)
38
+ ## 1.1.7(2021-11-08)
39
+ ## 1.2.0(2021-07-30)
40
+ - 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
41
+ ## 1.1.5(2021-05-12)
42
+ - 新增 组件示例地址
43
+ ## 1.1.4(2021-02-05)
44
+ - 调整为uni_modules目录规范
@@ -0,0 +1,91 @@
1
+ <template>
2
+ <text class="uni-icons" :style="styleObj">
3
+ <slot>{{unicode}}</slot>
4
+ </text>
5
+ </template>
6
+
7
+ <script>
8
+ import { fontData, IconsDataItem } from './uniicons_file'
9
+
10
+ /**
11
+ * Icons 图标
12
+ * @description 用于展示 icon 图标
13
+ * @tutorial https://ext.dcloud.net.cn/plugin?id=28
14
+ * @property {Number} size 图标大小
15
+ * @property {String} type 图标图案,参考示例
16
+ * @property {String} color 图标颜色
17
+ * @property {String} customPrefix 自定义图标
18
+ * @event {Function} click 点击 Icon 触发事件
19
+ */
20
+ export default {
21
+ name: "uni-icons",
22
+ props: {
23
+ type: {
24
+ type: String,
25
+ default: ''
26
+ },
27
+ color: {
28
+ type: String,
29
+ default: '#333333'
30
+ },
31
+ size: {
32
+ type: [Number, String],
33
+ default: 16
34
+ },
35
+ fontFamily: {
36
+ type: String,
37
+ default: ''
38
+ }
39
+ },
40
+ data() {
41
+ return {};
42
+ },
43
+ computed: {
44
+ unicode() : string {
45
+ let codes = fontData.find((item : IconsDataItem) : boolean => { return item.font_class == this.type })
46
+ if (codes !== null) {
47
+ return codes.unicode
48
+ }
49
+ return ''
50
+ },
51
+ iconSize() : string {
52
+ const size = this.size
53
+ if (typeof size == 'string') {
54
+ const reg = /^[0-9]*$/g
55
+ return reg.test(size as string) ? '' + size + 'px' : '' + size;
56
+ // return '' + this.size
57
+ }
58
+ return this.getFontSize(size as number)
59
+ },
60
+ styleObj() : UTSJSONObject {
61
+ if (this.fontFamily !== '') {
62
+ return { color: this.color, fontSize: this.iconSize, fontFamily: this.fontFamily }
63
+ }
64
+ return { color: this.color, fontSize: this.iconSize }
65
+ }
66
+ },
67
+ created() { },
68
+ methods: {
69
+ /**
70
+ * 字体大小
71
+ */
72
+ getFontSize(size : number) : string {
73
+ return size + 'px';
74
+ },
75
+ },
76
+ }
77
+ </script>
78
+
79
+ <style scoped>
80
+ @font-face {
81
+ font-family: UniIconsFontFamily;
82
+ src: url('./uniicons.ttf');
83
+ }
84
+
85
+ .uni-icons {
86
+ font-family: UniIconsFontFamily;
87
+ font-size: 18px;
88
+ font-style: normal;
89
+ color: #333;
90
+ }
91
+ </style>
@@ -0,0 +1,110 @@
1
+ <template>
2
+ <!-- #ifdef APP-NVUE -->
3
+ <text :style="styleObj" class="uni-icons" @click="_onClick">{{unicode}}</text>
4
+ <!-- #endif -->
5
+ <!-- #ifndef APP-NVUE -->
6
+ <text :style="styleObj" class="uni-icons" :class="['uniui-'+type,customPrefix,customPrefix?type:'']" @click="_onClick">
7
+ <slot></slot>
8
+ </text>
9
+ <!-- #endif -->
10
+ </template>
11
+
12
+ <script>
13
+ import { fontData } from './uniicons_file_vue.js';
14
+
15
+ const getVal = (val) => {
16
+ const reg = /^[0-9]*$/g
17
+ return (typeof val === 'number' || reg.test(val)) ? val + 'px' : val;
18
+ }
19
+
20
+ // #ifdef APP-NVUE
21
+ var domModule = weex.requireModule('dom');
22
+ import iconUrl from './uniicons.ttf'
23
+ domModule.addRule('fontFace', {
24
+ 'fontFamily': "uniicons",
25
+ 'src': "url('" + iconUrl + "')"
26
+ });
27
+ // #endif
28
+
29
+ /**
30
+ * Icons 图标
31
+ * @description 用于展示 icons 图标
32
+ * @tutorial https://ext.dcloud.net.cn/plugin?id=28
33
+ * @property {Number} size 图标大小
34
+ * @property {String} type 图标图案,参考示例
35
+ * @property {String} color 图标颜色
36
+ * @property {String} customPrefix 自定义图标
37
+ * @event {Function} click 点击 Icon 触发事件
38
+ */
39
+ export default {
40
+ name: 'UniIcons',
41
+ emits: ['click'],
42
+ props: {
43
+ type: {
44
+ type: String,
45
+ default: ''
46
+ },
47
+ color: {
48
+ type: String,
49
+ default: '#333333'
50
+ },
51
+ size: {
52
+ type: [Number, String],
53
+ default: 16
54
+ },
55
+ customPrefix: {
56
+ type: String,
57
+ default: ''
58
+ },
59
+ fontFamily: {
60
+ type: String,
61
+ default: ''
62
+ }
63
+ },
64
+ data() {
65
+ return {
66
+ icons: fontData
67
+ }
68
+ },
69
+ computed: {
70
+ unicode() {
71
+ let code = this.icons.find(v => v.font_class === this.type)
72
+ if (code) {
73
+ return code.unicode
74
+ }
75
+ return ''
76
+ },
77
+ iconSize() {
78
+ return getVal(this.size)
79
+ },
80
+ styleObj() {
81
+ if (this.fontFamily !== '') {
82
+ return `color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`
83
+ }
84
+ return `color: ${this.color}; font-size: ${this.iconSize};`
85
+ }
86
+ },
87
+ methods: {
88
+ _onClick(e) {
89
+ this.$emit('click', e)
90
+ }
91
+ }
92
+ }
93
+ </script>
94
+
95
+ <style lang="scss">
96
+ /* #ifndef APP-NVUE */
97
+ @import './uniicons.css';
98
+
99
+ @font-face {
100
+ font-family: uniicons;
101
+ src: url('./uniicons.ttf');
102
+ }
103
+
104
+ /* #endif */
105
+ .uni-icons {
106
+ font-family: uniicons;
107
+ text-decoration: none;
108
+ text-align: center;
109
+ }
110
+ </style>