1
This commit is contained in:
parent
def9d17e54
commit
3128362b84
@ -177,8 +177,8 @@
|
|||||||
</uni-popup>
|
</uni-popup>
|
||||||
<!-- 提示窗示例 -->
|
<!-- 提示窗示例 -->
|
||||||
<uni-popup ref="alertDialog" type="dialog">
|
<uni-popup ref="alertDialog" type="dialog">
|
||||||
<uni-popup-dialog type="warn" cancelText="关闭" confirmText="我知道了" title="温馨提示" content="随手转发上传通告,每条轻松赚10积分"
|
<uni-popup-dialog type="warn" cancelText="关闭" confirmText="我知道了" title="温馨提示"
|
||||||
@confirm="dialogConfirm"></uni-popup-dialog>
|
:content="'随手转发上传通告,每条轻松赚'+point+'积分'" @confirm="dialogConfirm"></uni-popup-dialog>
|
||||||
</uni-popup>
|
</uni-popup>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -187,6 +187,10 @@
|
|||||||
import tabBarVue from '@/components/tabbar/tabBar.vue'
|
import tabBarVue from '@/components/tabbar/tabBar.vue'
|
||||||
import storage from '@/utils/storage'
|
import storage from '@/utils/storage'
|
||||||
import constant from '@/utils/constant';
|
import constant from '@/utils/constant';
|
||||||
|
import {
|
||||||
|
getCatgByCode,
|
||||||
|
getByCodeInfo
|
||||||
|
} from '@/api/system/config.js'
|
||||||
import {
|
import {
|
||||||
changeUserType
|
changeUserType
|
||||||
} from '@/utils/common.js'
|
} from '@/utils/common.js'
|
||||||
@ -232,9 +236,12 @@
|
|||||||
popupImgUrl: "",
|
popupImgUrl: "",
|
||||||
//会员到期日期
|
//会员到期日期
|
||||||
memberEndDate: "",
|
memberEndDate: "",
|
||||||
|
//每条赚多少积分
|
||||||
|
point: 10,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.getByCodeInfo()
|
||||||
if (null != getJSONData(constant.userInfo)) {
|
if (null != getJSONData(constant.userInfo)) {
|
||||||
this.userInfo = getJSONData(constant.userInfo)
|
this.userInfo = getJSONData(constant.userInfo)
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
@ -255,6 +262,24 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
/**
|
||||||
|
* 查询发布通告送多少积分
|
||||||
|
*/
|
||||||
|
getByCodeInfo() {
|
||||||
|
getByCodeInfo({
|
||||||
|
code: constant.fbgg
|
||||||
|
}).then(res => {
|
||||||
|
if (res.code == 200 && null != res.data) {
|
||||||
|
this.point = res.data.content
|
||||||
|
}
|
||||||
|
}).catch((e) => {
|
||||||
|
uni.showToast({
|
||||||
|
icon: 'error',
|
||||||
|
duration: 2000,
|
||||||
|
title: e
|
||||||
|
});
|
||||||
|
})
|
||||||
|
},
|
||||||
dialogToggle() {
|
dialogToggle() {
|
||||||
this.$refs.alertDialog.open()
|
this.$refs.alertDialog.open()
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user