|
@@ -369,14 +369,23 @@ var subScribeTemplate = `
|
|
|
</div>
|
|
|
</div>
|
|
|
</van-popup>
|
|
|
- <van-dialog getContainer="body" class-name="sub-dialog-confirm" v-model="showSubDialog" width="303px" title="开启订阅" :show-confirm-button="false">
|
|
|
+ <van-dialog
|
|
|
+ getContainer="body"
|
|
|
+ class-name="sub-dialog-confirm"
|
|
|
+ v-model="showSubDialog"
|
|
|
+ width="303px"
|
|
|
+ title="开启订阅"
|
|
|
+ show-cancel-button
|
|
|
+ confirm-button-text="立即开启"
|
|
|
+ confirm-button-color="#2ABED1"
|
|
|
+ cancel-button-text="暂不开启"
|
|
|
+ cancel-button-color="#1d1d1d"
|
|
|
+ @confirm="setSubStatus"
|
|
|
+ @cancel="showSubDialog = false"
|
|
|
+ >
|
|
|
<div class="sub-dialog-content">
|
|
|
当前订阅状态为关闭状态,不支持修改,请开启订阅
|
|
|
</div>
|
|
|
- <div class="sub-dialog-footer">
|
|
|
- <button @click="showSubDialog = false" type="button" class="sub-button sub-button-cancel van-hairline--right">暂不开启</button>
|
|
|
- <button @click="setSubStatus" type="button" class="sub-button sub-button-confirm">立即开启</button>
|
|
|
- </div>
|
|
|
</van-dialog>
|
|
|
</div>
|
|
|
`
|