diff --git a/main.js b/main.js index de833d8..960649f 100644 --- a/main.js +++ b/main.js @@ -27,7 +27,7 @@ export function createApp() { const systemInfo = uni.getStorageSync('systemInfo') || {} app.config.globalProperties.$system = systemInfo.platform == 'ios' ? 'iOS' : 'Android' app.config.globalProperties.$systemInfo = systemInfo - uni.setStorageSync('version', '1.0.3.sp12') + uni.setStorageSync('version', '1.0.3.sp13') app.config.globalProperties.$version = uni.getStorageSync('version') app.use(globalMethods); diff --git a/pages/balance/transfer/transfer.vue b/pages/balance/transfer/transfer.vue index 4026150..5a3c116 100644 --- a/pages/balance/transfer/transfer.vue +++ b/pages/balance/transfer/transfer.vue @@ -202,15 +202,18 @@ import { ref, onMounted, - reactive + reactive, + getCurrentInstance } from 'vue'; import { - onShow + onShow, + onLoad } from '@dcloudio/uni-app'; import { util, numberUtil } from '@/utils/common.js'; +const { appContext, proxy } = getCurrentInstance(); const statusBarHeight = ref(0); const editPopup = ref(null); @@ -227,6 +230,15 @@ const transferData = reactive({ promoPrice: '8' }); +onLoad(() => { + // 进入转账页面埋点 + proxy.$apiUserEvent('all', { + type: 'click', + key: 'transfer', + value: "转账" + }) +}) + // 从缓存加载数据 const loadStorageData = () => { const savedData = uni.getStorageSync(STORAGE_KEY); diff --git a/pages/index/index.nvue b/pages/index/index.nvue index 8970dce..770a0f9 100644 --- a/pages/index/index.nvue +++ b/pages/index/index.nvue @@ -136,849 +136,849 @@ \ No newline at end of file diff --git a/pages/shopping/jingdong/list-index.vue b/pages/shopping/jingdong/list-index.vue index ecd4855..fa264ae 100644 --- a/pages/shopping/jingdong/list-index.vue +++ b/pages/shopping/jingdong/list-index.vue @@ -3,7 +3,9 @@ @@ -15,14 +17,31 @@ \ No newline at end of file diff --git a/static/image/shopping/jingdong/search-icon.png b/static/image/shopping/jingdong/search-icon.png new file mode 100644 index 0000000..76ae1e9 Binary files /dev/null and b/static/image/shopping/jingdong/search-icon.png differ