titleStyle.wxml 2.64 KB
<!--components/titleStyle/titleStyle.wxml-->
<view class="{{isWhite}}">
	<!-- -->
	<view wx:if="{{titleStyleType == '1'}}" class="topic">
		<block wx:for="{{num1}}" wx:key="index"><text class="text{{item}}"></text></block>
		<text class="texts">{{titleText}}</text>
		<block wx:for="{{num2}}" wx:key="index"><text class="text{{item}}"></text></block>
	</view>
	<view wx:if="{{titleStyleType == '2'}}" class="topic topic2">
		<view class="titleLine2"></view>
		<view class="drop"></view>
		<text class="texts">{{titleText}}</text>
		<view class="drop"></view>
		<view class="titleLine2"></view>
	</view>
	<view wx:if="{{titleStyleType == '3'}}" class="topic topic3">
		<view class="drop"></view>
		<text class="texts">{{titleText}}</text>
		<view class="titleLine3"></view>
	</view>
	<view wx:if="{{titleStyleType == '4'}}" class="topic topic4">
		<view class="drop"></view>
		<text class="texts">{{titleText}}</text>
	</view>
	<view wx:if="{{titleStyleType == '5'}}" class="topic topic5">
		<view class="line1"></view>
		<view class="textBox">
			<view class="drop"></view>
			<text class="texts">{{titleText}}</text>
			<view class="drop"></view>
		</view>
		<view class="line2"></view>
	</view>
	<view wx:if="{{titleStyleType == '6'}}" class="topic topic6">
		<text class="texts">{{titleText}}</text>
		<view class="lineBox">
			<view class="left"></view>
			<view class="line6"></view>
			<view class="right"></view>
		</view>
	</view>
	<view wx:if="{{titleStyleType == '7'}}" class="topic topic7">
		<text class="texts">{{titleText}}>>>></text>
	</view>
	<view wx:if="{{titleStyleType == '8'}}" class="topic topic8">
		<text class="texts">{{titleText}}</text>
		<image src="{{isWhite == 'pearlWhite' ? 'https://nosqn.colorcun.com/triangleWhite.png' : 'https://nosqn.colorcun.com/triangle.png'}}" mode="" />
		<image src="{{isWhite == 'pearlWhite' ? 'https://nosqn.colorcun.com/triangleWhite.png' : 'https://nosqn.colorcun.com/triangle.png'}}" mode="" />
		<image src="{{isWhite == 'pearlWhite' ? 'https://nosqn.colorcun.com/triangleWhite.png' : 'https://nosqn.colorcun.com/triangle.png'}}" mode="" />
	</view>
	<view wx:if="{{titleStyleType == '9'}}" class="topic">
		<text class="texts">{{titleText}}</text>
	</view>
	<view wx:if="{{titleStyleType == '10'}}" class="topic topic10">
		<text class="texts">{{titleText}}</text>
	</view>
	<view wx:if="{{titleStyleType == '11'}}" class="topic topic11">
		<text class="texts">{{titleText}}</text>
	</view>
	<view wx:if="{{titleStyleType == '12'}}" class="topic topic12">
		<text class="texts">{{titleText}}</text>
	</view>
	<view wx:if="{{titleStyleType == '13'}}" class="topic topic10 topic13">
		<text class="texts">{{titleText}}</text>
	</view>
</view>