jufubao-takeorder 1.0.2-beta1 → 1.0.2-beta3

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 (43) hide show
  1. package/package.json +1 -1
  2. package/src/components/{JfbTakeorderQuotedDetail → JfbTakeorderFilterOrderList}/Api.js +9 -9
  3. package/src/components/{JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetail.vue → JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderList.vue} +9 -9
  4. package/src/components/{JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetailLess.less → JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderListLess.less} +2 -2
  5. package/src/components/{JfbTakeorderUnquotedDetail/JfbTakeorderUnquotedDetailMixin.js → JfbTakeorderFilterOrderList/JfbTakeorderFilterOrderListMixin.js} +1 -1
  6. package/src/components/JfbTakeorderFilterOrderList/Mock.js +13 -0
  7. package/src/components/JfbTakeorderIndex/Api.js +9 -41
  8. package/src/components/JfbTakeorderIndex/Attr.js +9 -41
  9. package/src/components/JfbTakeorderIndex/JfbTakeorderIndex.vue +681 -85
  10. package/src/components/JfbTakeorderIndex/components/cityPicker.vue +299 -0
  11. package/src/components/JfbTakeorderIndex/components/order.vue +273 -0
  12. package/src/components/JfbTakeorderIndex/cusAttr/advanced.js +26 -0
  13. package/src/components/JfbTakeorderIndex/cusAttr/content.js +9 -0
  14. package/src/components/JfbTakeorderIndex/cusAttr/style.js +11 -0
  15. package/src/components/{JfbTakeorderQuotedList → JfbTakeorderOrderDetail}/Api.js +9 -9
  16. package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedList.vue → JfbTakeorderOrderDetail/JfbTakeorderOrderDetail.vue} +9 -9
  17. package/src/components/{JfbTakeorderUnquotedList/JfbTakeorderUnquotedListLess.less → JfbTakeorderOrderDetail/JfbTakeorderOrderDetailLess.less} +2 -2
  18. package/src/components/{JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetailMixin.js → JfbTakeorderOrderDetail/JfbTakeorderOrderDetailMixin.js} +1 -1
  19. package/src/components/JfbTakeorderOrderDetail/Mock.js +13 -0
  20. package/src/components/{JfbTakeorderUnquotedDetail → JfbTakeorderOrderList}/Api.js +9 -9
  21. package/src/components/JfbTakeorderOrderList/Attr.js +16 -0
  22. package/src/components/JfbTakeorderOrderList/JfbTakeorderOrderList.vue +168 -0
  23. package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedListLess.less → JfbTakeorderOrderList/JfbTakeorderOrderListLess.less} +2 -2
  24. package/src/components/{JfbTakeorderQuotedList/JfbTakeorderQuotedListMixin.js → JfbTakeorderOrderList/JfbTakeorderOrderListMixin.js} +1 -1
  25. package/src/components/JfbTakeorderOrderList/Mock.js +13 -0
  26. package/src/components/JfbTakeorderOrderList/components/order.vue +273 -0
  27. package/src/components/JfbTakeorderOrderList/cusAttr/advanced.js +26 -0
  28. package/src/components/JfbTakeorderOrderList/cusAttr/content.js +9 -0
  29. package/src/components/JfbTakeorderOrderList/cusAttr/style.js +11 -0
  30. package/src/components/{JfbTakeorderUnquotedList → JfbTakeorderVoiceSwitch}/Api.js +9 -9
  31. package/src/components/{JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetail.vue → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitch.vue} +9 -9
  32. package/src/components/{JfbTakeorderQuotedDetail/JfbTakeorderQuotedDetailLess.less → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitchLess.less} +2 -2
  33. package/src/components/{JfbTakeorderUnquotedList/JfbTakeorderUnquotedListMixin.js → JfbTakeorderVoiceSwitch/JfbTakeorderVoiceSwitchMixin.js} +1 -1
  34. package/src/components/JfbTakeorderVoiceSwitch/Mock.js +13 -0
  35. package/src/components/JfbTakeorderQuotedDetail/Mock.js +0 -13
  36. package/src/components/JfbTakeorderQuotedList/Mock.js +0 -13
  37. package/src/components/JfbTakeorderUnquotedDetail/Mock.js +0 -13
  38. package/src/components/JfbTakeorderUnquotedList/Attr.js +0 -48
  39. package/src/components/JfbTakeorderUnquotedList/JfbTakeorderUnquotedList.vue +0 -113
  40. package/src/components/JfbTakeorderUnquotedList/Mock.js +0 -13
  41. /package/src/components/{JfbTakeorderQuotedDetail → JfbTakeorderFilterOrderList}/Attr.js +0 -0
  42. /package/src/components/{JfbTakeorderQuotedList → JfbTakeorderOrderDetail}/Attr.js +0 -0
  43. /package/src/components/{JfbTakeorderUnquotedDetail → JfbTakeorderVoiceSwitch}/Attr.js +0 -0
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+ import {
3
+ dataVal,
4
+ statusShow,
5
+ statusDataVal,
6
+ } from "@/utils/AttrTools";
7
+
8
+ export default function (data, gValue, gColor, oldData) {
9
+ return [].filter(i => i)
10
+ }
11
+
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
  /**
3
3
  * @description 接口配置,
4
- * 在设置方法名字当时候,别忘记加上【模块名字】:Unquoted
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Voice
5
5
  * @type {*[]}
6
6
  */
