优化页面展示

pull/16/head
nineven 4 years ago
parent c67b0d48ec
commit 00f70627ae
  1. 0
      fir_client/public/gt.js
  2. 1
      fir_client/public/index.html
  3. 4
      fir_client/public/short.html
  4. 2
      fir_client/src/assets/plane.svg
  5. 2
      fir_client/src/assets/propeller.svg
  6. 2
      fir_client/src/components/FirBase.vue
  7. 26
      fir_client/src/components/FirDownload.vue
  8. 2
      fir_client/src/components/FirFooter.vue
  9. 3
      fir_client/src/components/FirHeader.vue
  10. 2
      fir_client/src/components/FirIndex.vue
  11. 4
      fir_client/src/components/FirLogin.vue
  12. 4
      fir_client/src/components/FirRegist.vue
  13. 26
      fir_client/src/components/ShortDownload.vue
  14. 2
      fir_client/src/components/apps/FirAppInfosBase.vue
  15. 4
      fir_client/src/components/apps/FirAppInfosbaseinfo.vue
  16. 2
      fir_client/src/components/apps/FirAppInfoscombo.vue
  17. 4
      fir_client/src/components/apps/FirAppInfossecurity.vue
  18. 4
      fir_client/src/components/apps/FirAppInfossupersign.vue
  19. 2
      fir_client/src/components/apps/FirAppInfostimeline.vue
  20. 27
      fir_client/src/components/apps/FirApps.vue
  21. 4
      fir_client/src/components/user/FirSuperSignBase.vue
  22. 4
      fir_client/src/components/user/FirUserOrders.vue
  23. 4
      fir_client/src/components/user/FirUserProfileBase.vue
  24. 4
      fir_client/src/components/user/FirUserProfileCertification.vue
  25. 2
      fir_client/src/components/user/FirUserProfileChangePwd.vue
  26. 4
      fir_client/src/components/user/FirUserProfileInfo.vue
  27. 4
      fir_client/src/components/user/FirUserStorage.vue
  28. 125
      fir_client/src/main.js
  29. 13
      fir_client/src/main.short.js
  30. 2
      fir_client/src/restful/index.js
  31. 32
      fir_client/src/router/index.js
  32. 2
      fir_client/src/utils/index.js
  33. 8
      fir_client/vue.config.js

@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<script src="<%= BASE_URL %>config.js"></script>
<script src="<%= BASE_URL %>gt.js"></script>
<title>FLY分发平台</title>
</head>
<body>

@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<html lang="zh">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<script src="<%= BASE_URL %>config.js"></script>
<title>App下载</title>
<title>应用下载</title>
</head>
<body>
<noscript>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" x="0px"
y="0px"
width="800px" height="398.17px" viewBox="0 0 800 398.17" enable-background="new 0 0 800 398.17"
xml:space="preserve">

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
width="218px"
height="55.42px" viewBox="0 0 218 55.42" enable-background="new 0 0 218 55.42" xml:space="preserve">
<g id="图层_1">

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

