1.新增我的推广页面

yj-dev
杨杰 4 years ago
parent 3773911204
commit 095f34f60c
  1. 63
      pages.json
  2. 65
      pages/user/minePromotion/minePromotion.vue
  3. 10
      uni.scss

@ -1,6 +1,5 @@
{
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{
"path": "pages/tabBar/home/home",
"style": {
@ -292,35 +291,41 @@
"enablePullDownRefresh": false
}
}, {
"path": "pages/goods/coupons-info-details/coupons-info-details",
"style": {
"navigationBarTitleText": "优惠券详情",
"enablePullDownRefresh": false
}
}, {
"path": "pages/user/mineCouponsDestails/mineCouponsDestails",
"style": {
"navigationBarTitleText": "优惠券详情",
"enablePullDownRefresh": false
}
}, {
"path": "pages/goods/externalCoupon/externalCoupon",
"style": {
"navigationBarTitleText": "扫码领取优惠券",
"enablePullDownRefresh": false
}
},
{
"path": "pages/user/minePromotion/minePromotion",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": true,
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#f06c7a",
"backgroundColorTop": "#f06c7a",
"navigationBarTextStyle": "white"
}
}
,{
"path" : "pages/goods/coupons-info-details/coupons-info-details",
"style" :
{
"navigationBarTitleText": "优惠券详情",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/user/mineCouponsDestails/mineCouponsDestails",
"style" :
{
"navigationBarTitleText": "优惠券详情",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/goods/externalCoupon/externalCoupon",
"style" :
{
"navigationBarTitleText": "扫码领取优惠券",
"enablePullDownRefresh": false
}
}
],
],
"globalStyle": {
"navigationBarTextStyle": "black",

@ -0,0 +1,65 @@
<template>
<view>
<view class="promotion_bg backcorf06 width100 height90 fcorfff fotct font20 fontspec10">我的推广</view>
<view class="promotion_dt width90 height90 backcorfff">
<view class="width90 mart10 fcor333 font14 fontwig6 height22">
<view class="promotion_xg flleft"></view>
<view class="promotion_mixg flleft"></view>
<view class="flleft promotoin_text">今日数据</view>
<view class="promotion_mixg flleft"></view>
<view class="promotion_xg flleft"></view>
</view>
<view class="width90 mart5">
<view class="width50 flleft font15 fcor333 fontwig6 fotlt">7</view>
<view class="width50 flright font15 fcor333 fontwig6 fotrt">5300.00</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss">
.promotion_bg {
position: relative;
}
.promotion_dt {
position: absolute;
top: 50px;
border-radius: 5px;
box-shadow: 0px 2px 10px 2px #999999;
}
.promotion_xg {
width: 15px;
height: 2px;
margin-top: 8px;
background-color: #f06c7a;
transform: rotate(120deg);
}
.promotoin_text {
margin-left: 5px;
margin-right: 5px;
}
.promotion_mixg {
width: 10px;
margin-top: 8px;
height: 2px;
background-color: #f06c7a;
transform: rotate(120deg);
}
</style>

@ -119,8 +119,13 @@ $uni-font-size-paragraph:30upx;
/* 字体间距 */
.fontspec {
letter-spacing: 1px;
}
.fontspec10 {
letter-spacing: 10px;
}
/* 字体行间距 */
.linehet {
line-height: 20px;
@ -304,9 +309,14 @@ $uni-font-size-paragraph:30upx;
.height60 {
height: 60px;
}
.height90 {
height: 90px;
}
.height30 {
height: 30px;
line-height: 30px;

Loading…
Cancel
Save