提交
This commit is contained in:
@ -106,6 +106,9 @@ try {
|
||||
orderGoods: function () {
|
||||
return __webpack_require__.e(/*! import() | components/order-goods/order-goods */ "components/order-goods/order-goods").then(__webpack_require__.bind(null, /*! @/components/order-goods/order-goods.vue */ 540))
|
||||
},
|
||||
uInput: function () {
|
||||
return Promise.all(/*! import() | components/uview-ui/components/u-input/u-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/uview-ui/components/u-input/u-input")]).then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-input/u-input.vue */ 474))
|
||||
},
|
||||
uRadioGroup: function () {
|
||||
return Promise.all(/*! import() | components/uview-ui/components/u-radio-group/u-radio-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/uview-ui/components/u-radio-group/u-radio-group")]).then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-radio-group/u-radio-group.vue */ 547))
|
||||
},
|
||||
@ -118,6 +121,18 @@ try {
|
||||
uButton: function () {
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-button/u-button */ "components/uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-button/u-button.vue */ 362))
|
||||
},
|
||||
uPopup: function () {
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-popup/u-popup */ "components/uview-ui/components/u-popup/u-popup").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-popup/u-popup.vue */ 533))
|
||||
},
|
||||
tabs: function () {
|
||||
return __webpack_require__.e(/*! import() | components/tabs/tabs */ "components/tabs/tabs").then(__webpack_require__.bind(null, /*! @/components/tabs/tabs.vue */ 742))
|
||||
},
|
||||
tab: function () {
|
||||
return __webpack_require__.e(/*! import() | components/tab/tab */ "components/tab/tab").then(__webpack_require__.bind(null, /*! @/components/tab/tab.vue */ 749))
|
||||
},
|
||||
couponObj: function () {
|
||||
return __webpack_require__.e(/*! import() | components/coupon-obj/coupon-obj */ "components/coupon-obj/coupon-obj").then(__webpack_require__.bind(null, /*! @/components/coupon-obj/coupon-obj.vue */ 756))
|
||||
},
|
||||
appointmentTime: function () {
|
||||
return __webpack_require__.e(/*! import() | components/appointment-time/appointment-time */ "components/appointment-time/appointment-time").then(__webpack_require__.bind(null, /*! @/components/appointment-time/appointment-time.vue */ 561))
|
||||
},
|
||||
@ -146,8 +161,15 @@ var render = function () {
|
||||
var a0 = {
|
||||
need: _vm.orderInfo.team_need,
|
||||
}
|
||||
var g0 = !_vm.orderInfo.discount_amount ? _vm.usableCoupon.length : null
|
||||
var g1 = !_vm.orderInfo.discount_amount && g0 ? _vm.usableCoupon.length : null
|
||||
var g2 = _vm.showCoupon ? _vm.usableCoupon.length : null
|
||||
var g3 = _vm.showCoupon ? _vm.unusableCoupon.length : null
|
||||
if (!_vm._isMounted) {
|
||||
_vm.e0 = function ($event) {
|
||||
_vm.showCoupon = true
|
||||
}
|
||||
_vm.e1 = function ($event) {
|
||||
_vm.timePopup = false
|
||||
}
|
||||
}
|
||||
@ -156,6 +178,10 @@ var render = function () {
|
||||
{
|
||||
$root: {
|
||||
a0: a0,
|
||||
g0: g0,
|
||||
g1: g1,
|
||||
g2: g2,
|
||||
g3: g3,
|
||||
},
|
||||
}
|
||||
)
|
||||
@ -384,6 +410,23 @@ var _order = __webpack_require__(/*! @/api/order */ 191);
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
@ -416,7 +459,17 @@ var _default = {
|
||||
// 收货地址信息
|
||||
addressId: '',
|
||||
// 收货地址ID
|
||||
storeInfo: {} // 门店信息
|
||||
storeInfo: {},
|
||||
// 门店信息
|
||||
couponId: '',
|
||||
// 优惠券ID
|
||||
couponTabsIndex: 0,
|
||||
// 优惠券Tabs索引
|
||||
usableCoupon: [],
|
||||
// 优惠券--可使用
|
||||
unusableCoupon: [],
|
||||
// 优惠券--不可用
|
||||
showCoupon: false // 显示优惠券Popup
|
||||
};
|
||||
},
|
||||
onLoad: function onLoad(options) {
|
||||
@ -506,6 +559,12 @@ var _default = {
|
||||
console.log(err);
|
||||
});
|
||||
},
|
||||
// 选择优惠券
|
||||
onSelectCoupon: function onSelectCoupon(value) {
|
||||
this.couponId = value;
|
||||
this.showCoupon = false;
|
||||
this.handleOrderMethods('info');
|
||||
},
|
||||
// 点击订单提交
|
||||
onSubmitOrder: function onSubmitOrder() {
|
||||
var _this3 = this;
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "确认订单",
|
||||
"usingComponents": {
|
||||
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
|
||||
"order-goods": "/components/order-goods/order-goods",
|
||||
"u-radio-group": "/components/uview-ui/components/u-radio-group/u-radio-group",
|
||||
"u-radio": "/components/uview-ui/components/u-radio/u-radio",
|
||||
"price-format": "/components/price-format/price-format",
|
||||
"u-button": "/components/uview-ui/components/u-button/u-button",
|
||||
"appointment-time": "/components/appointment-time/appointment-time"
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="px32"><view class="bg-white br16 row u-m-t-32"><view data-event-opts="{{[['tap',[['onAddressExpress',['$event']]]]]}}" hidden="{{!(addressTabsList[addressTabsIndex]['sign']==='express')}}" class="u-flex p24 w-full" bindtap="__e"><view><u-icon class="right-icon" vue-id="eeabff18-1" name="map" size="48" bind:__l="__l"></u-icon></view><view class="u-flex flex1 u-row-between"><view class="ml10"><block wx:if="{{address.id}}"><view class="md black bold"><text>{{address.contact}}</text><text class="ml10">{{address.telephone}}</text></view><view class="xs black mt10">{{address.province+address.city+address.district+address.address}}</view></block><block wx:else><view>请选择收货地址</view></block></view><view><u-icon class="ml10" vue-id="eeabff18-2" name="arrow-right" bind:__l="__l"></u-icon></view></view></view></view><view class="bg-white br16 row u-m-t-32"><order-goods vue-id="eeabff18-3" team="{{$root.a0}}" list="{{goodsLists}}" delivery="{{delivery}}" order_type="{{orderInfo.order_type}}" imageWidth="{{260}}" imageHeight="{{172}}" mode="comfirm" bind:__l="__l"></order-goods></view><view class="bg-white br16 p24 u-m-t-32"><view>备注</view><view class="flex1 u-m-t-16 mask">xxxx</view></view><view data-event-opts="{{[['tap',[['appointmentTime',['$event']]]]]}}" class="bg-white br16 p24 u-m-t-32 nr row-between" bindtap="__e"><view>预约时间</view><view class="row"><view class="u-m-r-10">16:00-16:30</view><u-icon vue-id="eeabff18-4" name="arrow-right" size="32" bind:__l="__l"></u-icon></view></view><view class="bg-white br16 p24 u-m-t-32 nr"><view class="row-between"><view class="row-center"><u-icon vue-id="eeabff18-5" name="weixin-circle-fill" color="#28C445" size="80" bind:__l="__l"></u-icon><view class="u-m-l-16 lg">微信</view></view><view class="flex1 row-end"><u-radio-group bind:input="__e" vue-id="eeabff18-6" value="{{pay.weixin}}" data-event-opts="{{[['^input',[['__set_model',['$0','weixin','$event',[]],['pay']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-radio vue-id="{{('eeabff18-7')+','+('eeabff18-6')}}" shape="circle" active-color="{{themeColor}}" bind:__l="__l"></u-radio></u-radio-group></view></view></view><view class="fixed bg-white row-between px48 u-padding-top-20 u-padding-bottom-20"><view class="column u-text-center"><view class="row-center"><view class="count">共1件</view><view class="u-m-l-8">合计:</view><view class="primary" style="margin-top:-8rpx;"><price-format vue-id="eeabff18-8" price="{{12.9}}" subscriptSize="{{34}}" firstSize="{{56}}" secondSize="{{34}}" bind:__l="__l"></price-format></view></view></view><view class="u-m-l-64 flex1"><u-button vue-id="eeabff18-9" hover-class="none" customStyle="{{({height:'92rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['onSubmitOrder']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">去支付</u-button></view></view><appointment-time bind:close="__e" bind:update="__e" bind:input="__e" vue-id="eeabff18-10" value="{{timePopup}}" data-event-opts="{{[['^close',[['e0']]],['^update',[['handleSubmitMobile']]],['^input',[['__set_model',['','timePopup','$event',[]]]]]]}}" bind:__l="__l"></appointment-time></view>
|
||||
@ -1,32 +0,0 @@
|
||||
@charset "UTF-8";
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
.num {
|
||||
color: #4E5969;
|
||||
}
|
||||
.mask {
|
||||
color: #86909C;
|
||||
}
|
||||
.fixed {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
.count {
|
||||
color: #86909C;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user