titleStyle.wxml
2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!--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>