miniprogram-demo/pages/API/navigationBar/navigationBar.wxml

27 lines
881 B
Plaintext
Raw Normal View History

2020-12-08 15:07:05 +08:00
<!--pages/API/get-network-type/get-network-type.wxml-->
<import src="../../common/head.wxml" />
<import src="../../common/foot.wxml" />
<view class="container">
<template is="head" data="{{title: 'navigationBar'}}"/>
<view class="page-body">
<view class="page-section">
<view class="btn-area">
<view>在当前页面显示导航条加载动画</view>
<button type="primary" bindtap="showNavigationBarLoading">showLoading</button>
<button type="primary" bindtap="hideNavigationBarLoading">hideLoading</button>
<view>动态设置当前页面的标题</view>
<button type="primary" bindtap="setNavigationBarTitle">title</button>
<view>设置页面导航条颜色</view>
<button type="primary" bindtap="setNavigationBarColor">color</button>
</view>
</view>
</view>
<template is="foot" />
</view>