Commit 2e1d3986 authored by tangfh's avatar tangfh

f-pop 插件,关闭图标 修改为属性

parent c25465ae
## 1.0.3(2024-05-29)
1.0.3
## 1.0.2(2024-05-29)
1.0.2
## 1.0.1(2024-05-29)
1.0.1
## 1.0.0(2024-05-29)
1.0.0
......@@ -6,7 +6,7 @@
:style="{background: isNeedDefaultBg ? 'white' : 'transparent'}" @touchmove.stop.prevent="noHandle">
<view class="pop-view-top-title" v-if="isNeedDefaultTitleBar">
<text class="pop-text-top-title">{{ title }}</text>
<image class="pop-close-btn" src="./static/icon-close.png" mode="aspectFill" @click="dismiss()">
<image class="pop-close-btn" :src="closeIcon" mode="aspectFill" @click="dismiss()">
</image>
</view>
<slot name="top"></slot>
......@@ -18,7 +18,7 @@
@click.stop="noHandle()" :animation="centerAnimationData" :style="{marginTop: '-44px'}">
<view class="pop-view-top-title" v-if="isNeedDefaultTitleBar">
<text class="pop-text-top-title">{{ title }}</text>
<image class="pop-close-btn" src="./static/icon-close.png" mode="aspectFill" @click="dismiss()">
<image class="pop-close-btn" :src="closeIcon" mode="aspectFill" @click="dismiss()">
</image>
</view>
<slot name="center"></slot>
......@@ -30,7 +30,7 @@
@touchmove.stop.prevent="noHandle">
<view class="pop-view-top-title" v-if="isNeedDefaultTitleBar">
<text class="pop-text-top-title">{{ title }}</text>
<image class="pop-close-btn" src="./static/icon-close.png" mode="aspectFill" @click="dismiss()">
<image class="pop-close-btn" :src="closeIcon" mode="aspectFill" @click="dismiss()">
</image>
</view>
<slot name="bottom"></slot>
......@@ -113,6 +113,10 @@
isNeedTopAmin: {
type: Boolean,
default: false
},
closeIcon: {
type: String,
default: "/static/icon-close.png"
}
},
mounted() {
......
{
"id": "f-pop",
"displayName": "f-pop",
"version": "1.0.0",
"description": "f-pop",
"version": "1.0.3",
"description": "f-pop 插件(底部弹出,中间弹出,顶部弹出)",
"keywords": [
"f-pop"
],
"repository": "",
"repository": "http://git.guoguodz.com/tangfh/fashion-ui.git",
"engines": {
"HBuilderX": "^3.1.0"
},
......@@ -24,9 +24,9 @@
"qq": ""
},
"declaration": {
"ads": "",
"data": "",
"permissions": ""
"ads": "",
"data": "插件不采集任何数据",
"permissions": ""
},
"npmurl": ""
},
......@@ -35,14 +35,14 @@
"encrypt": [],
"platforms": {
"cloud": {
"tcb": "u",
"aliyun": "u",
"alipay": "u"
"tcb": "y",
"aliyun": "y",
"alipay": "y"
},
"client": {
"Vue": {
"vue2": "u",
"vue3": "u"
"vue2": "y",
"vue3": "y"
},
"App": {
"app-vue": "u",
......@@ -63,7 +63,7 @@
"Safari": "u"
},
"小程序": {
"微信": "u",
"微信": "y",
"阿里": "u",
"百度": "u",
"字节跳动": "u",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment