|
@@ -59,13 +59,15 @@
|
|
|
@confirm="confirmWebsitDialog"
|
|
|
>
|
|
|
</zjDialogPicker>
|
|
|
- <template slot="footer" v-if="!!baoxiandangqianxianxitishi.length">
|
|
|
- <view class="bottom-container" style="box-sizing: border-box; padding: 20rpx">
|
|
|
- <u-button text="去购买" shape="circle" type="primary" @click="qugoumai"> </u-button>
|
|
|
- </view>
|
|
|
- </template>
|
|
|
</zj-page-layout>
|
|
|
</zj-page-fill>
|
|
|
+ <view
|
|
|
+ v-if="!!baoxiandangqianxianxitishi.length"
|
|
|
+ class="bottom-container"
|
|
|
+ style="box-sizing: border-box; padding: 20rpx"
|
|
|
+ >
|
|
|
+ <u-button text="去购买" shape="circle" type="primary" @click="qugoumai"> </u-button>
|
|
|
+ </view>
|
|
|
</zj-page-container>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -114,18 +116,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
qugoumai() {
|
|
|
- this.baoxiandangqianxianxitishi = []
|
|
|
- if (this.tab == 'DS') {
|
|
|
- this.$api.post('/worker/myDsWebsit').then(res => {
|
|
|
- this.baoxiandangqianxianxitishi = res.data
|
|
|
- this.isShowWebsitDialog = true
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.$api.post('/worker/myWebsit').then(res => {
|
|
|
- this.baoxiandangqianxianxitishi = res.data
|
|
|
- this.isShowWebsitDialog = true
|
|
|
- })
|
|
|
- }
|
|
|
+ this.isShowWebsitDialog = true
|
|
|
},
|
|
|
tabQiehuan(index) {
|
|
|
this.tab = index
|
|
@@ -134,6 +125,7 @@ export default {
|
|
|
this.loadStatus = 2
|
|
|
this.list = res?.data?.records || []
|
|
|
})
|
|
|
+ this.baoxiandangqianxianxitishi = []
|
|
|
if (this.tab == 'DS') {
|
|
|
this.$api.post('/worker/myDsWebsit').then(res => {
|
|
|
this.baoxiandangqianxianxitishi = res.data
|