This commit is contained in:
沈鸿 2025-05-27 09:50:02 +08:00
commit 0bcd46de7b
7 changed files with 16 additions and 13 deletions

View File

@ -18,7 +18,7 @@ export const leftApps = [
icon: 'images/platform/icon-admin.png', icon: 'images/platform/icon-admin.png',
}, },
{ {
name: 'sub-app', name: 'sub-app2',
entry: VITE_APP_SUB_GAS, entry: VITE_APP_SUB_GAS,
activeRule: '/sub-app', activeRule: '/sub-app',
title: 'APP', title: 'APP',
@ -49,7 +49,7 @@ export const rightApps = [
icon: 'images/platform/icon-admin.png', icon: 'images/platform/icon-admin.png',
}, },
{ {
name: 'sub-app', name: 'sub-app1',
entry: VITE_APP_SUB_GAS, entry: VITE_APP_SUB_GAS,
activeRule: '/sub-app', activeRule: '/sub-app',
title: 'APP', title: 'APP',

View File

@ -36,7 +36,13 @@ import { getAssetsFile } from '@/utils';
const gotoPage = (row) => { const gotoPage = (row) => {
// window.history.pushState({}, row.name, row.activeRule); // window.history.pushState({}, row.name, row.activeRule);
window.location.href = row.activeRule; if (row.name == 'sub-app1') {
window.location.href = 'https://www.pgyer.com/MXd3uUrO';
} else if (row.name == 'sub-app2') {
window.location.href = 'https://www.pgyer.com/4SVVtpob';
} else {
window.location.href = row.activeRule;
}
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@ -12,7 +12,6 @@ declare module 'vue' {
'CenterMap copy': typeof import('./src/components/centerMap copy.vue')['default'] 'CenterMap copy': typeof import('./src/components/centerMap copy.vue')['default']
CodeDialog: typeof import('./src/components/code-dialog/index.vue')['default'] CodeDialog: typeof import('./src/components/code-dialog/index.vue')['default']
Components: typeof import('./src/components/index.js')['default'] Components: typeof import('./src/components/index.js')['default']
copy: typeof import('./src/components/centerMap copy.vue')['default']
CurrentTime: typeof import('./src/components/currentTime.vue')['default'] CurrentTime: typeof import('./src/components/currentTime.vue')['default']
CustomBack: typeof import('./src/components/customBack.vue')['default'] CustomBack: typeof import('./src/components/customBack.vue')['default']
CustomCarouselPicture: typeof import('./src/components/custom-carousel-picture/index.vue')['default'] CustomCarouselPicture: typeof import('./src/components/custom-carousel-picture/index.vue')['default']

View File

@ -9,7 +9,6 @@ declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
CenterMap: typeof import('./src/components/centerMap.vue')['default'] CenterMap: typeof import('./src/components/centerMap.vue')['default']
CodeDialog: typeof import('./src/components/code-dialog/index.vue')['default'] CodeDialog: typeof import('./src/components/code-dialog/index.vue')['default']
copy: typeof import('./src/components/custom-scroll-title copy/index.vue')['default']
CostomImg: typeof import('./src/components/costomImg.vue')['default'] CostomImg: typeof import('./src/components/costomImg.vue')['default']
CustomBack: typeof import('./src/components/customBack.vue')['default'] CustomBack: typeof import('./src/components/customBack.vue')['default']
CustomCarouselPicture: typeof import('./src/components/custom-carousel-picture/index.vue')['default'] CustomCarouselPicture: typeof import('./src/components/custom-carousel-picture/index.vue')['default']

View File

@ -1,5 +1,5 @@
<!-- <!--
* @Description: * @Description:
* @Author: zenghua.wang * @Author: zenghua.wang
* @Date: 2023-06-20 14:29:45 * @Date: 2023-06-20 14:29:45
* @LastEditors: zenghua.wang * @LastEditors: zenghua.wang
@ -34,7 +34,7 @@ const isReload = computed(() => SettingStore.isReload);
flex: 1; flex: 1;
display: flex; display: flex;
width: 100%; width: 100%;
height: 100%; height: fit-content;
@include scrollable; @include scrollable;
box-sizing: border-box; box-sizing: border-box;

View File

@ -14,7 +14,7 @@ import Main from './component/Main';
.basic-layout { .basic-layout {
width: 100%; width: 100%;
min-width: 1200px; min-width: 1200px;
height: 100%; height: fit-content;
&-container { &-container {
position: relative; position: relative;
margin-left: 210px; margin-left: 210px;

View File

@ -85,8 +85,8 @@
</div> </div>
<div style="display: flex; justify-content: flex-start; text-align: left; margin-top: 20px"> <div style="display: flex; justify-content: flex-start; text-align: left; margin-top: 20px">
<div class="inputs" style="width: 100%"> <div class="inputs" style="width: 100%">
<span class="labels" style="width: 14%">收货地址</span> <span class="labels" style="padding-right: 12px">收货地址</span>
<el-input v-model="formData.address" maxlength="30" style="width: 100%" placeholder="请输入" show-word-limit type="textarea" /> <el-input v-model="formData.address" maxlength="30" style="width: 87%" placeholder="请输入" show-word-limit type="textarea" />
</div> </div>
</div> </div>
</el-form> </el-form>
@ -193,7 +193,7 @@ defineExpose({
.unit::after { .unit::after {
content: 'kg'; content: 'kg';
position: absolute; position: absolute;
right: 10px; /* 调整单位与输入框的距离 */ right: 65px; /* 调整单位与输入框的距离 */
color: #000; /* 单位颜色 */ color: #000; /* 单位颜色 */
pointer-events: none; /* 防止单位遮挡输入框 */ pointer-events: none; /* 防止单位遮挡输入框 */
} }
@ -207,8 +207,7 @@ defineExpose({
display: flex; display: flex;
align-items: center; align-items: center;
.labels { .labels {
width: 25%; padding-right: 12px;
margin-right: 10px;
} }
input { input {
width: calc(74% - 20px); width: calc(74% - 20px);