页面
This commit is contained in:
parent
c5465b5844
commit
3b46b76f1f
@ -285,7 +285,7 @@
|
||||
/>
|
||||
</view>
|
||||
<view class="ps-2 pt-2 font-size-4 font-bold color-black ellipsis">
|
||||
{{ item.title }}发放接口连接啊发生金坷拉激发
|
||||
{{ item.title }}
|
||||
</view>
|
||||
<view class="ps-2 pt-2 font-size-3 ellipsis">
|
||||
{{ item.description }}
|
||||
|
@ -134,8 +134,8 @@ function more(item) {
|
||||
>
|
||||
<wd-grid-item use-slot>
|
||||
<view class="p-2">
|
||||
<wd-img radius="20rpx" width="100rpx" height="100rpx" :src="item.icon" />
|
||||
<view class="pb-2 ps-2 pt-2 text-center font-size-3 color-black">
|
||||
<wd-img radius="20rpx" width="60rpx" height="60rpx" :src="item.icon" />
|
||||
<view class="py-2 text-center font-size-3 color-black">
|
||||
{{ item.name }}
|
||||
</view>
|
||||
</view>
|
||||
@ -193,8 +193,8 @@ function more(item) {
|
||||
>
|
||||
<wd-grid-item use-slot>
|
||||
<view class="p-2">
|
||||
<wd-img radius="20rpx" width="100rpx" height="100rpx" :src="item.icon" />
|
||||
<view class="pb-2 ps-2 pt-2 text-center font-size-3 color-black">
|
||||
<wd-img radius="20rpx" width="60rpx" height="60rpx" :src="item.icon" />
|
||||
<view class="py-2 text-center font-size-3 color-black">
|
||||
{{ item.name }}
|
||||
</view>
|
||||
</view>
|
||||
@ -249,7 +249,7 @@ function more(item) {
|
||||
>
|
||||
<wd-grid-item use-slot>
|
||||
<view class="p-2">
|
||||
<wd-img radius="20rpx" width="100rpx" height="100rpx" :src="item.icon" />
|
||||
<wd-img radius="20rpx" width="60rpx" height="60rpx" :src="item.icon" />
|
||||
<view class="pb-2 ps-2 pt-2 text-center font-size-3 color-black">
|
||||
{{ item.name }}
|
||||
</view>
|
||||
|
@ -47,14 +47,9 @@ export default defineComponent({
|
||||
},
|
||||
},
|
||||
onLoad(option) {
|
||||
// if (hasLogin) {
|
||||
// this.show = true
|
||||
// return
|
||||
// }
|
||||
// this.local_url = decodeURIComponent(getUrlCrmebLogin() + option.target)
|
||||
console.log(getUrlCrmebLogin())
|
||||
// const target = encodeURIComponent(option.target)
|
||||
const target = option.target
|
||||
console.log('获取跳转连接', target)
|
||||
if (isMpWeixin) {
|
||||
this.local_url = getUrlCrmebLogin() + '?target=' + target
|
||||
} else {
|
||||
|
@ -193,7 +193,7 @@ export function getUrlCrmebProxy() {
|
||||
|
||||
//模块跳转
|
||||
export function getUrl(url) {
|
||||
console.log(url)
|
||||
console.log('c123', url)
|
||||
return uni.navigateTo({
|
||||
url: url,
|
||||
})
|
||||
@ -201,17 +201,19 @@ export function getUrl(url) {
|
||||
|
||||
// 代登录跳转
|
||||
export function getWebUrl(url) {
|
||||
console.log(url)
|
||||
console.log('传递参数', url)
|
||||
const target = encodeURIComponent(url)
|
||||
return uni.navigateTo({
|
||||
url: `/pages/web_view/index?target=${url}`,
|
||||
url: `/pages/web_view/index?target=${target}`,
|
||||
})
|
||||
}
|
||||
|
||||
// 代登录跳转
|
||||
export function getShopWebUrl(url) {
|
||||
console.log(url)
|
||||
console.log('传递参数', url)
|
||||
const target = encodeURIComponent(url)
|
||||
return uni.navigateTo({
|
||||
url: `/pages/web_view/h5?target=${url}`,
|
||||
url: `/pages/web_view/h5?target=${target}`,
|
||||
})
|
||||
}
|
||||
import { useUserStore } from '@/store'
|
||||
@ -221,7 +223,7 @@ export function hasLogin() {
|
||||
const hasLogin = useUserStore().userInfo.id ? true : false
|
||||
// console.log(useUserStore().userInfo)
|
||||
// console.log('是否登录', hasLogin)
|
||||
console.log('是否登录sss', useUserStore().userInfo)
|
||||
// console.log('是否登录sss', useUserStore().userInfo)
|
||||
//强制跳转设置村庄
|
||||
if (hasLogin && !useUserStore().userInfo.isset) {
|
||||
// if (!this.phone) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user