| | |
| | | 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> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { onlineurl } from '../../api/request.js' |
| | | import { onlineurl } from '@/api/request.js' |
| | | export default { |
| | | name: 'combined-title', |
| | | data() { |
| | | return {}; |
| | | return { |
| | | onlineurl: null |
| | | }; |
| | | }, |
| | | props: { |
| | | title: { |
| | |
| | | methods: { |
| | | rightTextClick() { |
| | | this.$emit('rightText'); |
| | | } |
| | | }, |
| | | |
| | | } |
| | | }; |
| | | </script> |