@ -21,7 +21,7 @@
<script>
import FirHeader from "@/components/FirHeader";
import FirFooter from "@/components/FirFooter";
import {show_beautpic,} from "../utils";
import {show_beautpic,} from "@/utils";
export default {
name: "FirBase",

@ -13,8 +13,8 @@
</div>
<div v-else>
<!-- <span class="pattern left"><img src="../assets/down_left.png"></span>-->
<!-- <span class="pattern right"><img src="../assets/down_right.png"></span>-->
<!-- <span class="pattern left"><img src="@/assets/down_left.png"></span>-->
<!-- <span class="pattern right"><img src="@/assets/down_right.png"></span>-->
</div>
<el-container class="out-container " v-if="wxeasytypeflag">
@ -250,31 +250,31 @@
<script>
import QRCode from 'qrcodejs2'
import {getShortAppinfo, getdownloadurl} from '../restful'
import {getdownloadurl, getShortAppinfo} from '@/restful'
export default {
name: "FirDownload",
data() {
return {
signhelplist: [
{msg: '第一步 允许打开配置描述文件', url: require('../assets/sign/step1.jpg')},
{msg: '第二步 点击右上角安装按钮', url: require('../assets/sign/step2.jpg')},
{msg: '第三步 输入开机解锁密码', url: require('../assets/sign/step3.jpg')},
{msg: '第四步 点击下方安装按钮', url: require('../assets/sign/step4.jpg')},
{msg: '第一步 允许打开配置描述文件', url: require('@/assets/sign/step1.jpg')},
{msg: '第二步 点击右上角安装按钮', url: require('@/assets/sign/step2.jpg')},
{msg: '第三步 输入开机解锁密码', url: require('@/assets/sign/step3.jpg')},
{msg: '第四步 点击下方安装按钮', url: require('@/assets/sign/step4.jpg')},
],
inhousehelplist: [
{
msg: '首次安装企业版应用时会出现"未受信任的企业级开发者" 提示',
url: require('../assets/inhouse/b1.png')
url: require('@/assets/inhouse/b1.png')
},
{msg: '第一步 在手机中打开设置功能,选择 "通用" 功能', url: require('../assets/inhouse/b2.png')},
{msg: '第二步 在通用中,选择 "描述文件与设备管理" 功能', url: require('../assets/inhouse/b3.png')},
{msg: '第一步 在手机中打开设置功能,选择 "通用" 功能', url: require('@/assets/inhouse/b2.png')},
{msg: '第二步 在通用中,选择 "描述文件与设备管理" 功能', url: require('@/assets/inhouse/b3.png')},
{
msg: '第三步 选择要安装的企业应用的文件名称(与打开时的提示一致),点击进入',
url: require('../assets/inhouse/b4.png')
url: require('@/assets/inhouse/b4.png')
},
{msg: '第四步 确认企业签名中的公司名称与应用名称后,点击信任"企业签名公司名称"', url: require('../assets/inhouse/b5.png')},
{msg: '第五步 回到桌面,重新打开应用即可使用', url: require('../assets/inhouse/b6.png')},
{msg: '第四步 确认企业签名中的公司名称与应用名称后,点击信任"企业签名公司名称"', url: require('@/assets/inhouse/b5.png')},
{msg: '第五步 回到桌面,重新打开应用即可使用', url: require('@/assets/inhouse/b6.png')},
],
imagelist: [],
currentappinfo: {},

@ -12,7 +12,7 @@
<a style="display: inline-block; text-decoration: none; height: 20px; line-height: 20px;"
:href="footer.gongAnBeiAn.url"
target="_blank" rel="noopener">
<img style="float: left;" src="../assets/beianlogo.png"/>
<img style="float: left;" src="@/assets/beianlogo.png"/>
<el-link :underline="false"
style="float: left; height: 20px; line-height: 20px; margin: 0px 0px 0px 5px; color: #939393;">
{{ footer.gongAnBeiAn.text }}

@ -72,8 +72,7 @@
</template>
<script>
// eslint-disable-next-line no-unused-vars
import {logout, apitoken} from '../restful'
import {apitoken, logout} from '@/restful'
export default {
name: "FirHeader",

@ -11,7 +11,7 @@
<el-link>工具</el-link>
</el-col>
<el-col :span="8">
<el-link @click="$router.push({name:'FirApps'})"></el-link>
<el-link @click="$router.push({name:'FirApps'})"></el-link>
</el-col>
<el-col :span="8">
<el-link @click="$router.push({name:'FirRegist'})">注册</el-link>

@ -79,8 +79,8 @@
</template>
<script>
import {loginFun, set_auth_token} from "../restful";
import {checkEmail, checkphone, geetest} from "../utils";
import {loginFun, set_auth_token} from "@/restful";
import {checkEmail, checkphone, geetest} from "@/utils";
export default {
name: "FirLogin",

@ -87,8 +87,8 @@
</template>
<script>
import {getAuthTokenFun, registerFun} from "../restful";
import {checkEmail, checkphone, geetest} from "../utils";
import {getAuthTokenFun, registerFun} from "@/restful";
import {checkEmail, checkphone, geetest} from "@/utils";
export default {
name: "FirRegist",

@ -34,8 +34,8 @@
</div>
<div v-else>
<!-- <span class="pattern left"><img src="../assets/download_pattern_left.png"></span>-->
<!-- <span class="pattern right"><img src="../assets/download_pattern_right.png"></span>-->
<!-- <span class="pattern left"><img src="@/assets/download_pattern_left.png"></span>-->
<!-- <span class="pattern right"><img src="@/assets/download_pattern_right.png"></span>-->
</div>
<div class="out-container " v-if="wxeasytypeflag">
@ -247,31 +247,31 @@
<script>
import QRCode from 'qrcodejs2'
import {getShortAppinfo, getdownloadurl} from '../restful/download'
import {getdownloadurl, getShortAppinfo} from '@/restful/download'
export default {
name: "ShortDownload",
data() {
return {
signhelplist: [
{msg: '第一步 允许打开配置描述文件', url: require('../assets/sign/step1.jpg')},
{msg: '第二步 点击右上角安装按钮', url: require('../assets/sign/step2.jpg')},
{msg: '第三步 输入开机解锁密码', url: require('../assets/sign/step3.jpg')},
{msg: '第四步 点击下方安装按钮', url: require('../assets/sign/step4.jpg')},
{msg: '第一步 允许打开配置描述文件', url: require('@/assets/sign/step1.jpg')},
{msg: '第二步 点击右上角安装按钮', url: require('@/assets/sign/step2.jpg')},
{msg: '第三步 输入开机解锁密码', url: require('@/assets/sign/step3.jpg')},
{msg: '第四步 点击下方安装按钮', url: require('@/assets/sign/step4.jpg')},
],
inhousehelplist: [
{
msg: '首次安装企业版应用时会出现"未受信任的企业级开发者" 提示',
url: require('../assets/inhouse/b1.png')
url: require('@/assets/inhouse/b1.png')
},
{msg: '第一步 在手机中打开设置功能,选择 "通用" 功能', url: require('../assets/inhouse/b2.png')},
{msg: '第二步 在通用中,选择 "描述文件与设备管理" 功能', url: require('../assets/inhouse/b3.png')},
{msg: '第一步 在手机中打开设置功能,选择 "通用" 功能', url: require('@/assets/inhouse/b2.png')},
{msg: '第二步 在通用中,选择 "描述文件与设备管理" 功能', url: require('@/assets/inhouse/b3.png')},
{
msg: '第三步 选择要安装的企业应用的文件名称(与打开时的提示一致),点击进入',
url: require('../assets/inhouse/b4.png')
url: require('@/assets/inhouse/b4.png')
},
{msg: '第四步 确认企业签名中的公司名称与应用名称后,点击信任"企业签名公司名称"', url: require('../assets/inhouse/b5.png')},
{msg: '第五步 回到桌面,重新打开应用即可使用', url: require('../assets/inhouse/b6.png')},
{msg: '第四步 确认企业签名中的公司名称与应用名称后,点击信任"企业签名公司名称"', url: require('@/assets/inhouse/b5.png')},
{msg: '第五步 回到桌面,重新打开应用即可使用', url: require('@/assets/inhouse/b6.png')},
],
imagelist: [],
currentappinfo: {},

@ -98,7 +98,7 @@
</template>
<script>
import {apputils} from "../../restful";
import {apputils} from "@/restful";
import VueQr from 'vue-qr';
export default {

@ -89,8 +89,8 @@
</template>
<script>
import {apputils, getapppicurl, releaseapputils} from "../../restful"
import {AvatarUploadUtils} from "../../utils";
import {apputils, getapppicurl, releaseapputils} from "@/restful"
import {AvatarUploadUtils} from "@/utils";
export default {
name: "FirAppInfosbaseinfo",

@ -80,7 +80,7 @@
</template>
<script>
import {getapps, apputils} from "../../restful";
import {apputils, getapps} from "@/restful";
export default {
name: "FirAppInfoscombo"

@ -89,8 +89,8 @@
</template>
<script>
import {apputils,} from "../../restful"
import {deepCopy} from "../../utils";
import {apputils,} from "@/restful"
import {deepCopy} from "@/utils";
export default {
name: "FirAppInfossecurity",

@ -83,8 +83,8 @@
</template>
<script>
import {apputils,} from "../../restful"
import {deepCopy} from "../../utils";
import {apputils,} from "@/restful"
import {deepCopy} from "@/utils";
export default {
name: "FirAppInfossupersign",

@ -116,7 +116,7 @@
</template>
<script>
import {releaseapputils, getdownloadurl} from "../../restful"
import {getdownloadurl, releaseapputils} from "@/restful"
export default {
name: "FirAppInfostimeline",

@ -153,27 +153,27 @@
<div class="cube">
<!--前面图片 -->
<div class="out_front">
<img src="../../assets/imgs/1.png" class="pic">
<img src="@/assets/imgs/1.png" class="pic">
</div>
<!--后面图片 -->
<div class="out_back">
<img src="../../assets/imgs/5.png" class="pic">
<img src="@/assets/imgs/5.png" class="pic">
</div>
<!--左面图片 -->
<div class="out_left">
<img src="../../assets/imgs/6.png" class="pic">
<img src="@/assets/imgs/6.png" class="pic">
</div>
<!--右面图片 -->
<div class="out_right">
<img src="../../assets/imgs/7.png" class="pic">
<img src="@/assets/imgs/7.png" class="pic">
</div>
<!--上面图片 -->
<div class="out_top">
<img src="../../assets/imgs/8.png" class="pic">
<img src="@/assets/imgs/8.png" class="pic">
</div>
<!--下面图片 -->
<div class="out_bottom">
<img src="../../assets/imgs/9.png" class="pic">
<img src="@/assets/imgs/9.png" class="pic">
</div>
<!--小正方体 -->
@ -473,18 +473,19 @@
</template>
<script>
import {getapps, apputils, analyseApps, getuploadurl, get_package_prices, my_order} from "../../restful";
import {analyseApps, apputils, get_package_prices, getapps, getuploadurl, my_order} from "@/restful";
import {
dataURLtoFile,
format_money,
getappinfo,
getScrollHeight,
getScrollTop,
getWindowHeight,
getappinfo,
uploadqiniuoss,
dataURLtoFile,
show_beautpic,
uploadaliyunoss,
uploadlocalstorage,
format_money, show_beautpic
} from "../../utils";
uploadqiniuoss
} from "@/utils";
export default {
name: "FirApps",
@ -1037,7 +1038,7 @@
/*/deep/ .el-dialog__body {*/
/* background-image: url("../assets/b6.png");*/
/* background-image: url("@/assets/b6.png");*/
/* border: 0;*/
/*}*/

@ -437,8 +437,8 @@
<script>
import {iosdeveloper, iosdevices, iosdevicesudid, userinfos} from "../../restful";
import {removeAaary, IsNum} from "../../utils";
import {iosdeveloper, iosdevices, iosdevicesudid, userinfos} from "@/restful";
import {IsNum, removeAaary} from "@/utils";
export default {
name: "FirSuperSignBase",

@ -11,7 +11,7 @@
>
<el-row :gutter="8">
<el-col :span="12" style="text-align: center">
<el-image :src="require('../../assets/wx_pay.jpg')" style="width: 320px;height: 320px"
<el-image :src="require('@/assets/wx_pay.jpg')" style="width: 320px;height: 320px"
fit="fit"></el-image>
<el-link>用微信扫描二维码</el-link>
</el-col>
@ -223,7 +223,7 @@
<script>
import {my_order, userinfos} from "../../restful";
import {my_order, userinfos} from "@/restful";
export default {
name: "FirUserOrders",

@ -62,8 +62,8 @@
</template>
<script>
import {userinfos, getuserpicurl} from '../../restful';
import {AvatarUploadUtils} from "../../utils";
import {getuserpicurl, userinfos} from '@/restful';
import {AvatarUploadUtils} from "@/utils";
export default {
name: "FirUserProfileBase",

@ -216,8 +216,8 @@
</template>
<script>
import {getAuthcTokenFun, registerFun, user_certification} from "../../restful";
import {AvatarUploadUtils, checkphone, geetest} from "../../utils";
import {getAuthcTokenFun, registerFun, user_certification} from "@/restful";
import {AvatarUploadUtils, checkphone, geetest} from "@/utils";
export default {
name: "FirUserProfileCertification",

@ -43,7 +43,7 @@
</template>
<script>
import {userinfos} from "../../restful";
import {userinfos} from "@/restful";
export default {
name: "FirUserProfileChangePwd",

@ -176,8 +176,8 @@
</template>
<script>
import {userinfos, getAuthcTokenFun, registerFun} from '../../restful'
import {deepCopy} from "../../utils";
import {getAuthcTokenFun, registerFun, userinfos} from '@/restful'
import {deepCopy} from "@/utils";
export default {
name: "FirUserProfileInfo",

@ -305,8 +305,8 @@
</template>
<script>
import {getStorageinfo, userinfos} from "../../restful";
import {deepCopy} from "../../utils";
import {getStorageinfo, userinfos} from "@/restful";
import {deepCopy} from "@/utils";
export default {
name: "FirUserStorage",

@ -6,23 +6,73 @@ import 'element-ui/lib/theme-chalk/index.css'
import Vuex from 'vuex'
import qiniu from 'qiniu-js'
import oss from 'ali-oss'
//使用vue-cookies
import VueCookies from 'vue-cookies'
//导入store实例
import store from "@/store";
import {
Aside,
Avatar,
Breadcrumb,
BreadcrumbItem,
Button,
ButtonGroup,
Card,
Checkbox,
CheckboxGroup,
Col,
Container,
DatePicker,
Dialog,
Divider,
Dropdown,
DropdownItem,
DropdownMenu,
Footer,
Form,
FormItem,
Header,
Image,
Input,
InputNumber,
Link,
Loading,
Main,
Message,
MessageBox,
Notification,
Option,
OptionGroup,
Pagination,
Popover,
Progress,
RadioButton,
RadioGroup,
Row,
Select,
Slider,
Switch,
Table,
TableColumn,
TabPane,
Tabs,
Tag,
Timeline,
TimelineItem,
Tooltip,
Upload
} from "element-ui";
import VueLazyload from 'vue-lazyload'
// 引入点击复制组件
import VueClipboard from 'vue-clipboard2'
// const qiniu = require('qiniu-js');
//
Vue.prototype.qiniu = qiniu;
Vue.prototype.oss = oss;
//使用vue-cookies
import VueCookies from 'vue-cookies'
Vue.use(VueCookies);
//导入全局的 geetest.js
import '@/assets/gt.js'
//导入store实例
import store from "@/store";
//全局导航守卫
router.beforeEach((to, from, next) => {
@ -45,59 +95,6 @@ router.beforeEach((to, from, next) => {
Vue.config.productionTip = false;
import {
Button,
Select,
Table,
TableColumn,
Input,
DatePicker,
Container,
Aside,
Col,
Header,
Popover,
Main,
Dialog,
Checkbox,
CheckboxGroup,
Pagination,
Option,
Upload,
Tabs,
TabPane,
Form,
FormItem,
Divider,
Message,
Row,
ButtonGroup,
MessageBox,
Image,
Loading,
Tag,
Tooltip,
Switch,
Link,
BreadcrumbItem,
Slider,
DropdownMenu,
Dropdown,
Breadcrumb,
Avatar,
DropdownItem,
RadioButton,
RadioGroup,
OptionGroup,
Progress,
Timeline,
TimelineItem,
Card,
Notification,
Footer,
InputNumber
} from "element-ui";
Vue.use(Progress);
Vue.use(OptionGroup);
Vue.use(Link);
@ -154,16 +151,12 @@ Vue.prototype.$alert = MessageBox.alert;
// Vue.use(ElementUI);
Vue.use(Vuex);
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload, {
loading: require('@/assets/loading.gif'),
preLoad: 1
});
// 引入点击复制组件
import VueClipboard from 'vue-clipboard2'
VueClipboard.config.autoSetContainer = true;
Vue.use(VueClipboard);

@ -3,16 +3,8 @@ import Download from "@/Download";
import router from "@/router/download";
import 'element-ui/lib/theme-chalk/index.css'
import {
Button,
Input,
Container,
Main,
Message,
Link,
Divider
} from "element-ui";
import {Button, Container, Divider, Input, Link, Main, Message} from "element-ui";
import VueLazyload from 'vue-lazyload'
Vue.use(Link);
Vue.use(Input);
@ -24,7 +16,6 @@ Vue.prototype.$message = Message;
Vue.config.productionTip = false;
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload, {
loading: require('./assets/loading.gif'),

@ -1,6 +1,6 @@
import Axios from 'axios'
import VueCookies from 'vue-cookies'
import router from "../router";
import router from "@/router";
// const https = require('https');
const Base64 = require('js-base64').Base64;

@ -26,7 +26,6 @@ const router = new VueRouter({
},
{
path: '/apps',
// component: FirAppBase,
component: () => import("@/components/FirBase"),
children: [
@ -38,52 +37,38 @@ const router = new VueRouter({
,
{
path: ':id',
// component: FirAppInfosBase,
component: () => import("@/components/apps/FirAppInfosBase"),
children: [
{
path: '',
name: 'FirAppInfostimeline',
// component: FirAppInfostimeline,
component: () => import("@/components/apps/FirAppInfostimeline"),
}
,
{
path: 'info',
name: 'FirAppInfosbaseinfo',
// component: FirAppInfosbaseinfo,
component: () => import("@/components/apps/FirAppInfosbaseinfo"),
},
{
path: 'security',
name: 'FirAppInfossecurity',
// component: FirAppInfossecurity
component: () => import("@/components/apps/FirAppInfossecurity"),
},
{
path: 'devices',
name: 'FirAppInfosdevices',
// component: FirAppInfosdevices
component: () => import("@/components/apps/FirAppInfosdevices"),
},
{
path: 'combo',
name: 'FirAppInfoscombo',
// component: FirAppInfoscombo,
component: () => import("@/components/apps/FirAppInfoscombo"),
},
{
path: 'supersign',
name: 'FirAppInfossupersign',
// component: FirAppInfossupersign,
component: () => import("@/components/apps/FirAppInfossupersign"),
}
]
}
@ -91,15 +76,11 @@ const router = new VueRouter({
},
{
path: '/user',
// component: FirAppBase,
component: () => import("@/components/FirBase"),
children: [
{
path: '',
// component: FirUserProfileBase,
component: () => import("@/components/user/FirUserProfileBase"),
children: [
{
path: 'info',
@ -111,7 +92,6 @@ const router = new VueRouter({
path: 'setpasswd',
name: 'FirUserProfileChangePwd',
meta: {label: '修改密码'},
// component: FirUserProfileChangePwd
component: () => import("@/components/user/FirUserProfileChangePwd"),
}, {
@ -129,15 +109,12 @@ const router = new VueRouter({
{
path: '/login',
name: 'FirLogin',
// component: FirLogin
component: () => import("@/components/FirLogin"),
},
{
path: '/supersign',
// component: FirAppBase,
path: '/user/supersign',
component: () => import("@/components/FirBase"),
children: [
{
path: ':act',
@ -149,8 +126,7 @@ const router = new VueRouter({
]
},
{
path: '/storage',
// component: FirAppBase,
path: '/user/storage',
component: () => import("@/components/FirBase"),
children: [
{
@ -163,7 +139,7 @@ const router = new VueRouter({
]
},
{
path: '/orders',
path: '/user/orders',
component: () => import("@/components/FirBase"),
children: [
{
@ -178,14 +154,12 @@ const router = new VueRouter({
{
path: '/register',
name: 'FirRegist',
// component: FirRegist
component: () => import("@/components/FirRegist"),
},
{
path: '/:short',
name: 'FirDownload',
// component: FirDownload
component: () => import("@/components/FirDownload"),
},

@ -171,7 +171,7 @@ export function uploadaliyunoss(file, certinfo, app, successcallback, processcal
}
import {getuploadurl, loginFun, uploadimgs, uploadstorage} from '../restful'
import {getuploadurl, loginFun, uploadimgs, uploadstorage} from '@/restful'
export function uploadlocalstorage(file, certinfo, app, successcallback, processcallback) {
uploadstorage(certinfo, file, successcallback, processcallback)

@ -1,4 +1,9 @@
const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV)
const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV);
const path = require('path');
function resolve(dir) {
return path.join(__dirname, dir);
}
module.exports = {
pages: {
@ -66,6 +71,7 @@ module.exports = {
})
}
config.resolve.alias.set('@',resolve("src"));
config.optimization.splitChunks({
cacheGroups: {

Loading…
Cancel
Save