@uxda/appkit 4.2.88 → 4.2.89

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 (35) hide show
  1. package/dist/index.js +702 -365
  2. package/package.json +1 -1
  3. package/src/Appkit.ts +5 -0
  4. package/src/balance/components/AccountView.vue +6 -6
  5. package/src/balance/components/BalanceCard.vue +2 -2
  6. package/src/balance/components/BalanceReminder.vue +1 -1
  7. package/src/balance/components/ConsumptionFilter.vue +1 -1
  8. package/src/balance/components/ConsumptionRules.vue +1 -1
  9. package/src/balance/components/DateFilter.vue +1 -1
  10. package/src/balance/components/DateRange.vue +1 -1
  11. package/src/balance/components/ListFilter.vue +1 -1
  12. package/src/balance/components/ListFilterPicker.vue +1 -1
  13. package/src/balance/components/PromoterCard.vue +5 -8
  14. package/src/components/dd-notice-bar/index.vue +2 -2
  15. package/src/index.ts +8 -0
  16. package/src/notice/components/NoticeBanner.vue +2 -2
  17. package/src/notice/components/NoticeList.vue +2 -2
  18. package/src/notice/components/NoticeList2.vue +1 -1
  19. package/src/notice/components/NoticePopup.vue +2 -2
  20. package/src/payment/components/RechargeResult.vue +1 -1
  21. package/src/payment/components/RechargeView.vue +2 -2
  22. package/src/payment/components/TradeView.vue +2 -2
  23. package/src/register/components/SelfRegistration.vue +1 -1
  24. package/src/scenarios/components/SharePoster.vue +2 -2
  25. package/src/shared/components/AppVerify.vue +3 -3
  26. package/src/shared/components/OcrBusinessLicense.vue +1 -1
  27. package/src/shared/components/OcrIcon.vue +1 -1
  28. package/src/shared/components/PageHeader.vue +1 -1
  29. package/src/user/components/UserAuth.vue +3 -3
  30. package/src/user/components/UserBinding.vue +4 -4
  31. package/src/user/components/UserBindingSuccess.vue +1 -1
  32. package/src/user/components/UserEntry.vue +5 -5
  33. package/src/user/components/UserFeedbackEntry.vue +3 -3
  34. package/src/user/components/UserHeadCrop.vue +2 -2
  35. package/src/user/components/UserInfo.vue +12 -12
@@ -4,7 +4,7 @@
4
4
  <div v-else class="user-info-wrap">
5
5
  <div class="user-info-tit">账号信息</div>
6
6
  <div class="user-info-head">
7
- <div class="user-info-head-avatar" @click="avatarVisible = true">
7
+ <div class="user-info-head-avatar" v-track-click="{ event: 'click', elementText: '用户信息-头像' }" @click="avatarVisible = true">
8
8
  <img class="user-info-head-img" mode="aspectFit" v-if="userInfo.avatar" :src="userInfo.avatar" alt="" />
9
9
  <img class="user-info-head-img" mode="aspectFit" v-else
10
10
  src="https://cdn.ddjf.com/static/images/wx-yunservice/account-head.png" alt="" />
@@ -14,11 +14,11 @@
14
14
  alt="" />
15
15
  </div>
16
16
  </div>
17
- <nut-cell title="登录手机号" is-link :desc="encodePhone(userInfo.mobile || '')" @click="toBinding" />
18
- <nut-cell v-if="props.isPersonal" title="昵称" is-link @click="onNickNameChange"
17
+ <nut-cell title="登录手机号" is-link :desc="encodePhone(userInfo.mobile || '')" v-track-click="{ event: 'click', elementText: '用户信息-登录手机号' }" @click="toBinding" />
18
+ <nut-cell v-if="props.isPersonal" title="昵称" is-link v-track-click="{ event: 'click', elementText: '用户信息-昵称' }" @click="onNickNameChange"
19
19
  :desc="userInfo?.nickName || '--'" />
20
20
  <nut-cell v-else title="昵称" :desc="userInfo?.nickName || '--'" />
21
- <nut-cell title="认证信息" is-link @click="toAuth">
21
+ <nut-cell title="认证信息" is-link v-track-click="{ event: 'click', elementText: '用户信息-认证信息' }" @click="toAuth">
22
22
  <template #desc>
23
23
  <span v-if="userInfo?.verifyResult === 1">已认证</span>
24
24
  <span v-if="userInfo?.verifyResult === 0" style="color: #e8523f">已失效,重新认证</span>
