|
@@ -200,10 +200,12 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+
|
|
import { Toast } from 'vant';
|
|
import { Toast } from 'vant';
|
|
// import NativeShare from 'nativeshare';
|
|
// import NativeShare from 'nativeshare';
|
|
// import { fileKeyToUrl } from '@/plugins/file-center.js';
|
|
// import { fileKeyToUrl } from '@/plugins/file-center.js';
|
|
|
|
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
auth: false,
|
|
auth: false,
|
|
name: 'Fission',
|
|
name: 'Fission',
|
|
@@ -413,22 +415,6 @@ export default {
|
|
});
|
|
});
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- // async shareReceiveCloudPhone() {
|
|
|
|
- // try {
|
|
|
|
- // const res = await this.$axios.$post('/resources/register/send/cloud/phone/shareReceiveCloudPhone', {}, { headers: { Authorization: this.token } });
|
|
|
|
- // Dialog.alert({
|
|
|
|
- // message: res.msg,
|
|
|
|
- // }).then(() => {
|
|
|
|
- // this.showShare = false
|
|
|
|
- // });
|
|
|
|
- // this.addUserVisit(7);
|
|
|
|
- // } catch (err) {
|
|
|
|
- // Toast({
|
|
|
|
- // message: err.message,
|
|
|
|
- // position: 'top'
|
|
|
|
- // });
|
|
|
|
- // }
|
|
|
|
- // },
|
|
|
|
async receiveLevelAward(goodsId) {
|
|
async receiveLevelAward(goodsId) {
|
|
try {
|
|
try {
|
|
const res = await this.$axios.$post('/activity/v1/level/award/receiveLevelAward', { activityId: this.myCodeFrom.activityId, goodsId }, { headers: { Authorization: this.token } });
|
|
const res = await this.$axios.$post('/activity/v1/level/award/receiveLevelAward', { activityId: this.myCodeFrom.activityId, goodsId }, { headers: { Authorization: this.token } });
|