Compare commits

...

2 Commits

Author SHA1 Message Date
Vinjor
e18d73b70a Merge branch 'master' of http://192.168.1.26:3000/dianliang/dl_uniapp 2025-04-29 12:07:40 +08:00
Vinjor
82d80db05d 1 2025-04-29 12:07:34 +08:00
6 changed files with 81 additions and 38 deletions

View File

@ -84,7 +84,10 @@
<!-- 右侧抽屉 -->
<uni-drawer ref="showRight" mode="right" :mask-click="true" @change="change($event)" width="160">
<view class="scroll-view">
<view style="position: absolute;height: 100%;width: 30%;z-index: 99;" @click="closeDrawer"></view>
<scroll-view class="scroll-view-box" scroll-y="true">
<view style="padding-left:30%;background: transparent;height: 100%;">
<view class="uni-common-mt">
<view class="info-content" @click="confirmItem(null)">
<image v-show="0==chooseCondition" class="image" src="@/static/platform/quanbu.png"
mode="aspectFit"></image>
@ -92,21 +95,25 @@
</view>
<view v-show="0==chooseCondition" class="info-content" v-for="(item,index) in platformList"
@click="confirmItem(item)" :key="index">
<image class="image" :src="'/static/platform/'+item.code+'.png'" mode="aspectFit"></image>
<image class="image" :src="'/static/platform/'+item.code+'.png'" mode="aspectFit">
</image>
<view class="title">{{item.title}}</view>
</view>
<view v-show="1==chooseCondition" class="info-content" v-for="(item,index) in bloggerTypeList"
@click="confirmItem(item)" :key="index">
<view v-show="1==chooseCondition" class="info-content"
v-for="(item,index) in bloggerTypeList" @click="confirmItem(item)" :key="index">
<view class="title">{{item.title}}</view>
</view>
</view>
</view>
</scroll-view>
</view>
</uni-drawer>
<!-- 右侧抽屉 -->
<uni-drawer ref="showRight2" mode="right" :mask-click="true" @change="change($event)" width="260">
<view class="scroll-view">
<view style="position: absolute;height: 100%;width: 30%;z-index: 99;" @click="closeDrawer"></view>
<scroll-view class="scroll-view-box" scroll-y="true">
<view style="padding: 20rpx 30rpx;">
<view style="padding-left:30%;background: transparent;height: 100%;">
<view class="uni-common-mt">
<view class="uni-form-item uni-column">
<view class="title">粉丝量要求</view>
@ -147,9 +154,10 @@
<view class="uni-form-item uni-column">
<view class="title">地区</view>
<view class="dl-drawer-item">
<uni-data-picker placeholder="请选择" popup-title="请选择地址" :localdata="dataTree"
v-model="queryParams.cityId" @change="onchange" @nodeclick="onnodeclick"
@popupopened="onpopupopened" @popupclosed="onpopupclosed">
<uni-data-picker style="width: 100%;padding: 10rpx 10rpx 10rpx 0;" placeholder="请选择"
popup-title="请选择地址" :localdata="dataTree" v-model="queryParams.cityId"
@change="onchange" @nodeclick="onnodeclick" @popupopened="onpopupopened"
@popupclosed="onpopupclosed">
</uni-data-picker>
</view>
</view>
@ -408,6 +416,7 @@
},
//
closeDrawer(e) {
debugger
this.chooseCondition = 9
this.$refs.showRight.close()
this.$refs.showRight2.close()
@ -861,20 +870,29 @@
width: 100%;
height: 100%;
/* #endif */
flex: 1
flex: 1;
}
//
.scroll-view-box {
flex: 1;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding-top: calc(var(--status-bar-height) + 100rpx);
padding-bottom: 100rpx;
// padding-top: calc(var(--status-bar-height) + 100rpx);
// padding-bottom: 100rpx;
font-size: 30rpx;
.uni-common-mt {
padding-top: calc(var(--status-bar-height) + 100rpx);
padding-left: 20rpx;
padding-bottom: 100rpx;
height: 100%;
background: white;
}
}
.info-content {
@ -951,4 +969,23 @@
margin: 10rpx;
}
}
.uni-drawer--right {
width: 100% !important;
background: transparent !important;
}
.input-value-border {
border: 1px solid #F4F4F4 !important;
font-size: 30rpx !important;
color: #929292 !important;
}
.placeholder {
font-size: 30rpx !important;
}
.text-color {
color: #929292 !important;
}
</style>

View File

@ -13,7 +13,7 @@
<view class="bg-img">加速特权</view>
</view>
<view class="content-img">
<image src="@/static/mine/coupon/quan.png" mode="aspectFit"></image>
</view>
<view class="bottom-content">
<view class="top-text">剩余<text>{{ coupon }}</text></view>
@ -38,7 +38,9 @@
<script>
import navigationBarVue from '@/components/navigation/navigationBar.vue';
import {getMemberCoupon} from '@/api/business/member.js'
import {
getMemberCoupon
} from '@/api/business/member.js'
export default {
components: {
navigationBarVue
@ -49,8 +51,7 @@
coupon: 0
}
},
onLoad(options){
},
onLoad(options) {},
onShow() {
this.initMyCoupon()
},
@ -167,6 +168,11 @@
width: 100%;
height: 200rpx;
margin-bottom: 20rpx;
image {
width: 100%;
height: 100%;
}
}
.bottom-content {

BIN
static/mine/coupon/quan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
static/platform/dewu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB