jufubao-base 1.0.116-beta1 → 1.0.116-beta10

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 (84) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +1 -1
  3. package/src/components/JfbBaseCardInfo/Attr.js +21 -0
  4. package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +40 -4
  5. package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -0
  6. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +33 -4
  7. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +10 -10
  8. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +6 -1
  9. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +5 -2
  10. package/src/components/JfbBaseConFlashHome/Api.js +60 -0
  11. package/src/components/JfbBaseConFlashHome/Attr.js +129 -0
  12. package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHome.vue +287 -0
  13. package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHomeLess.less +80 -0
  14. package/src/components/JfbBaseConFlashHome/JfbBaseConFlashHomeMixin.js +30 -0
  15. package/src/components/JfbBaseConFlashHome/Mock.js +5 -0
  16. package/src/components/JfbBaseConFlashList/Api.js +60 -0
  17. package/src/components/JfbBaseConFlashList/Attr.js +106 -0
  18. package/src/components/JfbBaseConFlashList/JfbBaseConFlashList.vue +110 -0
  19. package/src/components/JfbBaseConFlashList/JfbBaseConFlashListLess.less +80 -0
  20. package/src/components/JfbBaseConFlashList/JfbBaseConFlashListMixin.js +30 -0
  21. package/src/components/JfbBaseConFlashList/Mock.js +5 -0
  22. package/src/components/JfbBaseConList/JfbBaseConList.vue +5 -3
  23. package/src/components/JfbBaseConPhone/Api.js +70 -0
  24. package/src/components/JfbBaseConPhone/Attr.js +10 -0
  25. package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +486 -0
  26. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +80 -0
  27. package/src/components/JfbBaseConPhone/JfbBaseConPhoneMixin.js +30 -0
  28. package/src/components/JfbBaseConPhone/Mock.js +5 -0
  29. package/src/components/JfbBaseMySetting/Api.js +43 -0
  30. package/src/components/JfbBaseMySetting/Attr.js +23 -0
  31. package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +202 -0
  32. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +80 -0
  33. package/src/components/JfbBaseMySetting/JfbBaseMySettingMixin.js +30 -0
  34. package/src/components/JfbBaseMySetting/Mock.js +5 -0
  35. package/src/components/JfbBaseMySetting/XdListItem.vue +136 -0
  36. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  37. package/src/components/JfbBaseSaasBlessDetail/Api.js +59 -0
  38. package/src/components/JfbBaseSaasBlessDetail/Attr.js +24 -0
  39. package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetail.vue +315 -0
  40. package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailLess.less +80 -0
  41. package/src/components/JfbBaseSaasBlessDetail/JfbBaseSaasBlessDetailMixin.js +30 -0
  42. package/src/components/JfbBaseSaasBlessDetail/Mock.js +5 -0
  43. package/src/components/JfbBaseSaasBlessDialog/Api.js +25 -0
  44. package/src/components/JfbBaseSaasBlessDialog/Attr.js +50 -0
  45. package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialog.vue +274 -0
  46. package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogLess.less +80 -0
  47. package/src/components/JfbBaseSaasBlessDialog/JfbBaseSaasBlessDialogMixin.js +30 -0
  48. package/src/components/JfbBaseSaasBlessDialog/Mock.js +5 -0
  49. package/src/components/JfbBaseSaasBlessReceive/Api.js +25 -0
  50. package/src/components/JfbBaseSaasBlessReceive/Attr.js +24 -0
  51. package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceive.vue +183 -0
  52. package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveLess.less +80 -0
  53. package/src/components/JfbBaseSaasBlessReceive/JfbBaseSaasBlessReceiveMixin.js +30 -0
  54. package/src/components/JfbBaseSaasBlessReceive/Mock.js +5 -0
  55. package/src/components/JfbBaseSaasHome/Api.js +48 -0
  56. package/src/components/JfbBaseSaasHome/Attr.js +35 -0
  57. package/src/components/JfbBaseSaasHome/JfbBaseSaasHome.vue +356 -0
  58. package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeLess.less +80 -0
  59. package/src/components/JfbBaseSaasHome/JfbBaseSaasHomeMixin.js +30 -0
  60. package/src/components/JfbBaseSaasHome/Mock.js +5 -0
  61. package/src/components/JfbBaseSaasLogin/Api.js +39 -0
  62. package/src/components/JfbBaseSaasLogin/Attr.js +37 -0
  63. package/src/components/JfbBaseSaasLogin/JfbBaseSaasLogin.vue +410 -0
  64. package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginLess.less +80 -0
  65. package/src/components/JfbBaseSaasLogin/JfbBaseSaasLoginMixin.js +30 -0
  66. package/src/components/JfbBaseSaasLogin/Mock.js +5 -0
  67. package/src/components/JfbBaseSaasNewsDetail/Api.js +27 -0
  68. package/src/components/JfbBaseSaasNewsDetail/Attr.js +14 -0
  69. package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetail.vue +144 -0
  70. package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailLess.less +80 -0
  71. package/src/components/JfbBaseSaasNewsDetail/JfbBaseSaasNewsDetailMixin.js +30 -0
  72. package/src/components/JfbBaseSaasNewsDetail/Mock.js +5 -0
  73. package/src/components/JfbBaseSaasNewsList/Api.js +26 -0
  74. package/src/components/JfbBaseSaasNewsList/Attr.js +24 -0
  75. package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsList.vue +181 -0
  76. package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListLess.less +80 -0
  77. package/src/components/JfbBaseSaasNewsList/JfbBaseSaasNewsListMixin.js +30 -0
  78. package/src/components/JfbBaseSaasNewsList/Mock.js +5 -0
  79. package/src/components/JfbBaseSassPhoneCollect/Api.js +39 -0
  80. package/src/components/JfbBaseSassPhoneCollect/Attr.js +438 -0
  81. package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollect.vue +266 -0
  82. package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectLess.less +80 -0
  83. package/src/components/JfbBaseSassPhoneCollect/JfbBaseSassPhoneCollectMixin.js +30 -0
  84. package/src/components/JfbBaseSassPhoneCollect/Mock.js +5 -0
