更换版本
This commit is contained in:
24
we7/pages/templates/footer.wxml
Normal file
24
we7/pages/templates/footer.wxml
Normal file
@@ -0,0 +1,24 @@
|
||||
<template name="footerWx">
|
||||
<view class="we7-bottom" style="background-color:{{backgroundColor}};border-color:{{borderStyle}}" wx:if="{{list}}">
|
||||
<block wx:for="{{list}}" wx:key="{{index}}">
|
||||
<view class="we7-bottom-item" hoverClass="active" wx:if="{{item.pageUrl=='/'+thisurl}}">
|
||||
<navigator hoverClass="active" openType="redirect" url="{{item.pagePath}}">
|
||||
<image class="item-img" mode="widthFix" src="{{item.selectedIconPath}}"></image>
|
||||
<view class="item-text" style="color: {{selectedColor}};">{{item.text}}</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="we7-bottom-item" hoverClass="active" wx:else>
|
||||
<navigator hoverClass="active" openType="redirect" url="{{item.pagePath}}">
|
||||
<image class="item-img" mode="widthFix" src="{{item.iconPath}}"></image>
|
||||
<view class="item-text" style="color: {{color}}">{{item.text}}</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
<view class="we7-bottom-placeholder"></view>
|
||||
</template>
|
||||
<template name="goHome">
|
||||
<navigator class="goHome" hoverClass="active" openType="redirect" url="/we7/pages/index/index">
|
||||
<image mode="widthFix" src="/we7/resource/images/home.png"></image>
|
||||
</navigator>
|
||||
</template>
|
0
we7/pages/templates/footer.wxss
Normal file
0
we7/pages/templates/footer.wxss
Normal file
12
we7/pages/templates/news.wxml
Normal file
12
we7/pages/templates/news.wxml
Normal file
@@ -0,0 +1,12 @@
|
||||
<template name="newsDetail">
|
||||
<block wx:for="{{content}}" wx:for-index="idy" wx:for-item="cellData">
|
||||
<view class="p" wx:if="{{cellData.type=='view'}}">
|
||||
<block wx:for="{{cellData.child}}" wx:key="text">
|
||||
<text bindtap="stockClick" class="a" data-seccode="{{item.attr['data-seccode']}}" data-secname="{{item.attr['data-secname']}}" wx:if="{{item.type=='a'}}">{{item.text}}</text>
|
||||
<text wx:else>{{item.text}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<block wx:if="{{cellData.type=='img'}}"> {{wn_html_images}} <image bindload="imageLoad" class="img" data-index="{{idy}}" mode="widthFix" src="{{cellData.attr.src}}" style="width: {{cellData['attr']['width']}};max-width: 100%;height: {{cellData['attr']['height']?cellData['attr']['height']:auto}}"></image>
|
||||
</block>
|
||||
</block>
|
||||
</template>
|
0
we7/pages/templates/news.wxss
Normal file
0
we7/pages/templates/news.wxss
Normal file
Reference in New Issue
Block a user