1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <template>
- <diyC ref="diy" v-if="isDiy"></diyC>
- </template>
- <script>
- import diyC from './diy/index_mall.vue'
- export default {
- data() {
- return {
- isDiy: uni.getStorageSync('is_diy'),
- shareInfo: {}
- }
- },
- components: {
- diyC
- },
- onShow() {
- uni.$on('is_diy', (data) => {
- this.isDiy = data
- })
- this.setOpenShare();
- },
- onHide() {
-
- },
- methods: {
-
- setOpenShare: function() {
- let that = this;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- },
- },
-
-
-
-
-
-
-
- onShareAppMessage(res) {
-
- let that = this;
- return {
- title: this.shareInfo.title,
- path: "/pages/index/index",
- imageUrl: this.shareInfo.img,
- };
- },
-
- onShareTimeline() {
- return {
- title: this.shareInfo.title,
- imageUrl: this.shareInfo.img,
- };
- },
-
- }
- </script>
- <style>
- </style>
|