1.修改我的推广页面

master
杨杰 2 years ago
parent 4456ef5b3c
commit e34c3241d4
  1. 33
      high-unionPay/pages/user/generatePoster/generatePoster.vue
  2. 6
      high-unionPay/uni.scss

@ -1,6 +1,17 @@
<template> <template>
<view> <view>
<image :src="imgs" mode="widthFix" class="width90 mart15"></image> <view class="width90 mart15 border-r backcorfff">
<image :src="imagewxUrl+imgadres1" class="mart20 margle10 width20" mode="widthFix"></image>
<image :src="imgs" mode="widthFix" class="width80 mart20"></image>
<view class="font20 fcor666 fotct mart10">扫一扫上面的二维码图案</view>
<view class="font20 fcor666 fotct mart5 paddbotm20">推荐好友加入嗨森逛</view>
</view>
<image :src="imagewxUrl+imgadres2" mode="widthFix" class="width90 mart15"></image>
<view class="width90 font16 mart10 fcor666">邀请方式</view>
<image :src="imagewxUrl+imgadres3" mode="widthFix" class="width90 mart10"></image>
<image :src="imagewxUrl+imgadres4" mode="widthFix" class="width90 mart10"></image>
<image :src="imagewxUrl+imgadres5" mode="widthFix" class="width90 mart10 paddbotm15"></image>
</view> </view>
</template> </template>
@ -8,10 +19,17 @@
import { import {
promotionalPosters promotionalPosters
} from '../../../Utils/Api.js'; } from '../../../Utils/Api.js';
let app = getApp();
export default { export default {
data() { data() {
return { return {
imgs: '' imgs: '',
imagewxUrl: app.globalData.imageWxImg,
imgadres1: 'extension/1.png',
imgadres2: 'extension/2.png',
imgadres3: 'extension/3.png',
imgadres4: 'extension/4.png',
imgadres5: 'extension/5.png',
} }
}, },
onLoad() { onLoad() {
@ -20,17 +38,12 @@
methods: { methods: {
promotionalPosters() { promotionalPosters() {
uni.showLoading({ uni.showLoading({
title: '加载中...' title:'加载中'
}) })
promotionalPosters().then(res => { promotionalPosters().then(res => {
uni.hideLoading(); uni.hideLoading();
if (res.return_code == '000000') { if (res.return_code == '000000') {
this.imgs = res.return_data; this.imgs = res.return_data;
// uni.showToast({
// title: "",
// icon: "none",
// duration: 3000
// });
} }
}) })
} }
@ -39,5 +52,7 @@
</script> </script>
<style lang="scss"> <style lang="scss">
page {
background-color: #f5f5f5;
}
</style> </style>

@ -669,6 +669,12 @@ $uni-font-size-paragraph:30upx;
padding-bottom: 10px; padding-bottom: 10px;
} }
.paddbotm15 {
padding-bottom: 15px;
}
.paddbotm20 {
padding-bottom: 20px;
}
/* 左悬浮 */ /* 左悬浮 */
.flleft { .flleft {
float: left; float: left;

Loading…
Cancel
Save