<template>
	<view class="demo1">
		<!---------- 标题文字 ------------>
		<!-- 箭头+标题文字 -->
		<view class="icon-title-navBar-box">
			<view @click="goUpPage" class="nav-bar-icon"></view>
			<text class="nav-bar-title">箭头+标题文字</text>
		</view>
		
		<!-- 箭头+标题文字 + 文字按钮-->
		<view class="ezy-navBar-box">
			<view class="nav-bar-icon"></view>
			<text class="nav-bar-title">订单支付</text>
			<view class="text-btn">取消订单</view>
		</view>
		<!--  仅一个箭头 -->
		<!-- <view @click="goUpPage" class="ezy-nav-bar-icon"></view> -->
		<view class="icon-title-navBar-box">
			<text class="nav-bar-title">标题文字</text>
		</view>
		<!-- switch -->
		<view>
			<view class="uni-list-cell-db">照片</view>
			<switch checked @change="switch1Change" />
		</view>
		<!---------- 搜索框 ------------>
	</view>
</template>

<script setup>
	function goUpPage(){}
</script>

<style>
</style>