Commit 531e53d4 authored by tangfh's avatar tangfh

+

parent 8eb09a2e
## 1.0.3(2024-06-04)
1.0.3
## 1.0.2(2024-06-04)
1.0.2
## 1.0.1(2024-06-04)
1.0.1
## 1.0.0(2024-06-04) ## 1.0.0(2024-06-04)
1.0.0 1.0.0
<template> <template>
<view class="flex-row v-avatar" style="padding-right: 10rpx" :style="[style]" @click="onClick"> <view class="flex-row v-avatar" :style="[style]" @click="onClick">
<f-image-01 :avatar="avatar" :style="avatarStyle"></f-image-01> <f-image-01 :avatar="avatar" :style="avatarStyle"></f-image-01>
<image class="image-avatar-right" src="/static/f/com-camera-small.png" mode="aspectFill" <image class="image-avatar-right" src="/static/f/com-camera-small.png" mode="aspectFill"
@click.stop="onSelectBtnClick"></image> @click.stop="onSelectBtnClick"></image>
...@@ -25,6 +25,9 @@ ...@@ -25,6 +25,9 @@
methods: { methods: {
onClick() { onClick() {
this.$emit("click") this.$emit("click")
uni.previewImage({
urls: [this.avatar]
})
}, },
onSelectBtnClick() { onSelectBtnClick() {
let _this = this; let _this = this;
......
{ {
"id": "f-avatar-edit", "id": "f-avatar-edit",
"displayName": "f-avatar-edit", "displayName": "f-avatar-edit",
"version": "1.0.0", "version": "1.0.3",
"description": "f-avatar-edit", "description": "f-avatar-edit",
"keywords": [ "keywords": [
"f-avatar-edit" "f-avatar-edit"
......
## 1.0.3(2024-06-04)
1.0.3
## 1.0.2(2024-05-30) ## 1.0.2(2024-05-30)
1.0.2 1.0.2
## 1.0.1(2024-05-28) ## 1.0.1(2024-05-28)
......
{ {
"id": "f-image-01", "id": "f-image-01",
"displayName": "f-image-01", "displayName": "f-image-01",
"version": "1.0.2", "version": "1.0.3",
"description": "f-image-01", "description": "f-image-01",
"keywords": [ "keywords": [
"f-image-01" "f-image-01"
......
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