wangfumin hace 6 días
padre
commit
dc9bb86059
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      pages/work/index.js
  2. 2 2
      pages/work/index.wxml

+ 1 - 1
pages/work/index.js

@@ -360,7 +360,7 @@ VueLikePage([], {
     saveAlbum() {
       let type = this.data.type;
       
-      if (this.data.projectid == 'ZHS2409020-1') {
+      if (this.data.projectid == 'ZHS2409020-1' && type !== '0') {
          if (this.data.selectedIp && !this.data.ipConfirmed) {
            wx.showToast({
              title: '请先确认标签',

+ 2 - 2
pages/work/index.wxml

@@ -56,10 +56,10 @@
       </scroll-view>
     </view>
     <view class="w_btn" style="height:{{info.rescan.height}};background:url({{cdn_url+info.rescan.bg}}) no-repeat center / cover">
-      <view style="padding-left: 20rpx;" bindtap="edit" wx:if="{{projectid == 'ZHS2409020-1' && !isEditing}}">
+      <view style="padding-left: 20rpx;" bindtap="edit" wx:if="{{projectid == 'ZHS2409020-1' && !isEditing && type!='0'}}">
         <image src="/assets/img/edit.png" mode="widthFix" />
       </view>
-      <view class="btn_paise__border" wx:if="{{!isEditing}}" style="background:{{info.rescan.borderColor}}" />
+      <view class="btn_paise__border" wx:if="{{projectid == 'ZHS2409020-1' && !isEditing && type!='0'}}" style="background:{{info.rescan.borderColor}}" />
       <view bindtap="cancel">
         <image src="{{cdn_url}}/images/cancel.png" mode="widthFix" />
       </view>