Compare commits
2 Commits
3c8da5e9dc
...
c5fb91910a
| Author | SHA1 | Date | |
|---|---|---|---|
| c5fb91910a | |||
| 8bd31ef288 |
11
pages.json
11
pages.json
@@ -24,7 +24,8 @@
|
||||
"path": "pages/message/message",
|
||||
"style": {
|
||||
"navigationBarTitleText": "消息",
|
||||
"navigationStyle": "custom"
|
||||
"navigationStyle": "custom",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -53,6 +54,14 @@
|
||||
"navigationBarTitleText": "项目详情",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/mall/mall",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "商城",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
||||
@@ -58,6 +58,10 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view style="margin-top: 20rpx;">
|
||||
<u-button @click="openShop" type="primary" style="width: 200rpx;">商城</u-button>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<Tabbar id="tabbarId"></Tabbar>
|
||||
@@ -90,6 +94,12 @@
|
||||
{ url: '/static/banner/2.png' },
|
||||
{ url: '/static/banner/3.png' },
|
||||
]
|
||||
|
||||
const openShop = () => {
|
||||
uni.navigateTo({
|
||||
url: '/pages/mall/mall'
|
||||
})
|
||||
}
|
||||
|
||||
onUniReady(() => {
|
||||
loadHeight()
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
欢迎回到炬融圈
|
||||
</view>
|
||||
</view>
|
||||
<image src="../../static/login/login-img.png" mode="" class="login-img"></image>
|
||||
<view style="display: flex;justify-content: center;">
|
||||
<image src="../../static/login/login-img.png" mode="" class="login-img"></image>
|
||||
</view>
|
||||
<view class="login-form">
|
||||
<u-form :model="userLogin.userForm" ref="userLoginRef" :border-bottom="false" :error-type="['message']"
|
||||
label-width="0">
|
||||
@@ -249,6 +251,7 @@
|
||||
}
|
||||
|
||||
.login-img {
|
||||
max-width: 1000rpx;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
13
pages/mall/mall.vue
Normal file
13
pages/mall/mall.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<view>
|
||||
商城
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
@@ -42,7 +42,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, computed, getCurrentInstance } from 'vue';
|
||||
import {
|
||||
onReady
|
||||
onReady, onPullDownRefresh
|
||||
} from '@dcloudio/uni-app';
|
||||
import { onReady as onUniReady } from '@dcloudio/uni-app';
|
||||
const instance = getCurrentInstance();
|
||||
@@ -94,6 +94,11 @@
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// 下拉刷新
|
||||
onPullDownRefresh(() => {
|
||||
uni.stopPullDownRefresh()
|
||||
})
|
||||
|
||||
|
||||
onUniReady(() => {
|
||||
|
||||
Reference in New Issue
Block a user