修复bug

This commit is contained in:
weipengfei 2023-09-04 18:54:55 +08:00
parent a193cef232
commit 6c3a13ede2
4 changed files with 10 additions and 5 deletions

View File

@ -16,10 +16,12 @@
// console.log("app") // console.log("app")
// } // }
// }) // })
uni.showModal({
content: info // uni.showModal({
}) // content: info.referrerInfo.extraData
// })
if(info.referrerInfo?.extraData?.uniMP) uni.setStorageSync('uniMP', info.referrerInfo?.extraData?.uniMP); if(info.referrerInfo?.extraData?.uniMP) uni.setStorageSync('uniMP', info.referrerInfo?.extraData?.uniMP);
if(info.referrerInfo?.extraData?.token) uni.setStorageSync('APP_token', info.referrerInfo?.extraData?.token);
console.log('App Launch') console.log('App Launch')
this.$store.dispatch('initConfig'); this.$store.dispatch('initConfig');
try { try {

View File

@ -10,6 +10,7 @@
<!-- #endif --> <!-- #endif -->
<view class="body"> <view class="body">
<view class="title">欢迎进入里海供销平台</view> <view class="title">欢迎进入里海供销平台</view>
<view>{{APP_token}}</view>
<view class="login-card"> <view class="login-card">
<view class="top"> <view class="top">
<view class="text item"> <view class="text item">
@ -60,6 +61,7 @@
data: '', data: '',
}, },
uniMP: false, uniMP: false,
APP_token: '',
tabList: [{ tabList: [{
name: '账号登录' name: '账号登录'
}, },
@ -80,6 +82,7 @@
}; };
}, },
onLoad() { onLoad() {
this.APP_token = uni.getStorageSync('APP_token');
this.options.data = bj; this.options.data = bj;
// this.$refs.lottie.call('play'); // this.$refs.lottie.call('play');
this.initTerminal(); this.initTerminal();

View File

@ -1,5 +1,5 @@
<template> <template>
<view class=""> <view class="" style="width: 100vw; overflow: hidden;">
<view class="card"> <view class="card">
<u--form labelPosition="left" :model="formData" :rules="rules" ref="uForm"> <u--form labelPosition="left" :model="formData" :rules="rules" ref="uForm">
<view class="cards"> <view class="cards">

View File

@ -4,7 +4,7 @@
<view>账户入股金额</view> <view>账户入股金额</view>
<view><text class="money">{{shareholder.shareholder_money}}</text></view> <view><text class="money">{{shareholder.shareholder_money}}</text></view>
</view> </view>
<view v-if="!is_village" style="text-align: center;color: #aaa;">暂无直属上级公司</view> <view v-if="!shareholder.is_village" style="text-align: center;color: #aaa;">暂无直属上级公司</view>
<view class="card" v-else-if="shareholder.is_contract"> <view class="card" v-else-if="shareholder.is_contract">
<view class="contract"> <view class="contract">
<view class="left"> <view class="left">