@@ -42,7 +42,7 @@
42
42
  <div class="user-info-team-item-app-tag" v-for="(aitem, akey) in item.appRoleInfo || []" :key="akey">
43
43
  {{ aitem.appAbbr }}
44
44
  </div>
45
- <div class="user-info-team-item-role-btn" @click="toShowRole(item)">
45
+ <div class="user-info-team-item-role-btn" v-track-click="{ event: 'click', elementText: '用户信息-角色详情' }" @click="toShowRole(item)">
46
46
  角色详情
47
47
  <img :class="{ showRole: item.showRole }" class="user-info-team-item-role-btn-icon"
48
48
  src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4IDlMMTIgMTVMNiA5IiBzdHJva2U9IiMwMTdGRkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo="
@@ -61,7 +61,7 @@
61
61
  </div>
62
62
  <div class="user-info-team-item-user">
63
63
  {{ item.fullName }}
64
- <img @click="toUserNameChange(item)" class="user-info-team-item-user-icon"
64
+ <img v-track-click="{ event: 'click', elementText: '用户信息-用户名' }" @click="toUserNameChange(item)" class="user-info-team-item-user-icon"
65
65
  src="https://cdn.ddjf.com/static/images/appkit/edit.png" alt="" />
66
66
  </div>
67
67
  <div class="user-info-team-item-dept">
@@ -74,7 +74,7 @@
74
74
  </div>
75
75
 
76
76
  <div class="user-info-ft">
77
- <nut-button v-if="!isApp()" class="user-info-ft-btn" style="width: 100%; margin-top: 12px" @click="toLogout" plain
77
+ <nut-button v-if="!isApp()" class="user-info-ft-btn" style="width: 100%; margin-top: 12px" v-track-click="{ event: 'click', elementText: '用户信息-退出登录' }" @click="toLogout" plain
78
78
  type="primary">退出登录</nut-button>
79
79
  </div>
80
80
  </div>
@@ -85,10 +85,10 @@
85
85
  @cancel="onUserNameCancel">
86
86
  <nut-input :max-length="20" placeholder="请输入新的用户名" v-model="userState.value" />
87
87
  <template #footer>
88
- <nut-button class="change-username-popup-cancel" type="default" @click="onUserNameCancel">
88
+ <nut-button class="change-username-popup-cancel" type="default" v-track-click="{ event: 'click', elementText: '用户信息-修改用户名-取消' }" @click="onUserNameCancel">
89
89
  取消
90
90
  </nut-button>
91
- <nut-button class="change-username-popup-ok" type="primary" @click="onUserNameOk">
91
+ <nut-button class="change-username-popup-ok" type="primary" v-track-click="{ event: 'click', elementText: '用户信息-修改用户名-确定' }" @click="onUserNameOk">
92
92
  确定
93
93
  </nut-button>
94
94
  </template>
@@ -106,10 +106,10 @@
106
106
  " :max-length="20" placeholder="请输入新的昵称" type="nickname" />
107
107
 
108
108
  <template #footer>
109
- <nut-button class="change-username-popup-cancel" type="default" @click="onNickNameCancel">
109
+ <nut-button class="change-username-popup-cancel" type="default" v-track-click="{ event: 'click', elementText: '用户信息-修改昵称-取消' }" @click="onNickNameCancel">
110
110
  取消
111
111
  </nut-button>
112
- <nut-button class="change-username-popup-ok" type="primary" @click="onNickNameOk">
112
+ <nut-button class="change-username-popup-ok" type="primary" v-track-click="{ event: 'click', elementText: '用户信息-修改昵称-确定' }" @click="onNickNameOk">
113
113
  确定
114
114
  </nut-button>
115
115
  </template>
@@ -122,7 +122,7 @@
122
122
  <img class="upload-avatar-popup-avatar" mode="aspectFit" v-if="userInfo.avatar" :src="userInfo.avatar" alt="" />
123
123
  <img class="upload-avatar-popup-avatar" mode="aspectFit" v-else
124
124
  src="https://cdn.ddjf.com/static/images/wx-yunservice/account-head.png" alt="" />
125
- <div class="upload-avatar-popup-btn" @click="toUpload">更换头像</div>
125
+ <div class="upload-avatar-popup-btn" v-track-click="{ event: 'click', elementText: '用户信息-更换头像' }" @click="toUpload">更换头像</div>
126
126
  </div>
127
127
  </nut-popup>
128
128
  </template>