在线安装调试

This commit is contained in:
Devil
2021-02-24 12:40:34 +08:00
parent 0344e2cad6
commit 89f2ca69a7
201 changed files with 618 additions and 41 deletions

View File

@ -9,12 +9,14 @@
<!-- form start -->
<form class="am-form form-validation view-save am-margin-top-sm" action="{{:MyUrl('admin/theme/upload')}}" method="POST" request-type="ajax-url" request-value="{{:MyUrl('admin/theme/index')}}" enctype="multipart/form-data">
<div class="am-form-group am-form-group-refreshing am-margin-bottom-0 am-form-file">
<button type="button" class="am-btn am-btn-default am-btn-sm am-radius">
<i class="am-icon-cloud-upload"></i> 选择文件</button>
<input type="file" name="theme" class="file-event" data-tips-tag="#form-theme-tips" data-validation-message="请选择需要上传的文件" accept=".zip" required />
<span class="tips am-text-xs">上传一个zip压缩格式的主题安装包</span>
<div id="form-theme-tips" class="am-margin-top-xs"></div>
<div class="am-form-group am-form-group-refreshing am-margin-bottom-0">
<div class="am-form-file">
<button type="button" class="am-btn am-btn-default am-btn-sm am-radius">
<i class="am-icon-cloud-upload"></i> 选择文件</button>
<input type="file" name="theme" class="file-event" data-tips-tag="#form-theme-tips" data-validation-message="请选择需要上传的文件" accept=".zip" required />
<span class="tips am-text-xs">上传一个zip压缩格式的主题安装包</span>
<div id="form-theme-tips" class="am-margin-top-xs"></div>
</div>
</div>
<div class="am-form-group am-form-group-refreshing">
<button type="submit" class="am-btn am-btn-primary am-radius btn-loading-example am-btn-sm" data-am-loading="{loadingText:'上传中...'}">确认上传</button>

View File

@ -0,0 +1,6 @@
{
"name":"uniapp-h5",
"ver":"1.9.3",
"author":"初音",
"home":"https://store.shopxo.net/store-index-detail-5.html"
}

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,3 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><meta name=format-detection content="telephone=no"><title>ShopXO系统uniapp</title><script>document.addEventListener('DOMContentLoaded', function() {
document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
})</script><link rel=stylesheet href=/static/index/chuyin-uniapp-h5/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/index/chuyin-uniapp-h5/static/js/chunk-vendors.2b7434df.js></script><script src=/static/index/chuyin-uniapp-h5/static/js/index.075d4772.js></script></body></html>

View File

@ -12,6 +12,8 @@ namespace app\service;
use think\Db;
use app\service\PluginsAdminService;
use app\service\PaymentService;
use app\service\ThemeService;
/**
* 软件安装服务层
@ -40,11 +42,47 @@ class PackageInstallService
// 类型
$type = empty($params['type']) ? '' : $params['type'];
// 适配终端
$terminal = empty($params['terminal']) ? '' : $params['terminal'];
// 返回页面url地址
switch($type)
{
// 功能插件
case 'plugins' :
$url = MyUrl('admin/pluginsadmin/index');
break;
// 支付插件
case 'payment' :
$url = MyUrl('admin/payment/index');
break;
// web端主题
case 'webtheme' :
$url = MyUrl('admin/theme/index');
break;
// 小程序主题
case 'minitheme' :
$url = MyUrl('admin/appmini/index');
break;
// app主题
case 'apptheme' :
$url = MyUrl('admin/app/index');
break;
default :
$url = '';
}
return [
'id' => $id,
'type' => $type,
'terminal' => $terminal,
'url' => MyUrl('admin/packageinstall/install'),
'admin_url' => MyUrl('admin/index/index', ['to_url'=>urldecode(base64_encode(MyUrl('admin/pluginsadmin/index')))]),
'admin_url' => MyUrl('admin/index/index', ['to_url'=>urlencode(base64_encode($url))]),
];
}
@ -71,7 +109,7 @@ class PackageInstallService
{
// 获取url地址
case 'url' :
$ret = self::UrlHandle($params['id']);
$ret = self::UrlHandle($params);
break;
// 下载软件包
@ -113,9 +151,26 @@ class PackageInstallService
$ret = PluginsAdminService::PluginsUploadHandle($res['url'], $params);
break;
// 支付插件
case 'payment' :
$ret = PaymentService::UploadHandle($res['url'], $params);
break;
// web主题
case 'webtheme' :
$ret = ThemeService::ThemeUploadHandle($res['url'], $params);
break;
// 小程序主题
case 'minitheme' :
echo '<pre>';
print_r($res);
print_r($params);die;
break;
// 默认
default :
$ret = DataReturn('插件操作类型有误', -1);
$ret = DataReturn('插件操作类型未定义['.$params['type'].']', -1);
}
// 移除session
@ -166,18 +221,19 @@ class PackageInstallService
* @version 1.0.0
* @date 2021-02-22
* @desc description
* @param [int] $goods_id [商品id]
* @param [array] $params [输入参数]
*/
public static function UrlHandle($goods_id)
public static function UrlHandle($params)
{
// 获取下载地址
$url = config('shopxo.store_download_url');
$data = [
'goods_id' => $goods_id,
'goods_id' => $params['id'],
'url' => __MY_URL__,
'host' => __MY_HOST__,
'ip' => __MY_ADDR__,
'ver' => APPLICATION_VERSION,
'terminal' => empty($params['terminal']) ? '' : $params['terminal'],
];
$ret = self::HttpRequest($url, $data);
if(!empty($ret) && isset($ret['code']) && $ret['code'] == 0)
@ -302,6 +358,12 @@ class PackageInstallService
{
return DataReturn("curl出错错误码:$error", -1);
}
// 是否json格式数据
if(substr($reponse, 0, 1) != '{')
{
return DataReturn("返回数据格式有误:$reponse", -1);
}
return json_decode($reponse, true);
}
}

View File

@ -454,16 +454,6 @@ class PaymentService
*/
public static function Upload($params = [])
{
// 初始化
self::Init();
// 权限
$ret = self::PowerCheck();
if($ret['code'] != 0)
{
return $ret;
}
// 文件上传校验
$error = FileUploadError('file');
if($error !== true)
@ -478,8 +468,34 @@ class PaymentService
return DataReturn('文件格式有误请上传zip压缩包', -2);
}
// 上传处理
return self::UploadHandle($_FILES['file']['tmp_name'], $params);
}
/**
* 上传插件处理
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2018-09-17
* @desc description
* @param [string] $package_file [软件包地址]
* @param [array] $params [输入参数]
*/
public static function UploadHandle($package_file, $params = [])
{
// 初始化
self::Init();
// 权限
$ret = self::PowerCheck();
if($ret['code'] != 0)
{
return $ret;
}
// 开始解压文件
$resource = zip_open($_FILES['file']['tmp_name']);
$resource = zip_open($package_file);
if(!is_resource($resource))
{
return DataReturn('压缩包打开失败['.$resource.']', -10);

View File

@ -123,6 +123,22 @@ class ThemeService
return DataReturn('文件格式有误请上传zip压缩包', -2);
}
// 上传处理
return self::ThemeUploadHandle($_FILES['theme']['tmp_name'], $params);
}
/**
* 模板上传处理
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2018-09-17
* @desc description
* @param [string] $package_file [软件包地址]
* @param [array] $params [输入参数]
*/
public static function ThemeUploadHandle($package_file, $params = [])
{
// 目录是否有权限
if(!is_writable(ROOT.self::$html_path))
{
@ -140,7 +156,7 @@ class ThemeService
];
// 开始解压文件
$resource = zip_open($_FILES['theme']['tmp_name']);
$resource = zip_open($package_file);
while(($temp_resource = zip_read($resource)) !== false)
{
if(zip_entry_open($resource, $temp_resource))
@ -204,7 +220,7 @@ class ThemeService
}
}
}
return DataReturn('安装成功');
return DataReturn('安装成功', 0);
}
/**

View File

@ -28,7 +28,7 @@ if(substr($cdn_public_host, -1) != DS)
// 配置信息
return [
// 开发模式
'is_develop' => true,
'is_develop' => false,
// 默认编码
'default_charset' => 'utf-8',

View File

@ -1,15 +1,5 @@
$(function()
{
/**
* 指定url地址
*/
var to_url = GetQueryValue('to_url') || null;
console.log(to_url)
if(to_url != null)
{
console.log(to_url);
}
/**
* url加载
*/

