This commit is contained in:
Vinjor 2025-05-06 16:51:20 +08:00
parent 5e88ae4144
commit def9d17e54
7 changed files with 97 additions and 67 deletions

View File

@ -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

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -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">

View File

@ -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>