12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <template>
- <view class="">
- <navBar title="制作数字分身" :backHome="share" flex="cen" :navImg="navImg" :back="true" color="#333333"
- background="#FFFFFF" />
- <genAvatarCom />
- </view>
- </template>
- <script>
- import genAvatarCom from '@/components/genAvatarComp/index.vue'
- export default {
- data() {
- return {
- share: false
- }
- },
- components: {
- genAvatarCom
- },
- onLoad(o) {
- if (o.share) {
- this.share = o.share
- console.log('this.share', this.share);
- }
- },
- onShareAppMessage(params) {
- if (params.from === 'button' || params.from === 'menu') {
- return {
- title: '思维定制相机-制作数字分身',
- imageUrl: '',
- path: '/pages/genDigitalFenshen/index?share=true',
- mpId: this.$appId,
- type: this.$shareType,
- }
- }
- },
- }
- </script>
- <style scoped>
- ::v-deep .u-upload__button {
- width: 90vw !important;
- height: 90vw !important;
- }
- ::v-deep .u-upload__wrap__preview__image {
- width: 90vw !important;
- height: 90vw !important;
- }
- </style>
|