first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1 @@
ede07221-ced9-4567-a161-f10630274f52

View File

@@ -0,0 +1 @@
82711db6-16f8-4446-a879-51c60574a380

View File

@@ -0,0 +1 @@
60a1c6dc-3194-4ab9-a0cf-3561048bc99d

View File

@@ -0,0 +1,66 @@
// 团体用户洗普通衣服
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@@ -0,0 +1,2 @@
<!--user/OneKeyOrder/GroupUser/Ordinary/Ordinary.wxml-->
<text>user/OneKeyOrder/GroupUser/Ordinary/Ordinary.wxml</text>

View File

@@ -0,0 +1 @@
/* user/OneKeyOrder/GroupUser/Ordinary/Ordinary.wxss */

View File

@@ -0,0 +1 @@
72a3c93e-43fa-4601-84b3-8364e059c1da

View File

@@ -0,0 +1,66 @@
// 团体用户洗工服
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@@ -0,0 +1,2 @@
<!--user/OneKeyOrder/GroupUser/WorkClothes/WorkClothes.wxml-->
<text>user/OneKeyOrder/GroupUser/WorkClothes/WorkClothes.wxml</text>

View File

@@ -0,0 +1 @@
/* user/OneKeyOrder/GroupUser/WorkClothes/WorkClothes.wxss */

View File

@@ -0,0 +1 @@
3be3001c-6d26-4ae1-99aa-44bf03741947

View File

