Browse Source

样式修改

master
@AliceXiaoZhan 3 years ago
parent
commit
5524650a8e
  1. 1
      components/components/xuqiu.vue
  2. 5
      components/tabs/tabs.vue
  3. 2
      pages.json
  4. 1
      pages/resource_list/resource_list.vue
  5. 2
      pages/shop_street/shop_street.vue

1
components/components/xuqiu.vue

@ -69,6 +69,7 @@
},
//
changeTabs(event) {
this.current = event;
},
//

5
components/tabs/tabs.vue

@ -314,6 +314,7 @@
query.exec(
function(res) {
this.tabQueryInfo = res;
//console.log(res)
// bar
this.scrollByIndex();
}.bind(this)
@ -322,9 +323,11 @@
// scroll-viewtab
scrollByIndex() {
// tabtabwidthleft()
let tabInfo = this.tabQueryInfo[this.currentIndex];
console.log('tabInfo')
console.log(this.currentIndex)
console.log(this.tabQueryInfo)
let tabInfo = this.tabQueryInfo[this.currentIndex];
if (!tabInfo) return;
// tab
let tabWidth = tabInfo.width;

2
pages.json

@ -939,7 +939,7 @@
"pagePath": "pages/community/community",
"iconPath": "/static/images/tab-community.png",
"selectedIconPath": "/static/images/tab-community_s.png",
"text": "任务中心"
"text": "服务大厅"
},
{
"pagePath": "pages/resource_list/resource_list",

1
pages/resource_list/resource_list.vue

@ -50,6 +50,7 @@
</view>
</mescroll-body>
<tabbar></tabbar>
</view>
</template>

2
pages/shop_street/shop_street.vue

@ -41,7 +41,7 @@
</view>
</view> -->
</view>
<tabbar></tabbar>
</view>
</template>

Loading…
Cancel
Save