更新组件
This commit is contained in:
parent
5a13db2c9f
commit
e54660d251
@ -1,7 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<button @click.stop="click"
|
<button @click.stop="click"
|
||||||
:class="{'my_btn_new_btn': position, 'my_btn_no_positon': !position, 'my_btn_disabled': my_btn_disabled}">{{text}}</button>
|
class="button"
|
||||||
|
:class="{'my_btn_new_btn': position, 'my_btn_no_positon': !position, 'my_btn_disabled': my_btn_disabled}">
|
||||||
|
<slot></slot>
|
||||||
|
{{text}}
|
||||||
|
</button>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -35,6 +39,11 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.button{
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
.my_btn_new_btn {
|
.my_btn_new_btn {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
@ -90,11 +90,13 @@
|
|||||||
|
|
||||||
<u-loadmore :status="loadConfig.status" :loading-text="loadConfig.loadingText"
|
<u-loadmore :status="loadConfig.status" :loading-text="loadConfig.loadingText"
|
||||||
:loadmore-text="loadConfig.loadmoreText" :nomore-text="loadConfig.nomoreText" />
|
:loadmore-text="loadConfig.loadmoreText" :nomore-text="loadConfig.nomoreText" />
|
||||||
<!-- <mybtn text="新建签约" @click="navTo('/subpkg/companyUnsign/companyUnsign')"></mybtn> -->
|
<mybtn text="新建签约" @click="navTo('/subpkg/companyUnsign/companyUnsign')">
|
||||||
<u-button class="btns" @click="navTo('/subpkg/companyUnsign/companyUnsign')">
|
<u-icon name="plus" color="white" size="18" style="margin-right: 10rpx;"></u-icon>
|
||||||
|
</mybtn>
|
||||||
|
<!-- <u-button class="btns" @click="navTo('/subpkg/companyUnsign/companyUnsign')">
|
||||||
<u-icon name="plus" color="white" size="18" style="margin-right: 10rpx;"></u-icon>
|
<u-icon name="plus" color="white" size="18" style="margin-right: 10rpx;"></u-icon>
|
||||||
新建签约
|
新建签约
|
||||||
</u-button>
|
</u-button> -->
|
||||||
<!-- <u-button class="btns" type="primary" icon="plus" text="新建签约"></u-button> -->
|
<!-- <u-button class="btns" type="primary" icon="plus" text="新建签约"></u-button> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="company_info" v-show="current==2">
|
<view class="company_info" v-show="current==2">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user