7
7
  module.exports = [
8
8
  {
9
- //设置方法名字当别忘记加上【模块名字】:Unquoted
10
- mapFnName: 'getUnquotedByIdFilmSquate',
9
+ //设置方法名字当别忘记加上【模块名字】:Voice
10
+ mapFnName: 'getVoiceByIdFilmSquate',
11
11
  title: '获取电影广场列表',
12
12
  path: '/api/account/film/list-film-square',
13
13
  isRule: false,
@@ -19,8 +19,8 @@ module.exports = [
19
19
  disabled: true,
20
20
  },
21
21
  {
22
- //设置方法名字当别忘记加上【模块名字】:Unquoted
23
- mapFnName: 'updateUnquotedFilmPaiqiDate',
22
+ //设置方法名字当别忘记加上【模块名字】:Voice
23
+ mapFnName: 'updateVoiceFilmPaiqiDate',
24
24
  title: '更新排期',
25
25
  path: '/api/account/film/paiqi-date',
26
26
  isRule: false,
@@ -32,8 +32,8 @@ module.exports = [
32
32
  disabled: true,
33
33
  },
34
34
  {
35
- //设置方法名字当别忘记加上【模块名字】:Unquoted
36
- mapFnName: 'removeUnquotedFilmAddress',
35
+ //设置方法名字当别忘记加上【模块名字】:Voice
36
+ mapFnName: 'removeVoiceFilmAddress',
37
37
  title: '删除我的配送地址',
38
38
  path: '/api/account/film/paiqi-date',
39
39
  isRule: false,
@@ -44,8 +44,8 @@ module.exports = [
44
44
  disabled: true,
45
45
  },
46
46
  {
47
- //设置方法名字当别忘记加上【模块名字】:Unquoted
48
- mapFnName: 'addUnquotedFilmcart',
47
+ //设置方法名字当别忘记加上【模块名字】:Voice
48
+ mapFnName: 'addVoiceFilmcart',
49
49
  title: '添加购物车',
50
50
  path: '/api/account/film/paiqi-date',
51
51
  isRule: false,
@@ -1,21 +1,21 @@
1
1
  <template>
2
2
  <view
3
- class="jfb-takeorder-quoted-detail"
3
+ class="jfb-takeorder-voice-switch"
4
4
  @click="handleEditxSelect"
5
5
  :class="{ editx : isEditx && active }"
6
6
  >
7
7
  <!--#ifdef H5-->
8
8
  <view
9
- class="jfb-takeorder-quoted-detail__edit"
9
+ class="jfb-takeorder-voice-switch__edit"
10
10
  :class="{ editx : isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-takeorder-quoted-detail__edit-icon" @click.stop="delEdit">
13
+ <view class="jfb-takeorder-voice-switch__edit-icon" @click.stop="delEdit">
14
14
  <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
15
  </view>
16
16
  </view>
17
17
  <!-- #endif -->
18
- <view class="jfb-takeorder-quoted-detail__body">
18
+ <view class="jfb-takeorder-voice-switch__body">
19
19
  <view>测试插件( {{containerId}} )</view>
20
20
  </view>
21
21
  </view>
@@ -24,17 +24,17 @@
24
24
  <script>
25
25
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
26
26
  import { jfbRootExec } from "@/utils/xd.event";
27
- import JfbTakeorderQuotedDetailMixin from "./JfbTakeorderQuotedDetailMixin";
27
+ import JfbTakeorderVoiceSwitchMixin from "./JfbTakeorderVoiceSwitchMixin";
28
28
  import { getContainerPropsValue } from "@/utils/xd.base";
29
29
  import componentsMixins from "@/mixins/componentsMixins";
30
30
  import extsMixins from "@/mixins/extsMixins";
31
31
  export default {
32
- name: "JfbTakeorderQuotedDetail",
32
+ name: "JfbTakeorderVoiceSwitch",
33
33
  components: {
34
34
  XdFontIcon
35
35
  },
36
36
  mixins: [
37
- componentsMixins, extsMixins, JfbTakeorderQuotedDetailMixin
37
+ componentsMixins, extsMixins, JfbTakeorderVoiceSwitchMixin
38
38
  ],
39
39
  data() {
40
40
  return {
@@ -103,9 +103,9 @@
103
103
  </script>
104
104
 
105
105
  <style scoped lang="less">
106
- @import "./JfbTakeorderQuotedDetailLess.less";
106
+ @import "./JfbTakeorderVoiceSwitchLess.less";
107
107
 
108
- .jfb-takeorder-quoted-detail {
108
+ .jfb-takeorder-voice-switch {
109
109
  &__body{
110
110
 
111
111
  }
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  //start
15
- .jfb-takeorder-quoted-detail {
15
+ .jfb-takeorder-voice-switch {
16
16
  box-sizing: border-box;
17
17
 
18
18
  &__body{
@@ -71,7 +71,7 @@
71
71
 
72
72
 
73
73
  /**notPreview**/
74
- .jfb-takeorder-quoted-detail {
74
+ .jfb-takeorder-voice-switch {
75
75
  //&:before {
76
76
  //content: " ";
77
77
  //display: table;
@@ -16,7 +16,7 @@ export default {
16
16
  //@EndAttrData
17
17
 
18
18
  // #endif
19
- cssRoot: 'jfb-takeorder-unquoted-list'
19
+ cssRoot: 'jfb-takeorder-voice-switch'
20
20
  }
21
21
  },
22
22
  created() {
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getVoiceByIdFilmSquate:{},
6
+
7
+ updateVoiceFilmPaiqiDate:{},
8
+
9
+ removeVoiceFilmAddress:{},
10
+
11
+ addVoiceFilmcart:{},
12
+
13
+ }
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
-
5
- getQuotedByIdFilmSquate:{},
6
-
7
- updateQuotedFilmPaiqiDate:{},
8
-
9
- removeQuotedFilmAddress:{},
10
-
11
- addQuotedFilmcart:{},
12
-
13
- }
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
-
5
- getQuotedByIdFilmSquate:{},
6
-
7
- updateQuotedFilmPaiqiDate:{},
8
-
9
- removeQuotedFilmAddress:{},
10
-
11
- addQuotedFilmcart:{},
12
-
13
- }
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
-
5
- getUnquotedByIdFilmSquate:{},
6
-
7
- updateUnquotedFilmPaiqiDate:{},
8
-
9
- removeUnquotedFilmAddress:{},
10
-
11
- addUnquotedFilmcart:{},
12
-
13
- }
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
6
- export default {
7
- style: [],
8
- content: (data) => {
9
- return [
10
- {
11
- label: '背景颜色:',
12
- ele: 'xd-color',
13
- valueKey: 'bgColor',
14
- value: data.bgColor || '',
15
- placeholder: '请输入占位框背景颜色',
16
- groupKey:'content',
17
- },
18
- {
19
- label: '选中路径:',
20
- groupKey:'advanced',
21
- className: 'input100',
22
- ele: 'xd-select-pages-path',
23
- valueKey: 'select-pages-path',
24
- value: data['select-pages-path'] || null,
25
- setting: {
26
- router: XdBus.getParentApi('getPagesTree')
27
- },
28
- },
29
- data.bgColor && {
30
- label: '高度:',
31
- ele: 'el-input',
32
- groupKey:'style',
33
- type: 'number',
34
- valueKey: 'height',
35
- value: data.height || 100,
36
- placeholder: '请输入占位框高度,单位像素,默认:10px',
37
- className: 'input60',
38
- },
39
- {
40
- label: '', //label
41
- groupKey:'advanced',
42
- ele: 'slot', //package 名称
43
- slot: 'is_reference',
44
- },
45
- ].filter(i=>i)
46
- },
47
- advanced: [],
48
- };
@@ -1,113 +0,0 @@
1
- <template>
2
- <view
3
- class="jfb-takeorder-unquoted-list"
4
- @click="handleEditxSelect"
5
- :class="{ editx : isEditx && active }"
6
- >
7
- <!--#ifdef H5-->
8
- <view
9
- class="jfb-takeorder-unquoted-list__edit"
10
- :class="{ editx : isEditx && active }"
11
- v-if="isEditx && active"
12
- >
13
- <view class="jfb-takeorder-unquoted-list__edit-icon" @click.stop="delEdit">
14
- <xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
15
- </view>
16
- </view>
17
- <!-- #endif -->
18
- <view class="jfb-takeorder-unquoted-list__body">
19
- <view>测试插件( {{containerId}} )</view>
20
- </view>
21
- </view>
22
- </template>
23
-
24
- <script>
25
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
26
- import { jfbRootExec } from "@/utils/xd.event";
27
- import JfbTakeorderUnquotedListMixin from "./JfbTakeorderUnquotedListMixin";
28
- import { getContainerPropsValue } from "@/utils/xd.base";
29
- import componentsMixins from "@/mixins/componentsMixins";
30
- import extsMixins from "@/mixins/extsMixins";
31
- export default {
32
- name: "JfbTakeorderUnquotedList",
33
- components: {
34
- XdFontIcon
35
- },
36
- mixins: [
37
- componentsMixins, extsMixins, JfbTakeorderUnquotedListMixin
38
- ],
39
- data() {
40
- return {
41
-
42
- //todo
43
- }
44
- },
45
- watch: {
46
- container(value, oldValue) {
47
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
48
- if (this.$configProject['isPreview']) this.init(value)
49
- },
50
- },
51
- created() {
52
- this.init(this.container);
53
-
54
- //todo
55
- },
56
- methods: {
57
- onJfbLoad(options) {
58
-
59
- // jfbRootExec('baiduUserLogin', {
60
-
61
- // vm: this,// data: {
62
-
63
- // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
64
-
65
- // }
66
-
67
- // }).then().catch()
68
- },
69
- /**
70
- * @description 监听事件变化
71
- * @param container {object} 业务组件对象自己
72
- */
73
- init(container) {
74
-
75
- //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
76
-
77
- //this.height = getContainerPropsValue(container, 'content.height', 10);
78
- },
79
- onJfbScroll(options) {
80
- console.log('event.onJfbScroll', options)
81
- },
82
- onJfbReachBottom(options) {
83
- console.log('event.onJfbReachBottom', options)
84
- },
85
- onJfbShow(options) {
86
- console.log('event.onJfbShow', options)
87
- },
88
- onJfbHide(options) {
89
- console.log('event.onJfbHide', options)
90
- },
91
- onJfbBack(options) {
92
- console.log('event.onJfbBack', options)
93
- },
94
- onJfbUpdate(...data) {
95
- console.log('event.onJfbUpdate', data)
96
- },
97
- onJfbCustomEvent(options) {
98
- console.log('event.onJfbReachBottom', options)
99
- },
100
- }
101
- }
102
-
103
- </script>
104
-
105
- <style scoped lang="less">
106
- @import "./JfbTakeorderUnquotedListLess.less";
107
-
108
- .jfb-takeorder-unquoted-list {
109
- &__body{
110
-
111
- }
112
- }
113
- </style>
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
-
5
- getUnquotedByIdFilmSquate:{},
6
-
7
- updateUnquotedFilmPaiqiDate:{},
8
-
9
- removeUnquotedFilmAddress:{},
10
-
11
- addUnquotedFilmcart:{},
12
-
13
- }