|
@@ -17,6 +17,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="scan-text">扫描上方二维码,加入我的团队</view>
|
|
|
+
|
|
|
<tabbar currentTab="promotionCode" />
|
|
|
</view>
|
|
|
</template>
|
|
@@ -29,25 +30,18 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- text: "https://test.chelvc.com/static/preview?promoterId=123123123",
|
|
|
- // text:`https://test.chelvc.com/static/preview?promoterId=${this.userId}`,
|
|
|
+ text: `https://test.chelvc.com/static/${this.userId}`,
|
|
|
size: 200,
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
|
- uQrcode ,
|
|
|
+ uQrcode,
|
|
|
},
|
|
|
computed: {
|
|
|
- ...mapGetters(['location', 'avatar', 'nickname',"userId"]),
|
|
|
+ ...mapGetters(['location', 'avatar', 'nickname', "userId"]),
|
|
|
},
|
|
|
methods: {
|
|
|
- gotoBaidu() {
|
|
|
- // 使用 uni.navigateTo 或 uni.redirectTo 跳转到百度的网址
|
|
|
- uni.navigateTo({
|
|
|
- url: 'https://test.chelvc.com/static/preview?promoterId=123123123'
|
|
|
- })
|
|
|
- },
|
|
|
- complete(e) {
|
|
|
+ kplete(e) {
|
|
|
if (e.success) {
|
|
|
console.log('生成成功');
|
|
|
} else {
|