From 3e5ccc0369e0b8e61ce50e186246e57c1547ae00 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期二, 30 七月 2024 18:00:59 +0800 Subject: [PATCH] 申请复磅细节 --- components/combined-title/combined-title.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/components/combined-title/combined-title.vue b/components/combined-title/combined-title.vue index 973185d..d050f8f 100644 --- a/components/combined-title/combined-title.vue +++ b/components/combined-title/combined-title.vue @@ -12,7 +12,7 @@ v-if="$slots.rightText"> <view class="title_end_text" @click="rightTextClick"> - <image src="https://mx.jzeg.cn:9095/appimg/image/banner/add.png" + <image :src="`${onlineurl}/appimg/image/banner/add.png`" mode=""></image> <text> <slot name="rightText"></slot> @@ -24,11 +24,13 @@ </template> <script> - import { onlineurl } from '../../api/request.js' + import { onlineurl } from '@/api/request.js' export default { name: 'combined-title', data() { - return {}; + return { + onlineurl, + }; }, props: { title: { @@ -39,7 +41,8 @@ methods: { rightTextClick() { this.$emit('rightText'); - } + }, + } }; </script> @@ -56,6 +59,7 @@ justify-content: space-between; align-items: center; box-sizing: border-box; + padding-left: 25rpx; .title_start { .icon { -- Gitblit v1.9.1