| 1 |
- <view style="padding-bottom:80rpx;"><view class="u-flex padding-lr bg padding-top"><view class="u-m-r-10"><image style="width:100rpx;height:100rpx;border-radius:100rpx;" src="{{avatar}}" data-event-opts="{{[['tap',[['goNav',['/my/store/index']]]]]}}" bindtap="__e"></image></view><block wx:if="{{!isLogin}}"><view class="u-flex-1 u-m-l-10"><view class="u-font-18 text-bold"><view class="margin-left-sm margin-top-xs"><view class="flex align-end">{{userName+''}}<block wx:if="{{shop}}"><view data-event-opts="{{[['tap',[['changePutaWayFlag',['$event']]]]]}}" class="margin-left-sm" bindtap="__e"><image style="width:30rpx;height:30rpx;" src="{{shop.putawayFlag==0?'../../static/images/index/shangban.png':'../../static/images/index/dayang.png'}}"></image></view></block></view></view></view></view></block><block wx:else><view data-event-opts="{{[['tap',[['goLogin',['/pages/my/loginphone']]]]]}}" class="text-xl u-p-l-20 text-bold" bindtap="__e">登录</view></block></view><view class="flex align-center padding-left"><image style="width:26rpx;height:26rpx;" src="../../static/images/img/data.png"></image><view class="margin-left-xs flex align-center" style="color:#999999;"><view data-event-opts="{{[['tap',[['bindData',[1]]]]]}}" bindtap="__e">{{startTime?startTime:'开始时间'}}</view>至<view data-event-opts="{{[['tap',[['bindData',[2]]]]]}}" bindtap="__e">{{endTime?endTime:'结束时间'}}</view></view></view><view class="flex align-center box justify-between text-center"><view data-event-opts="{{[['tap',[['goNav',['/my/other/cashList']]]]]}}" bindtap="__e">¥<text class="text-bold text-xl">{{allMoney?allMoney:'0'}}</text><view>总收益</view></view><view><text class="text-bold text-xl">{{allCount?allCount:'0'}}</text><view>总销量</view></view><view data-event-opts="{{[['tap',[['goNav',['/my/store/pingjia']]]]]}}" bindtap="__e"><text class="text-bold text-xl">{{countTakingByUserId?countTakingByUserId:'0'}}</text><view>用户评价</view></view></view><view class="padding"><view class="text-bold text-lg margin-bottom-sm">订单数据</view><view class="orderbox"><view>¥<text class="text-bold text-xl">{{orderMoney?orderMoney:'0'}}</text><view class="margin-top-xs">订单收入</view></view><view><text class="text-bold text-xl">{{sumCountOrder?sumCountOrder:'0'}}</text><view class="margin-top-xs">总订单数</view></view><view>¥<text class="text-bold text-xl">{{refundMoney?refundMoney:'0'}}</text><view class="margin-top-xs">退款金额</view></view><view><text class="text-bold text-xl">{{countByUserId?countByUserId:'0'}}</text><view class="margin-top-xs">访客人数</view></view></view></view><view style="padding:0rpx 30rpx;"><view class="text-bold text-lg margin-bottom-sm flex justify-between"><view>订单管理</view><view data-event-opts="{{[['tap',[['goDetail',[1]]]]]}}" bindtap="__e"><text style="color:#666666;font-size:26rpx;margin-right:10rpx;">查看全部</text><image style="width:12rpx;height:20rpx;" src="../../static/images/my/right.png"></image></view></view><view class="orderbox"><view><text class="text-bold text-xl">{{i5}}</text><view class="margin-top-xs">待接单</view></view><view><text class="text-bold text-xl">{{i2}}</text><view class="margin-top-xs">制作中</view></view><view><text class="text-bold text-xl">{{i3}}</text><view class="margin-top-xs">待取餐</view></view><view><text class="text-bold text-xl">{{i4}}</text><view class="margin-top-xs">已完成</view></view></view></view><view class="padding"><view class="text-bold text-lg margin-bottom-sm flex justify-between"><view>我的商品</view><view data-event-opts="{{[['tap',[['goDetail',[2]]]]]}}" bindtap="__e"><text style="color:#666666;font-size:26rpx;margin-right:10rpx;">查看全部</text><image style="width:12rpx;height:20rpx;" src="../../static/images/my/right.png"></image></view></view><view class="orderbox"><view><text class="text-bold text-xl">{{putawayCount}}</text><view class="margin-top-sm">上架中</view></view><view><text class="text-bold text-xl">{{soldoutCount}}</text><view class="margin-top-sm">已下架</view></view><view data-event-opts="{{[['tap',[['bindFb']]]]}}" bindtap="__e"><image style="width:46rpx;height:46rpx;" src="../../static/images/index/add.png"></image><view class="margin-top-xs">添加商品</view></view></view></view><u-popup bind:input="__e" vue-id="8dd740cc-1" mode="center" close-icon="close-circle" close-icon-pos="top-right" close-icon-color="#8f9298" close-icon-size="50" value="{{Authorization}}" data-event-opts="{{[['^input',[['__set_model',['','Authorization','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="contentview"><view class="title">隐私保护指引</view><view data-event-opts="{{[['tap',[['openPrivacyContract',['$event']]]]]}}" class="des" bindtap="__e">在使用当前小程序服务之前,请仔细阅读<text style="color:#FF7F00;">{{privacyContractName}}</text>{{"。如你同意"+privacyContractName+',请点击“同意”开始使用。'}}</view><view class="btns"><button data-event-opts="{{[['tap',[['exitMiniProgram',['$event']]]]]}}" class="item reject" bindtap="__e">拒绝</button><button class="item agree" id="agree-btn" open-type="agreePrivacyAuthorization" data-event-opts="{{[['agreeprivacyauthorization',[['handleAgreePrivacyAuthorization',['$event']]]]]}}" bindagreeprivacyauthorization="__e">同意</button></view></view></u-popup><u-picker vue-id="8dd740cc-2" mode="time" params="{{paramsStart}}" value="{{startshow}}" data-event-opts="{{[['^confirm',[['startData']]],['^input',[['__set_model',['','startshow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker><u-picker vue-id="8dd740cc-3" mode="time" params="{{paramsEnd}}" value="{{endshow}}" data-event-opts="{{[['^confirm',[['endData']]],['^input',[['__set_model',['','endshow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker></view>
|