From 0795c788962b34c313b3005cb05d69328c40f818 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Thu, 02 Nov 2023 13:58:01 +0800 Subject: [PATCH] fix:小程序分享功能修改 --- pages/actionChange/components/basicInfor.vue | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/pages/actionChange/components/basicInfor.vue b/pages/actionChange/components/basicInfor.vue index 47de5eb..02d62e3 100644 --- a/pages/actionChange/components/basicInfor.vue +++ b/pages/actionChange/components/basicInfor.vue @@ -4,7 +4,15 @@ <view class="workOrderDetail"> <view class="headerCont"> <p class="title">������������</p> - <p>���������{{ basicInfor.allocationNum }}</p> + <view style="display: flex;align-items: center;"> + <p style="display: inline-block;padding-right: 10px;">���������{{ basicInfor.allocationNum }}</p> + <p class="sharebut"> + <button open-type="share" class="shareAn"> + </button> + <u-icon name="share-square" label='������' labelPos="bottom" bold size='18' color="#efb287" + labelColor="#efb287"></u-icon> + </p> + </view> </view> <u-line color="#bbb" /> <view> @@ -200,6 +208,7 @@ display: flex; justify-content: space-between; font-size: 30.77rpx; + align-items: center; } .mainContent { @@ -248,4 +257,18 @@ } } } + + .sharebut { + position: relative; + display: inline-block; + + .shareAn { + position: absolute; + height: 36px; + width: 30px; + padding: 0; + opacity: 0; + z-index: 100; + } + } </style> \ No newline at end of file -- Gitblit v1.8.0