| | |
| | | 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, |
| | | }; |
| | | }, |
| | | props: { |
| | | title: { |
| | |
| | | methods: { |
| | | rightTextClick() { |
| | | this.$emit('rightText'); |
| | | } |
| | | }, |
| | | |
| | | } |
| | | }; |
| | | </script> |
| | |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | box-sizing: border-box; |
| | | padding-left: 25rpx; |
| | | |
| | | .title_start { |
| | | .icon { |