Skip to content

Commit f53f605

Browse files
committed
update : uLink 改为全局组件,searchInput 示例添加动态设置 input 值,nav-var 示例 添加下拉刷新
1 parent faa0086 commit f53f605

File tree

7 files changed

+221
-183
lines changed

7 files changed

+221
-183
lines changed

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import App from './App'
33

44
import pageHead from './components/page-head.vue'
55
import pageFoot from './components/page-foot.vue'
6-
6+
import uLink from '@/components/uLink.vue'
77
import store from './store'
88

99
Vue.config.productionTip = false
@@ -17,7 +17,7 @@ Vue.prototype.$backgroundAudioData = {
1717

1818
Vue.component('page-head', pageHead)
1919
Vue.component('page-foot', pageFoot)
20-
20+
Vue.component('uLink', uLink)
2121

2222
App.mpType = 'app'
2323

pages.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,10 @@
135135
{
136136
"path": "pages/component/input/input",
137137
"style": {
138-
"navigationBarTitleText": "input"
138+
"navigationBarTitleText": "input",
139+
"app-plus": {
140+
"softinputNavBar": "none"
141+
}
139142
}
140143
},
141144
{
@@ -596,7 +599,17 @@
596599
}, {
597600
"path": "nav-bar/nav-bar",
598601
"style": {
599-
"navigationBarTitleText": "NavBar 导航栏"
602+
"navigationBarTitleText": "NavBar 导航栏",
603+
"navigationStyle": "custom",
604+
"enablePullDownRefresh": true,
605+
"app-plus": {
606+
"titleNView": false,
607+
"bounce": "none",
608+
"pullToRefresh": {
609+
"style": "circle",
610+
"offset": "70px"
611+
}
612+
}
600613
}
601614
}, {
602615
"path": "number-box/number-box",

0 commit comments

Comments
 (0)