@@ -0,0 +1,80 @@
// 普通用户
const app = getApp();
const regeneratorRuntime = app.loadAsync()
const model = app.loadModel("index")
const http = app.loadHttp()
Page({
/**
* 页面的初始数据
*/
data: {
pageTitle: '一键下单',
system: app.globalData.system,
takeTypeOrd: 1, // 普通用户 自送门店1 上门取件2
addIndex: -1, // 门店选中给的下标
addList: [] // 门店的列表数据
},
// 自送门店和上门取件的 点击 事件
tapTakeTypeOrdinary(e) {
this.setData({
takeTypeOrd: e.currentTarget.dataset.type
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@@ -0,0 +1,8 @@
{
"navigationBarTextStyle": "black",
"usingComponents": {
"wux-popup":"../../extend/wux/dist/popup/index",
"wux-cell-group": "../../extend/wux/dist/cell-group/index",
"wux-cell": "../../extend/wux/dist/cell/index"
}
}

View File

@@ -0,0 +1,154 @@
<!-- 普通用户一键下单 -->
<nav-bar isBack="{{ true }}" pageTitle="{{pageTitle}}" system="{{system}}"></nav-bar>
<view class="tecProcess">
<image mode="widthFix" src="{{ shopList.shopCart.length != 0 ?'http://cdn.yishaxiyi.com/ff8049b242111156b09d8b714de064dd.png':'http://cdn.yishaxiyi.com/d0a3068c38351c1082013e9dd135efdc.png'}}" />
</view>
<!-- 自送门店 和 上门取件 -->
<view class="tabs_choice pd20">
<view class="mt20">
<wux-cell-group>
<wux-cell
right="text_right_cell2"
title="自送门店"
data-type='1'
bind:tap="tapTakeTypeOrdinary"
rightUrl="{{takeTypeOrd == 1 ? '/static/img/icon/wxPay2.png' : '/static/img/icon/wxPay1.png'}}"
/>
<wux-cell
right="text_right_cell2"
title="上门取件"
data-type='2'
bind:tap="tapTakeTypeOrdinary"
rightUrl="{{takeTypeOrd == 2 ? '/static/img/icon/wxPay2.png' : '/static/img/icon/wxPay1.png'}}"
/>
</wux-cell-group>
</view>
</view>
<view class="pd20">
<!-- 普通用户门店自取 -->
<view class="mt20" wx:if="{{takeTypeOrd == 1}}">
<picker
value="{{addIndex}}"
range="{{addList}}"
range-key='name'
bindchange='pickerChangeOrd'>
<view class='bac_cell'>
<wux-cell-group>
<wux-cell right="text_right_cell2" title="{{ addIndex == -1?'请选择门店': addList[addIndex].name}}" rightUrl='/static/img/icon/asfa51f3a1f3a5f13a.png' />
</wux-cell-group>
</view>
</picker>
</view>
<!-- 普通用户自送门店提示信息 -->
<view wx:if='{{ takeTypeOrd == 1 }}' class="tips pd25 mt20 app2">
部分门店周四休息,到店前请联系门店确认
</view>
<!-- 普通用户填写地址显示 -->
<navigator url="/user/addList/addList" wx:if='{{takeTypeOrd == 2 }}'>
<view class="rec mt20 pd25 flex-con2">
<view class="rec-all">
<view class="rec-img fl flex-con2">
<image src="/static/img/icon/rfw161.png" />
</view>
<view class="rec-add fl pl20">
<view class="adds clamp1">
<span>{{address.userName || '请选择或新建地址'}}</span>
<span class="ml10">{{address.telNumber}}</span>
</view>
<view class="addInfo clamp1">{{address.all || '请填写您的详细地址'}}</view>
</view>
<view class="fr right_icon flex-con2">
<image src="/static/img/icon/rthyrthertherth.png" />
</view>
</view>
</view>
</navigator>
</view>
<view class="page mt20 pd20">
<view class="shop_list mt20 pd20" wx:if="{{shopList.shopCart.length != 0}}">
<view class="shop_list_row dis-flex" wx:for="{{ shopList.shopCart }}" wx:key="index">
<view class="shop_list_img">
<image src="{{item.image}}" />
</view>
<view class="flex1 ml20 dis-flex1">
<view class="flex1 flex-con2">
<view class="flex1 text1">{{item.name}}</view>
<view class="flex1 text-right text1">¥{{item.price}}</view>
</view>
<view class="flex1 flex-con2">
<view class="flex1 text2">
<span>{{item.attr}}</span>
</view>
<view class="flex1 text-right text1">×{{item.num}}</view>
</view>
</view>
</view>
<view class="mon mt20">
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">订单金额</view>
<view class="flex1 text-right mon_p">¥{{shopList.orderPrice}}</view>
</view>
<navigator url="/mall/couponCard/couponCard?total=" class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">优惠</view>
<view class="flex1 flex-con5 mon_span">
<image src="/static/img/icon/right-r.png" />
<span wx:if="{{ !!coupon && !!coupon.price }}" class="mr20">
-¥{{coupon.price}}
</span>
<span wx:else class="mr20">选择优惠券</span>
</view>
</navigator>
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">
运费
<span class="explain ml20" wx:if="{{ freightTips}}">实付满{{type == 2?groupData.satisfy_money:postage.satisfy_money}}元免运费</span>
<span class="explain ml20" wx:else>3月底前免运费</span>
</view>
<view class="flex1 text-right mon_p">¥{{shopList.postageMoney}}</view>
</view>
</view>
</view>
<view class="mt20">
<wux-cell-group>
<wux-cell
data-type="1"
bind:tap="selectPay"
data-url="/user/payment/card/card"
right="text_right_cell2"
thumb="{{!!giftCard.logo?giftCard.logo:'/static/img/icon/yhk.png'}}"
title="会员卡支付"
rightUrl="{{isPayp == 1 ? '/static/img/icon/wxPay2.png' : '/static/img/icon/wxPay1.png'}}"
/>
<wux-cell
data-type="2"
bind:tap="selectPay"
thumb="/static/img/icon/wxlogo2.png"
title="微信支付"
rightUrl="{{isPayp == 2 ? '/static/img/icon/wxPay2.png' : '/static/img/icon/wxPay1.png'}}"
/>
</wux-cell-group>
</view>
<view class="tip mt40">
温馨提示:如订单总额未满{{postage.satisfy_money}}元需支付{{postage.postage_money}}元运费
</view>
</view>
<!-- 支付 -->
<view class="shop_pay">
<view class="flex-con5 flex1 pay_num">应付:¥{{shopList.total}}</view>
<form report-submit bindsubmit="payment">
<button class="pay_sub" form-type="submit">支付</button>
</form>
</view>

View File

@@ -0,0 +1,229 @@
.tecProcess{
width: 100%;
}
.tecProcess image{
width: 100%;
height: 50rpx;
}
.tips {
width: 100%;
background: #fff;
padding: 15px;
color: #8d8d8d;
}
.rec {
height: 180rpx;
width: 100%;
background-color: var(--white);
border-radius: 15rpx;
box-sizing: border-box;
}
.rec-all {
width: 100%;
}
.rec-img, .right_icon {
height: 100rpx;
}
.rec-img image {
height: 80rpx;
width: 80rpx;
}
.adds {
font-family: PingFang-SC-Medium;
font-size: 32rpx;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #000;
}
.rec-add {
width: 420rpx;
}
.addInfo {
margin-top: 20rpx;
font-family: PingFang-SC-Medium;
font-size: 26rpx;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #999;
}
.right_icon image {
width: 15rpx;
height: 33rpx;
}
.app2 {
height: auto;
}
.rec-rem {
height: 113rpx;
width: 100%;
}
.rec-rem {
border-bottom: 2rpx solid #ebebeb;
}
.rec-rem:last-child {
border: 0;
}
.time {
width: 100%;
height: 36rpx;
line-height: 36rpx;
}
.time1 image {
width: 36rpx;
height: 36rpx;
}
.time2 {
font-family: PingFang-SC-Medium;
font-size: 32rpx;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #666;
}
.rec-rem input {
width: 100%;
}
.tip {
font-family: PingFang-SC-Medium;
font-size: 28rpx;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #999;
text-align: center;
}
.shop_list {
padding: 40rpx 0;
background-color: #fff;
border-radius: 10rpx;
}
.shop_list_row {
height: 100rpx;
padding: 22rpx 0;
margin: 0 30rpx;
border-bottom: 1rpx solid #ebebeb;
box-sizing: initial;
}
.shop_list_row:last-child {
margin-bottom: 0;
}
.shop_list_img image {
width: 100rpx;
height: 100rpx;
}
.text1 {
font-family: PingFang-SC-Medium;
font-size: 28rpx;
color: #333;
}
.text2 {
font-family: PingFang-SC-Medium;
font-size: 22rpx;
color: #999;
}
.mon{
padding: 0 20rpx;
}
.mon_p,.mon_p2 {
font-family: PingFang-SC-Medium;
font-size: 28rpx;
color: #333;
}
.mon_p2{
color: #f22c21;
}
.mon_span{
font-weight: 500;
font-size: 34rpx;
color: #333;
}
.discount{
font-size: 24rpx;
border: #f22c21 1rpx solid;
color: #f22c21;
padding: 2rpx 5rpx;
box-sizing: border-box;
}
.explain{
font-size: 28rpx;
color: #999999;
}
.text_right_cell2{
display: flex;
align-items: center;
}
.mon_span image {
height: 28rpx;
width: 15rpx;
}
.mon_span {
font-family: PingFang-SC-Medium;
font-size: 28rpx;
color: #ff4838;
}
/* 支付 */
.shop_pay {
position: fixed;
height: 100rpx;
bottom: 0;
left: 0;
right: 0;
width: 100%;
display: flex;
background-color: #fff;
border-bottom: 2rpx solid #ebebeb;
z-index: 99999;
}
.pay_sub {
width: 260rpx;
height: 100rpx;
line-height: 100rpx;
text-align: center;
background-color: #1dbf53;
font-family: PingFang-SC-Medium;
font-size: 32rpx;
color: #fff;
border-radius: 0;
border: 0;
}
pay_sub::after{
width: 0;
height: 0;
border: 0;
}
.pay_num {
margin-right: 30rpx;
font-weight: 600;
font-family: PingFang-SC-Bold;
font-size: 30rpx;
color: #333;
}