user.wxml 2.2 KB
<!--pages/user/user.wxml-->
<view class="backPic">
  <image src="../../images/05-01/bj.png"></image>
</view>
<!-- 用户信息 -->
<view class="userInfo">
  <view class="headPic">
    <image src="{{userData.wxHeadImg}}"></image>
  </view>
  <view class="userName">
    <view class="name">
      {{userData.wxName}}
    </view>
    <view class="decribe">
      描述
    </view>
  </view>
  <!-- <view class="arrow">
    <image src="/images/05-01/arrow.png"></image>
  </view> -->
</view>
<view class="container">
  <!-- 全部订单 -->
  <view class="allOrder">
    <view class="top">
      <view class="first" >全部订单
      </view>
      <view class="second">
        <view bindtap="mainOrder"> 查看全部订单</view>
        <view>
          <image src="/images/04-01/arrow.png"></image>
        </view>
      </view>
    </view>
    <view class="bottom">
      <view wx:for="{{orderList}}" bindtap="orderEvent" data-index="{{index}}">
        <view class="pic">
          <image src="{{item.url}}"></image>
        </view>
        <view class="text">{{item.text}}</view>
      </view>
    </view>
  </view>
  <!-- 我的服务 -->
  <view class="myServe">
    <view class="top">
      <view class="first">我的服务
      </view>
    </view>
    <view class="serveBox">
        <view  wx:for="{{serveList}}" class="" bindtap="myServeEvent" data-index="{{index}}">
          <view class="servePic">
          <image src="{{item.url}}"></image>
        </view>
        <view class="serevText">{{item.text}}</view>
        </view>
    </view>
  </view>
</view>
<!-- tabbar -->
<!-- <view class="tabbarBox" >
	<ul>
		<li>
			<view class="tabbarPic" bindtap="toHome">
				<image src="/images/tab/home.png"></image>
			</view>
			<text bindtap="toHome">首页</text>
		</li>
		<li>
			<view class="tabbarPic" bindtap="toClassify">
				<image src="/images/tab/classify (2).png"></image>
			</view>
			<text bindtap="toClassify">分类</text>
		</li>
		<li>
			<view class="tabbarPic" bindtap="toShopCart">
				<image src="/images/tab/cart (2).png"></image>
			</view>
			<text bindtap="toShopCart">购物车</text>
		</li>
		<li>
			<view class="tabbarPic">
				<image src="/images/tab/user (2).png"></image>
			</view>
			<text class="check">我的</text>
		</li>
	</ul>
</view> -->