mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-11 01:52:49 +00:00
更新v4.7.1
This commit is contained in:
parent
7f4c30fdce
commit
bb3dc075e2
@ -48,7 +48,7 @@ class ProductCopyJob extends BaseJobs
|
||||
$d_image = 'http://' . ltrim($image, '\//');
|
||||
}
|
||||
$description_cache = CacheService::get('desc_images_' . $id);
|
||||
if ($description_cache === null) {
|
||||
if ($description_cache === null || $description_cache === '') {
|
||||
$description_cache = $description;
|
||||
CacheService::set('desc_images_count' . $id, 0);
|
||||
}
|
||||
@ -64,7 +64,7 @@ class ProductCopyJob extends BaseJobs
|
||||
CacheService::set('desc_images_count' . $id, $desc_count);
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
Log::error('下载商品详情图片失败,失败原因:' . $e->getMessage());
|
||||
Log::error('下载商品详情图片失败,失败原因:' . $e->getMessage() . '_' . $e->getFile() . '_' . $e->getLine());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@ -86,9 +86,9 @@ class ProductCopyJob extends BaseJobs
|
||||
//下载图片
|
||||
$res = $copyTaobao->downloadCopyImage($image);
|
||||
//获取缓存中的轮播图
|
||||
$slider_images = CacheService::get('slider_images_' . $id);
|
||||
$slider_images = CacheService::get('slider_images_' . $id) ?? [];
|
||||
//缓存为null则赋值[]
|
||||
if ($slider_images === null) $slider_images = [];
|
||||
if ($slider_images === null || $slider_images === '') $slider_images = [];
|
||||
//将下载的图片插入数组
|
||||
array_push($slider_images, $res);
|
||||
//如果$slider_images中图片数量和传入的$count相等,说明已经下载完成,写入商品表,如果不等则继续插入缓存
|
||||
@ -102,7 +102,7 @@ class ProductCopyJob extends BaseJobs
|
||||
CacheService::set('slider_images_' . $id, $slider_images);
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
Log::error('下载商品轮播图片失败,失败原因:' . $e->getMessage());
|
||||
Log::error('下载商品轮播图片失败,失败原因:' . $e->getMessage() . '_' . $e->getFile() . '_' . $e->getLine());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -771,6 +771,15 @@ HTML;
|
||||
/** @var StoreOrderCreateServices $createServices */
|
||||
$createServices = app()->make(StoreOrderCreateServices::class);
|
||||
$data['order_id'] = $createServices->getNewOrderId('cp');
|
||||
if (sys_config('user_brokerage_type') == 1) {
|
||||
$percent = bcdiv((string)$data['pay_price'], (string)$order['pay_price'], 6);
|
||||
if ($order['one_brokerage'] > 0) {
|
||||
$data['one_brokerage'] = bcmul((string)$order['one_brokerage'], $percent, 2);
|
||||
}
|
||||
if ($order['two_brokerage'] > 0) {
|
||||
$data['two_brokerage'] = bcmul((string)$order['two_brokerage'], $percent, 2);
|
||||
}
|
||||
}
|
||||
/** @var StoreOrderStatusServices $services */
|
||||
$services = app()->make(StoreOrderStatusServices::class);
|
||||
return $this->transaction(function () use ($id, $data, $services) {
|
||||
@ -2579,7 +2588,7 @@ HTML;
|
||||
'is_del' => 0,
|
||||
'paid' => 1,
|
||||
'status' => 2,
|
||||
'change_type' => ['take_delivery','user_take_delivery']
|
||||
'change_type' => ['take_delivery', 'user_take_delivery']
|
||||
], 30);
|
||||
foreach ($orderList as $item) {
|
||||
AutoCommentJob::dispatch([$item['id'], $item['cart_id']]);
|
||||
|
||||
@ -335,6 +335,7 @@ class StoreOrderSplitServices extends BaseServices
|
||||
* 部分发货重新计算订单商品:实际金额、优惠、积分等金额
|
||||
* @param int $cart_num
|
||||
* @param array $cart_info
|
||||
* @param string $orderType
|
||||
* @return array
|
||||
*/
|
||||
public function slpitComputeOrderCart(int $cart_num, array $cart_info, $orderType = 'new')
|
||||
@ -353,9 +354,17 @@ class StoreOrderSplitServices extends BaseServices
|
||||
if ($field == 'use_integral') $scale = 0;
|
||||
$new_cart_info[$field] = bcmul((string)$cart_num, bcdiv((string)$cart_info[$field], (string)$cart_info['cart_num'], 4), $scale);
|
||||
if ($orderType == 'new') {//拆出
|
||||
$new_cart_info[$field] = bcmul((string)$cart_num, bcdiv((string)$cart_info[$field], (string)$cart_info['cart_num'], 4), $scale);
|
||||
if ($field == 'sum_true_price') {
|
||||
$new_cart_info[$field] = round(bcmul((string)$cart_num, bcdiv((string)$cart_info[$field], (string)$cart_info['cart_num'], 4), 4), 2, PHP_ROUND_HALF_UP);
|
||||
} else {
|
||||
$new_cart_info[$field] = bcmul((string)$cart_num, bcdiv((string)$cart_info[$field], (string)$cart_info['cart_num'], 4), $scale);
|
||||
}
|
||||
} else {
|
||||
$field_number = bcmul((string)bcsub((string)$cart_info['cart_num'], (string)$cart_num, 0), bcdiv((string)$cart_info[$field], (string)$cart_info['cart_num'], 4), $scale);
|
||||
if ($field == 'sum_true_price') {
|
||||
$field_number = round(bcmul((string)bcsub((string)$cart_info['cart_num'], (string)$cart_num, 0), bcdiv((string)$cart_info[$field], (string)$cart_info['cart_num'], 4), 4), 2, PHP_ROUND_HALF_UP);
|
||||
} else {
|
||||
$field_number = bcmul((string)bcsub((string)$cart_info['cart_num'], (string)$cart_num, 0), bcdiv((string)$cart_info[$field], (string)$cart_info['cart_num'], 4), $scale);
|
||||
}
|
||||
$new_cart_info[$field] = bcsub((string)$cart_info[$field], (string)$field_number, $scale);
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
namespace crmeb\services\pay\storage;
|
||||
|
||||
use app\services\pay\PayServices;
|
||||
use crmeb\exceptions\AdminException;
|
||||
use crmeb\exceptions\PayException;
|
||||
use crmeb\services\pay\BasePay;
|
||||
use crmeb\services\pay\PayInterface;
|
||||
@ -115,7 +116,8 @@ class AllinPay extends BasePay implements PayInterface
|
||||
*/
|
||||
public function refund(string $outTradeNo, array $options = [])
|
||||
{
|
||||
return $this->pay->refund($options['refund_price'], $options['order_id'], $outTradeNo);
|
||||
$result = $this->pay->refund($options['refund_price'], $options['order_id'], $outTradeNo);
|
||||
if ($result['retcode'] != 'SUCCESS') throw new AdminException($result['retmsg']);
|
||||
}
|
||||
|
||||
public function queryRefund(string $outTradeNo, string $outRequestNo, array $other = [])
|
||||
|
||||
@ -103,18 +103,22 @@ class WechatPay extends BasePay implements PayInterface
|
||||
$refundNo = $opt['refund_id'] ?? $outTradeNo;
|
||||
$opUserId = $opt['op_user_id'] ?? null;
|
||||
$type = $opt['type'] ?? 'out_trade_no';
|
||||
/*仅针对老资金流商户使用
|
||||
REFUND_SOURCE_UNSETTLED_FUNDS---未结算资金退款(默认使用未结算资金退款)
|
||||
REFUND_SOURCE_RECHARGE_FUNDS---可用余额退款
|
||||
*/
|
||||
/**
|
||||
* 仅针对老资金流商户使用
|
||||
* REFUND_SOURCE_UNSETTLED_FUNDS---未结算资金退款(默认使用未结算资金退款)
|
||||
* REFUND_SOURCE_RECHARGE_FUNDS---可用余额退款
|
||||
*/
|
||||
$refundAccount = $opt['refund_account'] ?? 'REFUND_SOURCE_UNSETTLED_FUNDS';
|
||||
if (isset($opt['wechat'])) {
|
||||
return WechatService::refund($outTradeNo, $refundNo, $totalFee, $refundFee, $opUserId, $refundReason, $type, $refundAccount);
|
||||
$result = WechatService::refund($outTradeNo, $refundNo, $totalFee, $refundFee, $opUserId, $refundReason, $type, $refundAccount);
|
||||
if ($result['status'] != 'SUCCESS') throw new AdminException($result['status']);
|
||||
} else {
|
||||
if ($opt['pay_new_weixin_open']) {
|
||||
return MiniProgramService::miniRefund($outTradeNo, $totalFee, $refundFee, $opt);
|
||||
$result = MiniProgramService::miniRefund($outTradeNo, $totalFee, $refundFee, $opt);
|
||||
if ($result['errcode'] != 0) throw new AdminException($result['errmsg']);
|
||||
} else {
|
||||
return MiniProgramService::refund($outTradeNo, $refundNo, $totalFee, $refundFee, $opUserId, $refundReason, $type, $refundAccount);
|
||||
$result = MiniProgramService::refund($outTradeNo, $refundNo, $totalFee, $refundFee, $opUserId, $refundReason, $type, $refundAccount);
|
||||
if ($result['status'] != 'SUCCESS') throw new AdminException($result['status']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -150,11 +150,11 @@ class Local extends BaseUpload
|
||||
|
||||
/**
|
||||
* 文件流上传
|
||||
* @param string $fileContent
|
||||
* @param $fileContent
|
||||
* @param string|null $key
|
||||
* @return array|bool|mixed|\StdClass
|
||||
*/
|
||||
public function stream(string $fileContent, string $key = null)
|
||||
public function stream($fileContent, string $key = null)
|
||||
{
|
||||
if (!$key) {
|
||||
$key = $this->saveFileName();
|
||||
@ -313,7 +313,7 @@ class Local extends BaseUpload
|
||||
$savePath = public_path() . $filePath;
|
||||
try {
|
||||
$Image = Image::open(app()->getRootPath() . 'public' . $filePath);
|
||||
$Image->water($watermark_image, $waterConfig['watermark_position'] ?: 1, $waterConfig['watermark_opacity'])->save($savePath);
|
||||
$Image->water($watermark_image, $waterConfig['watermark_position'] ?: 1, (int)$waterConfig['watermark_opacity'])->save($savePath);
|
||||
} catch (\Throwable $e) {
|
||||
throw new AdminException($e->getMessage());
|
||||
}
|
||||
@ -344,7 +344,7 @@ class Local extends BaseUpload
|
||||
if (strlen($waterConfig['watermark_text_color']) > 7) {
|
||||
$waterConfig['watermark_text_color'] = substr($waterConfig['watermark_text_color'], 0, 7);
|
||||
}
|
||||
$Image->text($waterConfig['watermark_text'], $waterConfig['watermark_text_font'], $waterConfig['watermark_text_size'], $waterConfig['watermark_text_color'], $waterConfig['watermark_position'], [$waterConfig['watermark_x'], $waterConfig['watermark_y'], $waterConfig['watermark_text_angle']])->save($savePath);
|
||||
$Image->text($waterConfig['watermark_text'], $waterConfig['watermark_text_font'], (float)$waterConfig['watermark_text_size'], $waterConfig['watermark_text_color'], $waterConfig['watermark_position'], [$waterConfig['watermark_x'], $waterConfig['watermark_y'], $waterConfig['watermark_text_angle']])->save($savePath);
|
||||
} catch (\Throwable $e) {
|
||||
throw new AdminException($e->getMessage() . $e->getLine());
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
.grey[data-v-50ebdefa]{color:#999}.maxW[data-v-50ebdefa] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-50ebdefa]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-50ebdefa]{width:50px;height:50px}.tabBox_img img[data-v-50ebdefa]{width:100%;height:100%}.priceBox[data-v-50ebdefa]{width:100%}.form .picBox[data-v-50ebdefa],.form .pictrue[data-v-50ebdefa]{display:inline-block;cursor:pointer}.form .pictrue[data-v-50ebdefa]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-50ebdefa]{width:100%;height:100%}.form .pictrue .btndel[data-v-50ebdefa]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-50ebdefa]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.form .col[data-v-50ebdefa]{color:#2d8cf0;cursor:pointer}.addfont[data-v-50ebdefa]{font-size:13px;color:#1890ff;margin-left:14px;margin-left:10px;cursor:pointer}
|
||||
@ -0,0 +1 @@
|
||||
.maxW[data-v-fbe0ec00] .ivu-select-dropdown{max-width:600px}.tabBox_img[data-v-fbe0ec00]{width:50px;height:50px;margin:0 auto}.tabBox_img img[data-v-fbe0ec00]{width:100%;height:100%}.priceBox[data-v-fbe0ec00]{width:100%}.form .picBox[data-v-fbe0ec00],.form .pictrue[data-v-fbe0ec00]{display:inline-block;cursor:pointer}.form .pictrue[data-v-fbe0ec00]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-fbe0ec00]{width:100%;height:100%}.form .pictrue .btndel[data-v-fbe0ec00]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-fbe0ec00]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.form .col[data-v-fbe0ec00]{color:#2d8cf0;cursor:pointer}.addfont[data-v-fbe0ec00]{font-size:13px;color:#1890ff;margin-left:14px;margin-left:10px;cursor:pointer}
|
||||
@ -0,0 +1 @@
|
||||
.grey[data-v-0b370b38]{color:#999}.maxW[data-v-0b370b38] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-0b370b38]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-0b370b38]{width:50px;height:50px}.tabBox_img img[data-v-0b370b38]{width:100%;height:100%}.priceBox[data-v-0b370b38]{width:100%}.form .picBox[data-v-0b370b38],.form .pictrue[data-v-0b370b38]{display:inline-block;cursor:pointer}.form .pictrue[data-v-0b370b38]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-0b370b38]{width:100%;height:100%}.form .pictrue .btndel[data-v-0b370b38]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-0b370b38]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.form .col[data-v-0b370b38]{color:#2d8cf0;cursor:pointer}.addfont[data-v-0b370b38]{font-size:13px;color:#1890ff;margin-left:14px;margin-left:10px;cursor:pointer}
|
||||
@ -1 +0,0 @@
|
||||
.maxW[data-v-5ae6a48e] .ivu-select-dropdown{max-width:600px}.tabBox_img[data-v-5ae6a48e]{width:50px;height:50px;margin:0 auto}.tabBox_img img[data-v-5ae6a48e]{width:100%;height:100%}.priceBox[data-v-5ae6a48e]{width:100%}.form .picBox[data-v-5ae6a48e],.form .pictrue[data-v-5ae6a48e]{display:inline-block;cursor:pointer}.form .pictrue[data-v-5ae6a48e]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-5ae6a48e]{width:100%;height:100%}.form .pictrue .btndel[data-v-5ae6a48e]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-5ae6a48e]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.form .col[data-v-5ae6a48e]{color:#2d8cf0;cursor:pointer}.addfont[data-v-5ae6a48e]{font-size:13px;color:#1890ff;margin-left:14px;margin-left:10px;cursor:pointer}
|
||||
@ -0,0 +1 @@
|
||||
.grey[data-v-438e8d28]{color:#999}.maxW[data-v-438e8d28] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-438e8d28]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-438e8d28]{width:50px;height:50px}.tabBox_img img[data-v-438e8d28]{width:100%;height:100%}.priceBox[data-v-438e8d28]{width:100%}.form .picBox[data-v-438e8d28],.form .pictrue[data-v-438e8d28]{display:inline-block;cursor:pointer}.form .pictrue[data-v-438e8d28]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-438e8d28]{width:100%;height:100%}.form .pictrue .btndel[data-v-438e8d28]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-438e8d28]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.form .col[data-v-438e8d28]{color:#2d8cf0;cursor:pointer}.addfont[data-v-438e8d28]{font-size:13px;color:#1890ff;margin-left:14px;margin-left:10px;cursor:pointer}
|
||||
@ -1 +0,0 @@
|
||||
.grey[data-v-2ec62246]{color:#999}.maxW[data-v-2ec62246] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-2ec62246]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-2ec62246]{width:50px;height:50px}.tabBox_img img[data-v-2ec62246]{width:100%;height:100%}.priceBox[data-v-2ec62246]{width:100%}.form .picBox[data-v-2ec62246],.form .pictrue[data-v-2ec62246]{display:inline-block;cursor:pointer}.form .pictrue[data-v-2ec62246]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-2ec62246]{width:100%;height:100%}.form .pictrue .btndel[data-v-2ec62246]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-2ec62246]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.form .col[data-v-2ec62246]{color:#2d8cf0;cursor:pointer}.addfont[data-v-2ec62246]{font-size:13px;color:#1890ff;margin-left:14px;margin-left:10px;cursor:pointer}
|
||||
@ -1 +1 @@
|
||||
.label-wrapper .list[data-v-0d8ad7da]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.label-wrapper .list .label-item[data-v-0d8ad7da]{margin:10px 8px 10px 0;padding:3px 8px;background:#eee;color:#333;border-radius:2px;cursor:pointer;font-size:12px}.label-wrapper .list .label-item.on[data-v-0d8ad7da]{color:#fff;background:#1890ff}.label-wrapper .footer[data-v-0d8ad7da]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:40px}.label-wrapper .footer button[data-v-0d8ad7da]{margin-left:10px}.btn[data-v-0d8ad7da]{width:60px;height:24px}.title[data-v-0d8ad7da]{font-size:13px}.nonefont[data-v-0d8ad7da]{text-align:center;padding-top:20px}.pictrueBox[data-v-23e8eaf0]{display:inline-block}.pictrue[data-v-23e8eaf0]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-23e8eaf0]{width:100%;height:100%}.pictrue .btndel[data-v-23e8eaf0]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upload-list[data-v-23e8eaf0]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer;position:relative}.upload-list img[data-v-23e8eaf0]{display:block;width:100%;height:100%}.upLoad[data-v-23e8eaf0]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.ivu-icon-ios-close-circle[data-v-23e8eaf0]{position:absolute;top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.grey[data-v-23e8eaf0]{color:#999}.custom-label[data-v-33090e1a]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.5}.grey[data-v-33090e1a]{color:#999}.maxW[data-v-33090e1a] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-33090e1a]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-33090e1a]{width:50px;height:50px}.tabBox_img img[data-v-33090e1a]{width:100%;height:100%}.priceBox[data-v-33090e1a]{width:100%}.form .picBox[data-v-33090e1a],.form .pictrue[data-v-33090e1a]{display:inline-block;cursor:pointer}.form .pictrue[data-v-33090e1a]{width:58px;height:58px;border:1px dotted rgba(0,0,0,.1);margin-right:0;position:relative}.form .pictrue img[data-v-33090e1a]{width:100%;height:100%}.form .pictrue .btndel[data-v-33090e1a]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-33090e1a]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.labelInput[data-v-33090e1a]{border:1px solid #dcdee2;padding:0 6px;width:30%;border-radius:5px;min-height:30px;cursor:pointer}.labelInput .span[data-v-33090e1a]{color:#c5c8ce}.labelInput .ivu-icon-ios-arrow-down[data-v-33090e1a]{font-size:14px;color:#808695}
|
||||
.label-wrapper .list[data-v-0d8ad7da]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.label-wrapper .list .label-item[data-v-0d8ad7da]{margin:10px 8px 10px 0;padding:3px 8px;background:#eee;color:#333;border-radius:2px;cursor:pointer;font-size:12px}.label-wrapper .list .label-item.on[data-v-0d8ad7da]{color:#fff;background:#1890ff}.label-wrapper .footer[data-v-0d8ad7da]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:40px}.label-wrapper .footer button[data-v-0d8ad7da]{margin-left:10px}.btn[data-v-0d8ad7da]{width:60px;height:24px}.title[data-v-0d8ad7da]{font-size:13px}.nonefont[data-v-0d8ad7da]{text-align:center;padding-top:20px}.pictrueBox[data-v-49229ac3]{display:inline-block}.pictrue[data-v-49229ac3]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;display:inline-block;position:relative;cursor:pointer}.pictrue img[data-v-49229ac3]{width:100%;height:100%}.pictrue .btndel[data-v-49229ac3]{position:absolute;z-index:1;width:20px!important;height:20px!important;left:46px;top:-4px}.upload-list[data-v-49229ac3]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer;position:relative}.upload-list img[data-v-49229ac3]{display:block;width:100%;height:100%}.upLoad[data-v-49229ac3]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.ivu-icon-ios-close-circle[data-v-49229ac3]{position:absolute;top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.grey[data-v-49229ac3]{color:#999}.custom-label[data-v-33090e1a]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.5}.grey[data-v-33090e1a]{color:#999}.maxW[data-v-33090e1a] .ivu-select-dropdown{max-width:600px}.ivu-table-wrapper[data-v-33090e1a]{border-left:1px solid #dcdee2;border-top:1px solid #dcdee2}.tabBox_img[data-v-33090e1a]{width:50px;height:50px}.tabBox_img img[data-v-33090e1a]{width:100%;height:100%}.priceBox[data-v-33090e1a]{width:100%}.form .picBox[data-v-33090e1a],.form .pictrue[data-v-33090e1a]{display:inline-block;cursor:pointer}.form .pictrue[data-v-33090e1a]{width:58px;height:58px;border:1px dotted rgba(0,0,0,.1);margin-right:0;position:relative}.form .pictrue img[data-v-33090e1a]{width:100%;height:100%}.form .pictrue .btndel[data-v-33090e1a]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-33090e1a]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}.labelInput[data-v-33090e1a]{border:1px solid #dcdee2;padding:0 6px;width:30%;border-radius:5px;min-height:30px;cursor:pointer}.labelInput .span[data-v-33090e1a]{color:#c5c8ce}.labelInput .ivu-icon-ios-arrow-down[data-v-33090e1a]{font-size:14px;color:#808695}
|
||||
@ -1 +0,0 @@
|
||||
.custom-label[data-v-ceabf5f2]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.5}.grey[data-v-ceabf5f2]{color:#999}.maxW[data-v-ceabf5f2] .ivu-select-dropdown{max-width:600px}.tabBox_img[data-v-ceabf5f2]{width:50px;height:50px;margin:0 auto}.tabBox_img img[data-v-ceabf5f2]{width:100%;height:100%}.priceBox[data-v-ceabf5f2]{width:100%}.form .picBox[data-v-ceabf5f2],.form .pictrue[data-v-ceabf5f2]{display:inline-block;cursor:pointer}.form .pictrue[data-v-ceabf5f2]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-ceabf5f2]{width:100%;height:100%}.form .pictrue .btndel[data-v-ceabf5f2]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-ceabf5f2]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}
|
||||
@ -0,0 +1 @@
|
||||
.custom-label[data-v-24043956]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;line-height:1.5}.grey[data-v-24043956]{color:#999}.maxW[data-v-24043956] .ivu-select-dropdown{max-width:600px}.tabBox_img[data-v-24043956]{width:50px;height:50px;margin:0 auto}.tabBox_img img[data-v-24043956]{width:100%;height:100%}.priceBox[data-v-24043956]{width:100%}.form .picBox[data-v-24043956],.form .pictrue[data-v-24043956]{display:inline-block;cursor:pointer}.form .pictrue[data-v-24043956]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-right:15px;position:relative}.form .pictrue img[data-v-24043956]{width:100%;height:100%}.form .pictrue .btndel[data-v-24043956]{position:absolute;z-index:9;width:20px!important;height:20px!important;left:46px;top:-4px}.form .upLoad[data-v-24043956]{width:58px;height:58px;line-height:58px;border:1px dotted rgba(0,0,0,.1);border-radius:4px;background:rgba(0,0,0,.02);cursor:pointer}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>加载中</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.b0707a6a.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.6d549041.js></script><script src=/static/js/index.7971be1d.js></script></body></html>
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.b0707a6a.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.6d549041.js></script><script src=/static/js/index.adc74abc.js></script></body></html>
|
||||
@ -33531,8 +33531,7 @@ INSERT INTO `eb_system_config` (`id`, `menu_name`, `type`, `input_type`, `config
|
||||
(429, 'get_avatar', 'radio', 'input', 7, '0=>关闭\n1=>开启', 1, '', 0, 0, '\"0\"', '强制获取昵称头像', '是否在小程序用户授权之后,弹窗获取用户的昵称和头像', 0, 1),
|
||||
(430, 'share_qrcode', 'radio', 'input', 2, '0=>商城\n1=>公众号', 1, '', 0, 0, '\"0\"', '公众号推广码类型', '公众号生成的推广码类型:商城:扫码直接进入商城,公众号:扫码进入公众号后推送商城的链接', 0, 1),
|
||||
(431, 'member_brokerage', 'radio', 'input', 73, '1=>开启\n0=>关闭', 1, '', 0, 0, '\"0\"', '购买付费会员返佣', '购买付费会员是否按照设置的佣金比例进行返佣', 98, 1),
|
||||
(432, 'user_brokerage_type', 'radio', 'input', 73, '0=>按照商品价格返佣\n1=>按照实际支付价格返佣', 1, '', 0, 0, '\"0\"', '返佣类型', '选择返佣类型,按照商品价格返佣(按照商品售价计算返佣金额)以及按照实际支付价格返佣(按照商品的实际支付价格计算返佣 )', 97, 1),
|
||||
(433, 'network_security', 'text', 'input', 26, '', 1, '', 100, 0, '\"\"', '网安备案', '公安部门登记的备案信息,显示在pc底部', 0, 1);
|
||||
(432, 'user_brokerage_type', 'radio', 'input', 73, '0=>按照商品价格返佣\n1=>按照实际支付价格返佣', 1, '', 0, 0, '\"0\"', '返佣类型', '选择返佣类型,按照商品价格返佣(按照商品售价计算返佣金额)以及按照实际支付价格返佣(按照商品的实际支付价格计算返佣 )', 97, 1);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
@ -34659,8 +34658,7 @@ INSERT INTO `eb_system_menus` (`id`, `pid`, `icon`, `menu_name`, `module`, `cont
|
||||
(1072, 1064, '', '接口文档', 'admin', '', '', '', '', '[]', 0, 1, 0, 1, '/setting/system_out_interface/index', '56/1064', 1, '', 0, 'setting-system-out-interface-index', 0),
|
||||
(1073, 25, '', '数据维护', 'admin', '', '', '', '', '[]', 7, 1, 0, 1, 'system/database/index', '25', 1, '', 0, 'system-database-index', 0),
|
||||
(1075, 731, '', '会员配置', 'admin', '', '', '', '', '[]', 6, 1, 0, 1, '/marketing/member/system_config/3/67', '27/731', 1, '', 0, 'marketing-member-system_config', 0),
|
||||
(1076, 56, '', '定时任务', 'admin', '', '', '', '', '[]', 0, 1, 0, 1, '/system/crontab', '25/56', 1, '', 0, 'system-crontab-index', 0),
|
||||
(1077, 7, '', '主页', 'admin', '', '', '', '', '[]', 100, 1, 0, 1, '/home', '7', 1, '', 0, 'admin-index-index', 0);
|
||||
(1076, 56, '', '定时任务', 'admin', '', '', '', '', '[]', 0, 1, 0, 1, '/system/crontab', '25/56', 1, '', 0, 'system-crontab-index', 0);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +0,0 @@
|
||||
|
||||
require('./common/runtime.js')
|
||||
require('./common/vendor.js')
|
||||
require('./common/main.js')
|
||||
@ -1,225 +0,0 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/guide/index",
|
||||
"pages/index/index",
|
||||
"pages/order_addcart/order_addcart",
|
||||
"pages/user/index",
|
||||
"pages/goods_cate/goods_cate"
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages/extension",
|
||||
"pages": [
|
||||
"customer_list/chat",
|
||||
"news_list/index",
|
||||
"news_details/index"
|
||||
],
|
||||
"name": "extension"
|
||||
},
|
||||
{
|
||||
"root": "pages/goods",
|
||||
"pages": [
|
||||
"goods_list/index",
|
||||
"goods_search/index",
|
||||
"order_pay_status/index",
|
||||
"admin_order_detail/index",
|
||||
"goods_comment_con/index",
|
||||
"goods_comment_con/lottery_comment",
|
||||
"goods_comment_list/index",
|
||||
"goods_details_store/index",
|
||||
"goods_logistics/index",
|
||||
"goods_return/index",
|
||||
"goods_return_list/index",
|
||||
"lottery/grids/index",
|
||||
"lottery/grids/record",
|
||||
"order_confirm/index",
|
||||
"order_details/index",
|
||||
"order_list/index",
|
||||
"order_refund_goods/index",
|
||||
"cashier/index"
|
||||
],
|
||||
"name": "goods"
|
||||
},
|
||||
{
|
||||
"root": "pages/users",
|
||||
"pages": [
|
||||
"user_vip_areer/index",
|
||||
"privacy/index",
|
||||
"user_cancellation/index",
|
||||
"message_center/index",
|
||||
"message_center/messageDetail",
|
||||
"user_invoice_order/index",
|
||||
"scan_login/index",
|
||||
"user_invoice_list/index",
|
||||
"user_invoice_form/index",
|
||||
"wechat_login/index",
|
||||
"retrievePassword/index",
|
||||
"user_info/index",
|
||||
"user_get_coupon/index",
|
||||
"visit_list/index",
|
||||
"user_goods_collection/index",
|
||||
"user_sgin/index",
|
||||
"user_sgin_list/index",
|
||||
"user_money/index",
|
||||
"user_bill/index",
|
||||
"user_integral/index",
|
||||
"user_coupon/index",
|
||||
"user_spread_user/index",
|
||||
"user_spread_code/index",
|
||||
"user_spread_money/index",
|
||||
"user_cash/index",
|
||||
"user_vip/index",
|
||||
"user_distribution_level/index",
|
||||
"user_address_list/index",
|
||||
"user_address/index",
|
||||
"user_phone/index",
|
||||
"user_payment/index",
|
||||
"user_pwd_edit/index",
|
||||
"promoter-list/index",
|
||||
"promoter-order/index",
|
||||
"promoter_rank/index",
|
||||
"commission_rank/index",
|
||||
"user_return_list/index",
|
||||
"login/index",
|
||||
"payment_on_behalf/index",
|
||||
"payment_on_behalf/pay_status",
|
||||
"staff_list/index"
|
||||
],
|
||||
"name": "users",
|
||||
"plugins": {
|
||||
"live-player-plugin": {
|
||||
"version": "1.3.5",
|
||||
"provider": "wx2b03c6e691cd7370"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"root": "pages/goods_details",
|
||||
"pages": [
|
||||
"index"
|
||||
],
|
||||
"name": "goods_details"
|
||||
},
|
||||
{
|
||||
"root": "pages/activity",
|
||||
"pages": [
|
||||
"goods_bargain/index",
|
||||
"goods_bargain_details/index",
|
||||
"goods_combination/index",
|
||||
"goods_combination_details/index",
|
||||
"goods_combination_status/index",
|
||||
"goods_seckill/index",
|
||||
"goods_seckill_details/index",
|
||||
"poster-poster/index",
|
||||
"bargain/index",
|
||||
"presell/index"
|
||||
],
|
||||
"name": "activity"
|
||||
},
|
||||
{
|
||||
"root": "pages/admin",
|
||||
"pages": [
|
||||
"custom_date/index",
|
||||
"order/index",
|
||||
"orderList/index",
|
||||
"orderDetail/index",
|
||||
"delivery/index",
|
||||
"statistics/index",
|
||||
"order_cancellation/index"
|
||||
],
|
||||
"name": "adminOrder"
|
||||
},
|
||||
{
|
||||
"root": "pages/columnGoods",
|
||||
"pages": [
|
||||
"HotNewGoods/index",
|
||||
"HotNewGoods/feedback",
|
||||
"live_list/index"
|
||||
],
|
||||
"name": "columnGoods"
|
||||
},
|
||||
{
|
||||
"root": "pages/annex",
|
||||
"pages": [
|
||||
"web_view/index",
|
||||
"vip_paid/index",
|
||||
"vip_coupon/index",
|
||||
"vip_clause/index",
|
||||
"vip_active/index",
|
||||
"offline_pay/index",
|
||||
"offline_result/index",
|
||||
"special/index",
|
||||
"settled/index"
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "pages/points_mall",
|
||||
"pages": [
|
||||
"index",
|
||||
"integral_goods_list",
|
||||
"integral_goods_details",
|
||||
"exchange_record",
|
||||
"integral_order",
|
||||
"user_address",
|
||||
"integral_order_status",
|
||||
"integral_order_details",
|
||||
"logistics_details"
|
||||
]
|
||||
}
|
||||
],
|
||||
"window": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "加载中",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"backgroundColor": "#F8F8F8",
|
||||
"titleNView": false
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#282828",
|
||||
"selectedColor": "#ff3366",
|
||||
"borderStyle": "white",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/images/1-001.png",
|
||||
"selectedIconPath": "static/images/1-002.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/goods_cate/goods_cate",
|
||||
"iconPath": "static/images/2-001.png",
|
||||
"selectedIconPath": "static/images/2-002.png",
|
||||
"text": "分类"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/order_addcart/order_addcart",
|
||||
"iconPath": "static/images/3-001.png",
|
||||
"selectedIconPath": "static/images/3-002.png",
|
||||
"text": "购物车"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/user/index",
|
||||
"iconPath": "static/images/4-001.png",
|
||||
"selectedIconPath": "static/images/4-002.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"permission": {
|
||||
"scope.userLocation": {
|
||||
"desc": "你的位置信息将用于和门店的距离长度"
|
||||
}
|
||||
},
|
||||
"requiredPrivateInfos": [
|
||||
"getLocation",
|
||||
"onLocationChange",
|
||||
"startLocationUpdateBackground",
|
||||
"chooseAddress"
|
||||
],
|
||||
"usingComponents": {
|
||||
"skeleton": "/components/skeleton/index",
|
||||
"page-loading": "/components/pageLoading",
|
||||
"easy-loadimage": "/components/easy-loadimage/easy-loadimage"
|
||||
}
|
||||
}
|
||||
@ -1,3 +0,0 @@
|
||||
@import './common/main.wxss';
|
||||
|
||||
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Authorize"],{"534f":function(t,e,n){"use strict";var o=n("e00c"),a=n.n(o);a.a},b29f:function(t,e,n){"use strict";n.r(e);var o=n("c015"),a=n("e4b0");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("534f");var u,s=n("f0c5"),c=Object(s["a"])(a["default"],o["b"],o["c"],!1,null,"0246b62e",null,!1,o["a"],u);e["default"]=c.exports},c015:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var a=function(){var t=this,e=t.$createElement;t._self._c},i=[]},cefb:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=c(n("ebdf")),a=n("a9a5"),i=n("2038"),u=n("26cb"),s=c(n("7635"));c(n("b120"));function c(t){return t&&t.__esModule?t:{default:t}}var r=getApp(),d={name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},data:function(){return{logoUrl:"",authKey:""}},computed:(0,u.mapGetters)(["isLogin","userInfo"]),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)}},mounted:function(){this.getLogoUrl();this.isLogin||o.default.has(i.STATE_R_KEY)?this.setAuthStatus():wx.login({success:function(t){o.default.set(i.STATE_R_KEY,t.code,10800);r.globalData.spid&&r.globalData.spid}})},methods:{setAuthStatus:function(){var t=this;s.default.authorize().then((function(e){!1===e.islogin?t.setUserInfo():t.$emit("onLoadFun",t.userInfo)})).catch((function(e){t.isAuto&&t.$emit("authColse",!0)}))},getUserInfo:function(e){var n=this;s.default.getUserInfo().then((function(o){var a=o.userInfo;a.code=e,a.spread_spid=r.globalData.spid,a.spread_code=r.globalData.code,s.default.authUserInfo(a).then((function(e){t.hideLoading(),n.$emit("authColse",!1),n.$emit("onLoadFun",n.userInfo)})).catch((function(e){t.hideLoading(),t.showToast({title:e.msg,icon:"none",duration:2e3})}))})).catch((function(e){t.hideLoading()}))},getUserPhoneNumber:function(e,n,o){var i=this;(0,a.getUserPhone)({encryptedData:e,iv:n,code:o,spid:r.globalData.spid,spread:r.globalData.code}).then((function(e){var n=e.data.expires_time-i.$Cache.time();i.$store.commit("LOGIN",{token:e.data.token,time:n}),i.$emit("authColse",!1),i.$emit("onLoadFun",e.data.userInfo),t.hideLoading()})).catch((function(e){t.hideLoading()}))},setUserInfo:function(e){var n=this;t.showLoading({title:"正在登录中"}),s.default.getCode().then((function(t){n.getUserPhoneNumber(e.detail.encryptedData,e.detail.iv,t)})).catch((function(e){t.hideLoading()}))},getLogoUrl:function(){var t=this;o.default.has(i.LOGO_URL)?this.logoUrl=o.default.get(i.LOGO_URL):(0,a.getLogo)().then((function(e){t.logoUrl=e.data.logo_url,o.default.set(i.LOGO_URL,t.logoUrl)}))},close:function(){var e=getCurrentPages();e[e.length-1];this.isGoIndex?t.navigateTo({url:"/pages/index/index"}):this.$emit("authColse",!1)}}};e.default=d}).call(this,n("543d")["default"])},e00c:function(t,e,n){},e4b0:function(t,e,n){"use strict";n.r(e);var o=n("cefb"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/Authorize-create-component',
|
||||
{
|
||||
'components/Authorize-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("b29f"))
|
||||
})
|
||||
},
|
||||
[['components/Authorize-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="data-v-0246b62e"><block wx:if="{{isShowAuth}}"><view class="Popup data-v-0246b62e"><image src="{{logoUrl}}" class="data-v-0246b62e"></image><view class="title data-v-0246b62e">授权提醒</view><view class="tip data-v-0246b62e">请授权头像等信息,以便为您提供更好的服务</view><view class="bottom flex data-v-0246b62e"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="item data-v-0246b62e" bindtap="__e">随便逛逛</view><button class="item grant data-v-0246b62e" type="primary" open-type="getPhoneNumber" lang="zh_CN" data-event-opts="{{[['getphonenumber',[['setUserInfo',['$event']]]]]}}" bindgetphonenumber="__e">去授权</button></view></view></block><block wx:if="{{isShowAuth}}"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="mask data-v-0246b62e" bindtap="__e"></view></block></view>
|
||||
@ -1 +0,0 @@
|
||||
.Popup.data-v-0246b62e{width:500rpx;background-color:#fff;position:fixed;top:50%;left:50%;margin-left:-250rpx;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:320}.Popup image.data-v-0246b62e{width:150rpx;height:150rpx;margin:-67rpx auto 0 auto;display:block;border:8rpx solid #fff;border-radius:50%}.Popup .title.data-v-0246b62e{font-size:28rpx;color:#000;text-align:center;margin-top:30rpx}.Popup .tip.data-v-0246b62e{font-size:22rpx;color:#555;padding:0 24rpx;margin-top:25rpx}.Popup .bottom .item.data-v-0246b62e{width:50%;height:80rpx;background-color:#eee;text-align:center;line-height:80rpx;font-size:24rpx;color:#666;margin-top:54rpx}.Popup .bottom .item.on.data-v-0246b62e{width:100%}.flex.data-v-0246b62e{display:flex}.Popup .bottom .item.grant.data-v-0246b62e{font-size:28rpx;color:#fff;font-weight:700;background-color:var(--view-theme);border-radius:0;padding:0}.mask.data-v-0246b62e{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:310}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Loading/index"],{"06d3":function(n,t,a){},"1e51":function(n,t,a){"use strict";a.r(t);var e=a("8f723"),o=a.n(e);for(var u in e)"default"!==u&&function(n){a.d(t,n,(function(){return e[n]}))}(u);t["default"]=o.a},"2f2a":function(n,t,a){"use strict";var e=a("06d3"),o=a.n(e);o.a},"8f723":function(n,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};t.default=e},"985b":function(n,t,a){"use strict";var e;a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return u})),a.d(t,"a",(function(){return e}));var o=function(){var n=this,t=n.$createElement,a=(n._self._c,n.loading&&!n.loaded&&n.loading?n.$t("正在加载中"):null),e=!n.loading||n.loaded||n.loading?null:n.$t("上拉加载更多");n.$mp.data=Object.assign({},{$root:{m0:a,m1:e}})},u=[]},"9bda":function(n,t,a){"use strict";a.r(t);var e=a("985b"),o=a("1e51");for(var u in o)"default"!==u&&function(n){a.d(t,n,(function(){return o[n]}))}(u);a("2f2a");var l,d=a("f0c5"),r=Object(d["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],l);t["default"]=r.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/Loading/index-create-component',
|
||||
{
|
||||
'components/Loading/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("9bda"))
|
||||
})
|
||||
},
|
||||
[['components/Loading/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view><block wx:if="{{loading&&!loaded}}"><view class="Loads acea-row row-center-wrapper" style="margin-top:.2rem;"><block wx:if="{{loading}}"><view><view class="iconfont icon-jiazai loading acea-row row-center-wrapper"></view>{{''+$root.m0+''}}</view></block><block wx:else><view>{{''+$root.m1+''}}</view></block></view></block></view>
|
||||
@ -1 +0,0 @@
|
||||
.Loads{height:80rpx;font-size:25rpx;color:#000}.Loads .iconfont{font-size:30rpx;margin-right:10rpx;height:32rpx;line-height:32rpx}@-webkit-keyframes load{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic{-webkit-animation:load 3s linear 1s infinite;animation:load 3s linear 1s infinite}.loading{-webkit-animation:load linear 1s infinite;animation:load linear 1s infinite}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/addressWindow/index"],{"1b17":function(t,e,n){"use strict";n.r(e);var a=n("42a0"),s=n("406f");for(var i in s)"default"!==i&&function(t){n.d(e,t,(function(){return s[t]}))}(i);n("f90e");var r,d=n("f0c5"),u=Object(d["a"])(s["default"],a["b"],a["c"],!1,null,"4d69fe90",null,!1,a["a"],r);e["default"]=u.exports},"38d3":function(t,e,n){},"406f":function(t,e,n){"use strict";n.r(e);var a=n("5543"),s=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=s.a},"42a0":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var s=function(){var t=this,e=t.$createElement,n=(t._self._c,t.$t("选择地址")),a=t.$t("选择其它地址");t.$mp.data=Object.assign({},{$root:{m0:n,m1:a}})},i=[]},5543:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("8ba8"),s=n("989b"),i={props:{pagesUrl:{type:String,default:""},address:{type:Object,default:function(){return{address:!0,addressId:0}}},isLog:{type:Boolean,default:!1}},data:function(){return{imgHost:s.HTTP_REQUEST_URL,active:0,addressList:[],is_loading:!0}},methods:{tapAddress:function(t,e){this.active=t,this.$emit("OnChangeAddress",e)},close:function(){this.$emit("changeClose"),this.$emit("changeTextareaStatus")},goAddressPages:function(){this.$emit("changeClose"),this.$emit("changeTextareaStatus"),t.navigateTo({url:this.pagesUrl})},getAddressList:function(){var t=this;(0,a.getAddressList)({page:1,limit:5}).then((function(e){for(var n=e.data,a=0,s=n.length;a<s;a++)n[a].id==t.address.addressId&&(t.active=a);t.$set(t,"addressList",n),t.is_loading=!1}))}}};e.default=i}).call(this,n("543d")["default"])},f90e:function(t,e,n){"use strict";var a=n("38d3"),s=n.n(a);s.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/addressWindow/index-create-component',
|
||||
{
|
||||
'components/addressWindow/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("1b17"))
|
||||
})
|
||||
},
|
||||
[['components/addressWindow/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="data-v-4d69fe90"><view class="{{['address-window','data-v-4d69fe90',address.address==true?'on':'']}}"><view class="title data-v-4d69fe90">{{$root.m0}}<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-4d69fe90" bindtap="__e"></text></view><view class="list data-v-4d69fe90"><block wx:for="{{addressList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tapAddress',[index,'$0'],[[['addressList','',index,'id']]]]]]]}}" class="{{['item','acea-row','row-between-wrapper','data-v-4d69fe90',active==index?'font-num':'']}}" bindtap="__e"><text class="{{['iconfont','icon-ditu','data-v-4d69fe90',active==index?'font-num':'']}}"></text><view class="address data-v-4d69fe90"><view class="{{['name','data-v-4d69fe90',active==index?'font-num':'']}}">{{item.real_name}}<text class="phone data-v-4d69fe90">{{item.phone}}</text></view><view class="line1 data-v-4d69fe90">{{item.province+item.city+item.district+item.detail}}</view></view><text class="{{['iconfont','icon-complete','data-v-4d69fe90',active==index?'font-num':'']}}"></text></view></block></view><block wx:if="{{!is_loading&&!addressList.length}}"><view class="pictrue data-v-4d69fe90"><image src="{{imgHost+'/statics/images/noAddress.png'}}" class="data-v-4d69fe90"></image></view></block><view data-event-opts="{{[['tap',[['goAddressPages',['$event']]]]]}}" class="addressBnt bg-color data-v-4d69fe90" bindtap="__e">{{$root.m1}}</view></view><view class="mask data-v-4d69fe90" catchtouchmove="true" hidden="{{address.address==false}}" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></view></view>
|
||||
@ -1 +0,0 @@
|
||||
.address-window.data-v-4d69fe90{background-color:#fff;position:fixed;bottom:0;left:0;width:100%;z-index:1000;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.address-window.on.data-v-4d69fe90{-webkit-transform:translateZ(0);transform:translateZ(0)}.address-window .title.data-v-4d69fe90{font-size:32rpx;font-weight:700;text-align:center;height:123rpx;line-height:123rpx;position:relative}.address-window .title .iconfont.data-v-4d69fe90{position:absolute;right:30rpx;color:#8a8a8a;font-size:35rpx}.address-window .list .item.data-v-4d69fe90{margin-left:30rpx;padding-right:30rpx;border-bottom:1px solid #eee;height:129rpx;font-size:25rpx;color:#333}.address-window .list .item .iconfont.data-v-4d69fe90{font-size:37rpx;color:#2c2c2c}.address-window .list .item .iconfont.icon-complete.data-v-4d69fe90{font-size:30rpx;color:#fff}.address-window .list .item .address.data-v-4d69fe90{width:560rpx}.address-window .list .item .address .name.data-v-4d69fe90{font-size:28rpx;font-weight:700;color:#282828;margin-bottom:4rpx}.address-window .list .item .address .name .phone.data-v-4d69fe90{margin-left:18rpx}.address-window .addressBnt.data-v-4d69fe90{font-size:30rpx;font-weight:700;color:#fff;width:690rpx;height:86rpx;border-radius:43rpx;text-align:center;line-height:86rpx;margin:85rpx auto}.address-window .pictrue.data-v-4d69fe90{width:414rpx;height:336rpx;margin:0 auto}.address-window .pictrue image.data-v-4d69fe90{width:100%;height:100%}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cartList/index"],{1576:function(t,n,a){},"17ca":function(t,n,a){"use strict";a.r(n);var u=a("a557"),e=a("b21f");for(var r in e)"default"!==r&&function(t){a.d(n,t,(function(){return e[t]}))}(r);a("25e2");var i,s=a("f0c5"),c=Object(s["a"])(e["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],i);n["default"]=c.exports},"25e2":function(t,n,a){"use strict";var u=a("1576"),e=a.n(u);e.a},a557:function(t,n,a){"use strict";var u;a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return r})),a.d(n,"a",(function(){return u}));var e=function(){var t=this,n=t.$createElement,a=(t._self._c,t.$t("已选商品")),u=t.$t("清空"),e=t.__map(t.cartData.cartList,(function(n,a){var u=t.__get_orig(n),e=n.attrStatus&&n.status?t.$t("¥"):null,r=n.attrStatus&&n.status||n.attrStatus?null:t.$t("已售罄"),i=n.attrStatus&&n.status||!n.attrStatus||n.status?null:t.$t("已下架"),s=n.status&&n.attrStatus?null:t.$t("删除");return{$orig:u,m2:e,m3:r,m4:i,m5:s}}));t.$mp.data=Object.assign({},{$root:{m0:a,m1:u,l0:e}})},r=[]},b21f:function(t,n,a){"use strict";a.r(n);var u=a("ea59"),e=a.n(u);for(var r in u)"default"!==r&&function(t){a.d(n,t,(function(){return u[t]}))}(r);n["default"]=e.a},ea59:function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={props:{cartData:{type:Object,default:function(){}}},data:function(){return{}},mounted:function(){},methods:{closeList:function(){this.$emit("closeList",!1)},leaveCart:function(t){this.$emit("ChangeCartNumDan",!1,t)},joinCart:function(t){this.$emit("ChangeCartNumDan",!0,t)},subDel:function(){this.$emit("ChangeSubDel")},oneDel:function(t,n){this.$emit("ChangeOneDel",t,n)}}};n.default=u}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/cartList/index-create-component',
|
||||
{
|
||||
'components/cartList/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("17ca"))
|
||||
})
|
||||
},
|
||||
[['components/cartList/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view><view class="{{['cartList',cartData.iScart?'on':'']}}"><view class="title acea-row row-between-wrapper"><view class="name">{{$root.m0}}</view><view data-event-opts="{{[['tap',[['subDel',['$event']]]]]}}" class="del acea-row row-middle" bindtap="__e"><view class="iconfont icon-shanchu1"></view>{{$root.m1}}</view></view><view class="list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-between-wrapper"><view class="pictrue"><block wx:if="{{item.$orig.productInfo.attrInfo}}"><image src="{{item.$orig.productInfo.attrInfo.image}}"></image></block><block wx:else><image src="{{item.$orig.productInfo.image}}"></image></block><block wx:if="{{!item.$orig.status||!item.$orig.attrStatus}}"><view class="mantle"></view></block></view><view class="txtPic"><view class="{{['name','line2',item.$orig.attrStatus&&item.$orig.status?'':'on']}}">{{item.$orig.productInfo.store_name}}</view><block wx:if="{{item.$orig.attrStatus&&item.$orig.status}}"><view><block wx:if="{{item.$orig.productInfo.attrInfo}}"><view class="info">{{item.$orig.productInfo.attrInfo.suk}}</view></block><view class="bottom acea-row row-between-wrapper"><view class="money">{{item.m2}}<text class="num">{{item.$orig.truePrice}}</text></view><view class="cartNum acea-row row-middle"><view data-event-opts="{{[['tap',[['leaveCart',[index]]]]]}}" class="reduce iconfont icon-jianhao1" bindtap="__e"></view><view class="num">{{item.$orig.cart_num}}</view><view data-event-opts="{{[['tap',[['joinCart',[index]]]]]}}" class="plus iconfont icon-jiahao1" bindtap="__e"></view></view></view></view></block><block wx:else><block wx:if="{{!item.$orig.attrStatus}}"><view class="noBnt">{{item.m3}}</view></block><block wx:else><block wx:if="{{!item.$orig.status}}"><view class="noBnt">{{item.m4}}</view></block></block></block><block wx:if="{{!item.$orig.status||!item.$orig.attrStatus}}"><view class="delTxt acea-row row-right"><text data-event-opts="{{[['tap',[['oneDel',['$0',index],[[['cartData.cartList','',index,'id']]]]]]]}}" bindtap="__e">{{item.m5}}</text></view></block></view></view></block></view></view><block wx:if="{{cartData.iScart}}"><view data-event-opts="{{[['tap',[['closeList',['$event']]]]]}}" class="mask" bindtap="__e"></view></block></view>
|
||||
@ -1 +0,0 @@
|
||||
.mask{z-index:99}.cartList{position:fixed;left:0;bottom:0;width:100%;background-color:#fff;z-index:100;padding:0 30rpx 100rpx 30rpx;box-sizing:border-box;border-radius:16rpx 16rpx 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.cartList.on{-webkit-transform:translateZ(0);transform:translateZ(0)}.cartList .title{height:108rpx}.cartList .title .name{font-size:28rpx;color:#282828;font-weight:700}.cartList .title .del{font-size:26rpx;color:var(--view-theme)}.cartList .title .del .iconfont{margin-right:5rpx;font-size:34rpx}.cartList .list{max-height:720rpx;overflow-x:hidden;overflow-y:auto}.cartList .list .item{margin-bottom:40rpx}.cartList .list .item .pictrue{width:176rpx;height:176rpx;border-radius:16rpx;position:relative}.cartList .list .item .pictrue image{width:100%;height:100%;border-radius:16rpx}.cartList .list .item .pictrue .mantle{position:absolute;top:0;left:0;width:100%;height:100%;background:hsla(0,0%,100%,.65);border-radius:16rpx}.cartList .list .item .txtPic{width:486rpx}.cartList .list .item .txtPic .name{font-size:28rpx;color:#282828}.cartList .list .item .txtPic .name.on{color:#a3a3a3}.cartList .list .item .txtPic .noBnt{width:126rpx;height:44rpx;background:#f2f2f2;border-radius:22rpx;text-align:center;line-height:44rpx;font-size:24rpx;color:#a3a3a3;margin-top:10rpx}.cartList .list .item .txtPic .delTxt{margin-top:48rpx;font-size:24rpx;color:#e93323}.cartList .list .item .txtPic .delTxt text{width:70rpx;height:50rpx;text-align:center;line-height:50rpx}.cartList .list .item .txtPic .info{font-size:23rpx;color:#989898;margin-top:5rpx}.cartList .list .item .txtPic .bottom{margin-top:11rpx}.cartList .list .item .txtPic .bottom .money{font-weight:700;font-size:26rpx;color:var(--view-priceColor)}.cartList .list .item .txtPic .bottom .money .num{font-size:34rpx}.cartList .list .item .txtPic .bottom .cartNum{font-weight:700}.cartList .list .item .txtPic .bottom .cartNum .num{font-size:34rpx;color:#282828;width:120rpx;text-align:center}.cartList .list .item .txtPic .bottom .cartNum .reduce{color:#282828;font-size:24rpx;width:60rpx;height:60rpx;text-align:center;line-height:60rpx}.cartList .list .item .txtPic .bottom .cartNum .plus{color:#282828;font-size:24rpx;width:60rpx;height:60rpx;text-align:center;line-height:60rpx}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/countDown/index"],{1154:function(t,e,n){"use strict";n.r(e);var u=n("888e"),a=n.n(u);for(var o in u)"default"!==o&&function(t){n.d(e,t,(function(){return u[t]}))}(o);e["default"]=a.a},"46a1":function(t,e,n){"use strict";n.r(e);var u=n("c03c"),a=n("1154");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("856b");var r,i=n("f0c5"),f=Object(i["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],r);e["default"]=f.exports},"856b":function(t,e,n){"use strict";var u=n("8e21"),a=n.n(u);a.a},"888e":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={name:"countDown",props:{justifyLeft:{type:String,default:""},tipText:{type:String,default:"倒计时"},dayText:{type:String,default:"天"},hourText:{type:String,default:"时"},minuteText:{type:String,default:"分"},secondText:{type:String,default:"秒"},datatime:{type:Number,default:0},isDay:{type:Boolean,default:!0},bgColor:{type:String,default:""},colors:{type:String,default:""}},data:function(){return{day:"00",hour:"00",minute:"00",second:"00"}},created:function(){this.show_time()},mounted:function(){},methods:{show_time:function(){var t=this;function e(){var e=t.datatime-Date.parse(new Date)/1e3,n=0,u=0,a=0,o=0;e>0?(n=!0===t.isDay?Math.floor(e/86400):0,u=Math.floor(e/3600)-24*n,a=Math.floor(e/60)-24*n*60-60*u,o=Math.floor(e)-24*n*60*60-60*u*60-60*a,u<=9&&(u="0"+u),a<=9&&(a="0"+a),o<=9&&(o="0"+o),t.day=n,t.hour=u,t.minute=a,t.second=o):(t.day="00",t.hour="00",t.minute="00",t.second="00")}e(),setInterval(e,1e3)}}};e.default=u},"8e21":function(t,e,n){},c03c:function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return u}));var a=function(){var t=this,e=t.$createElement;t._self._c},o=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/countDown/index-create-component',
|
||||
{
|
||||
'components/countDown/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("46a1"))
|
||||
})
|
||||
},
|
||||
[['components/countDown/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="time" style="{{(justifyLeft)}}"><block wx:if="{{tipText}}"><text class="red">{{tipText}}</text></block><block wx:if="{{isDay===true}}"><text class="styleAll" style="{{('background-color:'+bgColor+';color:'+colors+';')}}">{{day}}</text></block><block wx:if="{{dayText}}"><text class="timeTxt red">{{dayText}}</text></block><text class="styleAll" style="{{('background-color:'+bgColor+';color:'+colors+';')}}">{{hour}}</text><block wx:if="{{hourText}}"><text class="timeTxt red">{{hourText}}</text></block><text class="styleAll" style="{{('background-color:'+bgColor+';color:'+colors+';')}}">{{minute}}</text><block wx:if="{{minuteText}}"><text class="timeTxt red">{{minuteText}}</text></block><text class="styleAll" style="{{('background-color:'+bgColor+';color:'+colors+';')}}">{{second}}</text><block wx:if="{{secondText}}"><text class="timeTxt red">{{secondText}}</text></block></view>
|
||||
@ -1 +0,0 @@
|
||||
.time{display:flex;justify-content:center}.red{color:var(--view-theme);margin:0 4rpx}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/couponListWindow/index"],{"2c2c":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=e("d322"),o=e("989b"),c={props:{openType:{type:Number,default:0},coupon:{type:Object,default:function(){return{}}}},data:function(){return{imgHost:o.HTTP_REQUEST_URL,type:0}},methods:{close:function(){this.$emit("ChangCouponsClone"),this.type=0},getCouponUser:function(n,e){var o=this,c=o.coupon.list;if(c[n].is_use>=c[n].receive_limit&&0==this.openType)return!0;switch(this.openType){case 0:(0,u.setCouponReceive)(e).then((function(t){o.$emit("ChangCouponsUseState",n),o.$util.Tips({title:"领取成功"})})).catch((function(n){t.showToast({title:n,icon:"none"})}));break;case 1:o.$emit("ChangCoupons",n);break}},setType:function(t){this.type=t,this.$emit("tabCouponType",t)}}};n.default=c}).call(this,e("543d")["default"])},"2d72":function(t,n,e){"use strict";var u=e("792d"),o=e.n(u);o.a},"34ab":function(t,n,e){"use strict";e.r(n);var u=e("ef2c"),o=e("8424");for(var c in o)"default"!==c&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e("2d72");var i,l=e("f0c5"),s=Object(l["a"])(o["default"],u["b"],u["c"],!1,null,"05e31073",null,!1,u["a"],i);n["default"]=s.exports},"792d":function(t,n,e){},8424:function(t,n,e){"use strict";e.r(n);var u=e("2c2c"),o=e.n(u);for(var c in u)"default"!==c&&function(t){e.d(n,t,(function(){return u[t]}))}(c);n["default"]=o.a},ef2c:function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return u}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.coupon.count&&t.coupon.count[2]?t.$t("商品券"):null),u=t.coupon.count&&t.coupon.count[1]?t.$t("品类券"):null,o=t.coupon.count&&t.coupon.count[0]?t.$t("通用券"):null,c=t.coupon.count?null:t.$t("优惠券"),i=t.$t("¥"),l=t.coupon.list.length?t.__map(t.coupon.list,(function(n,e){var u=t.__get_orig(n),o=n.use_min_price>0?t.$t("满"):null,c=n.use_min_price>0?t.$t("元可用"):null,i=n.use_min_price>0?null:t.$t("无门槛券"),l=0===n.type?t.$t("通用券"):null,s=0!==n.type&&1===n.type?t.$t("品类券"):null,p=0!==n.type&&1!==n.type?t.$t("商品券"):null,r=t.$t(n.title),a=n.coupon_time?t.$t("领取后"):null,f=n.coupon_time?t.$t("天内可用"):null,m=t.coupon.count&&n.is_use>=n.receive_limit?n.use_title||t.$t("已领取"):null,d=!t.coupon.count||n.is_use>=n.receive_limit?null:t.coupon.statusTile||t.$t("立即领取");return{$orig:u,m5:o,m6:c,m7:i,m8:l,m9:s,m10:p,m11:r,m12:a,m13:f,m14:m,m15:d}})):null;t.$mp.data=Object.assign({},{$root:{m0:e,m1:u,m2:o,m3:c,m4:i,l0:l}})},c=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/couponListWindow/index-create-component',
|
||||
{
|
||||
'components/couponListWindow/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("34ab"))
|
||||
})
|
||||
},
|
||||
[['components/couponListWindow/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="data-v-05e31073"><view class="{{['coupon-list-window','data-v-05e31073',coupon.coupon==true?'on':'']}}"><block wx:if="{{coupon.count}}"><view class="nav acea-row row-around data-v-05e31073"><block wx:if="{{coupon.count[2]}}"><view data-event-opts="{{[['tap',[['setType',[2]]]]]}}" class="{{['data-v-05e31073','acea-row','row-middle',coupon.type===2?'on':'']}}" bindtap="__e">{{$root.m0}}</view></block><block wx:if="{{coupon.count[1]}}"><view data-event-opts="{{[['tap',[['setType',[1]]]]]}}" class="{{['data-v-05e31073','acea-row','row-middle',coupon.type===1?'on':'']}}" bindtap="__e">{{$root.m1}}</view></block><block wx:if="{{coupon.count[0]}}"><view data-event-opts="{{[['tap',[['setType',[0]]]]]}}" class="{{['data-v-05e31073','acea-row','row-middle',coupon.type===0?'on':'']}}" bindtap="__e">{{$root.m2}}</view></block></view></block><block wx:else><view class="title data-v-05e31073">{{$root.m3}}<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-05e31073" bindtap="__e"></text></view></block><block wx:if="{{coupon.count}}"><view class="occupy data-v-05e31073"></view></block><block wx:if="{{coupon.list.length}}"><view class="coupon-list data-v-05e31073"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getCouponUser',[index,'$0'],[[['coupon.list','',index,'id']]]]]]]}}" class="{{['item','acea-row','row-center-wrapper','data-v-05e31073',(item.$orig.receive_type===4)?'svip':'']}}" bindtap="__e"><view class="moneyCon acea-row row-center-wrapper data-v-05e31073"><view class="{{['money','acea-row','row-column','row-center-wrapper','data-v-05e31073',item.$orig.is_use>=item.$orig.receive_limit&&coupon.count?'moneyGray':'']}}"><view class="data-v-05e31073">{{$root.m4}}<text class="num data-v-05e31073">{{item.$orig.coupon_price}}</text></view><block wx:if="{{item.$orig.use_min_price>0}}"><view class="pic-num data-v-05e31073">{{''+item.m5+item.$orig.use_min_price+item.m6}}</view></block><block wx:else><view class="pic-num data-v-05e31073">{{item.m7}}</view></block></view></view><view class="text data-v-05e31073"><view class="{{['condition','line2','data-v-05e31073',coupon.count?'':'order']}}"><block wx:if="{{item.$orig.type===0}}"><label class="{{['line-title','_span','data-v-05e31073',item.$orig.is_use>=item.$orig.receive_limit&&coupon.count?'gray':'']}}">{{item.m8}}</label></block><block wx:else><block wx:if="{{item.$orig.type===1}}"><label class="{{['line-title','_span','data-v-05e31073',item.$orig.is_use>=item.$orig.receive_limit&&coupon.count?'gray':'']}}">{{item.m9}}</label></block><block wx:else><label class="{{['line-title','_span','data-v-05e31073',item.$orig.is_use>=item.$orig.receive_limit&&coupon.count?'gray':'']}}">{{item.m10}}</label></block></block><block wx:if="{{item.$orig.receive_type===4}}"><image class="pic data-v-05e31073" src="../../static/images/fvip.png"></image></block><label class="name _span data-v-05e31073">{{item.m11}}</label></view><view class="data acea-row row-between-wrapper data-v-05e31073"><block wx:if="{{item.$orig.coupon_time}}"><view class="data-v-05e31073">{{item.m12+item.$orig.coupon_time+item.m13}}</view></block><block wx:else><view class="data-v-05e31073">{{(item.$orig.start_use_time?item.$orig.start_use_time+"-":"")+item.$orig.end_use_time}}</view></block><block wx:if="{{coupon.count}}"><view class="data-v-05e31073"><block wx:if="{{item.$orig.is_use>=item.$orig.receive_limit}}"><view class="bnt gray data-v-05e31073">{{''+item.m14}}</view></block><block wx:else><view class="bnt bg-color data-v-05e31073">{{item.m15}}</view></block></view></block><block wx:else><view class="orderCou data-v-05e31073"><block wx:if="{{item.$orig.is_use}}"><view class="{{['iconfont','icon-xuanzhong11','data-v-05e31073',item.$orig.receive_type===4?'svip':'font-num']}}"></view></block><block wx:else><view class="iconfont icon-weixuan data-v-05e31073"></view></block></view></block></view></view></view></block></view></block><block wx:else><view class="pictrue data-v-05e31073"><image src="{{imgHost+'/statics/images/noCoupon.png'}}" class="data-v-05e31073"></image></view></block></view><view class="mask data-v-05e31073" catchtouchmove="true" hidden="{{coupon.coupon==false}}" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></view></view>
|
||||
@ -1 +0,0 @@
|
||||
.orderCou.data-v-05e31073{position:absolute;right:20rpx;top:50%;margin-top:-20rpx}.orderCou .iconfont.data-v-05e31073{font-size:40rpx}.orderCou .svip.data-v-05e31073{color:#edbb75}.coupon-list .item .text.data-v-05e31073{position:relative}.coupon-list .item .text .condition.order.data-v-05e31073{width:350rpx}.coupon-list-window .coupon-list .text .condition .pic.data-v-05e31073{width:30rpx;height:30rpx;margin-right:10rpx;vertical-align:middle}.coupon-list-window .coupon-list .text .condition .name.data-v-05e31073{vertical-align:middle;font-size:26rpx;font-weight:500}.coupon-list-window.data-v-05e31073{position:fixed;bottom:0;left:0;width:100%;background-color:#fff;border-radius:16rpx 16rpx 0 0;z-index:999;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.coupon-list-window.on.data-v-05e31073{-webkit-transform:translateZ(0);transform:translateZ(0)}.coupon-list-window .title.data-v-05e31073{height:124rpx;width:100%;text-align:center;line-height:124rpx;font-size:32rpx;font-weight:700;position:relative}.coupon-list-window .title .iconfont.data-v-05e31073{position:absolute;right:30rpx;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:35rpx;color:#8a8a8a;font-weight:400}.coupon-list-window .coupon-list.data-v-05e31073{margin:0 0 50rpx 0;height:721rpx;padding-top:28rpx;overflow:auto}.coupon-list-window .pictrue.data-v-05e31073{width:414rpx;height:336rpx;margin:192rpx auto 243rpx auto}.coupon-list-window .pictrue image.data-v-05e31073{width:100%;height:100%}.pic-num.data-v-05e31073{color:#fff;font-size:24rpx}.line-title.data-v-05e31073{width:70rpx;height:32rpx!important;padding:0 10rpx;line-height:30rpx;text-align:center;background:var(--view-minorColorT);border:1px solid var(--view-theme);opacity:1;border-radius:20rpx;font-size:18rpx;color:var(--view-theme);margin-right:12rpx;box-sizing:border-box}.line-title.gray.data-v-05e31073{border-color:#c1c1c1!important;color:#c1c1c1!important;background-color:#f7f7f7!important}.nav.data-v-05e31073{position:absolute;top:0;left:0;width:100%;height:106rpx;border-bottom:2rpx solid #f5f5f5;border-top-left-radius:16rpx;border-top-right-radius:16rpx;background-color:#fff;font-size:30rpx;color:#999}.nav .acea-row.data-v-05e31073{border-top:5rpx solid transparent;border-bottom:5rpx solid transparent}.nav .acea-row.on.data-v-05e31073{border-bottom-color:var(--view-theme);color:#282828}.nav .acea-row.data-v-05e31073:only-child{border-bottom-color:transparent}.occupy.data-v-05e31073{height:106rpx}.coupon-list .item.data-v-05e31073{margin-bottom:18rpx;box-shadow:0 2rpx 10rpx rgba(0,0,0,.06)}.coupon-list .item .money.data-v-05e31073{font-weight:400}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/couponWindow/index"],{4928:function(t,n,e){"use strict";e.r(n);var u=e("8c17"),o=e("90cc");for(var c in o)"default"!==c&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e("53cc");var r,i=e("f0c5"),a=Object(i["a"])(o["default"],u["b"],u["c"],!1,null,"0d8fc232",null,!1,u["a"],r);n["default"]=a.exports},"53cc":function(t,n,e){"use strict";var u=e("83f0"),o=e.n(u);o.a},"7c8d":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=c(e("66ca")),o=e("989b");function c(t){return t&&t.__esModule?t:{default:t}}var r={props:{window:{type:Boolean|String|Number,default:!1},couponList:{type:Array,default:function(){return[]}},couponImage:{type:String,default:""}},mixins:[u.default],data:function(){return{imgHost:o.HTTP_REQUEST_URL}},methods:{close:function(){this.$emit("onColse")}}};n.default=r},"83f0":function(t,n,e){},"8c17":function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return u}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.$t("¥")),u=t.$t("购物满"),o=t.$t("减"),c=t.__map(t.couponList,(function(n,e){var u=t.__get_orig(n),o=n.coupon_time?t.$t("领取后"):null,c=n.coupon_time?t.$t("天内可用"):null,r=n.coupon_time||0!==n.end_time?null:t.$t("不限时");return{$orig:u,m3:o,m4:c,m5:r}})),r=t.window?t.$t("立即领取"):null;t.$mp.data=Object.assign({},{$root:{m0:e,m1:u,m2:o,l0:c,m6:r}})},c=[]},"90cc":function(t,n,e){"use strict";e.r(n);var u=e("7c8d"),o=e.n(u);for(var c in u)"default"!==c&&function(t){e.d(n,t,(function(){return u[t]}))}(c);n["default"]=o.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/couponWindow/index-create-component',
|
||||
{
|
||||
'components/couponWindow/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("4928"))
|
||||
})
|
||||
},
|
||||
[['components/couponWindow/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view style="{{(colorStyle)}}" class="data-v-0d8fc232"><view class="{{['coupon-window','data-v-0d8fc232',window==true?'on':'']}}"><image class="co-bag data-v-0d8fc232" src="{{imgHost+'/statics/images/co-bag.png'}}" mode></image><view class="couponWinList data-v-0d8fc232"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-between-wrapper data-v-0d8fc232"><view class="money font-color data-v-0d8fc232">{{$root.m0}}<text class="num data-v-0d8fc232">{{item.$orig.coupon_price}}</text></view><view class="text data-v-0d8fc232"><view class="name data-v-0d8fc232">{{$root.m1+item.$orig.use_min_price+$root.m2+item.$orig.coupon_price}}</view><block wx:if="{{item.$orig.coupon_time}}"><view class="data-v-0d8fc232">{{item.m3+item.$orig.coupon_time+item.m4}}</view></block><block wx:else><view class="data-v-0d8fc232">{{''+(item.$orig.start_time?item.$orig.start_time+'-':'')+(item.$orig.end_time===0?item.m5:item.$orig.end_time)+''}}</view></block></view></view></block></view><view class="lid data-v-0d8fc232"><block wx:if="{{window}}"><navigator class="bnt data-v-0d8fc232" hover-class="none" url="/pages/users/user_get_coupon/index">{{$root.m6}}</navigator></block><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi3 data-v-0d8fc232" bindtap="__e"></view></view></view><view class="mask data-v-0d8fc232" catchtouchmove="true" hidden="{{window==false}}"></view></view>
|
||||
@ -1 +0,0 @@
|
||||
.mask.data-v-0d8fc232{z-index:9999}.coupon-window.data-v-0d8fc232{width:572rpx;height:760rpx;position:fixed;top:20%;z-index:10000;left:50%;margin-left:-286rpx;-webkit-transform:translate3d(0,-200%,0);transform:translate3d(0,-200%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9);border-radius:30rpx 30rpx 0 0;overflow-x:hidden}.co-bag.data-v-0d8fc232{width:100%;height:250rpx;z-index:33333;top:-40rpx;position:absolute}.coupon-window.data-v-0d8fc232:after{width:900rpx;height:650rpx;position:absolute;top:0;left:50%;z-index:11111;margin-left:-450rpx;content:"";border-radius:50% 50% 0 0;background:var(--view-theme)}.coupon-window.on.data-v-0d8fc232{-webkit-transform:translateZ(0);transform:translateZ(0)}.coupon-window .couponWinList.data-v-0d8fc232{width:480rpx;margin:157rpx 0 0 50rpx;height:340rpx;overflow-y:scroll}.coupon-window .couponWinList .item.data-v-0d8fc232{width:100%;height:120rpx;background-color:#fff;position:relative;margin-bottom:17rpx;position:relative;z-index:99999}.coupon-window .couponWinList .item .left.data-v-0d8fc232{border-right:1px dashed #ccc}.coupon-window .couponWinList .label.data-v-0d8fc232{width:28rpx;height:64rpx;display:block;position:absolute;top:0;right:12rpx}.coupon-window .couponWinList .item.data-v-0d8fc232::after{content:"";position:absolute;width:18rpx;height:18rpx;border-radius:50%;background-color:var(--view-theme);left:25.5%;bottom:0;margin-bottom:-9rpx}.coupon-window .couponWinList .item.data-v-0d8fc232::before{content:"";position:absolute;width:18rpx;height:18rpx;border-radius:50%;background-color:var(--view-theme);left:25.5%;top:0;margin-top:-9rpx}.coupon-window .couponWinList .item .money.data-v-0d8fc232{width:130rpx;text-align:center;font-size:26rpx;font-weight:700}.coupon-window .couponWinList .item .min_money.data-v-0d8fc232{color:#ccc;font-size:18rpx;text-align:center}.coupon-window .couponWinList .item .money .num.data-v-0d8fc232{font-size:40rpx}.coupon-window .couponWinList .item .text.data-v-0d8fc232{width:349rpx;font-size:22rpx;color:#ccc;padding:0 29rpx;box-sizing:border-box}.coupon-window .couponWinList .item .text .image.data-v-0d8fc232{width:32rpx;height:32rpx;display:inline-block;vertical-align:bottom;margin-right:10rpx}.coupon-window .couponWinList .item .text .name.data-v-0d8fc232{font-size:26rpx;color:var(--view-priceColor);font-weight:700;margin-bottom:9rpx;width:250rpx}.coupon-window .lid.data-v-0d8fc232{background:hsla(0,0%,100%,.2);width:582rpx;height:224rpx;position:fixed;z-index:22222;left:50%;top:0;margin:424rpx 0 0 -296rpx}.coupon-window .lid.data-v-0d8fc232:after{width:920rpx;height:280rpx;position:absolute;top:-100%;left:50%;z-index:22222;margin-left:-460rpx;content:"";border-radius:0 0 50% 50%;background:var(--view-theme)}.coupon-window .lid .bnt.data-v-0d8fc232{font-size:29rpx;width:440rpx;height:80rpx;border-radius:40rpx;background:linear-gradient(90deg,#ffca52,#fe960f);text-align:center;line-height:80rpx;font-weight:700;margin:98rpx auto 0 auto;color:#fff}.coupon-window .lid .iconfont.data-v-0d8fc232{color:#fff;font-size:60rpx;text-align:center;margin-top:87rpx}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cusPreviewImg/index"],{9328:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={name:"cusPreviewImg",props:{list:{type:Array,required:!0,default:function(){return[]}},circular:{type:Boolean,default:!0},duration:{type:Number,default:500}},data:function(){return{currentIndex:0,showBox:!1}},watch:{list:function(t){}},methods:{changeSwiper:function(t){this.currentIndex=t.target.current,this.$emit("changeSwitch",t.target.current)},open:function(t){t&&this.list.length&&(this.currentIndex=this.list.map((function(t){return t.suk})).indexOf(t),this.showBox=!0)},close:function(){this.showBox=!1},shareFriend:function(){this.$emit("shareFriend")}}};n.default=r},9415:function(t,n,e){"use strict";var r;e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return r}));var u=function(){var t=this,n=t.$createElement,e=(t._self._c,t.$t("¥")),r=t.showBox&&t.list.length>0?Number(t.currentIndex):null;t.$mp.data=Object.assign({},{$root:{m0:e,m1:r}})},i=[]},b5bf:function(t,n,e){"use strict";e.r(n);var r=e("9328"),u=e.n(r);for(var i in r)"default"!==i&&function(t){e.d(n,t,(function(){return r[t]}))}(i);n["default"]=u.a},b858:function(t,n,e){"use strict";e.r(n);var r=e("9415"),u=e("b5bf");for(var i in u)"default"!==i&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("d6cf");var c,a=e("f0c5"),o=Object(a["a"])(u["default"],r["b"],r["c"],!1,null,"e85d3508",null,!1,r["a"],c);n["default"]=o.exports},d6cf:function(t,n,e){"use strict";var r=e("fa39"),u=e.n(r);u.a},fa39:function(t,n,e){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/cusPreviewImg/index-create-component',
|
||||
{
|
||||
'components/cusPreviewImg/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("b858"))
|
||||
})
|
||||
},
|
||||
[['components/cusPreviewImg/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<block wx:if="{{showBox}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="previewImg data-v-e85d3508" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="mask data-v-e85d3508" bindtap="__e"><swiper class="mask-swiper data-v-e85d3508" current="{{currentIndex}}" circular="{{circular}}" duration="{{duration}}" data-event-opts="{{[['change',[['changeSwiper',['$event']]]]]}}" bindchange="__e"><block wx:for="{{list}}" wx:for-item="src" wx:for-index="i" wx:key="i"><swiper-item class="flex flex-column justify-center align-center data-v-e85d3508"><image class="mask-swiper-img data-v-e85d3508" src="{{src.image}}" mode="widthFix"></image><view class="mask_sku data-v-e85d3508"><text class="sku_name data-v-e85d3508">{{src.suk}}</text><text class="sku_price data-v-e85d3508">{{$root.m0+src.price}}</text></view></swiper-item></block></swiper></view><block wx:if="{{list.length>0}}"><view class="pagebox data-v-e85d3508">{{$root.m1+1+" / "+list.length}}</view></block></view></block>
|
||||
@ -1 +0,0 @@
|
||||
.previewImg.data-v-e85d3508{position:fixed;top:0;left:0;z-index:300;width:100%;height:100%}.previewImg .mask.data-v-e85d3508{display:flex;justify-content:center;align-items:center;background-color:#000;opacity:1;z-index:8;width:100%;height:100%}.previewImg .mask-swiper.data-v-e85d3508{width:100%;height:100%}.previewImg .mask-swiper-img.data-v-e85d3508{width:100%}.previewImg .pagebox.data-v-e85d3508{position:absolute;width:100%;bottom:20rpx;z-index:300;color:#fff;text-align:center}.mask_sku.data-v-e85d3508{color:#fff;max-width:80%;z-index:300;text-align:center;display:flex;flex-direction:column;align-items:center;margin-top:30rpx}.mask_sku .sku_name.data-v-e85d3508{font-size:12px;border:1px solid #fff;padding:10rpx 30rpx 10rpx;border-radius:40px;box-sizing:border-box}.mask_sku .sku_price.data-v-e85d3508{padding-top:10px}.font12.data-v-e85d3508{font-size:24rpx}.share_btn.data-v-e85d3508{position:absolute;top:70rpx;right:50rpx;font-size:40rpx;color:#fff;z-index:300}.flex-column.data-v-e85d3508{flex-direction:column}.justify-center.data-v-e85d3508{justify-content:center}.align-center.data-v-e85d3508{align-items:center}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/d_goodList/index"],{"7c90":function(t,i,a){},"7ffb":function(t,i,a){"use strict";var n;a.d(i,"b",(function(){return e})),a.d(i,"c",(function(){return c})),a.d(i,"a",(function(){return n}));var e=function(){var t=this,i=t.$createElement,a=(t._self._c,t.$t("¥")),n=t.$t("已售"),e=t.__map(t.tempArr,(function(i,a){var n=t.__get_orig(i),e=i.activity&&"1"===i.activity.type?t.$t("秒杀"):null,c=i.activity&&"2"===i.activity.type?t.$t("砍价"):null,u=i.activity&&"3"===i.activity.type?t.$t("拼团"):null,o=i.stock>0&&(i.activity&&("1"===i.activity.type||"2"===i.activity.type||"3"===i.activity.type)||i.is_virtual||!i.cart_button)?t.$t("立即购买"):null,r=i.stock>0&&(!i.activity||"1"!==i.activity.type&&"2"!==i.activity.type&&"3"!==i.activity.type)&&!i.is_virtual&&i.cart_button&&i.spec_type?t.$t("加入购物车"):null,d=i.stock>0&&(!i.activity||"1"!==i.activity.type&&"2"!==i.activity.type&&"3"!==i.activity.type)&&!i.is_virtual&&i.cart_button&&!i.spec_type&&!i.cart_num?t.$t("加入购物车"):null,f=i.stock>0?null:t.$t("已售罄");return{$orig:n,m0:e,m1:c,m2:u,m5:o,m6:r,m7:d,m8:f}}));t.$mp.data=Object.assign({},{$root:{m3:a,m4:n,l0:e}})},c=[]},8058:function(t,i,a){"use strict";a.r(i);var n=a("7ffb"),e=a("d3da");for(var c in e)"default"!==c&&function(t){a.d(i,t,(function(){return e[t]}))}(c);a("af70");var u,o=a("f0c5"),r=Object(o["a"])(e["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],u);i["default"]=r.exports},aa35:function(t,i,a){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={name:"d_goodList",props:{dataConfig:{type:Object,default:function(){}},tempArr:{type:Array,default:[]},isLogin:{type:Boolean,default:!1}},data:function(){return{addIng:!1}},created:function(){},mounted:function(){},methods:{goDetail:function(t){this.$emit("detail",t)},goCartDuo:function(t){this.$emit("gocartduo",t)},goCartDan:function(t,i){this.$emit("gocartdan",t,i)},CartNumDes:function(t,i){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!1,t,i))},CartNumAdd:function(t,i){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!0,t,i))}}};i.default=n},af70:function(t,i,a){"use strict";var n=a("7c90"),e=a.n(n);e.a},d3da:function(t,i,a){"use strict";a.r(i);var n=a("aa35"),e=a.n(n);for(var c in n)"default"!==c&&function(t){a.d(i,t,(function(){return n[t]}))}(c);i["default"]=e.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/d_goodList/index-create-component',
|
||||
{
|
||||
'components/d_goodList/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("8058"))
|
||||
})
|
||||
},
|
||||
[['components/d_goodList/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="goodsList"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['tempArr','',index]]]]]]]}}" class="item" bindtap="__e"><view class="pictrue"><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='1'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m0}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='2'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m1}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='3'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m2}}</label></block><block wx:if="{{item.$orig.recommend_image}}"><image src="{{item.$orig.recommend_image}}" mode></image></block><block wx:else><image src="{{item.$orig.image}}" mode></image></block></view><view class="text line2">{{item.$orig.store_name}}</view><view class="bottom acea-row row-between-wrapper"><view class="sales acea-row row-middle"><view class="money font-color"><text>{{$root.m3}}</text>{{item.$orig.price}}</view><view>{{$root.m4+item.$orig.sales}}</view></view><block wx:if="{{item.$orig.stock>0}}"><view><block wx:if="{{item.$orig.activity&&(item.$orig.activity.type==='1'||item.$orig.activity.type==='2'||item.$orig.activity.type==='3')||item.$orig.is_virtual||!item.$orig.cart_button}}"><view class="bnt">{{''+item.m5}}</view></block><block wx:else><view><block wx:if="{{item.$orig.spec_type}}"><view data-event-opts="{{[['tap',[['goCartDuo',['$0'],[[['tempArr','',index]]]]]]]}}" class="bnt" catchtap="__e">{{''+item.m6+''}}<block wx:if="{{isLogin&&item.$orig.cart_num}}"><view class="num">{{item.$orig.cart_num}}</view></block></view></block><block wx:if="{{!item.$orig.spec_type&&!item.$orig.cart_num}}"><view data-event-opts="{{[['tap',[['goCartDan',['$0',index],[[['tempArr','',index]]]]]]]}}" class="bnt" catchtap="__e">{{''+item.m7}}</view></block><block wx:if="{{!item.$orig.spec_type&&item.$orig.cart_num}}"><view class="cart acea-row row-middle"><view data-event-opts="{{[['tap',[['CartNumDes',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="pictrue iconfont icon-jianhao" catchtap="__e"></view><view class="num">{{item.$orig.cart_num}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="pictrue iconfont icon-jiahao" catchtap="__e"></view></view></block></view></block></view></block><block wx:else><view class="bnt end">{{item.m8}}</view></block></view></view></block></view>
|
||||
@ -1 +0,0 @@
|
||||
.goodsList{padding:0 30rpx}.goodsList .item{width:100%;box-sizing:border-box;margin-bottom:63rpx}.goodsList .item .pictrue{width:100%;height:290rpx;border-radius:16rpx;position:relative}.goodsList .item .pictrue image{width:100%;height:100%;border-radius:10rpx}.goodsList .item .text{font-size:30rpx;font-family:PingFang SC;font-weight:700;color:#282828;margin:20rpx 0}.goodsList .item .bottom .sales{font-size:22rpx;color:#8e8e8e}.goodsList .item .bottom .sales .money{font-size:42rpx;font-weight:700;margin-right:18rpx}.goodsList .item .bottom .sales .money text{font-size:28rpx}.goodsList .item .bottom .cart{height:56rpx}.goodsList .item .bottom .cart .pictrue{color:var(--view-theme);font-size:46rpx;width:50rpx;height:50rpx;text-align:center;line-height:50rpx}.goodsList .item .bottom .cart .num{font-size:30rpx;color:#282828;font-weight:700;width:80rpx;text-align:center}.goodsList .item .bottom .bnt{padding:0 30rpx;height:56rpx;line-height:56rpx;background:var(--view-theme);border-radius:42rpx;font-size:26rpx;color:#fff;position:relative}.goodsList .item .bottom .bnt.end{background:#cbcbcb}.goodsList .item .bottom .bnt .num{background-color:var(--view-priceColor);min-width:12rpx;color:#fff;border-radius:15px;position:absolute;right:-14rpx;top:-15rpx;font-size:22rpx;padding:0 10rpx;height:34rpx;line-height:34rpx}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/easy-loadimage/easy-loadimage"],{"131c":function(t,n,o){},"4f09":function(t,n,o){"use strict";var e;o.d(n,"b",(function(){return r})),o.d(n,"c",(function(){return i})),o.d(n,"a",(function(){return e}));var r=function(){var t=this,n=t.$createElement;t._self._c},i=[]},6854:function(t,n,o){"use strict";var e=o("131c"),r=o.n(e);r.a},9362:function(t,n,o){"use strict";o.r(n);var e=o("4f09"),r=o("f1c3");for(var i in r)"default"!==i&&function(t){o.d(n,t,(function(){return r[t]}))}(i);o("6854");var a,c=o("f0c5"),u=Object(c["a"])(r["default"],e["b"],e["c"],!1,null,"11fad8c7",null,!1,e["a"],a);n["default"]=u.exports},ed6b:function(t,n,o){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=o("77d3");function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=16*Math.random()|0,o="x"==t?n:3&n|8;return o.toString(16)}))}var i={props:{imageSrc:{type:String,default:""},mode:{type:String,default:""},loadingMode:{type:String,default:"looming-gray"},openTransition:{type:Boolean,default:!0},viewHeight:{type:Number,default:function(){return t.getSystemInfoSync().windowHeight}}},data:function(){var n=this;return{uid:"uid-"+r(),loadImg:!1,showImg:!1,isLoadError:!1,showTransition:!1,scrollFn:(0,e.throttle)((function(){if(!n.loadImg&&!n.isLoadError){var o=n.uid,e=t.createSelectorQuery().in(n);e.select("#"+o).boundingClientRect((function(t){t&&t.top-n.viewHeight<0&&(n.loadImg=!!n.imageSrc,n.isLoadError=!n.loadImg)})).exec()}}),200)}},methods:{init:function(){this.$nextTick(this.onScroll)},handleImgLoad:function(t){var n=this;this.showImg=!0,setTimeout((function(){n.showTransition=!0}),50)},handleImgError:function(t){this.isLoadError=!0},onScroll:function(){this.scrollFn()}},mounted:function(){this.init(),t.$on("scroll",this.scrollFn),this.onScroll()},beforeDestroy:function(){t.$off("scroll",this.scrollFn)}};n.default=i}).call(this,o("543d")["default"])},f1c3:function(t,n,o){"use strict";o.r(n);var e=o("ed6b"),r=o.n(e);for(var i in e)"default"!==i&&function(t){o.d(n,t,(function(){return e[t]}))}(i);n["default"]=r.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/easy-loadimage/easy-loadimage-create-component',
|
||||
{
|
||||
'components/easy-loadimage/easy-loadimage-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("9362"))
|
||||
})
|
||||
},
|
||||
[['components/easy-loadimage/easy-loadimage-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="easy-loadimage data-v-11fad8c7" id="{{uid}}"><block wx:if="{{loadImg&&!isLoadError}}"><image hidden="{{!(showImg)}}" class="{{['origin-img','data-v-11fad8c7',(!openTransition)?'no-transition':'',(showTransition&&openTransition)?'show-transition':'']}}" src="{{imageSrc}}" mode="aspectFill" data-event-opts="{{[['load',[['handleImgLoad',['$event']]]],['error',[['handleImgError',['$event']]]]]}}" bindload="__e" binderror="__e"></image></block><block wx:else><block wx:if="{{isLoadError}}"><view class="loadfail-img data-v-11fad8c7"></view></block></block><view hidden="{{!(!showImg&&!isLoadError)}}" class="{{['data-v-11fad8c7','loading-img','spin-circle',loadingMode]}}"></view></view>
|
||||
File diff suppressed because one or more lines are too long
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/eidtUserModal/index"],{3158:function(t,a,n){},"953d":function(t,a,n){"use strict";var e=n("9f28"),i=n.n(e);i.a},"9cfa6":function(t,a,n){"use strict";(function(t){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e=u(n("66ca")),i=(u(n("ebdf")),n("8ba8"));function u(t){return t&&t.__esModule?t:{default:t}}var c={mixins:[e.default],props:{isShow:{type:Boolean,default:!1}},data:function(){return{defHead:n("f77a"),mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,userInfo:{avatar:"",nickname:""},mpData:t.getStorageSync("copyRight"),canvasStatus:!1}},mounted:function(){},methods:{uploadpic:function(){var t=this,a=this;this.canvasStatus=!0,a.$util.uploadImageChange("upload/image",(function(n){var e=a.userInfo;void 0!==e&&(a.userInfo.avatar=n.data.url),t.canvasStatus=!1}),(function(a){t.canvasStatus=!1}),(function(a){t.canvasWidth=a.w,t.canvasHeight=a.h}))},onChooseAvatar:function(t){var a=this,n=t.detail.avatarUrl;this.$util.uploadImgs("upload/image",n,(function(t){a.userInfo.avatar=t.data.url}),(function(t){}))},closeAttr:function(){this.$emit("closeEdit")},formSubmit:function(t){var a=this,n=this;return this.userInfo.avatar?t.detail.value.nickname?(this.userInfo.nickname=t.detail.value.nickname,void(0,i.userEdit)(this.userInfo).then((function(t){return a.$emit("editSuccess"),n.$util.Tips({title:t.msg,icon:"success"},{tab:3})})).catch((function(t){return n.$util.Tips({title:t||n.$t("保存失败")},{tab:3,url:1})}))):n.$util.Tips({title:n.$t("请输入昵称")}):n.$util.Tips({title:n.$t("请上传头像")})}}};a.default=c}).call(this,n("543d")["default"])},"9f28":function(t,a,n){},a471:function(t,a,n){"use strict";var e;n.d(a,"b",(function(){return i})),n.d(a,"c",(function(){return u})),n.d(a,"a",(function(){return e}));var i=function(){var t=this,a=t.$createElement,n=(t._self._c,t.$t("获取您的昵称、头像")),e=t.$t("提供具有辨识度的用户中心界面"),i=t.$t("头像"),u=t.$t("昵称"),c=t.$t("请输入昵称"),o=t.$t("保存");t.$mp.data=Object.assign({},{$root:{m0:n,m1:e,m2:i,m3:u,m4:c,m5:o}})},u=[]},b326:function(t,a,n){"use strict";n.r(a);var e=n("a471"),i=n("eae4");for(var u in i)"default"!==u&&function(t){n.d(a,t,(function(){return i[t]}))}(u);n("c580"),n("953d");var c,o=n("f0c5"),r=Object(o["a"])(i["default"],e["b"],e["c"],!1,null,"7192451d",null,!1,e["a"],c);a["default"]=r.exports},c580:function(t,a,n){"use strict";var e=n("3158"),i=n.n(e);i.a},eae4:function(t,a,n){"use strict";n.r(a);var e=n("9cfa6"),i=n.n(e);for(var u in e)"default"!==u&&function(t){n.d(a,t,(function(){return e[t]}))}(u);a["default"]=i.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/eidtUserModal/index-create-component',
|
||||
{
|
||||
'components/eidtUserModal/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("b326"))
|
||||
})
|
||||
},
|
||||
[['components/eidtUserModal/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view style="{{(colorStyle)}}" class="data-v-7192451d"><view class="{{['product-window','data-v-7192451d',(isShow)?'on':'']}}"><view data-event-opts="{{[['tap',[['closeAttr',['$event']]]]]}}" class="iconfont icon-guanbi data-v-7192451d" bindtap="__e"></view><view class="mp-data data-v-7192451d"><image src="{{mpData.siteLogo}}" mode class="data-v-7192451d"></image><text class="mp-name data-v-7192451d">{{mpData.siteName+" 申请"}}</text></view><view class="trip-msg data-v-7192451d"><view class="title data-v-7192451d">{{''+$root.m0+''}}</view><view class="trip data-v-7192451d">{{''+$root.m1+''}}</view></view><form data-event-opts="{{[['submit',[['formSubmit',['$event']]]]]}}" bindsubmit="__e" class="data-v-7192451d"><view class="edit data-v-7192451d"><view class="avatar edit-box data-v-7192451d"><view class="left data-v-7192451d"><view class="head data-v-7192451d">{{$root.m2}}</view><block wx:if="{{!mp_is_new}}"><view data-event-opts="{{[['tap',[['uploadpic',['$event']]]]]}}" class="avatar-box data-v-7192451d" catchtap="__e"><image src="{{userInfo.avatar||defHead}}" class="data-v-7192451d"></image></view></block><block wx:else><button class="avatar-box data-v-7192451d" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image src="{{userInfo.avatar||defHead}}" class="data-v-7192451d"></image></button></block></view></view><view class="nickname edit-box data-v-7192451d"><view class="left data-v-7192451d"><view class="head data-v-7192451d">{{$root.m3}}</view><view class="input data-v-7192451d"><input type="nickname" placeholder-class="pl-sty" placeholder="{{$root.m4}}" name="nickname" maxlength="{{16}}" value="{{userInfo.nickname}}" class="data-v-7192451d"/></view></view></view></view><view class="bottom data-v-7192451d"><button class="{{['save','data-v-7192451d',(userInfo.avatar)?'open':'']}}" formType="submit">{{''+$root.m5+''}}</button></view></form></view><block wx:if="{{canvasStatus}}"><canvas style="{{'width:'+(canvasWidth+'px')+';'+('height:'+(canvasHeight+'px')+';')+('position:'+('absolute')+';')+('left:'+('-100000px')+';')+('top:'+('-100000px')+';')}}" canvas-id="canvas" class="data-v-7192451d"></canvas></block><block wx:if="{{isShow}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeAttr',['$event']]]]]}}" class="mask data-v-7192451d" bindtouchmove="__e" bindtap="__e"></view></block></view>
|
||||
@ -1 +0,0 @@
|
||||
.pl-sty{color:#999;font-size:30rpx}.product-window.on.data-v-7192451d{-webkit-transform:translateZ(0);transform:translateZ(0)}.mask.data-v-7192451d{z-index:99}.product-window.data-v-7192451d{position:fixed;bottom:0;width:100%;left:0;background-color:#fff;z-index:1000;border-radius:20rpx 20rpx 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9);padding:38rpx 40rpx;padding-bottom:80rpx;padding-bottom:calc(80rpx+ constant(safe-area-inset-bottom));padding-bottom:calc(80rpx + env(safe-area-inset-bottom))}.product-window .icon-guanbi.data-v-7192451d{position:absolute;top:40rpx;right:40rpx;font-size:24rpx;font-weight:700;color:#999}.product-window .mp-data.data-v-7192451d{display:flex;align-items:center;margin-bottom:30rpx}.product-window .mp-data .mp-name.data-v-7192451d{font-size:28rpx;font-weight:700;color:#000}.product-window .mp-data image.data-v-7192451d{width:48rpx;height:48rpx;border-radius:50%;margin-right:16rpx}.product-window .trip-msg.data-v-7192451d{padding-bottom:32rpx;border-bottom:1px solid #f5f5f5}.product-window .trip-msg .title.data-v-7192451d{font-size:30rpx;font-weight:700;color:#000;margin-bottom:6rpx}.product-window .trip-msg .trip.data-v-7192451d{font-size:26rpx;color:#777}.product-window .edit.data-v-7192451d{border-bottom:1px solid #f5f5f5}.product-window .edit .avatar.data-v-7192451d{border-bottom:1px solid #f5f5f5}.product-window .edit .nickname .input.data-v-7192451d{width:100%}.product-window .edit .nickname input.data-v-7192451d{height:80rpx}.product-window .edit .edit-box.data-v-7192451d{display:flex;justify-content:space-between;align-items:center;font-size:30rpx;padding:22rpx 0}.product-window .edit .edit-box .left.data-v-7192451d{display:flex;align-items:center;flex:1}.product-window .edit .edit-box .left .head.data-v-7192451d{color:rgba(0,0,0,.9);white-space:nowrap;margin-right:60rpx}.product-window .edit .edit-box .left button.data-v-7192451d{flex:1;display:flex;align-items:center}.product-window .edit .edit-box image.data-v-7192451d{width:80rpx;height:80rpx;border-radius:6rpx}.product-window .edit .icon-xiangyou.data-v-7192451d{color:#cfcfcf}.product-window .bottom.data-v-7192451d{display:flex;align-items:center;justify-content:center}.product-window .bottom .save.data-v-7192451d{border:1px solid #f5f5f5;display:flex;align-items:center;justify-content:center;width:368rpx;height:80rpx;border-radius:12rpx;margin-top:52rpx;background-color:#f5f5f5;color:#ccc;font-size:30rpx;font-weight:700}.product-window .bottom .save.open.data-v-7192451d{border:1px solid #fff;background-color:#07c160;color:#fff}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/emptyPage"],{"0204":function(t,n,e){"use strict";e.r(n);var u=e("1713"),a=e.n(u);for(var r in u)"default"!==r&&function(t){e.d(n,t,(function(){return u[t]}))}(r);n["default"]=a.a},1713:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=e("989b"),a={props:{title:{type:String,default:""}},data:function(){return{imgHost:u.HTTP_REQUEST_URL}}};n.default=a},"2baa":function(t,n,e){"use strict";e.r(n);var u=e("95b4"),a=e("0204");for(var r in a)"default"!==r&&function(t){e.d(n,t,(function(){return a[t]}))}(r);e("b47a");var c,o=e("f0c5"),f=Object(o["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],c);n["default"]=f.exports},"95b4":function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return u}));var a=function(){var t=this,n=t.$createElement,e=(t._self._c,t.title||t.$t("暂无记录"));t.$mp.data=Object.assign({},{$root:{m0:e}})},r=[]},b47a:function(t,n,e){"use strict";var u=e("f730"),a=e.n(u);a.a},f730:function(t,n,e){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/emptyPage-create-component',
|
||||
{
|
||||
'components/emptyPage-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("2baa"))
|
||||
})
|
||||
},
|
||||
[['components/emptyPage-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="empty-box"><image src="{{imgHost+'/statics/images/empty-box.png'}}"></image><view class="txt">{{$root.m0}}</view></view>
|
||||
@ -1 +0,0 @@
|
||||
.empty-box{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:200rpx}.empty-box image{width:414rpx;height:240rpx}.empty-box .txt{font-size:26rpx;color:#999}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/goodClass/index"],{1300:function(t,n,a){"use strict";a.r(n);var e=a("b2a1"),i=a("50ee");for(var u in i)"default"!==u&&function(t){a.d(n,t,(function(){return i[t]}))}(u);a("5317");var o,c=a("f0c5"),r=Object(c["a"])(i["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],o);n["default"]=r.exports},"2f15":function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"d_goodList",props:{dataConfig:{type:Object,default:function(){}},tempArr:{type:Array,default:[]},isLogin:{type:Boolean,default:!1}},data:function(){return{addIng:!1}},created:function(){},mounted:function(){},methods:{goDetail:function(t){this.$emit("detail",t)},goCartDuo:function(t){this.$emit("gocartduo",t)},goCartDan:function(t,n){this.$emit("gocartdan",t,n)},CartNumDes:function(t,n){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!1,t,n))},CartNumAdd:function(t,n){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!0,t,n))}}};n.default=e},"50ee":function(t,n,a){"use strict";a.r(n);var e=a("2f15"),i=a.n(e);for(var u in e)"default"!==u&&function(t){a.d(n,t,(function(){return e[t]}))}(u);n["default"]=i.a},5317:function(t,n,a){"use strict";var e=a("e685"),i=a.n(e);i.a},b2a1:function(t,n,a){"use strict";var e;a.d(n,"b",(function(){return i})),a.d(n,"c",(function(){return u})),a.d(n,"a",(function(){return e}));var i=function(){var t=this,n=t.$createElement,a=(t._self._c,t.$t("¥")),e=t.__map(t.tempArr,(function(n,a){var e=t.__get_orig(n),i=n.activity&&"1"===n.activity.type?t.$t("秒杀"):null,u=n.activity&&"2"===n.activity.type?t.$t("砍价"):null,o=n.activity&&"3"===n.activity.type?t.$t("拼团"):null,c=n.stock>0&&(!n.activity||"1"!==n.activity.type&&"2"!==n.activity.type&&"3"!==n.activity.type)&&n.spec_type?t.$t("选规格"):null,r=n.stock>0?null:t.$t("已售罄");return{$orig:e,m0:i,m1:u,m2:o,m4:c,m5:r}}));t.$mp.data=Object.assign({},{$root:{m3:a,l0:e}})},u=[]},e685:function(t,n,a){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/goodClass/index-create-component',
|
||||
{
|
||||
'components/goodClass/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("1300"))
|
||||
})
|
||||
},
|
||||
[['components/goodClass/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="goodsList"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['tempArr','',index]]]]]]]}}" class="item acea-row row-between-wrapper" bindtap="__e"><view class="pictrue"><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='1'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m0}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='2'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m1}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='3'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m2}}</label></block><image src="{{item.$orig.image}}" mode></image></view><view class="pictxt"><view class="text line2">{{item.$orig.store_name}}</view><view class="bottom acea-row row-between-wrapper"><view class="money font-color"><text class="sign">{{$root.m3}}</text>{{item.$orig.price+''}}</view><block wx:if="{{item.$orig.stock>0}}"><view><block wx:if="{{item.$orig.activity&&(item.$orig.activity.type==='1'||item.$orig.activity.type==='2'||item.$orig.activity.type==='3')}}"><view class="iconfont icon-gouwuche6 acea-row row-center-wrapper"></view></block><block wx:else><view><block wx:if="{{item.$orig.spec_type}}"><view data-event-opts="{{[['tap',[['goCartDuo',['$0'],[[['tempArr','',index]]]]]]]}}" class="bnt acea-row row-center-wrapper" catchtap="__e">{{''+item.m4+''}}<block wx:if="{{isLogin&&item.$orig.cart_num}}"><text class="num">{{item.$orig.cart_num}}</text></block></view></block><block wx:if="{{!item.$orig.spec_type&&!item.$orig.cart_num}}"><view data-event-opts="{{[['tap',[['goCartDan',['$0',index],[[['tempArr','',index]]]]]]]}}" class="iconfont icon-gouwuche6 acea-row row-center-wrapper" catchtap="__e"></view></block><block wx:if="{{!item.$orig.spec_type&&item.$orig.cart_num}}"><view class="cart acea-row row-middle"><view data-event-opts="{{[['tap',[['CartNumDes',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="pictrue iconfont icon-jianhao acea-row row-center-wrapper" catchtap="__e"></view><view class="num">{{item.$orig.cart_num}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="pictrue iconfont icon-jiahao acea-row row-center-wrapper" catchtap="__e"></view></view></block></view></block></view></block><block wx:else><view class="bnt acea-row row-center-wrapper end">{{item.m5}}</view></block></view></view></view></block></view>
|
||||
@ -1 +0,0 @@
|
||||
.goodsList{padding:0 30rpx}.goodsList .item{width:100%;box-sizing:border-box;margin-bottom:63rpx}.goodsList .item .pictrue{width:140rpx;height:140rpx;border-radius:10rpx;position:relative;border-radius:22rpx}.goodsList .item .pictrue image{width:100%;height:100%;border-radius:22rpx}.goodsList .item .pictxt{width:372rpx}.goodsList .item .pictxt .text{font-size:26rpx;font-family:PingFang SC;font-weight:500;color:#333}.goodsList .item .pictxt .bottom{margin-top:22rpx}.goodsList .item .pictxt .bottom .money{font-size:34rpx;font-weight:800}.goodsList .item .pictxt .bottom .money .sign{font-size:24rpx}.goodsList .item .pictxt .bottom .money .y_money{font-size:20rpx;color:#999;margin-left:14rpx;font-weight:400;text-decoration:line-through}.goodsList .item .pictxt .bottom .money .vip{font-size:22rpx;color:#333;font-weight:400;margin-left:14rpx}.goodsList .item .pictxt .bottom .money .vip image{width:38rpx;height:18rpx;margin-right:6rpx}.goodsList .item .pictxt .bottom .cart{height:46rpx}.goodsList .item .pictxt .bottom .cart .pictrue{color:var(--view-theme);font-size:46rpx;width:46rpx;height:46rpx;text-align:center;line-height:46rpx}.goodsList .item .pictxt .bottom .cart .pictrue.icon-jiahao{color:var(--view-theme)}.goodsList .item .pictxt .bottom .cart .num{font-size:30rpx;color:#333;font-weight:700;width:60rpx;text-align:center}.goodsList .item .pictxt .bottom .icon-gouwuche6{width:46rpx;height:46rpx;background-color:var(--view-theme);border-radius:50%;color:#fff;font-size:30rpx}.goodsList .item .pictxt .bottom .bnt{padding:0 20rpx;height:45rpx;background:var(--view-theme);border-radius:23rpx;font-size:22rpx;color:#fff;position:relative}.goodsList .item .pictxt .bottom .bnt.end{background:#ccc}.goodsList .item .pictxt .bottom .bnt .num{min-width:14rpx;background-color:#fff;color:var(--view-theme);border-radius:15px;position:absolute;right:-13rpx;top:-11rpx;font-size:16rpx;padding:0 10rpx;border:1px solid var(--view-theme)}
|
||||
@ -1,10 +0,0 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/goodList/index"],{2240:function(t,i,n){"use strict";var e;n.d(i,"b",(function(){return u})),n.d(i,"c",(function(){return a})),n.d(i,"a",(function(){return e}));var u=function(){var t=this,i=t.$createElement,n=(t._self._c,t.$t("¥")),e=t.__map(t.bastList,(function(i,n){var e=t.__get_orig(i),u=i.activity&&"1"===i.activity.type?t.$t("秒杀"):null,a=i.activity&&"2"===i.activity.type?t.$t("砍价"):null,r=i.activity&&"3"===i.activity.type?t.$t("拼团"):null,c=i.is_vip&&i.vip_price&&i.vip_price>0?t.$t("¥"):null,o=i.is_vip&&i.vip_price&&i.vip_price>0?t.$t("已售"):null,p=i.is_vip&&i.vip_price&&i.vip_price>0?t.$t(i.unit_name):null,l=i.is_vip&&i.vip_price&&i.vip_price>0?null:t.$t("已售"),f=i.is_vip&&i.vip_price&&i.vip_price>0?null:t.$t(i.unit_name);return{$orig:e,m0:u,m1:a,m2:r,m4:c,m5:o,m6:p,m7:l,m8:f}}));t.$mp.data=Object.assign({},{$root:{m3:n,l0:e}})},a=[]},"42a9":function(t,i,n){"use strict";n.r(i);var e=n("807d"),u=n.n(e);for(var a in e)"default"!==a&&function(t){n.d(i,t,(function(){return e[t]}))}(a);i["default"]=u.a},"73b9":function(t,i,n){"use strict";var e=n("e6ff"),u=n.n(e);u.a},"807d":function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=n("26cb"),u=n("2c78"),a={computed:(0,e.mapGetters)(["uid"]),props:{status:{type:Number,default:0},bastList:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{goDetail:function(i){var n=this;(0,u.goPage)().then((function(e){(0,u.goShopDetail)(i,n.uid).then((function(n){t.navigateTo({url:"/pages/goods_details/index?id=".concat(i.id)})}))}))}}};i.default=a}).call(this,n("543d")["default"])},"812b":function(t,i,n){"use strict";n.r(i);var e=n("2240"),u=n("42a9");for(var a in u)"default"!==a&&function(t){n.d(i,t,(function(){return u[t]}))}(a);n("73b9");var r,c=n("f0c5"),o=Object(c["a"])(u["default"],e["b"],e["c"],!1,null,"6786e958",null,!1,e["a"],r);i["default"]=o.exports},e6ff:function(t,i,n){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/goodList/index-create-component',
|
||||
{
|
||||
'components/goodList/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("812b"))
|
||||
})
|
||||
},
|
||||
[['components/goodList/index-create-component']]
|
||||
]);
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user