View File

@ -70,7 +70,7 @@ function RequestHandle(key, opt, msg)
setTimeout(function()
{
window.location.href = admin_url;
}, 3000);
}, 2000);
break;
}
} else {

View File

@ -35,7 +35,11 @@ dialog.alert = function(options) {
.modal()
.on('closed.modal.amui', function() {
options.onConfirm();
$(this).remove();
var $this = $(this);
setTimeout(function()
{
$this.remove();
}, 2000);
});
};
@ -68,7 +72,11 @@ dialog.confirm = function(options) {
options.onCancel();
}
}).on('closed.modal.amui', function() {
$(this).remove();
var $this = $(this);
setTimeout(function()
{
$this.remove();
}, 2000);
});
};
@ -88,7 +96,11 @@ dialog.loading = function(options) {
return $(html.join('')).appendTo('body').modal()
.on('closed.modal.amui', function() {
$(this).remove();
var $this = $(this);
setTimeout(function()
{
$this.remove();
}, 2000);
});
};
@ -160,7 +172,11 @@ dialog.popup = function(options) {
html.push('</div>');
return $(html.join('')).appendTo('body').modal()
.on('closed.modal.amui', function() {
$(this).remove();
var $this = $(this);
setTimeout(function()
{
$this.remove();
}, 2000);
options.onClose();
});
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

View File

@ -0,0 +1,107 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2013-9-30: Created.
-->
<svg>
<metadata>
Created by iconfont
</metadata>
<defs>
<font id="iconfont" horiz-adv-x="1024" >
<font-face
font-family="iconfont"
font-weight="500"
font-stretch="normal"
units-per-em="1024"
ascent="896"
descent="-128"
/>
<missing-glyph />
<glyph glyph-name="gouwucheman" unicode="&#58880;" d="M346.112 89.088q19.456 0 36.864-7.168t30.208-19.968 20.48-30.208 7.68-36.864-7.68-36.864-20.48-30.208-30.208-20.48-36.864-7.68q-20.48 0-37.888 7.68t-30.208 20.48-20.48 30.208-7.68 36.864 7.68 36.864 20.48 30.208 30.208 19.968 37.888 7.168zM772.096 87.04q19.456 0 37.376-7.168t30.72-19.968 20.48-30.208 7.68-36.864-7.68-36.864-20.48-30.208-30.72-20.48-37.376-7.68-36.864 7.68-30.208 20.48-20.48 30.208-7.68 36.864 7.68 36.864 20.48 30.208 30.208 19.968 36.864 7.168zM944.128 668.672q28.672 0 44.544-7.68t22.528-18.944 6.144-24.064-3.584-22.016-13.312-37.888-22.016-62.976-23.552-68.096-18.944-53.248q-13.312-40.96-33.28-56.832t-49.664-15.872l-35.84 0-65.536 0-86.016 0-96.256 0-253.952 0 14.336-92.16 517.12 0q49.152 0 49.152-41.984 0-20.48-9.728-35.328t-38.4-14.848l-49.152 0-94.208 0-118.784 0-119.808 0-99.328 0-55.296 0q-20.48 0-34.304 9.216t-23.04 24.064-14.848 32.256-8.704 32.768q-1.024 6.144-5.632 29.696t-11.264 58.88-14.848 78.848-16.384 87.552q-19.456 103.424-44.032 230.4l-76.8 0q-15.36 0-25.6 7.68t-16.896 18.432-9.216 23.04-2.56 22.528q0 20.48 13.824 33.792t37.376 13.312l21.504 0 21.504 0 25.6 0 34.816 0q20.48 0 32.768-6.144t19.456-15.36 10.24-19.456 5.12-17.408q2.048-8.192 4.096-23.04t4.096-30.208q3.072-18.432 6.144-38.912l700.416 0zM867.328 701.44l-374.784 0 135.168 135.168q23.552 23.552 51.712 24.064t51.712-23.04z" horiz-adv-x="1024" />
<glyph glyph-name="gouwucheman1" unicode="&#58881;" d="M346.112 89.088q19.456 0 36.864-7.168t30.208-19.968 20.48-30.208 7.68-36.864-7.68-36.864-20.48-30.208-30.208-20.48-36.864-7.68q-20.48 0-37.888 7.68t-30.208 20.48-20.48 30.208-7.68 36.864 7.68 36.864 20.48 30.208 30.208 19.968 37.888 7.168zM772.096 87.04q19.456 0 37.376-7.168t30.72-19.968 20.48-30.208 7.68-36.864-7.68-36.864-20.48-30.208-30.72-20.48-37.376-7.68-36.864 7.68-30.208 20.48-20.48 30.208-7.68 36.864 7.68 36.864 20.48 30.208 30.208 19.968 36.864 7.168zM944.128 668.672q28.672 0 44.544-7.68t22.528-18.944 6.144-24.064-3.584-22.016-13.312-37.888-22.016-62.976-23.552-68.096-18.944-53.248q-13.312-40.96-33.28-56.832t-49.664-15.872l-35.84 0-65.536 0-86.016 0-96.256 0-253.952 0 14.336-92.16 517.12 0q49.152 0 49.152-41.984 0-20.48-9.728-35.328t-38.4-14.848l-49.152 0-94.208 0-118.784 0-119.808 0-99.328 0-55.296 0q-20.48 0-34.304 9.216t-23.04 24.064-14.848 32.256-8.704 32.768q-1.024 6.144-5.632 29.696t-11.264 58.88-14.848 78.848-16.384 87.552q-19.456 103.424-44.032 230.4l-76.8 0q-15.36 0-25.6 7.68t-16.896 18.432-9.216 23.04-2.56 22.528q0 20.48 13.824 33.792t37.376 13.312l21.504 0 21.504 0 25.6 0 34.816 0q20.48 0 32.768-6.144t19.456-15.36 10.24-19.456 5.12-17.408q2.048-8.192 4.096-23.04t4.096-30.208q3.072-18.432 6.144-38.912l700.416 0zM867.328 701.44l-374.784 0 135.168 135.168q23.552 23.552 51.712 24.064t51.712-23.04z" horiz-adv-x="1024" />
<glyph glyph-name="pingjiaxingxing" unicode="&#59093;" d="M355.311867 527.256864c-7.850805-14.637372-19.662829-24.142863-32.103162-25.439392l-184.815239-26.808576c-71.235414-11.852956-99.348706-100.665701-48.545646-153.520489l132.893706-133.797285c10.69662-11.132548 15.771195-26.13831 13.153578-39.73498l-32.175817-189.679014c-11.405771-74.114998 62.659085-130.251529 125.444037-94.620008l164.348092 88.808652c13.325493 7.68503 26.862811 7.68503 39.656185 0.303922l165.261904-89.332585c62.405305-35.411511 136.467091 20.72502 125.124765 94.490048l-32.148188 189.539844c-1.36509 14.81952 3.432169 30.203906 13.317307 40.483017l132.392286 133.285632c51.05377 53.109592 22.940478 141.921313-47.869241 153.706731l-184.41308 26.770713c-14.672164 3.094478-27.389814 12.599969-32.615838 24.836665l-81.610716 174.309978c-31.227212 67.913762-122.773208 67.913762-154.068981-0.144286L355.311867 527.256864 355.311867 527.256864zM355.311867 527.256864" horiz-adv-x="1024" />
<glyph glyph-name="tubiao09" unicode="&#58889;" d="M960.341161-65.534393c0-17.874947-12.503355-32.453666-28.013328-32.453666l-840.466346 0c-15.37796 0-27.883361 14.578719-27.883361 32.453666l0 0c0 18.00389 12.505402 32.45469 27.883361 32.45469l840.466346 0C947.837806-33.079704 960.341161-47.530504 960.341161-65.534393L960.341161-65.534393zM855.486132 623.261489c-12.381576-12.615924-32.763743-12.615924-45.265051 0l-135.681561 137.620819c-12.44093 12.609784-12.44093 33.277467 0 45.890321l45.265051 45.959909c12.383622 12.615924 32.764766 12.615924 45.270168 0l135.807433-137.683244c12.378506-12.679372 12.378506-33.340915 0-45.894415L855.486132 623.261489zM357.659602 118.423953c-12.381576-12.551453-32.76579-12.551453-45.267098 0l-135.868835 137.618772c-12.441954 12.614901-12.441954 33.281561-0.062425 45.892368l407.477561 413.114202c12.439907 12.550429 32.826168 12.550429 45.266074 0l135.743985-137.68222c12.507448-12.680395 12.507448-33.345009 0-45.896461L357.659602 118.423953zM131.189031 210.150357c-12.43786 12.610807-25.444706 8.616652-28.882156-8.876584l-32.763743-165.892032c-3.44052-17.494259 7.878812-28.90467 25.135653-25.420145l163.564922 33.09224c17.25684 3.487595 21.129217 16.669434 8.753781 29.34983L131.189031 210.150357z" horiz-adv-x="1025" />
<glyph glyph-name="weixinzhifu" unicode="&#58923;" d="M390.21952 264.90752c-61.26464-34.01984-70.35136 19.09888-70.35136 19.09888l-76.78208 178.46656c-29.54368 84.80512 25.56928 38.23744 25.56928 38.23744s47.2896-35.63392 83.17952-57.34784c35.87072-21.71392 76.75776-6.3744 76.75776-6.3744l501.9648 230.7776C837.94688 782.5472 684.96256 857.6 511.76576 857.6 229.11104 857.6 0 657.86752 0 411.47136c0-141.72544 75.8656-267.8656 194.0352-349.62176l-21.31072-122.01856c0 0-10.38848-35.6224 25.61536-19.10016 24.53376 11.26528 87.0784 51.63392 124.30976 76.20224 58.53056-20.31616 122.2976-31.5968 189.14432-31.5968 282.63168 0 511.79008 199.73248 511.79008 446.13376 0 71.36896-19.31008 138.76864-53.51552 198.59456C810.14144 514.2208 438.15808 291.48288 390.21952 264.90752L390.21952 264.90752 390.21952 264.90752zM390.21952 264.90752" horiz-adv-x="1024" />
<glyph glyph-name="jian" unicode="&#58947;" d="M117.734106 437.786746L906.212134 437.786746C925.995765 437.786746 959.972 413.720246 959.972 384.02688 959.972 354.33351400000004 925.995765 330.267014 906.212134 330.267014L117.734106 330.267014C97.950475 330.267014 63.97424 354.33351400000004 63.97424 384.02688 63.97424 413.720246 97.950475 437.786746 117.734106 437.786746Z" horiz-adv-x="1024" />
<glyph glyph-name="bofang" unicode="&#58963;" d="M852.727563 503.552893C956.997809 437.526365 956.941389 330.440483 852.727563 264.44968L281.888889-97.019655C177.618644-163.046186 93.090909-120.054114 93.090909-1.137364L93.090909 769.139937C93.090909 888.120794 177.675064 931.013033 281.888889 865.022231L852.727563 503.552893 852.727563 503.552893Z" horiz-adv-x="1024" />
<glyph glyph-name="wodekefu" unicode="&#59019;" d="M884.165 444.506c-2.494 203.504-168.046 367.753-372.161 367.753s-369.666-164.249-372.165-367.753c-34.163-27.314-56.096-69.25-56.096-116.37 0-82.254 66.697-148.969 148.96-148.969 35.899 0 68.818 12.726 94.534 33.857l-70.18 261.923c-7.949 1.294-16.045 2.155-24.353 2.155-5.474 0-10.855-0.339-16.183-0.926 17.954 147.35 143.268 261.601 295.488 261.601 152.199 0 277.532-114.25 295.481-261.601-5.306 0.583-10.705 0.926-16.18 0.926-8.305 0-16.421-0.863-24.375-2.155l-70.159-261.801c19.847-16.295 43.981-27.559 70.459-31.868-35.138-37.751-79.825-66.511-130.378-82.068l-6.164-6.156c-15.77 28.99-46.122 48.892-81.442 48.892-51.427 0-93.102-41.674-93.102-93.118 0-51.431 41.673-93.104 93.102-93.104 42.211 0 77.419 28.27 88.852 66.758 102.752 25.189 188.829 92.829 238.272 183.482 38.595 26.917 63.899 71.562 63.899 122.175-0.002 47.108-21.955 89.058-56.102 116.371z" horiz-adv-x="1024" />
<glyph glyph-name="weixin" unicode="&#58991;" d="M816.551274 647.832897C697.80273 764.499014 553.294498 798.33054 394.437467 755.47243 114.716718 680.005644 28.163433 389.01113 169.479973 199.353606c6.853082-9.198499 8.147564-26.164916 5.545296-38.09769-7.601118-34.868135-18.714224-68.958558-28.000728-103.474676-4.965082-18.455327-7.90504-37.21253 8.632611-52.019771 17.777899-15.921621 36.82572-12.654204 56.258305-2.777253 31.879058 16.200984 64.335261 31.314193 95.763041 48.336892 20.469194 11.086499 38.847773 11.658528 61.942771 5.240351 46.063105-12.799514 93.717452-19.872606 117.992321-24.74866 144.317896 2.603291 249.610988 41.736567 333.958024 129.489166C955.8826 301.033403 954.903296 511.909182 816.551274 647.832897zM763.498988 214.121961C658.864906 110.271732 531.49603 85.437114 393.782551 131.628132c-45.408189 15.229866-82.686211 19.207457-122.088616-7.493671-3.576455-2.423189-8.448416-2.934842-26.51284-8.852622 36.271088 62.917982 9.41851 102.273315-21.181415 146.894581-67.886133 98.989525-54.03773 226.624461 26.78197 318.740438 132.026966 150.480246 390.603139 150.382009 522.634198-0.196475C869.144096 471.544869 867.098507 316.945815 763.498988 214.121961zM640.32976 518.567835c-26.245757 0.961908-47.457872-18.594497-48.955992-45.13906-1.532913-27.1565 16.636912-48.230468 43.304272-50.227961 26.571169-1.989307 48.850591 16.263405 51.568493 42.247196C689.112814 492.85522 667.75846 517.560902 640.32976 518.567835zM385.221572 518.61286c-27.757181-0.205685-48.88743-23.684422-46.821375-52.023864 1.940189-26.610054 23.154349-44.910862 50.212612-43.317575 26.505677 1.560542 46.149063 22.886243 45.152363 49.02046C432.798147 497.654526 410.636405 518.801149 385.221572 518.61286z" horiz-adv-x="1024" />
<glyph glyph-name="anquanbaozhang" unicode="&#58909;" d="M895.59 738.605c-125.446 5.447-245.541 47.869-356.98 126.129l-21.122 14.814-21.067-14.814c-111.371-78.247-231.478-120.682-356.133-126.102l-39.376 0 0-331.722c0-242.989 167.622-451.066 407.648-505.993l10.473-1.679 7.523 1.679c239.971 54.927 407.566 263.004 407.566 505.993l0 331.722-38.53-0.028zM746.086 514.321l-267.728-277.777c-6.718-6.198-17.285-5.789-23.498 0.928l-166.284 176.538c-6.198 6.718-5.789 17.285 0.928 23.498l4.246 3.919c6.718 6.198 17.285 5.789 23.498-0.928l150.05-159.307 250.948 260.492c6.417 6.526 16.998 6.608 23.511 0.191l4.11-4.055c6.54-6.403 6.622-16.985 0.219-23.498z" horiz-adv-x="1024" />
<glyph glyph-name="weixuanzhong" unicode="&#58928;" d="M512-25.734872c-226.289839 0-409.734872 183.444009-409.734872 409.734872S285.709137 793.734872 512 793.734872s409.734872-183.444009 409.734872-409.734872S738.289839-25.734872 512-25.734872zM512 711.787488c-181.031053 0-327.787488-146.756435-327.787488-327.787488s146.756435-327.787488 327.787488-327.787488 327.787488 146.756435 327.787488 327.787488S693.031053 711.787488 512 711.787488z" horiz-adv-x="1024" />
<glyph glyph-name="gengduo" unicode="&#58894;" d="M113.777778 270.222222c62.577778 0 113.777778 51.2 113.777778 113.777778s-51.2 113.777778-113.777778 113.777778-113.777778-51.2-113.777778-113.777778 51.2-113.777778 113.777778-113.777778z m398.222222 0c62.577778 0 113.777778 51.2 113.777778 113.777778s-51.2 113.777778-113.777778 113.777778-113.777778-51.2-113.777778-113.777778 51.2-113.777778 113.777778-113.777778z m398.222222 0c62.577778 0 113.777778 51.2 113.777778 113.777778s-51.2 113.777778-113.777778 113.777778-113.777778-51.2-113.777778-113.777778 51.2-113.777778 113.777778-113.777778z" horiz-adv-x="1024" />
<glyph glyph-name="xuanzhong" unicode="&#58925;" d="M512 832C262.4 832 64 633.6 64 384s198.4-448 448-448 448 198.4 448 448S761.6 832 512 832z m236.8-326.4L454.4 211.2c-12.8-12.8-32-12.8-44.8 0L275.2 352c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l115.2-115.2L704 556.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-38.4 0-51.2z" horiz-adv-x="1024" />
<glyph glyph-name="jia" unicode="&#58922;" d="M1024 435.2H563.2V896h-102.4v-460.8H0v-102.4h460.8V-128h102.4V332.79999999999995H1024z" horiz-adv-x="1024" />
<glyph glyph-name="guanbi" unicode="&#59319;" d="M512.001 880.322C237.414 880.322 14.82 657.727 14.82 383.14S237.414-114.04 512-114.04s497.18 222.593 497.18 497.18S786.589 880.322 512.002 880.322z m213.211-645.937c17.798-17.803 17.798-46.657 0-64.456-17.798-17.797-46.658-17.797-64.456 0L512.001 318.685 363.241 169.93c-17.799-17.797-46.652-17.797-64.45 0-17.804 17.799-17.804 46.653 0 64.456L447.545 383.14 298.79 531.896c-17.803 17.798-17.803 46.657 0 64.455 17.799 17.798 46.652 17.798 64.45 0l148.761-148.755 148.755 148.755c17.798 17.798 46.658 17.798 64.456 0 17.798-17.798 17.798-46.657 0-64.455L576.456 383.14l148.756-148.755z m0 0" horiz-adv-x="1024" />
<glyph glyph-name="xiayiyeqianjinchakangengduo" unicode="&#59633;" d="M658.56 338.608L322.536 674.616l45.248 45.256 336.016-336.008zM704.088 383.8L364.12 43.84l-45.256 45.248 339.976 339.976z" horiz-adv-x="1024" />
<glyph glyph-name="wenzhang" unicode="&#59005;" d="M661.648 778H249.104c-39.088 0-70.304-31.752-70.304-70.304v-647.392c0-39.096 31.752-70.304 70.304-70.304h525.8c38.552 0 70.296 31.752 70.296 70.304V594.44L661.648 778z m12.664-74.704l96.176-96.184H684.584c-5.408 0-10.272 4.864-10.272 10.272V703.296z m126.928-642.992a26.24 26.24 0 0 0-26.344-26.352H249.104a26.24 26.24 0 0 0-26.344 26.352V707.696a26.24 26.24 0 0 0 26.344 26.344v0.464h381.328v-117.192c0-29.824 24.416-54.16 54.16-54.16h116.656v-502.848zM348.68 509.928h188.968a21.84 21.84 0 0 1 21.944 21.936 21.84 21.84 0 0 1-21.944 21.944H348.68a21.832 21.832 0 0 1-21.944-21.944 21.84 21.84 0 0 1 21.944-21.936zM674.848 251.2H348.68c-12.208 0-21.944-9.744-21.944-21.944s9.736-21.944 21.944-21.944h326.168c12.208 0 21.944 9.744 21.944 21.944S687.064 251.2 674.848 251.2zM348.68 400.144a21.824 21.824 0 0 1-21.944-21.944 21.832 21.832 0 0 1 21.944-21.936h326.168a21.832 21.832 0 0 1 21.944 21.936 21.832 21.832 0 0 1-21.944 21.944H348.68z" horiz-adv-x="1024" />
<glyph glyph-name="gwc" unicode="&#58996;" d="M393.528889-113.77777800000001a80.64 80.64 0 1 0 80.64 80.64A80.64 80.64 0 0 0 393.528889-113.77777800000001z m373.333333 0a80.64 80.64 0 1 0 80.64 80.64A80.64 80.64 0 0 0 766.862222-113.77777800000001z m218.595556 752.64l-74.097778-304.071111c-7.68-28.444444-35.271111-53.048889-64-45.368889h-483.555556L384 208.78222200000005h436.622222a53.76 53.76 0 0 0 0-107.52H363.662222a40.248889 40.248889 0 0 0-17.351111 0h-9.528889a53.76 53.76 0 0 0-53.76 53.76l-122.311111 477.155556a53.333333 53.333333 0 0 0-12.088889 33.564444 54.755556 54.755556 0 0 0 0.995556 9.671111L124.444444 773.262222h-56.888888a53.76 53.76 0 0 0 0 107.52h80.64a40.533333 40.533333 0 0 0 17.351111 0h9.528889a53.76 53.76 0 0 0 53.76-53.76L256 719.502222h654.222222a42.666667 42.666667 0 0 0 21.475556 0 53.76 53.76 0 0 0 53.76-53.76 56.888889 56.888889 0 0 0 0-6.115555 42.666667 42.666667 0 0 0 0-20.764445z m0 0" horiz-adv-x="1024" />
<glyph glyph-name="qiache" unicode="&#59195;" d="M912 680.4v-474c0-4.7-0.6-8.8-1.8-12.3-1.3-3.5-3.3-6.4-6.2-8.6s-5.5-3.9-7.6-5.4c-2.1-1.4-5.7-2.3-10.9-2.8s-8.6-0.8-10.4-1c-1.8-0.2-5.7-0.2-11.8 0-6 0.2-9.4 0.2-10.4 0.2 0-32.7-11.6-60.7-34.8-83.8-23.2-23.2-51.1-34.8-83.8-34.8s-60.7 11.6-83.8 34.8c-23.2 23.2-34.8 51.1-34.8 83.8H438c0-32.7-11.6-60.7-34.8-83.8-23.2-23.1-51.1-34.7-83.8-34.7s-60.7 11.6-83.8 34.8c-23.2 23.2-34.8 51.1-34.8 83.8h-29.6c-1 0-4.4-0.1-10.4-0.2-6-0.2-9.9-0.2-11.8 0-1.8 0.2-5.4 0.5-10.4 1-5.1 0.5-8.8 1.4-10.9 2.8-2.1 1.4-4.7 3.1-7.6 5.4-2.9 2.1-5.1 5-6.2 8.6-1.3 3.5-1.8 7.6-1.8 12.3 0 8 2.9 15 8.8 20.8 5.8 5.8 12.8 8.8 20.8 8.8v148c0 2.4-0.1 7.9-0.2 16.2-0.2 8.4-0.2 14.2 0 17.6s0.5 8.8 1.2 16c0.6 7.2 1.7 12.9 3 17.1 1.4 4.2 3.5 8.9 6.5 14.1 2.9 5.3 6.4 9.8 10.4 13.9l91.6 91.6c5.8 5.8 13.6 10.8 23.4 14.8 9.7 4 18.8 6 27.1 6h74.1v88.9c0 8 2.9 15 8.8 20.8 5.8 5.8 12.8 8.8 20.8 8.8h474c8 0 15-2.9 20.8-8.8 5.9-5.7 8.8-12.6 8.8-20.7zM201 413.8h177.8V532.3h-73.1c-4 0-7.4-1.4-10.2-4.2l-90.3-90.3c-2.8-2.8-4.2-6.1-4.2-10.2v-13.8z m160.1-278.7c11.7 11.7 17.6 25.6 17.6 41.7s-5.8 29.9-17.6 41.7c-11.8 11.7-25.6 17.6-41.7 17.6s-29.9-5.8-41.7-17.6c-11.8-11.7-17.6-25.6-17.6-41.7s5.8-30 17.6-41.7c11.7-11.7 25.6-17.6 41.7-17.6 16.1 0.1 30.1 5.9 41.7 17.6z m414.8 0c11.7 11.7 17.6 25.6 17.6 41.7s-5.8 29.9-17.6 41.7c-11.8 11.7-25.6 17.6-41.7 17.6s-29.9-5.8-41.7-17.6c-11.8-11.7-17.6-25.6-17.6-41.7s5.8-30 17.6-41.7c11.7-11.7 25.6-17.6 41.7-17.6 16.1 0.1 30 5.9 41.7 17.6z" horiz-adv-x="1024" />
<glyph glyph-name="fangdajingsousuo" unicode="&#58910;" d="M950.765-9.51L741.217 200.038C797.85 266.939 832 353.481 832 448c0 212.077-171.922 384-384 384C235.923 832 64 660.077 64 448s171.923-384 384-384c94.518 0 181.06 34.149 247.961 90.783L905.51-54.765c12.496-12.496 32.758-12.496 45.255 0 12.496 12.497 12.496 32.759 0 45.255zM128 448c0 176.731 143.269 320 320 320s320-143.269 320-320-143.269-320-320-320-320 143.269-320 320z" horiz-adv-x="1024" />
<glyph glyph-name="guanbi1" unicode="&#58888;" d="M583.168 372.22400000000005L958.464 747.52c18.944 18.944 18.944 50.176 0 69.12l-2.048 2.048c-18.944 18.944-50.176 18.944-69.12 0L512 442.88 136.704 818.688c-18.944 18.944-50.176 18.944-69.12 0l-2.048-2.048c-19.456-18.944-19.456-50.176 0-69.12l375.296-375.296L65.536-3.0720000000000027c-18.944-18.944-18.944-50.176 0-69.12l2.048-2.048c18.944-18.944 50.176-18.944 69.12 0L512 301.05600000000004 887.296-74.24000000000001c18.944-18.944 50.176-18.944 69.12 0l2.048 2.048c18.944 18.944 18.944 50.176 0 69.12L583.168 372.22400000000005z" horiz-adv-x="1024" />
<glyph glyph-name="loc-s" unicode="&#58964;" d="M512 777.1136c-155.648 0-282.2144-128.6144-282.2144-286.6176 0-53.248 12.8-111.616 38.0928-173.3632 20.0704-49.0496 48.128-100.4544 83.2512-152.8832 59.5968-88.8832 120.9344-152.3712 127.6928-159.3344 8.8064-9.0112 20.5824-14.0288 33.1776-14.0288 12.5952 0 24.3712 5.0176 33.1776 14.0288 6.8608 6.9632 68.096 70.4512 127.6928 159.3344 35.1232 52.4288 63.1808 103.8336 83.2512 152.8832C781.4144 378.88 794.2144 437.248 794.2144 490.496c0 158.0032-126.5664 286.6176-282.2144 286.6176z m0-374.1696c-62.5664 0-113.4592 50.8928-113.4592 113.4592S449.4336 629.76 512 629.76s113.4592-50.8928 113.4592-113.4592S574.5664 402.944 512 402.944z" horiz-adv-x="1024" />
<glyph glyph-name="anquanbaozhang-mian" unicode="&#58942;" d="M829 756.3C684.5 720.1 642.9 786 535.5 829.7c-6.9 2.8-37.7 3.2-44.5 0-101.2-48.2-155.3-109.6-300.9-73.4-75.5 18.8-71.9-392.9-15.2-563.2 0.5-1.8 46.7-154.8 338.3-257.1C804.8 38.4 851 191.5 851.5 193.1c56.8 170.4 55.2 566.8-22.5 563.2zM720.3 495.2L464.8 239.7c-4.7-4.7-10.8-7-17-7s-12.3 2.3-17 7L303.7 367c-9.4 9.4-9.4 24.6 0 33.9 9.4 9.4 24.6 9.4 33.9 0l110.3-110.3 238.5 238.5c9.4 9.4 24.6 9.4 33.9 0 9.4-9.3 9.4-24.5 0-33.9z" horiz-adv-x="1024" />
<glyph glyph-name="gengduo1" unicode="&#58914;" d="M872.53333365 377.6m-151.466667 0a151.466667 151.466667 0 1 1 302.933333 0 151.466667 151.466667 0 1 1-302.933333 0ZM151.46666635 377.6m-151.466666 0a151.466667 151.466667 0 1 1 302.933333 0 151.466667 151.466667 0 1 1-302.933333 0ZM514.133333 384m-151.466666 0a151.466667 151.466667 0 1 1 302.933333 0 151.466667 151.466667 0 1 1-302.933333 0Z" horiz-adv-x="1024" />
<glyph glyph-name="jia-copy" unicode="&#59634;" d="M1024 435.2H563.2V896h-102.4v-460.8H0v-102.4h460.8V-128h102.4V332.79999999999995H1024z" horiz-adv-x="1024" />
<glyph glyph-name="jian-copy" unicode="&#59635;" d="M117.734106 437.786746L906.212134 437.786746C925.995765 437.786746 959.972 413.720246 959.972 384.02688 959.972 354.33351400000004 925.995765 330.267014 906.212134 330.267014L117.734106 330.267014C97.950475 330.267014 63.97424 354.33351400000004 63.97424 384.02688 63.97424 413.720246 97.950475 437.786746 117.734106 437.786746Z" horiz-adv-x="1024" />
<glyph glyph-name="carticon" unicode="&#58882;" d="M376.331907 88.159256a108.162977 108.162977 0 0 0 75.037767-30.005582c9.858977-9.45414 17.455628-20.59907 22.742326-33.43479 5.310512-12.859535 7.977674-26.433488 7.977674-40.793303a105.733953 105.733953 0 0 0-7.977674-40.769488 97.089488 97.089488 0 0 0-22.742326-33.434791 116.783628 116.783628 0 0 0-34.101581-22.670883 100.59014 100.59014 0 0 0-40.936186-8.477768 99.423256 99.423256 0 0 0-41.483907 8.477768 119.212651 119.212651 0 0 0-33.55386 22.670883 97.089488 97.089488 0 0 0-22.742326 33.434791 105.733953 105.733953 0 0 0-7.953861 40.769488c0 14.359814 2.667163 27.957581 7.953861 40.793303 5.310512 12.859535 12.883349 23.980651 22.742326 33.43479a110.020465 110.020465 0 0 0 33.55386 22.075535 105.543442 105.543442 0 0 0 41.483907 7.930047z m472.992744-2.262326c14.407442 0 28.243349-2.619535 41.507721-7.930046a100.256744 100.256744 0 0 0 34.101581-22.099349c9.477953-9.430326 17.050791-20.575256 22.742326-33.410977 5.691535-12.859535 8.525395-26.433488 8.525395-40.793302 0-14.336-2.857674-27.933767-8.525395-40.793303a108.901209 108.901209 0 0 0-22.742326-33.410976 107.567628 107.567628 0 0 0-34.101581-22.670884 104.614698 104.614698 0 0 0-41.507721-8.477767 100.59014 100.59014 0 0 0-40.936186 8.477767 109.306047 109.306047 0 0 0-33.530046 22.670884 108.901209 108.901209 0 0 0-22.742326 33.410976 99.637581 99.637581 0 0 0-8.525395 40.793303c0 14.359814 2.857674 27.957581 8.525395 40.793302 5.691535 12.859535 13.264372 23.980651 22.742326 33.410977a101.590326 101.590326 0 0 0 33.530046 22.099349 106.757953 106.757953 0 0 0 40.936186 7.930046z m191.011721 643.548279c21.218233 0 37.721302-2.83386 49.461581-8.501581 11.740279-5.667721 20.075163-12.645209 25.004652-20.956279 4.929488-8.31107 7.215628-17.16986 6.834604-26.624a88.421209 88.421209 0 0 0-3.97693-24.361675l-14.21693-41.912558c-7.215628-21.146791-15.36-44.389209-24.45693-69.679628a9222.834605 9222.834605 0 0 1-26.719256-75.347348 2233.915535 2233.915535 0 0 1-19.884651-58.915721c-9.858977-30.219907-22.385116-51.176186-37.530791-62.868838-15.145674-11.716465-33.720558-17.574698-55.724651-17.574697H342.25414l17.05079-101.971349H932.316279c36.387721 0 54.581581-15.47907 54.581581-46.437209 0-15.12186-3.595907-28.148093-10.811534-39.102512-7.191814-10.954419-21.408744-16.431628-42.626977-16.431628H337.68186c-15.169488 0-27.862326 3.405395-38.102325 10.192372a86.13507 86.13507 0 0 0-25.576186 26.624 161.55386 161.55386 0 0 0-16.479256 35.697116c-4.167442 12.859535-7.382326 24.933209-9.668465 36.244838-0.762047 4.524651-2.857674 15.47907-6.239256 32.863255a9754.909767 9754.909767 0 0 0-12.526139 65.154977l-16.479256 87.230512c-6.048744 32.101209-12.145116 64.39293-18.193861 96.875163C180.033488 585.942326 163.72093 670.910512 145.52707 764.570791h-85.253954c-11.38307 0-20.861023 2.83386-28.43386 8.501581a74.061395 74.061395 0 0 0-18.765396 20.384744 78.347907 78.347907 0 0 0-10.24 25.480931C0.952558 828.034977 0 836.346047 0 843.89507 0 858.993116 5.12 871.471628 15.36 881.259163 25.6 891.094326 39.412093 896 56.843907 896H171.698605c15.169488 0 27.290791-2.262326 36.387721-6.786977 9.09693-4.524651 16.312558-10.216186 21.599255-17.003163 5.310512-6.810791 9.09693-13.978791 11.38307-21.527813 2.262326-7.549023 4.167442-13.978791 5.691535-19.265489 1.500279-6.048744 3.024372-14.526512 4.524651-25.48093 1.524093-10.954419 3.048186-22.099349 4.548465-33.434791 2.28614-13.573953 4.548465-27.933767 6.834605-43.055628h777.692279z" horiz-adv-x="1143" />
</font>
</defs></svg>

After

Width:  |  Height:  |  Size: 23 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["components-open-setting-location"],{"01d3":function(t,n,e){"use strict";e.r(n);var i=e("b6ce"),a=e("4394");for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("d4fe");var u,c=e("f0c5"),s=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"7fe868ab",null,!1,i["a"],u);n["default"]=s.exports},2586:function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,"uni-page-body[data-v-7fe868ab]{background:#fbfbfb}.open-setting-view[data-v-7fe868ab]{background:rgba(0,0,0,.1);position:fixed;top:0;left:0;width:100%;height:100%;text-align:center;z-index:1000000}.open-setting-view .content[data-v-7fe868ab]{margin:0 auto;width:%?360?%;height:%?160?%;padding:%?50?%;border-radius:%?12?%;margin-top:70%;position:relative}.open-setting-view .content uni-button[data-v-7fe868ab]{margin-top:%?15?%}.open-setting-view .content .value[data-v-7fe868ab]{margin-top:%?5?%}.open-setting-view .content .value uni-text[data-v-7fe868ab]{font-weight:500;color:#333}.open-setting-loding[data-v-7fe868ab]{padding-top:35%}.open-setting-loding uni-image[data-v-7fe868ab]{margin:0 auto}body.?%PAGE?%[data-v-7fe868ab]{background:#fbfbfb}",""]),t.exports=n},4394:function(t,n,e){"use strict";e.r(n);var i=e("694e"),a=e.n(i);for(var o in i)"default"!==o&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},"694e":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={name:"open-setting-location",onLoad:function(){},data:function(){return{is_show_open_setting:!1}},methods:{choose_location:function(){var t=this;uni.chooseLocation({success:function(n){console.log(n);var e=t.$app.map_gcj_to_bd(n.longitude,n.latitude);n.longitude=e.lng,n.latitude=e.lat,uni.setStorageSync("cache_userlocation_key",n),uni.navigateBack()},fail:function(t){uni.navigateBack()}})}}};n.default=i},b6ce:function(t,n,e){"use strict";var i;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",[t.is_show_open_setting?e("v-uni-view",{staticClass:"open-setting-view"},[e("v-uni-view",{staticClass:"content bg-white"},[e("v-uni-view",{staticClass:"msg cr-888"},[t._v("开启相应的权限服务")]),e("v-uni-view",{staticClass:"value cr-666"},[t._v("获取["),e("v-uni-text",[t._v("位置信息")]),t._v("]权限")],1),e("v-uni-button",{attrs:{type:"primary","open-type":"openSetting",size:"mini"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.setting_callback_event.apply(void 0,arguments)}}},[t._v("打开设置页")])],1)],1):e("v-uni-view",{staticClass:"open-setting-loding"},[e("v-uni-image",{staticClass:"avatar dis-block",attrs:{src:"/static/default-bg-loding.gif",mode:"widthFix"}})],1)],1)},o=[]},b942:function(t,n,e){var i=e("2586");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("186d2018",i,!0,{sourceMap:!1,shadowMode:!1})},d4fe:function(t,n,e){"use strict";var i=e("b942"),a=e.n(i);a.a}}]);

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

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-error-index"],{"1e00":function(t,n,a){"use strict";var r;a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return i})),a.d(n,"a",(function(){return r}));var e=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"error"},[a("v-uni-image",{staticClass:"cartImg",attrs:{src:"/static/404.png",mode:"aspectFill"}}),a("v-uni-text",{staticClass:"text"},[t._v("商品/页面..不存在了")]),a("v-uni-navigator",{staticClass:"navigator",attrs:{url:"../index/index","open-type":"switchTab"}},[t._v("返回首页")])],1)],1)},i=[]},"6a0f":function(t,n){},b6c1:function(t,n,a){"use strict";a.r(n);var r=a("6a0f"),e=a.n(r);for(var i in r)"default"!==i&&function(t){a.d(n,t,(function(){return r[t]}))}(i);n["default"]=e.a},b777:function(t,n,a){"use strict";a.r(n);var r=a("1e00"),e=a("b6c1");for(var i in e)"default"!==i&&function(t){a.d(n,t,(function(){return e[t]}))}(i);var c,u=a("f0c5"),s=Object(u["a"])(e["default"],r["b"],r["c"],!1,null,"8a743666",null,!1,r["a"],c);n["default"]=s.exports}}]);

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-extraction-address-extraction-address"],{"10b9":function(t,n,e){"use strict";e.r(n);var a=e("a8f2");for(var i in a)"default"!==i&&function(t){e.d(n,t,(function(){return a[t]}))}(i);var s,r,u,o,c=e("f0c5"),d=Object(c["a"])(a["default"],s,r,!1,null,null,null,!1,u,o);n["default"]=d.exports},"18c0":function(t,n,e){"use strict";e.r(n);var a=e("33b1"),i=e.n(a);for(var s in a)"default"!==s&&function(t){e.d(n,t,(function(){return a[t]}))}(s);n["default"]=i.a},"33b1":function(t,n,e){"use strict";var a=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("96cf");var i=a(e("1da1")),s=a(e("9fc0")),r=a(e("10b9")),u={mixins:[r.default],data:function(){return{source:0,addressList:[]}},components:{},onLoad:function(t){this.source=t.source,this.getAddList()},methods:{checkAddress:function(t){1==this.source&&(this.$api.prePage().refreshInfo(t),setTimeout((function(){uni.navigateBack()}),200))},refreshList:function(t,n){this.getAddList()},getAddList:function(){var t=this;return(0,i.default)(regeneratorRuntime.mark((function n(){var e,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.loadingFn((0,s.default)("/api/useraddress/extraction","POST",{}));case 2:e=n.sent,a=e.data,t.addressList=a;case 5:case"end":return n.stop()}}),n)})))()}}};n.default=u},"42ac":function(t,n,e){"use strict";var a=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;a(e("31b2"));var i={data:function(){return{initLoading:0,loading:0}},watch:{loading:function(t,n){t>0?uni.showLoading({mask:!0,title:"加载中"}):uni.hideLoading()},initLoading:function(t,n){}},created:function(){},methods:{}};n.default=i},a376:function(t,n,e){var a=e("24fb");n=a(!1),n.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/*远素间距*/\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */uni-page-body[data-v-eff17896]{padding-top:%?2?%;padding-bottom:%?120?%;background:#f3f3f3}.content[data-v-eff17896]{position:relative}.tagFont .fs_large[data-v-eff17896]{font-size:%?40?%!important}body.?%PAGE?%[data-v-eff17896]{background:#f3f3f3}',""]),t.exports=n},a8f2:function(t,n,e){"use strict";e.r(n);var a=e("42ac"),i=e.n(a);for(var s in a)"default"!==s&&function(t){e.d(n,t,(function(){return a[t]}))}(s);n["default"]=i.a},ab7e:function(t,n,e){"use strict";e.r(n);var a=e("ee1d"),i=e("18c0");for(var s in i)"default"!==s&&function(t){e.d(n,t,(function(){return i[t]}))}(s);e("b83a");var r,u=e("f0c5"),o=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"eff17896",null,!1,a["a"],r);n["default"]=o.exports},b83a:function(t,n,e){"use strict";var a=e("d205"),i=e.n(a);i.a},d205:function(t,n,e){var a=e("a376");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=e("4f06").default;i("142f1dbf",a,!0,{sourceMap:!1,shadowMode:!1})},ee1d:function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return s})),e.d(n,"a",(function(){return a}));var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"content b-t"},t._l(t.addressList,(function(n,a){return e("v-uni-view",{key:a,staticClass:"addrlist",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.checkAddress(n)}}},[e("v-uni-view",{staticClass:"addSwipe"},[e("v-uni-view",{staticClass:"swipeCont"},[e("v-uni-view",{staticClass:"tagFont"},[e("v-uni-text",{staticClass:"tag iconfont icon-loc-s fs_large",staticStyle:{border:"0"}})],1),e("v-uni-view",{staticClass:"wrapper"},[e("v-uni-view",{staticClass:"u-box"},[e("v-uni-text",{staticClass:"name"},[t._v("["+t._s(n.alias)+"]")]),e("v-uni-text",{staticClass:"name"},[t._v(t._s(n.name))]),e("v-uni-text",{staticClass:"mobile"},[t._v(t._s(n.tel))])],1),e("v-uni-view",{staticClass:"address-box"},[e("v-uni-text",{staticClass:"address"},[t._v(t._s(n.province_name)+" "+t._s(n.city_name)+" "+t._s(n.county_name)+" "+t._s(n.address))])],1)],1)],1)],1)],1)})),1)},s=[]}}]);

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

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-pay-index-"],{"15a5":function(e,n,t){var a=t("9aa8");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=t("4f06").default;i("2594c962",a,!0,{sourceMap:!1,shadowMode:!1})},"440d":function(e,n,t){"use strict";var a=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(t("5530")),o=t("2f62"),r=a(t("9fc0")),d=a(t("ec60")),s=(t("fbae"),{data:function(){return{payType:1,orderInfo:{},payMoney:null,orderNo:null,isLoading:!1}},computed:(0,i.default)({},(0,o.mapGetters)(["platform","mallToken","wxcode","wechatUserInfo"])),onLoad:function(e){var n=this;e.payMoney&&(this.payMoney=e.payMoney),e.orderNo&&(this.orderNo=e.orderNo),this.wxConfig(),window.onBridgeReady=function(e){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:d.default,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},(function(e){"get_brand_wcpay_request:ok"==e.err_msg?uni.reLaunch({url:"/pages/pay/result?type=1&order_no="+n.orderNo+"&pay_money="+n.payMoney}):(n.$api.msg("支付失败",2500),uni.reLaunch({url:"/pages/user-order-detail/user-order-detail?orderno="+n.orderNo}))}))},"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",onBridgeReady,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",onBridgeReady),document.attachEvent("onWeixinJSBridgeReady",onBridgeReady)):onBridgeReady()},methods:{wxConfig:function(){this.wechatUserInfo&&JSON.parse(this.wechatUserInfo)},confirm:function(e){uni.showLoading({title:"加载中"}),this.isLoading=!0,(0,r.default)("/Pay/PayUrl","POST",{os:"public",sourcename:"mall",order_no:this.orderNo,pay_type:"wechat"},"").then((function(e){200==e.ret?onBridgeReady(e.data.wechat):uni.showToast({title:e.msg,icon:"none",duration:2e3})})).catch((function(e){console.log(e)}))}}});n.default=s},5259:function(e,n,t){"use strict";t.r(n);var a=t("8271"),i=t("de38");for(var o in i)"default"!==o&&function(e){t.d(n,e,(function(){return i[e]}))}(o);t("7b77");var r,d=t("f0c5"),s=Object(d["a"])(i["default"],a["b"],a["c"],!1,null,"5eed12c0",null,!1,a["a"],r);n["default"]=s.exports},"7b77":function(e,n,t){"use strict";var a=t("15a5"),i=t.n(a);i.a},8271:function(e,n,t){"use strict";var a;t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){return a}));var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("v-uni-view",{staticClass:"app"},[t("v-uni-view",{staticClass:"payprice-box"},[t("v-uni-text",[e._v("支付金额")]),e.payMoney?t("v-uni-text",{staticClass:"price"},[e._v(e._s(e.payMoney))]):e._e()],1),t("v-uni-view",{staticClass:"pay-type-list"},[t("v-uni-view",{staticClass:"type-item b-b"},[t("v-uni-text",{staticClass:"iconfont icon-weixinzhifu icon-weixinzhifu"}),t("v-uni-view",{staticClass:"con"},[t("v-uni-text",{staticClass:"tit"},[e._v("微信支付")]),t("v-uni-text",[e._v("推荐使用微信支付")])],1),t("v-uni-label",{staticClass:"radio"},[t("v-uni-radio",{attrs:{value:"",color:"#FE6167",checked:1==e.payType}})],1)],1)],1),t("v-uni-text",{staticClass:"mix-btn ",class:{disabled:e.isLoading},on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.confirm.apply(void 0,arguments)}}},[e._v("确认支付")])],1)},o=[]},"9aa8":function(e,n,t){var a=t("24fb");n=a(!1),n.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/*远素间距*/\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */.app[data-v-5eed12c0]{width:100%}',""]),e.exports=n},de38:function(e,n,t){"use strict";t.r(n);var a=t("440d"),i=t.n(a);for(var o in a)"default"!==o&&function(e){t.d(n,e,(function(){return a[e]}))}(o);n["default"]=i.a}}]);

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-pay-result"],{1262:function(t,n,a){"use strict";var e;a.d(n,"b",(function(){return i})),a.d(n,"c",(function(){return r})),a.d(n,"a",(function(){return e}));var i=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("v-uni-view",{staticClass:"container"},[a("v-uni-view",{staticClass:"payResult"},[a("v-uni-view",{staticClass:"flex1"}),a("v-uni-image",{staticClass:"commImage paySuc",attrs:{src:"/static/paySuc.png"}}),a("v-uni-view",{staticClass:"result"},[a("v-uni-text",{staticClass:"payMoney"},[t._v("支付成功 ¥"+t._s(t.pay_money))]),a("v-uni-text",{staticClass:"payTip"},[t._v("宝贝即将启程奔向你的怀抱")]),a("v-uni-view",{staticClass:"btns"},[a("v-uni-navigator",{staticClass:"commBtn style1",attrs:{url:"/pages/index/index","open-type":"switchTab"}},[t._v("返回首页")]),a("v-uni-button",{staticClass:"commBtn style2",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.orderView.apply(void 0,arguments)}}},[t._v("查看订单")])],1)],1)],1),t._e()],1)},r=[]},"24f1":function(t,n,a){"use strict";a.r(n);var e=a("9a1d"),i=a.n(e);for(var r in e)"default"!==r&&function(t){a.d(n,t,(function(){return e[t]}))}(r);n["default"]=i.a},4439:function(t,n,a){var e=a("605a");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=a("4f06").default;i("7a589592",e,!0,{sourceMap:!1,shadowMode:!1})},"605a":function(t,n,a){var e=a("24fb");n=e(!1),n.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/*远素间距*/\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */uni-page-body[data-v-551f9c5b]{background:#f3f3f3;padding-bottom:%?10?%}body.?%PAGE?%[data-v-551f9c5b]{background:#f3f3f3}',""]),t.exports=n},6458:function(t,n,a){"use strict";var e=a("4439"),i=a.n(e);i.a},"9a1d":function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{introList:[],order_id:"",pay_money:""}},onLoad:function(t){try{var n=JSON.parse(t.type);this.order_id=t["order_id"],this.pay_money=t["pay_money"];var a=1==n?"支付成功":"支付失败";uni.setNavigationBarTitle({title:a})}catch(e){uni.showToast({title:e,icon:"none",duration:2e3})}},methods:{orderView:function(){uni.redirectTo({url:"/pages/user-order/user-order"})}}};n.default=e},eb58:function(t,n,a){"use strict";a.r(n);var e=a("1262"),i=a("24f1");for(var r in i)"default"!==r&&function(t){a.d(n,t,(function(){return i[t]}))}(r);a("6458");var s,o=a("f0c5"),u=Object(o["a"])(i["default"],e["b"],e["c"],!1,null,"551f9c5b",null,!1,e["a"],s);n["default"]=u.exports}}]);

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

Some files were not shown because too many files have changed in this diff Show More