2025-03-21 18:05:54 +08:00
|
|
|
<view class="create-container">
|
2025-03-29 15:54:33 +08:00
|
|
|
<view class="container-box">
|
|
|
|
<swiper indicator-dots style="height: 120rpx;" autoplay indicator-active-color="#fff">
|
|
|
|
<swiper-item>
|
|
|
|
<image src="/static/images/banner_1.png" style="width: 100vw;height: 120rpx;"></image>
|
|
|
|
</swiper-item>
|
|
|
|
<swiper-item>
|
|
|
|
<image src="/static/images/banner_2.png" style="width: 100vw;height: 120rpx;"></image>
|
|
|
|
</swiper-item>
|
|
|
|
</swiper>
|
|
|
|
<view class="info-box">
|
|
|
|
<view class="info-title">项目信息</view>
|
2025-04-14 15:59:06 +08:00
|
|
|
<textarea value="{{projectName}}" bindinput="inputProjectName" class="info-value" placeholder="请输入系统全称(注:建议以'软件''平台''系统'等字眼结尾)" placeholder-style="font-size:14px;"></textarea>
|
2025-03-29 15:54:33 +08:00
|
|
|
<view class="info-btn" bind:tap="doCommendProjectName">推荐</view>
|
|
|
|
</view>
|
|
|
|
<view class="content-box">
|
|
|
|
<!-- 第一部分 -->
|
|
|
|
<view class="section">
|
|
|
|
<view class="item">
|
|
|
|
<text class="label">产权联系人</text>
|
|
|
|
<picker style="flex:1;" mode="selector" range="{{contactList}}" range-key="name" bindchange="doChangeContact">
|
2025-03-24 18:05:54 +08:00
|
|
|
<view style="display: flex;align-items: center;">
|
2025-04-14 15:59:06 +08:00
|
|
|
<view style="font-size: 14px;text-align: center;flex:1;color: #000000;">{{selectContact.name}}</view>
|
2025-03-29 15:54:33 +08:00
|
|
|
<view class="icon-arrow-down-line" style="width: 24rpx;height: 24rpx;margin-right: 20px;"></view>
|
2025-03-24 18:05:54 +08:00
|
|
|
</view>
|
2025-03-29 15:54:33 +08:00
|
|
|
</picker>
|
|
|
|
<view class="link" bind:tap="doCreateContact">新建</view>
|
|
|
|
</view>
|
|
|
|
<view class="item">
|
|
|
|
<view class="flex-1">
|
|
|
|
<text class="label" style="flex: 1;">系统版本</text>
|
2025-04-14 15:59:06 +08:00
|
|
|
<input class="value {{version != '' ? 'v-select':''}}" placeholder="v1.0" style="flex:1;" value="{{version}}" bindinput="inputVersion" />
|
2025-03-29 15:54:33 +08:00
|
|
|
</view>
|
|
|
|
<view class="flex-1">
|
|
|
|
<text class="label">系统语言</text>
|
|
|
|
<view class="value selection-box ml-20">
|
|
|
|
<view style="display: flex;align-items: center;">
|
2025-04-14 15:59:06 +08:00
|
|
|
<view class="language-sel {{selectLang != ''? 'v-select':''}}" bindtap="toggleOptions">{{selectLang}}</view>
|
2025-03-29 15:54:33 +08:00
|
|
|
<view class="icon-arrow-down-line" style="width: 28rpx;height: 28rpx;"></view>
|
|
|
|
</view>
|
2025-03-24 18:05:54 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
2025-03-29 15:54:33 +08:00
|
|
|
<view class="item">
|
|
|
|
<view class="label">开发完成时间</view>
|
2025-04-14 15:59:06 +08:00
|
|
|
<picker mode="date" style="flex:1;" value="{{date}}" start="2010-01-01" end="2050-01-01" bindchange="bindDateChange">
|
|
|
|
<view class="select-time {{completeDate ==''? 'value-hint':''}}">{{completeDate != ''? completeDate:'请选择开发完成时间'}}</view>
|
2025-03-29 15:54:33 +08:00
|
|
|
</picker>
|
2025-04-14 15:59:06 +08:00
|
|
|
<view style="display: flex;flex-direction: row;">
|
|
|
|
<view wx:if="{{completeDate !=''}}" bind:tap="clearTime" class="icon-clear clear-icon"></view>
|
|
|
|
<view wx:if="{{completeDate==''}}" class="icon-calendar-ind" style="height: 32rpx;width: 32rpx;"></view>
|
|
|
|
</view>
|
2025-03-29 15:54:33 +08:00
|
|
|
</view>
|
2025-03-21 18:05:54 +08:00
|
|
|
</view>
|
|
|
|
|
2025-03-29 15:54:33 +08:00
|
|
|
<!-- 第二部分 -->
|
|
|
|
<view class="section">
|
|
|
|
<view wx:if="{{canSelPackage}}" class="item" style="justify-content: space-between;">
|
|
|
|
<text class="label">套餐包</text>
|
2025-04-14 15:59:06 +08:00
|
|
|
<text class="value {{!tools.isEmpty(selectPackage) ? 'v-select':''}}" style="flex: 1;text-align: right;" bind:tap="doShowPackage">{{selectPackage.packageName?selectPackage.packageName:'请选择套餐包'}}</text>
|
2025-03-29 15:54:33 +08:00
|
|
|
<text wx:if="{{!tools.isEmpty(selectPackage)}}" class="link" bind:tap="clearSelectPackageOrCoupons">取消</text>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{canSelCoupons}}" class="item">
|
|
|
|
<text class="label">优惠券</text>
|
2025-04-14 15:59:06 +08:00
|
|
|
<text bindtap="doShowCoupons" class="value {{!tools.isEmpty(selectCoupons)? 'v-select':''}}">{{selectCoupons.couponId? selectCoupons.coupon.title : '请选择优惠券'}}</text>
|
2025-03-29 15:54:33 +08:00
|
|
|
<text class="link" wx:if="{{!tools.isEmpty(selectCoupons)}}" bind:tap="clearSelectPackageOrCoupons">取消</text>
|
|
|
|
<text class="link" bindtap="doShowCoupons" wx:if="{{tools.isEmpty(selectCoupons)}}">选择</text>
|
|
|
|
</view>
|
2025-03-21 18:05:54 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
2025-03-28 18:36:17 +08:00
|
|
|
<view class="bottom-box">
|
2025-04-09 15:22:05 +08:00
|
|
|
<view class="money">
|
|
|
|
<view>金额:<text class="price">{{price/100}}元</text></view>
|
|
|
|
<checkbox-group class="custom-checkbox" bindchange="doUrgent" wx:if="{{isShowUrgent}}">
|
|
|
|
<checkbox checked="{{isUrgent}}" class="custom-wx-checkbox" disabled="{{isUrgentDisable}}">
|
|
|
|
<tex style="color: #532A00;padding-left: 3rpx;font-weight: 400;">加急办理{{urgent/100}}元</tex>
|
|
|
|
</checkbox>
|
|
|
|
</checkbox-group>
|
2025-03-28 18:36:17 +08:00
|
|
|
</view>
|
|
|
|
<view class="btn" bind:tap="doCreateProject">保存并付款</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
2025-03-29 15:54:33 +08:00
|
|
|
|
2025-04-09 15:22:05 +08:00
|
|
|
<mp-half-screen-dialog show="{{isShowContact}}">
|
2025-03-28 18:36:17 +08:00
|
|
|
<view slot="title">创建联系人</view>
|
|
|
|
<view slot="desc">
|
|
|
|
<view class="form-box">
|
|
|
|
<view class="form-item">
|
|
|
|
<view class="form-item-title">姓名</view>
|
2025-04-14 15:59:06 +08:00
|
|
|
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactName}}" placeholder="请输入姓名" class="form-item-content" bindinput="inputContactName" />
|
2025-03-28 18:36:17 +08:00
|
|
|
</view>
|
|
|
|
<view class="form-item">
|
|
|
|
<view class="form-item-title">联系电话</view>
|
2025-04-09 15:22:05 +08:00
|
|
|
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactPhone}}" placeholder="请输入联系电话" class="form-item-content" bindinput="inputContactPhone" />
|
2025-03-28 18:36:17 +08:00
|
|
|
</view>
|
|
|
|
<view class="form-item">
|
2025-04-14 15:59:06 +08:00
|
|
|
<view class="form-item-title no-after" style="padding-left: 16rpx;">联系邮箱</view>
|
|
|
|
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactEmail}}" placeholder="请输入联系邮箱" class="form-item-content" bindinput="inputContactEmail" />
|
2025-03-28 18:36:17 +08:00
|
|
|
</view>
|
2025-04-07 11:04:08 +08:00
|
|
|
<view class="form-item">
|
2025-04-14 15:59:06 +08:00
|
|
|
<view class="form-item-title no-after" style="padding-left: 16rpx;">公司</view>
|
2025-04-09 15:22:05 +08:00
|
|
|
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactCompany}}" placeholder="请输入公司名称" class="form-item-content" bindinput="inputContactCompany" />
|
2025-04-07 11:04:08 +08:00
|
|
|
</view>
|
2025-03-28 18:36:17 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view slot="footer">
|
2025-04-14 15:59:06 +08:00
|
|
|
<button class="confirm-btn" bind:tap="doSaveContact">保存</button>
|
2025-03-28 18:36:17 +08:00
|
|
|
</view>
|
|
|
|
</mp-half-screen-dialog>
|
2025-03-29 15:54:33 +08:00
|
|
|
<!-- 推荐系统名称 -->
|
2025-03-28 18:36:17 +08:00
|
|
|
<mp-half-screen-dialog show="{{showCommendProject}}" maskClosable="{{false}}">
|
|
|
|
<view slot="title">推荐系统全称</view>
|
|
|
|
<view slot="desc">
|
|
|
|
<textarea bindinput="inputCommendProjectName" placeholder="请简单介绍您想创建的系统,我们会根据您的描述为您推荐系统全称" style="border: 1px solid #f2f2f2;width: 82vw;padding: 10px;height: 50px;"></textarea>
|
|
|
|
<!-- 推荐回来的列表 -->
|
2025-04-14 15:59:06 +08:00
|
|
|
<scroll-view scroll-y style="height: 300rpx;">
|
2025-04-09 15:22:05 +08:00
|
|
|
<view class="project-box">
|
|
|
|
<block wx:for="{{projectNameList}}" wx:key="index">
|
|
|
|
<view class="project-item" bind:tap="doSelectProjectName" data-value="{{item}}">{{item}}</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
2025-03-28 18:36:17 +08:00
|
|
|
</view>
|
2025-04-14 15:59:06 +08:00
|
|
|
<view slot="footer">
|
|
|
|
<button class="confirm-btn" bind:tap="doCreateFullName">生成</button>
|
2025-03-28 18:36:17 +08:00
|
|
|
</view>
|
|
|
|
</mp-half-screen-dialog>
|
2025-03-29 15:54:33 +08:00
|
|
|
<!-- 优惠卷弹窗 -->
|
|
|
|
<mp-half-screen-dialog show="{{showCoupons}}">
|
|
|
|
<view slot="title">优惠卷</view>
|
|
|
|
<view slot="desc">
|
2025-04-14 15:59:06 +08:00
|
|
|
<scroll-view scroll-y style="height: 400rpx;">
|
|
|
|
<view class="coupons-list-box">
|
|
|
|
<radio-group>
|
|
|
|
<block wx:for="{{couponsList}}" wx:key="index">
|
|
|
|
<view class="tickets" bind:tap="selectCoupons" data-value="{{item}}">
|
|
|
|
<view class="l-tickets">
|
|
|
|
<view class="ticket-title">
|
|
|
|
<view style="display: flex;flex-direction: row;justify-content: center;align-items: center;">
|
|
|
|
<view class="coupons-icon" style="width: 24px;height: 24px;">
|
|
|
|
</view>
|
|
|
|
<text>优惠卷</text>
|
2025-03-29 15:54:33 +08:00
|
|
|
</view>
|
2025-04-14 15:59:06 +08:00
|
|
|
<view>减{{item.coupon.amount/100}}元</view>
|
2025-03-29 15:54:33 +08:00
|
|
|
</view>
|
2025-04-14 15:59:06 +08:00
|
|
|
<view class="ticket-content">{{item.coupon.title}}</view>
|
|
|
|
<view class="ticket-desc">有效期:{{item.coupon.useGmtStart}}至{{item.coupon.useGmtEnd}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="r-tickets">
|
|
|
|
<radio class="custom-radio" style="margin-left: 5px;" checked="{{tempCoupons.couponId==item.couponId}}"></radio>
|
2025-03-29 15:54:33 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
2025-04-14 15:59:06 +08:00
|
|
|
</block>
|
|
|
|
</radio-group>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
2025-03-29 15:54:33 +08:00
|
|
|
</view>
|
|
|
|
<view slot="footer">
|
|
|
|
<button class="confirm-btn" style="margin-top: 10px;" bind:tap="confirmSelCoupons">确定</button>
|
|
|
|
</view>
|
|
|
|
</mp-half-screen-dialog>
|
|
|
|
<!-- 套餐包 -->
|
|
|
|
<mp-half-screen-dialog show="{{showPackage}}">
|
|
|
|
<view slot="title">套餐包</view>
|
|
|
|
<view slot="desc">
|
2025-04-14 15:59:06 +08:00
|
|
|
<scroll-view scroll-y style="height: 400rpx;">
|
|
|
|
<view class="coupons-list-box">
|
|
|
|
<radio-group>
|
|
|
|
<block wx:for="{{packageList}}" wx:key="index">
|
|
|
|
<view class="tickets" bind:tap="selectPackage" data-value="{{item}}">
|
|
|
|
<view class="l-tickets">
|
|
|
|
<view class="ticket-title">
|
|
|
|
<view>套餐包</view>
|
|
|
|
<view>剩余{{item.packageTotalSurplusCount}}件</view>
|
|
|
|
</view>
|
|
|
|
<view class="ticket-content">{{item.packageInfoAppDTO.packageName}}</view>
|
|
|
|
<view class="ticket-desc">{{item.packageInfoAppDTO.packageDescription}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="r-tickets">
|
|
|
|
<radio class="custom-radio" style="margin-left: 5px;" checked="{{tempPackage.packageInfoId==item.packageInfoId}}"></radio>
|
2025-03-29 15:54:33 +08:00
|
|
|
</view>
|
|
|
|
</view>
|
2025-04-14 15:59:06 +08:00
|
|
|
</block>
|
|
|
|
</radio-group>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
2025-03-29 15:54:33 +08:00
|
|
|
</view>
|
|
|
|
<view slot="footer">
|
|
|
|
<button class="confirm-btn" style="margin-top: 10px;" bind:tap="confirmSelectPackage">确定</button>
|
|
|
|
</view>
|
|
|
|
</mp-half-screen-dialog>
|
2025-04-03 17:40:39 +08:00
|
|
|
<mp-half-screen-dialog show="{{showLang}}">
|
|
|
|
<view slot="title">系统语言</view>
|
|
|
|
<view slot="desc">
|
|
|
|
<view class="coupons-list-box">
|
|
|
|
<radio-group style="display: flex;flex-direction: column;" bindchange="changeLang">
|
|
|
|
<block wx:for="{{langList}}" wx:key="index">
|
|
|
|
<radio class="custom-radio" style="margin-top: 10px;width: 100vw;" checked="{{selectLang==item}}" value="{{item}}">
|
|
|
|
<view>{{item}}</view>
|
|
|
|
</radio>
|
|
|
|
</block>
|
|
|
|
</radio-group>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view slot="footer">
|
|
|
|
<button class="confirm-btn" style="margin-top: 10px;" bind:tap="confirmSelectLang">确定</button>
|
|
|
|
</view>
|
|
|
|
</mp-half-screen-dialog>
|
|
|
|
|
2025-03-28 18:36:17 +08:00
|
|
|
<mp-toptips msg="{{errorHint}}" type="error" show="{{showError}}"></mp-toptips>
|
2025-04-03 10:44:12 +08:00
|
|
|
<mp-toptips msg="{{successHint}}" delay="2000" type="success" show="{{showSuccess}}"></mp-toptips>
|
2025-03-29 15:54:33 +08:00
|
|
|
|
|
|
|
<wxs src="../../../utils/comm.wxs" module="tools"></wxs>
|