jufubao-base 1.0.222-beta1 → 1.0.222-beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -83,10 +83,21 @@
83
83
  </view>
84
84
  <view v-if="item.buttons.length" class="prod_footer">
85
85
  <view style="flex: 1;"></view>
86
- <view class="btn"
87
- v-for="(btn,index) in item.buttons" :key="btn.key"
88
- @click="handleBtnEvent(btn.action, item)"
89
- >{{btn.text}}</view>
86
+ <template v-for="(btn,index) in item.buttons">
87
+ <template v-if="btn.action === 'apply_refund'">
88
+ <view class="btn"
89
+ v-if="showApplyAfter === 'Y'"
90
+ :key="btn.key"
91
+ @click="handleBtnEvent(btn.action, item)"
92
+ >{{btn.text}}</view>
93
+ </template>
94
+ <view class="btn"
95
+ v-else
96
+ :key="btn.key"
97
+ @click="handleBtnEvent(btn.action, item)"
98
+ >{{btn.text}}</view>
99
+ </template>
100
+
90
101
  </view>
91
102
  </view>
92
103
  </template>
@@ -106,7 +117,8 @@
106
117
  isShowOrderNo: {
107
118
  type: String,
108
119
  },
109
- brandTextColor: String
120
+ brandTextColor: String,
121
+ showApplyAfter: String
110
122
  },
111
123
  data(){
112
124
  return{