完成简易版的充值和充值记录查询页面,简单的我的页面
This commit is contained in:
28
components/cell/index.wxml
Normal file
28
components/cell/index.wxml
Normal file
@@ -0,0 +1,28 @@
|
||||
<!--components/cell/index.wxml-->
|
||||
|
||||
<template name="rightIcon">
|
||||
<image src="/assets/images/right.png" class="rightIcon" />
|
||||
</template>
|
||||
|
||||
<template name="content">
|
||||
<view wx:if="{{!rightArrow}}">
|
||||
{{title}}
|
||||
</view>
|
||||
<view wx:else style="display: flex; justify-content: space-between;align-items: center; width: 100%;">
|
||||
{{title}}
|
||||
<template is="rightIcon" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<view class="cellWrapper" wx:if="{{!openType}}" bind:tap="click">
|
||||
<view class="content">
|
||||
<template is="content" data="{{title, rightArrow}}" />
|
||||
</view>
|
||||
<view class="borderBottom border" wx:if="{{borderBottom}}"></view>
|
||||
</view>
|
||||
<view wx:else bind:tap="click">
|
||||
<button class="button" open-type="{{openType}}" plain="true">
|
||||
<template is="content" data="{{title, rightArrow}}" />
|
||||
</button>
|
||||
<view class="borderBottom border" wx:if="{{borderBottom}}"></view>
|
||||
</view>
|
Reference in New Issue
Block a user