提交 d3404d85 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新image、navigator示例

上级 b2c19f78
<template>
<!-- #ifdef APP -->
<scroll-view style="flex: 1;">
<!-- #endif -->
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<!-- <view class="uni-title">
......@@ -24,7 +26,9 @@
</view>
</view> -->
</view>
<!-- #ifdef APP -->
</scroll-view>
<!-- #endif -->
</template>
<script>
......
<template>
<!-- #ifdef APP -->
<scroll-view style="flex: 1;">
<!-- #endif -->
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<view class="uni-title">
......@@ -21,7 +23,9 @@
</view>
</view>
</view>
<!-- #ifdef APP -->
</scroll-view>
<!-- #endif -->
</template>
<script>
......
<template>
<view>
<page-head :title="title"></page-head>
</view>
<page-head :title="title"></page-head>
</template>
<script>
......@@ -12,4 +10,4 @@
}
}
}
</script>
\ No newline at end of file
</script>
<template>
<view>
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<navigator class="navigator navigate" url="navigate?title=navigate">
<button type="default">跳转到新页面</button>
</navigator>
<navigator class="navigator redirect" url="redirect?title=redirect" open-type="redirect">
<button type="default">在当前页打开</button>
</navigator>
</view>
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<navigator class="navigator navigate" url="navigate?title=navigate">
<button type="default">跳转到新页面</button>
</navigator>
<navigator class="navigator redirect" url="redirect?title=redirect" open-type="redirect">
<button type="default">在当前页打开</button>
</navigator>
</view>
</template>
......@@ -26,4 +24,4 @@
.navigator {
margin-bottom: 15px;
}
</style>
\ No newline at end of file
</style>
<template>
<view>
<page-head :title="title"></page-head>
</view>
<page-head :title="title"></page-head>
</template>
<script>
......@@ -12,4 +10,4 @@
}
}
}
</script>
\ No newline at end of file
</script>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册