@@ -0,0 +1,202 @@
1
+ <template>
2
+ <view
3
+ class="jfb-base-my-setting"
4
+ @click="handleEditxSelect"
5
+ :class="{ editx : isEditx && active }"
6
+ >
7
+ <!--#ifdef H5-->
8
+ <view
9
+ class="jfb-base-my-setting__edit"
10
+ :class="{ editx : isEditx && active }"
11
+ v-if="isEditx && active"
12
+ >
13
+ <view class="jfb-base-my-setting__edit-icon" @click="delEdit">删除</view>
14
+ </view>
15
+ <!-- #endif -->
16
+ <view class="jfb-base-my-setting__body" :style="{
17
+ minHeight: layoutInfo.bodyMinHeightRpx + 'rpx'
18
+ }">
19
+ <view class="setting_list">
20
+ <xd-list-item label="已绑实体卡是否失效" listIcon="icongongxiang" paddingLR="50rpx" paddingTB="32rpx">
21
+ <xd-switch :checked="cardChecked" size="small" @change="handleCardChecked"></xd-switch>
22
+ </xd-list-item>
23
+ <xd-list-item :showRight="!phone_number" label="绑定手机号" listIcon="iconshouji01"
24
+ paddingLR="50rpx" paddingTB="32rpx"
25
+ @click="handleToBind"
26
+ >
27
+ {{phone_number ? phone_number : "去绑定"}}
28
+ </xd-list-item>
29
+ </view>
30
+ <view class="fixed_bottom">
31
+ <xd-button type="primary" @click="handleLogout">退出登录</xd-button>
32
+ </view>
33
+ </view>
34
+ </view>
35
+ </template>
36
+
37
+ <script>
38
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
39
+ import XdListItem from "./XdListItem.vue";
40
+ import XdButton from "@/components/XdButton/XdButton";
41
+ import XdSwitch from "@/components/XdSwitch/XdSwitch"
42
+ import { jfbRootExec } from "@/utils/xd.event";
43
+ import JfbBaseMySettingMixin from "./JfbBaseMySettingMixin";
44
+ import { getContainerPropsValue } from "@/utils/xd.base";
45
+ import componentsMixins from "@/mixins/componentsMixins";
46
+ import extsMixins from "@/mixins/extsMixins";
47
+ import {mapState} from 'vuex';
48
+ import store from "@/store";
49
+ export default {
50
+ name: "JfbBaseMySetting",
51
+ components: {
52
+ XdFontIcon,
53
+ XdButton,
54
+ XdListItem,
55
+ XdSwitch
56
+ },
57
+ mixins: [
58
+ componentsMixins, extsMixins, JfbBaseMySettingMixin
59
+ ],
60
+ computed: {
61
+ ...mapState(['jfbAuthorize']),
62
+ },
63
+ data() {
64
+ return {
65
+ cardChecked: false,
66
+ phone_number: "",
67
+
68
+ //面板
69
+ bind_phone_url: "", //绑定手机号跳转地址
70
+ }
71
+ },
72
+ watch: {
73
+ container(value) {
74
+ this.init(value)
75
+ }
76
+ },
77
+ created() {
78
+ this.init(this.container);
79
+
80
+ //todo
81
+ },
82
+ methods: {
83
+ onJfbLoad(options) {
84
+ this.p_getUserInfo();
85
+ this.getCardConfig();
86
+ },
87
+ /**
88
+ * @description 监听事件变化
89
+ * @param container {object} 业务组件对象自己
90
+ */
91
+ init(container) {
92
+ this.bind_phone_url = getContainerPropsValue(container, 'content.bind_phone_url', {value: ""}).value;
93
+ },
94
+ handleToBind(){
95
+ if(!this.phone_number){
96
+ this.$xdUniHelper.navigateTo({
97
+ url: this.bind_phone_url + `?callback_url=${encodeURIComponent(location.href)}`,
98
+ });
99
+ }
100
+ },
101
+ handleCardChecked(flag){
102
+ jfbRootExec("setCardUserSetting", {
103
+ vm: this,
104
+ data: {
105
+ is_entity_card_invalid: flag ? "Y" : "N"
106
+ }
107
+ }).then(res => {
108
+
109
+ })
110
+ },
111
+ p_getUserInfo(){
112
+ jfbRootExec("getUserInfo", {
113
+ vm: this,
114
+ data: {
115
+
116
+ }
117
+ }).then(res => {
118
+ let phone_number = res.phone_number;
119
+ //手机号脱敏
120
+ if(phone_number){
121
+ phone_number = phone_number.substr(0, 3) + "****" + phone_number.substr(7, 11);
122
+ }
123
+ this.phone_number = phone_number;
124
+ })
125
+ },
126
+ getCardConfig(){
127
+ jfbRootExec("getCardUserSetting", {
128
+ vm: this,
129
+ data: {
130
+
131
+ }
132
+ }).then(res => {
133
+ let is_entity_card_invalid = res.is_entity_card_invalid; //Y失效 N: 有效
134
+ this.cardChecked = is_entity_card_invalid === "Y";
135
+ })
136
+ },
137
+ async handleLogout(){
138
+ // #ifdef H5
139
+ if (this.$configProject.isPreview) return;
140
+ // #endif
141
+
142
+ if (this.jfbAuthorize !== null) {
143
+ this.$xdShowLoading({});
144
+ store.dispatch('logout').then(res=>{
145
+ this.$xdHideLoading();
146
+ this.jfbAuthorize.removeToken('card');
147
+ this.jfbAuthorize.jumpToUserLogin(this, false);
148
+ }).catch(err=>{
149
+ console.error(err);
150
+ })
151
+ }
152
+ },
153
+ onJfbScroll(options) {
154
+ console.log('event.onJfbScroll', options)
155
+ },
156
+ onJfbReachBottom(options) {
157
+ console.log('event.onJfbReachBottom', options)
158
+ },
159
+ onJfbShow(options) {
160
+ console.log('event.onJfbShow', options)
161
+ },
162
+ onJfbHide(options) {
163
+ console.log('event.onJfbHide', options)
164
+ },
165
+ onJfbBack(options) {
166
+ console.log('event.onJfbBack', options)
167
+ },
168
+ onJfbUpdate(...data) {
169
+ console.log('event.onJfbUpdate', data)
170
+ },
171
+ onJfbCustomEvent(options) {
172
+ console.log('event.onJfbReachBottom', options)
173
+ },
174
+ }
175
+ }
176
+
177
+ </script>
178
+
179
+ <style scoped lang="less">
180
+ @import "./JfbBaseMySettingLess.less";
181
+
182
+ .jfb-base-my-setting {
183
+ &__body{
184
+ background: #FAFAFA;
185
+ .setting_list{
186
+ padding: 20rpx 0;
187
+ /deep/ .xd-my-list-item{
188
+ background: #FFFFFF;
189
+ margin: 24rpx 20rpx;
190
+ border-radius: 20rpx;
191
+ }
192
+ }
193
+ .fixed_bottom{
194
+ position: absolute;
195
+ width: 600rpx;
196
+ bottom: 100rpx;
197
+ left: 50%;
198
+ transform: translateX(-50%);
199
+ }
200
+ }
201
+ }
202
+ </style>
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @desc 获取绝对路径完整地址
3
+ * @param @path
4
+ **/
5
+ //例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
6
+ @basePath: 'business/';
7
+ @doMain: '//sandbox-img.jufubao.cn/';
8
+
9
+ .getBusinessImageUrl(@path, @size: 'size8') {
10
+ @url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
11
+ background-image: url(@url);
12
+ }
13
+
14
+ //start
15
+ .jfb-base-my-setting {
16
+ border: 1px dashed rgba(0, 0, 0, 0);
17
+ box-sizing: border-box;
18
+ min-height: unit(50, rpx);
19
+
20
+ &__body{
21
+ position: relative;
22
+ overflow: hidden;
23
+ z-index: 2
24
+ }
25
+
26
+ &.editx {
27
+ position: relative;
28
+ border: 1px dashed blue;
29
+ box-sizing: border-box;
30
+ z-index: 3
31
+
32
+ }
33
+
34
+ &:hover {
35
+ border: 1px dashed blue;
36
+ }
37
+
38
+ &.noBorder {
39
+ border-color: rgba(0,0,0,0);
40
+ border-width: 0;
41
+ }
42
+
43
+
44
+ &__edit {
45
+ cursor: pointer;
46
+ position: absolute;
47
+ right: unit(0, rpx);
48
+ top: unit(-52, rpx);
49
+ height: unit(50, rpx);
50
+ line-height: unit(50, rpx);
51
+ display: flex;
52
+ justify-content: center;
53
+ align-items: center;
54
+ background: rgba(0, 0, 0, .6);
55
+ border-radius: unit(10, rpx);
56
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
57
+ color: #fff;
58
+ font-size: unit(22, rpx);
59
+
60
+ &-icon{
61
+ padding: 0 unit(20, rpx);
62
+ }
63
+
64
+ &.editx {
65
+ box-sizing: border-box;
66
+
67
+ }
68
+ }
69
+ }
70
+ //end
71
+
72
+
73
+ /**notPreview**/
74
+ .jfb-base-my-setting {
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
79
+ }
80
+ /**endNotPreview**/
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+
4
+ //@AttrImport
5
+ import Attr from "./Attr";
6
+ //@EndAttrImport
7
+
8
+
9
+ export default {
10
+ data() {
11
+ return {
12
+ //#ifdef H5
13
+
14
+ //@AttrData
15
+ Attr:{}, //对外开发编辑属性
16
+ //@EndAttrData
17
+
18
+ // #endif
19
+ cssRoot: 'jfb-base-my-setting'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ aaaa: {}
5
+ }
@@ -0,0 +1,136 @@
1
+ <template>
2
+ <view class="xd-my-list-item"
3
+ :class="'size_'+size"
4
+ :style="{
5
+ borderTop: showBottom ? '1px solid #eee':'none',
6
+ marginTop: showBottom? paddingTB: 0,
7
+ paddingLeft: paddingLR,
8
+ paddingRight: paddingLR,
9
+ paddingTop: paddingTB,
10
+ paddingBottom: paddingTB,
11
+ }"
12
+ @click="$emit('click')">
13
+ <view v-if="listIcon" class="my-list_icon">
14
+ <!-- <image mode="widthFix" :src="listIcon" /> -->
15
+ <xd-font-icon :icon="listIcon"></xd-font-icon>
16
+ </view>
17
+ <view class="my-list_label" v-html="label"></view>
18
+ <view class="my-list_value">
19
+ <slot></slot>
20
+ <xd-font-icon
21
+ v-if="showRight"
22
+ :style="{
23
+ marginLeft: '10rpx',
24
+ color: '#B1B1B1'
25
+ }"
26
+ size="24"
27
+ icon="iconxiangyou_xian"
28
+ ></xd-font-icon>
29
+ </view>
30
+
31
+ </view>
32
+ </template>
33
+
34
+ <script>
35
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
36
+ export default {
37
+ components: {
38
+ XdFontIcon
39
+ },
40
+ data(){
41
+ return {
42
+
43
+ }
44
+ },
45
+ props: {
46
+ size: {
47
+ type: String,
48
+ default: "default"
49
+ },
50
+ paddingTB:{
51
+ type: String,
52
+ default: "24rpx"
53
+ },
54
+ paddingLR: {
55
+ type: String,
56
+ default: "0rpx"
57
+ },
58
+ //是否显示border-bottom
59
+ showBottom: {
60
+ type: Boolean,
61
+ default: false
62
+ },
63
+ //是否显示右箭头
64
+ showRight: {
65
+ type: Boolean,
66
+ default: false
67
+ },
68
+ //是否显示图标
69
+ listIcon: {
70
+ type: String,
71
+ default: ''
72
+ },
73
+ //label
74
+ label: {
75
+ type: String,
76
+ default: ''
77
+ }
78
+ }
79
+
80
+ }
81
+ </script>
82
+
83
+ <style lang="less" scoped>
84
+ .xd-my-list-item{
85
+ display: flex;
86
+ align-items: center;
87
+ padding: 30rpx 0;
88
+ font-size: 28rpx;
89
+ background: #FFFFFF;
90
+ color: #666666;
91
+
92
+ &.size_large{
93
+ .my-list_value,
94
+ .my-list_label{
95
+ font-size: 28rpx;
96
+ font-weight: 400;
97
+ }
98
+ }
99
+ &.size_default{
100
+ .my-list_value,
101
+ .my-list_label{
102
+ font-size: 28rpx;
103
+ font-weight: 400;
104
+ }
105
+ }
106
+ &.size_small{
107
+ .my-list_value,
108
+ .my-list_label{
109
+ font-size: 24rpx;
110
+ font-weight: 400;
111
+ }
112
+ }
113
+
114
+ .my-list_icon{
115
+ width: 32rpx;
116
+ margin-right: 24rpx;
117
+
118
+ image{
119
+ width: 32rpx;
120
+ }
121
+ }
122
+
123
+ .my-list_label{
124
+ // flex: 1;
125
+ }
126
+ .my-list_value{
127
+ flex: 1;
128
+ display: flex;
129
+ align-items: center;
130
+ justify-content: flex-end;
131
+ }
132
+ .arrow_right{
133
+ width: 44rpx;
134
+ }
135
+ }
136
+ </style>
@@ -93,7 +93,6 @@
93
93
  <script>
