detail.wxml 11 KB

1
  1. <view class="app-content _div data-v-8f47e4f0" style="{{'background-image:'+('url('+constant.imgUrl+'/member/bg.png)')+';'}}"><view class="module-com user-info _div data-v-8f47e4f0"><view class="user-wrap _div data-v-8f47e4f0"><app-avatar-module vue-id="5326247e-1" src="{{data.avatarUrl}}" class="data-v-8f47e4f0" bind:__l="__l"></app-avatar-module><view class="user-top-right _div data-v-8f47e4f0"><view class="_div data-v-8f47e4f0"><view class="flex-center _div data-v-8f47e4f0"><label class="app-size-32 _span data-v-8f47e4f0">{{data.name}}</label><block wx:if="{{data.member>0}}"><app-vip-module class="level-img data-v-8f47e4f0" vue-id="5326247e-2" vipImg="{{constant.imgUrl+'/retail/member/grade/'+data.member+'.png'}}" bind:__l="__l"></app-vip-module></block><block wx:else><block wx:if="{{data.mobile==''}}"><app-vip-module class="level-img data-v-8f47e4f0" vue-id="5326247e-3" vipImg="{{constant.imgUrl+'/retail/member/grade/customer.png'}}" bind:__l="__l"></app-vip-module></block><block wx:else><app-vip-module class="level-img data-v-8f47e4f0" vue-id="5326247e-4" vipImg="{{constant.imgUrl+'/retail/member/grade/member.png'}}" bind:__l="__l"></app-vip-module></block></block></view><view class="app-color-3 _div data-v-8f47e4f0">{{"ID:"+data.id}}</view></view><view class="source-wrap _div data-v-8f47e4f0"><block wx:if="{{data.sourceType==0}}"><view class="{{['iconfont iconweixinlaiyuan _i data-v-8f47e4f0',data.sourceType==0?'iconweixinlaiyuanColor':'']}}" style="font-size:42rpx;"></view></block><block wx:else><block wx:if="{{data.sourceType==1}}"><view class="{{['iconfont iconzhifubao _i data-v-8f47e4f0',data.sourceType==1?'zhifubaoColor':'']}}" style="font-size:42rpx;"></view></block><block wx:else><block wx:if="{{data.sourceType==2}}"><view class="{{['iconfont iconxiaochengxu1 _i data-v-8f47e4f0',data.sourceType==2?'app-color-4':'']}}" style="font-size:42rpx;"></view></block><block wx:else><block wx:if="{{data.sourceType==3}}"><view class="{{['iconfont iconzhangshangcaifuyemianshoujiban344 _i data-v-8f47e4f0',data.sourceType==3?'app-color-4':'']}}" style="font-size:42rpx;"></view></block><block wx:else><block wx:if="{{data.sourceType==4}}"><view class="{{['iconfont iconwaimai _i data-v-8f47e4f0',data.sourceType==4?'app-color-4':'']}}" style="font-size:42rpx;"></view></block></block></block></block></block><block wx:if="{{data.sourceType!=1}}"><view class="{{['iconfont iconweixingongzhonghao _i data-v-8f47e4f0',data.subscribe==1?'app-color-4':'']}}" style="font-size:42rpx;"></view></block><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['_i data-v-8f47e4f0','iconfont','iconshoujihao1',data.mobile?'mobileColor':'']}}" style="font-size:42rpx;" bindtap="__e"></view></view></view></view><view class="user-bottom _div data-v-8f47e4f0"><block wx:for="{{fundsData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="data-list _div data-v-8f47e4f0"><view class="app-size-30 app-bold _div data-v-8f47e4f0">{{item.value}}</view><view class="app-color-3 _div data-v-8f47e4f0">{{item.name}}</view></view></block></view></view><view class="module-com remark-wrap _div data-v-8f47e4f0"><view class="app-blod _div data-v-8f47e4f0"><label class="_span data-v-8f47e4f0">标签</label><view data-event-opts="{{[['tap',[['setUserTag',['$event']]]]]}}" class="iconfont icontianjiakehu _i data-v-8f47e4f0" style="float:right;font-size:40rpx;" bindtap="__e"></view></view><view class="list-wrap _div data-v-8f47e4f0"><label class="user_tag _span data-v-8f47e4f0">常买散花</label><label class="user_tag _span data-v-8f47e4f0">企业客户</label><label class="user_tag _span data-v-8f47e4f0">生日送过</label></view></view><view class="module-com tabs-wrap _div data-v-8f47e4f0"><block wx:for="{{tabsData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['pageTo',['$0'],[[['tabsData','',index]]]]]]]}}" class="tabs-list _div data-v-8f47e4f0" bindtap="__e"><view class="tabs-img _div data-v-8f47e4f0"><image src="{{item.img}}" alt="{{true}}" mode="widthFix" class="_img data-v-8f47e4f0"></image></view><view class="tabs-name _div data-v-8f47e4f0">{{item.name}}</view></view></block></view><block wx:if="{{!$root.g0}}"><view class="module-com remark-wrap _div data-v-8f47e4f0"><view class="app-blod _div data-v-8f47e4f0">客户备注</view><view class="list-wrap _div data-v-8f47e4f0"><block wx:for="{{data.remarkList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-line _div data-v-8f47e4f0"><view class="_div data-v-8f47e4f0">{{item.remark}}</view><view data-event-opts="{{[['tap',[['delRemarkFn',['$0'],[[['data.remarkList','',index]]]]]]]}}" bindtap="__e" class="_div data-v-8f47e4f0"><view class="iconfont icondelete _i data-v-8f47e4f0"></view></view></view></block></view></view></block><block wx:if="{{!$root.g1}}"><view class="module-com remark-wrap _div data-v-8f47e4f0"><view class="app-blod _div data-v-8f47e4f0">最近消费</view><view class="list-wrap _div data-v-8f47e4f0"><block wx:for="{{data.orderList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-8f47e4f0"><block wx:if="{{index<3||orderMoreStatus}}"><view class="list-line _div data-v-8f47e4f0"><view class="flex-center _div data-v-8f47e4f0"><view class="time _div data-v-8f47e4f0">{{item.createTime}}</view><view class="_div data-v-8f47e4f0">{{item.orderName}}</view></view><view class="price _div data-v-8f47e4f0">{{"¥"+item.actPrice}}</view></view></block></block></block></view></view></block><modal-module vue-id="5326247e-5" show="{{userTagModal}}" maskClosable="{{false}}" title="客户标签" padding="30upx 30upx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['userTagModalClick']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-8f47e4f0" bind:__l="__l" vue-slots="{{['content']}}"><view slot="content"><view class="app-modal-input-wrap _div data-v-8f47e4f0"><view style="padding:0 8rpx 10rpx 8rpx;" class="data-v-8f47e4f0"><label class="user_tag _span data-v-8f47e4f0">恋人</label><label class="user_tag _span data-v-8f47e4f0">学生</label><label class="user_tag _span data-v-8f47e4f0">准婚</label><label class="user_tag _span data-v-8f47e4f0">同行</label><label class="user_tag _span data-v-8f47e4f0">常买散花</label><label class="user_tag _span data-v-8f47e4f0">企业客户</label><label class="user_tag _span data-v-8f47e4f0">生日送过</label><label class="user_tag _span data-v-8f47e4f0">酒店</label><label class="user_tag _span data-v-8f47e4f0">影楼</label><label class="user_tag _span data-v-8f47e4f0">开花艺课</label><label class="user_tag _span data-v-8f47e4f0">学员</label></view></view></view></modal-module><modal-module vue-id="5326247e-6" show="{{rechargeModal}}" maskClosable="{{false}}" title="充值" padding="30upx 30upx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['rechargeModalClick']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-8f47e4f0" bind:__l="__l" vue-slots="{{['content']}}"><view slot="content"><view class="app-modal-input-wrap _div data-v-8f47e4f0"><view class="inp-list-line _div data-v-8f47e4f0"><view class="line-label _div data-v-8f47e4f0">充值金额</view><view class="line-input _div data-v-8f47e4f0"><input class="inp-input data-v-8f47e4f0" type="text" placeholder="请输入金额(元)" adjust-position="{{false}}" data-event-opts="{{[['input',[['__set_model',['$0','rechargeAmount','$event',[]],['rechargeForm']]]]]}}" value="{{rechargeForm.rechargeAmount}}" bindinput="__e"/></view></view><view class="inp-list-line _div data-v-8f47e4f0"><view class="line-label _div data-v-8f47e4f0">确认密码</view><view class="line-input _div data-v-8f47e4f0"><input class="inp-input data-v-8f47e4f0" type="password" adjust-position="{{false}}" data-event-opts="{{[['input',[['__set_model',['$0','confirmPassword','$event',[]],['rechargeForm']]]]]}}" value="{{rechargeForm.confirmPassword}}" bindinput="__e"/></view></view></view></view></modal-module><modal-module vue-id="5326247e-7" show="{{passwordModal}}" maskClosable="{{false}}" title="重置密码" padding="30upx 30upx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['passwordModalClick']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-8f47e4f0" bind:__l="__l" vue-slots="{{['content']}}"><view slot="content"><view class="app-modal-input-wrap _div data-v-8f47e4f0"><view class="inp-list-line _div data-v-8f47e4f0"><view class="line-label _div data-v-8f47e4f0">密码</view><view class="line-input _div data-v-8f47e4f0"><input class="inp-input data-v-8f47e4f0" type="password" adjust-position="{{false}}" data-event-opts="{{[['input',[['__set_model',['$0','password','$event',[]],['passwordForm']]]]]}}" value="{{passwordForm.password}}" bindinput="__e"/></view></view></view></view></modal-module><modal-module vue-id="5326247e-8" show="{{upgradeModal}}" maskClosable="{{false}}" title="升级" padding="30upx 30upx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['upgradeModalClick']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-8f47e4f0" bind:__l="__l" vue-slots="{{['content']}}"><view slot="content"><view class="app-modal-input-wrap _div data-v-8f47e4f0"><view class="inp-list-line _div data-v-8f47e4f0"><view class="line-label _div data-v-8f47e4f0">会员等级</view><view class="line-input _div data-v-8f47e4f0"><picker class="inp-select data-v-8f47e4f0" mode="selector" value="{{upgradeForm.member}}" range="{{levelData.list}}" range-key="level" data-event-opts="{{[['change',[['changeLevelFn',['$event']]]]]}}" bindchange="__e"><block wx:if="{{upgradeForm.member}}"><view class="_div data-v-8f47e4f0">{{levelSelData.level}}</view></block><block wx:else><view class="tui-placeholder _div data-v-8f47e4f0">请选择</view></block></picker></view></view><view class="inp-list-line _div data-v-8f47e4f0"><view class="line-label _div data-v-8f47e4f0">确认密码</view><view class="line-input _div data-v-8f47e4f0"><input class="inp-input data-v-8f47e4f0" type="text" data-event-opts="{{[['input',[['__set_model',['$0','confirmPassword','$event',[]],['upgradeForm']]]]]}}" value="{{upgradeForm.confirmPassword}}" bindinput="__e"/></view></view></view></view></modal-module><modal-module vue-id="5326247e-9" show="{{remarkModal}}" maskClosable="{{false}}" title="添加客户备注" padding="30upx 30upx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['remarkModalClick']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-8f47e4f0" bind:__l="__l" vue-slots="{{['content']}}"><view slot="content"><view class="app-modal-input-wrap _div data-v-8f47e4f0"><view class="inp-list-line _div data-v-8f47e4f0"><textarea placeholder-style="phcolor" placeholder="请填写客户信息备注内容,如客户喜好、居住地址等" data-event-opts="{{[['input',[['__set_model',['$0','remark','$event',[]],['remarkForm']]]]]}}" value="{{remarkForm.remark}}" bindinput="__e" class="data-v-8f47e4f0"></textarea></view></view></view></modal-module><modal-module vue-id="5326247e-10" show="{{promptRemarkModal}}" content="{{promptModalText}}" color="#333" size="{{32}}" padding="30upx 30upx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['promptModalClick']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-8f47e4f0" bind:__l="__l"></modal-module></view>