v3.0.0 springboot3+jdk17版本

This commit is contained in:
hupeng committed 2024-06-01 16:29:28 +08:00
1 parent 3aa2c942dc
commit b3ee447f8e
3676 files changed
+64366 -370384

No files matched your search

@@ -61,9 +61,10 @@ import {
ref,
computed
} from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import { onLoad,onShow } from '@dcloudio/uni-app'
import { useMainStore } from '@/store/store'
import {
userAuthSession,
userLoginForWechatMini,
smsSend,
userLogin
@@ -91,6 +92,34 @@ const captchaStyle = computed(() => {
return style;
});
onShow(() => {
// #ifdef MP-WEIXIN
if(!openid.value){
wechatMiniLogin();
}
// #endif
})
const wechatMiniLogin = () => {
//this.$u.toast('登录中');
uni.login({
provider: 'weixin'
}).then(async (res) => {
let data = await userAuthSession({
code: res.code
});
if (data) {
console.log('data.openId001:',data.openId)
main.SET_OPENID(data.openId)
openid.value = data.openId
}
});
}
const loginForWechatMini = async (e) => {
if(!isChecked.value){
@@ -117,7 +117,7 @@
<view class="w-100 d-flex flex-column">
<view class="pay-cell">
<view>支付方式</view>
<view class="font-weight-bold">{{ order._status._payType }}</view>
<view class="font-weight-bold">{{ order.statusDto.payType }}</view>
</view>
<view class="pay-cell">
<view>订单金额</view>
@@ -203,7 +203,7 @@ import {
const title = ref('订单详情')
const order = ref({
shop:{name:''},
_status:{_payType:''}
statusDto:{payType:''}
})
const numForMading = ref(5)
@@ -21,7 +21,7 @@
<view class="font-size-sm text-color-assist">订单编号:{{ item.orderId }}</view>
</view>
<view class="font-size-lg text-color-primary">
{{ item._status._title }}
{{ item.statusDto.title }}
</view>
</view>
</list-cell>
@@ -21,7 +21,7 @@
<view class="font-size-sm text-color-assist">订单编号:{{ item.orderId }}</view>
</view>
<view class="font-size-lg text-color-primary">
{{ item._status._title }}
{{ item.statusDto.title }}
</view>
</view>
</list-cell>