12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <view class="wrapper">
- <view class="width-690">
- <view class="user-info">
- <view class="portrait">
- <image src="{{shopInfo.user_head_img_url}}"></image>
- </view>
- <view class="user-name-wrap">
- <view class="name">{{shopInfo.user_nickname}}</view>
- <view class="account">账号:{{shopInfo.user_phone}}</view>
- </view>
- <view
- class="btn-edit-wrap"
- bind:tap="jumpBusinessInfo">
- <image
- class="btn-edit"
- src="../../image/common/edit.png"></image>
- </view>
- </view>
- <view
- class="dashboard"
- data-path="businessGoodsManage"
- data-tabvalue="1"
- bind:tap="jump">
- <image
- class="bg"
- src="../../image/businessHome/bg.png"></image>
- <view class="data">
- <view class="label">已发布产品</view>
- <view class="value">{{shopInfo.product_total}}</view>
- </view>
- <view class="btn">
- <image class="eyes" src="../../image/businessHome/eyes.png"></image>
- <text class="check">查看详情</text>
- </view>
- </view>
- <view
- class="excellent-goods-title"
- data-path="businessGoodsManage"
- bind:tap="jump">
- <text>管理</text>
- <image src="../../image/businessHome/arrow.png"></image>
- </view>
- <view class="nav-wrap">
- <view
- wx:for="{{nav}}"
- wx:key="index"
- data-item="{{item}}"
- bind:tap="handleNav">
- <image src="../../image/businessHome/{{item.icon}}"></image>
- <text>{{item.name}}</text>
- </view>
- </view>
- <view
- class="excellent-goods-title"
- data-path="businessGoodsManage"
- data-tabvalue="1"
- bind:tap="jump">
- <text>我的发布</text>
- <image src="../../image/businessHome/arrow.png"></image>
- </view>
- <view class="main">
- <view
- class="list"
- wx:for="{{products}}"
- wx:key="index">
- <view class="photo-wrap">
- <!-- TODO 缺商品主图字段 -->
- <image src="{{item.product_img_url}}"></image>
- </view>
- <view class="box">
- <view class="goods-name">{{item.product_title}}</view>
- <view class="add-time">{{item.created_at}}</view>
- </view>
- <view class="price">产品价格:¥{{tools.fen2Yuan(item.product_price)}}</view>
- </view>
- <!-- 无数据 -->
- <view class="list-bitmap" wx:if="{{finished && products.length < 1}}">
- <image src="../../image/common/bitmap.png"></image>
- <text>暂无数据</text>
- </view>
- </view>
- </view>
- </view>
- <wxs src="../../components/wxs/index.wxs" module="tools"></wxs>
|