| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
- <van-dialog id="van-dialog" />
- <loading wx:if="{{loading}}"></loading>
- <view wx:if="{{loadFlag}}">
- <!--公司信息-->
- <view class="detail-top" data-item="{{item}}" bind:tap="toDetail">
- <image class="scan-image" fit="fill" src="{{imageUrl+'/detail_sale_order.png'}}"></image>
- <view style="display: flex;margin:20rpx 20rpx">
- <!-- 头像 -->
- <open-data type="userAvatarUrl" class='wx-avatar'></open-data>
- <view style="margin-left: 30rpx;">
- <view class="cp-class">{{companyName}}
- <dk-tag style="margin-left: 20rpx;" type="primary" padding="0 10rpx" height="30rpx" color="linear-gradient(77.62deg, #CAA977 12.58%, #FFDA7A 85.49%),conic-gradient(from 154.5deg at 29.17% -8.33%, #FFE8BA -0.56deg, rgba(255, 230, 165, 0) 0.26deg, rgba(227, 184, 73, 0.34) 17.37deg, rgba(240, 187, 253, 0.23) 347.83deg, rgba(186, 234, 255, 0.38) 353.78deg, #FFE8BA 359.44deg, rgba(255, 230, 165, 0) 360.26deg);" textColor="#1B365D" radius="10rpx" fontSize="9px" value="{{gradeCode == 'STD'?$t['std']:$t['pro']}}" catchtap="expandCard" data-item="{{card}}" data-index="{{cardIndex}}"></dk-tag>
- </view>
- <view class="staff-class">{{cpManager + (cpPhone?(' | ' + cpPhone):'')}}</view>
- <view class="end-date-class" wx:if="{{gradeCode != 'STD' && !upgradeFlag}}">{{$t['cpEndDate'] + ':' + cpEndDate}}</view>
- <view class="staff-count-class" wx:if="{{gradeCode != 'STD'}}">{{'手机端授权:' + wxMaxNum + '个,电脑端授权' + (webMaxNum?webMaxNum:0) + '个' }}</view>
- <view class="staff-count-class" wx:if="{{gradeCode == 'STD'}}">{{'手机端授权:' + (wxMaxNum ) + '个(含1个免费授权)'}}</view>
- </view>
- </view>
- </view>
- <!--活动(专业版)-->
- <view class="func" wx:if="{{gradeCode != 'STD' && !funcMenuFlg}}">
- <view style="display:flex;flex-wrap: wrap;">
- <view class="{{(curentAdItem && curentAdItem.itemId == item.itemId)?'func-card-selected':'func-card'}}" wx:for="{{activityTable}}" wx:for-item="item" wx:key="index" data-item="{{item}}" catchtap="chooseAdItem">
- <!-- 标题 -->
- <view class="card-title">{{item.activityItemName}}
- </view>
- <!-- 价格-->
- <dk-cell fontSize="16" center="center" contentFontWeight="700" contentColor="#FF7B1A" content="{{item.stdPrice}}"></dk-cell>
- <!-- 描述-->
- <view class="card-desc">{{item.activityItemDescribe}}
- </view>
- </view>
- </view>
- </view>
- <!--活动(标准版)-->
- <!--合计(标准版)-->
- <view class="summary-class-std" wx:if="{{gradeCode == 'STD'}}">
- <view class="summary-item-class" style="display: flex;padding-left: 20rpx;font-size: 18px;">额外购买授权
- </view>
- <view style="display:flex;flex-wrap: wrap;">
- <view class="func-card-std" wx:for="{{activityTable}}" wx:for-item="item" wx:key="index" data-item="{{item}}">
- <!-- 授权-->
- <view class="card-desc-std">
- <view style="font-size: 13px;margin-left: -15px;">
- <!-- 价格-->
- <dk-cell fontSize="19" center="center" contentFontWeight="700" contentColor="#FF7B1A" content="{{item.wxPrice}}"></dk-cell>
- </view>
- <view style="font-size: 11px;width: 85px;">/年/授权</view>
- <view style="text-align: right;">
- <van-stepper integer="{{true}}" value="{{ summaryInfo.wxMaxNum}}" min="1" bind:change="changeUserSTD" />
- </view>
- </view>
- <!-- 订单总价: -->
- <view style="display: flex;font-size: 12px;margin-left: 20rpx;color: #000000;padding-left: 10rpx;padding-right: 10rpx;"><view style="color:#000;font-size: 11px;">订单总价:{{summaryInfo.amountInfo}}</view>
- </view>
- </view>
- <!--VIP报表-->
- <view wx:if="{{showVip}}" class="{{item.chooseVipFlag?'func-card-vip-std-selected':'func-card-vip-std'}}" wx:for="{{vipTable}}" wx:for-item="item" wx:key="index" data-index="{{index}}" data-item="{{item}}" catchtap="chooseVipItem">
- <!-- 标题 -->
- <view class="card-title-std" style="text-align: center;">{{item.activityItemName?item.activityItemName:item.activityType}}
- </view>
- <!-- 价格-->
- <dk-cell fontSize="19" center="center" contentFontWeight="700" contentColor="#FF7B1A" content="{{item.wxPrice}}"></dk-cell>
- <!-- 描述-->
- <view class="card-desc">{{item.activityItemDescribe}}
- </view>
- </view>
- </view>
- <view class="summary-item-class" style="display: flex;padding-left: 20rpx;color: #000000;">截止日期:<view style="color:#E4002B">{{userEndDate}}</view>
- </view>
- <view class="summary-item-class" style="display: flex;padding-left: 20rpx;color: #000000;justify-content:space-between;align-items: center;">包含当前账号可配置{{summaryInfo.wxMaxNum+1}}个授权
- <dk-cell fontSize="19" center="center" contentFontWeight="700" contentColor="#FF7B1A" content="{{summaryInfo.amount }}"></dk-cell>
- </view>
- </view>
- <!--用户数-->
- <view class="card-class" wx:if="{{gradeCode != 'STD' && !funcMenuFlg}}">
- <!--用户数量-->
- <van-cell border="{{ false }}" title-class="cell_title">
- <view slot="title" style="display: flex;">
- <view>用户数量</view>
- <view style="font-size: 10px;">(含手机和电脑授权)</view>
- </view>
- <van-stepper value="{{staffCount.maxNum}}" integer="{{true}}" min="0" max="{{1000}}" data-type="all" bind:change="changeStaffCount" />
- </van-cell>
- <van-cell border="{{ false }}" title="额外购买授权">
- </van-cell>
- <!--手机用户数-->
- <van-cell border="{{ false }}" title-class="cell_title">
- <view slot="title" style="display: flex;">
- <view>手机端授权</view>
- <view wx:if="{{curentAdItem && curentAdItem.wxPrice}}" style="display: flex;font-size: 10px;">
- (<dk-cell fontSize="10" left="5rpx" height="50rpx" contentColor="#e00808" content="{{curentAdItem.wxPrice}}"></dk-cell>/个)
- </view>
- </view>
- <van-stepper value="{{staffCount.wxMaxNum}}" integer="{{true}}" min="0" max="{{1000}}" data-type="wx" bind:change="changeStaffCount" />
- </van-cell>
- <!--电脑用户数-->
- <van-cell border="{{ false }}" title-class="cell_title">
- <view slot="title" style="display: flex;">
- <view>电脑端授权</view>
- <view wx:if="{{curentAdItem && curentAdItem.webPrice}}" style="display: flex;font-size: 10px;">
- (<dk-cell fontSize="10" left="5rpx" height="50rpx" contentColor="#e00808" content="{{ curentAdItem.webPrice }}"></dk-cell>/个)
- </view>
- </view>
- <van-stepper value="{{staffCount.webMaxNum}}" integer="{{true}}" min="0" max="{{1000}}" data-type="web" bind:change="changeStaffCount" />
- </van-cell>
- </view>
- <!--合计(专业版)-->
- <view class="summary-class" wx:if="{{gradeCode != 'STD' && curentAdItem!=null && !funcMenuFlg}}">
- <view class="summary-item-class">订单详情:</view>
- <view class="summary-item-class">{{summaryInfo.amountInfo}}</view>
- <view class="summary-item-class">截止日期:{{summaryInfo.endDate}}</view>
- <view class="summary-item-class" wx:if="{{staffCount.maxNum || staffCount.webMaxNum || staffCount.wxMaxNum}}">{{summaryInfo.staffInfo}}</view>
- <view class="summary-item-class" style="display: flex;justify-content: flex-end;" wx:if="{{staffCount.maxNum || staffCount.webMaxNum || staffCount.wxMaxNum}}">
- 折合<dk-cell fontSize="14" left="5rpx" fontWeight="bold" height="45rpx" contentColor="#FF7B1A" content="{{summaryInfo.priceInfo}}"></dk-cell>/天/授权</view>
- </view>
- <!--注册须知 240704 去除 用功能模块代替-->
- <!-- <view class="notice-class" wx:if="{{gradeCode != 'STD'}}">
- <view class="notice-item-class" style="font-size: 16px;font-weight: bold;">{{noticeInfo.title}}</view>
- <view class="notice-item-class">{{noticeInfo.cpName}}</view>
- <view class="notice-item-class">{{noticeInfo.contact}}</view>
- <view class="notice-item-class">{{noticeInfo.cpSize}}</view>
- <view class="notice-item-class" style="display: flex;">
- <van-checkbox shape="square" value="{{readFlag}}" label-class="checkbox-class" bind:change="handleChangeCheckbox">我已阅读并同意</van-checkbox>
- <view style="color: #CE9965;">《注册须知》</view>
- <view style="color: #CE9965;">《免责条款》</view>
- </view>
- </view> -->
- <!-- 功能模块 -->
- <view class="notice-class" wx:if="{{upgradeFlag}}" catch:tap="funcClick">
- <view class="notice-item-class" style="color: #FF7B1ACC; font-size: 16px;font-weight: bold;text-align: center;">{{noticeInfo.proTitle}}</view>
- <view style="display: flex;flex-wrap: wrap;padding: 10rpx 0 20rpx 0;">
- <view class="app-item" style="width:25%;text-align: center;margin-top: 15rpx;margin-bottom: 15rpx;" wx:for="{{funcMenu}}" wx:for-item="item" wx:key="i">
- <image src="{{imageUrl + item.icon }}" style="height: 85rpx;width:85rpx;"></image>
- <view class="index-grid-item-text-class" style="font-size: 12px;">{{item.title}}</view>
- </view>
- </view>
- </view>
- <view style="height: 200rpx;"></view>
- </view>
- <!-- 保存 -->
- <dk-save-button btnAutoWidthFlag="{{true}}" buttonList="{{buttonSaveList}}" bind:open="handleSave"></dk-save-button>
|