1
This commit is contained in:
parent
5e88ae4144
commit
def9d17e54
@ -232,4 +232,12 @@ export function isGetGift() {
|
||||
url: '/member/member/isGetGift',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
//判断是否领取过新人好礼 0否 1是
|
||||
export function sendNewGift() {
|
||||
return request({
|
||||
url: '/member/member/sendNewGift',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -59,14 +59,14 @@
|
||||
</view>
|
||||
<!-- 积分 -->
|
||||
<view class="points-box" v-if="'02'==localUserType">
|
||||
<view class="item-box" @click="goPoints()">
|
||||
<view class="item-box" @click="dialogToggle()">
|
||||
<view class="item-text-box">
|
||||
<view>积分<text class="red-text">{{userInfo.pointsBalance||'0'}}</text></view>
|
||||
<view class="dl-little">赚积分<uni-icons type="right" size="10">{{item.unicode}}</uni-icons></view>
|
||||
</view>
|
||||
<image src="@/static/mine/baoming.png" mode="aspectFit"></image>
|
||||
</view>
|
||||
<view class="item-box">
|
||||
<view class="item-box" @click="goMemberCard()">
|
||||
<view class="item-text-box">
|
||||
<view>可用报名<text class="red-text">{{userInfo.report||'0'}}</text>次</view>
|
||||
<view class="dl-little">去提额<uni-icons type="right" size="10">{{item.unicode}}</uni-icons></view>
|
||||
@ -175,6 +175,11 @@
|
||||
<image :src="imageUrl+popupImgUrl" mode="aspectFit"></image>
|
||||
</view>
|
||||
</uni-popup>
|
||||
<!-- 提示窗示例 -->
|
||||
<uni-popup ref="alertDialog" type="dialog">
|
||||
<uni-popup-dialog type="warn" cancelText="关闭" confirmText="我知道了" title="温馨提示" content="随手转发上传通告,每条轻松赚10积分"
|
||||
@confirm="dialogConfirm"></uni-popup-dialog>
|
||||
</uni-popup>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -250,6 +255,12 @@
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
dialogToggle() {
|
||||
this.$refs.alertDialog.open()
|
||||
},
|
||||
dialogConfirm() {
|
||||
this.goPoints()
|
||||
},
|
||||
toggle(type, key) {
|
||||
this.type = type
|
||||
if (type == 'center') {
|
||||
|
||||
BIN
static/index/tanchuang.png
Normal file
BIN
static/index/tanchuang.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
@ -6,7 +6,7 @@
|
||||
<view v-if="mode === 'base'" class="uni-dialog-content">
|
||||
<slot>
|
||||
<image v-if="iconPath" :src="iconPath" mode="aspectFit"></image>
|
||||
<text class="uni-dialog-content-text">{{content}}</text>
|
||||
<view class="uni-dialog-content-text">{{content}}</view>
|
||||
</slot>
|
||||
</view>
|
||||
<view v-else class="uni-dialog-content">
|
||||
|
||||
@ -267,6 +267,8 @@
|
||||
},
|
||||
|
||||
open(direction) {
|
||||
console.log(direction, "12222")
|
||||
debugger
|
||||
// fix by mehaotian 处理快速打开关闭的情况
|
||||
if (this.showPopup) {
|
||||
return
|
||||
@ -470,4 +472,4 @@
|
||||
.fixforpc-top {
|
||||
top: 0;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user