94
94
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
95
95
  import { jfbRootExec } from "@/utils/xd.event";
96
- import JfbBasePhoneCollectMixin from "./JfbBasePhoneCollectMixin";
97
96
  import componentsMixins from "@/mixins/componentsMixins";
98
97
  import extsMixins from "@/mixins/extsMixins";
99
98
  import { getContainerPropsValue } from "@/utils/xd.base";
@@ -102,6 +101,7 @@ import XdForm from "@/components/XdForm/XdForm";
102
101
  import XdFormInput from "@/components/XdFormInput/XdFormInput";
103
102
  import XdButton from "@/components/XdButton/XdButton";
104
103
  import XdFormCheckbox from "@/components/XdFormCheckbox/XdFormCheckbox";
104
+ import JfbBasePhoneCollectMixin from "./JfbBasePhoneCollectMixin";
105
105
 
106
106
  export default {
107
107
  name: "JfbBasePhoneCollect",
@@ -0,0 +1,59 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * @description API模型
5
+ * 建议:Ffff=>模块 Xxxx=>自定义名字
6
+ * 获取单记录(getByIdFfffXxxx)
7
+ * 获取列表记录(getByListFfffXxxx)
8
+ * 添加列表记录(addFfffXxxxx)
9
+ * 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
10
+ * 更新列表记录(updateFfffXxxxx)
11
+ * @type {*[]}
12
+ */
13
+ module.exports = [
14
+ {
15
+ mapFnName: 'getBlessDetail',
16
+ title: '祝福 - 详情',
17
+ path: '/saas/v1/bless/item/:bless_id',
18
+ isRule: false,
19
+ params: {
20
+ bless_id: ['bless_id', 'Number', '必选'],
21
+ },
22
+ isConsole: true,
23
+ disabled: true,
24
+ },
25
+ {
26
+ mapFnName: 'doSignBless',
27
+ title: '祝福 - 签收',
28
+ path: '/saas/v1/bless/sign/:bless_id',
29
+ isRule: false,
30
+ data: {
31
+ bless_id: ['bless_id', 'Number', '必选'],
32
+ },
33
+ isConsole: true,
34
+ disabled: true,
35
+ },
36
+ {
37
+ mapFnName: "getOssSign",
38
+ title: "获取上传参数",
39
+ path: "/common-user/v1/h5-oss/sign",
40
+ isRule: false,
41
+ data: {
42
+
43
+ },
44
+ isConsole: true,
45
+ disabled: true,
46
+ },
47
+ {
48
+ mapFnName: "doOssUpload",
49
+ title: "开启oss上传",
50
+ path: "/common-user/v1/h5-oss/upload",
51
+ isRule: false,
52
+ data: {
53
+ file_name: ['file_name', 'String', true],
54
+ file: ['file', 'file', true]
55
+ },
56
+ isConsole: true,
57
+ disabled: true,
58
+ }
59
+ ];
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * @description 当表单组件中有联动操作时候,使用方法进行返回
5
+ */
6
+ export default {
7
+ style: [],
8
+ content: (data) => {
9
+ return [
10
+ {
11
+ label: '使用祝福券跳转地址:', //label
12
+ ele: 'xd-select-pages-path', //package 名称
13
+ valueKey: 'useTicketUrl', //form[valueKey]
14
+ placeholder: '请选择使用祝福券跳转地址',
15
+ value: null,
16
+ setting: {
17
+ router: XdBus.getParentApi('getPagesTree'),
18
+ },
19
+ inline: false,
20
+ },
21
+ ].filter(i=>i)
22
+ },
23
+ advanced: [],
24
+ };