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 @@ ...@@ -6,7 +6,7 @@
:style="{background: isNeedDefaultBg ? 'white' : 'transparent'}" @touchmove.stop.prevent="noHandle"> :style="{background: isNeedDefaultBg ? 'white' : 'transparent'}" @touchmove.stop.prevent="noHandle">
<view class="pop-view-top-title" v-if="isNeedDefaultTitleBar"> <view class="pop-view-top-title" v-if="isNeedDefaultTitleBar">
<text class="pop-text-top-title">{{ title }}</text> <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> </image>
</view> </view>
<slot name="top"></slot> <slot name="top"></slot>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
@click.stop="noHandle()" :animation="centerAnimationData" :style="{marginTop: '-44px'}"> @click.stop="noHandle()" :animation="centerAnimationData" :style="{marginTop: '-44px'}">
<view class="pop-view-top-title" v-if="isNeedDefaultTitleBar"> <view class="pop-view-top-title" v-if="isNeedDefaultTitleBar">
<text class="pop-text-top-title">{{ title }}</text> <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> </image>
</view> </view>
<slot name="center"></slot> <slot name="center"></slot>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
@touchmove.stop.prevent="noHandle"> @touchmove.stop.prevent="noHandle">
<view class="pop-view-top-title" v-if="isNeedDefaultTitleBar"> <view class="pop-view-top-title" v-if="isNeedDefaultTitleBar">
<text class="pop-text-top-title">{{ title }}</text> <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> </image>
</view> </view>
<slot name="bottom"></slot> <slot name="bottom"></slot>
...@@ -113,6 +113,10 @@ ...@@ -113,6 +113,10 @@
isNeedTopAmin: { isNeedTopAmin: {
type: Boolean, type: Boolean,
default: false default: false
},
closeIcon: {
type: String,
default: "/static/icon-close.png"
} }
}, },
mounted() { mounted() {
......
{ {
"id": "f-pop", "id": "f-pop",
"displayName": "f-pop", "displayName": "f-pop",
"version": "1.0.0", "version": "1.0.3",
"description": "f-pop", "description": "f-pop 插件(底部弹出,中间弹出,顶部弹出)",
"keywords": [ "keywords": [
"f-pop" "f-pop"
], ],
"repository": "", "repository": "http://git.guoguodz.com/tangfh/fashion-ui.git",
"engines": { "engines": {
"HBuilderX": "^3.1.0" "HBuilderX": "^3.1.0"
}, },
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
"qq": "" "qq": ""
}, },
"declaration": { "declaration": {
"ads": "", "ads": "",
"data": "", "data": "插件不采集任何数据",
"permissions": "" "permissions": ""
}, },
"npmurl": "" "npmurl": ""
}, },
...@@ -35,14 +35,14 @@ ...@@ -35,14 +35,14 @@
"encrypt": [], "encrypt": [],
"platforms": { "platforms": {
"cloud": { "cloud": {
"tcb": "u", "tcb": "y",
"aliyun": "u", "aliyun": "y",
"alipay": "u" "alipay": "y"
}, },
"client": { "client": {
"Vue": { "Vue": {
"vue2": "u", "vue2": "y",
"vue3": "u" "vue3": "y"
}, },
"App": { "App": {
"app-vue": "u", "app-vue": "u",
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
"Safari": "u" "Safari": "u"
}, },
"小程序": { "小程序": {
"微信": "u", "微信": "y",
"阿里": "u", "阿里": "u",
"百度": "u", "百度": "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