小钻风 4 years ago
commit d34c7a8ec9

@ -18,9 +18,16 @@ Vue.component('large-image-list', largeImageList)
// 测试域名
// Vue.prototype.BASE_URL = "https://testapi.reecook.cn"
// Vue.prototype.IMAGE_URL = "https://testcdn.reecook.cn/static"
// 正式域名
Vue.prototype.BASE_URL = "https://api.reecook.cn"
Vue.prototype.IMAGE_URL = "https://cdn.reecook.cn/static"
// 正式域名
Vue.prototype.BASE_URL = "https://api.reecook.cn"
Vue.prototype.IMAGE_URL = "https://cdn.reecook.cn/static"
//腾讯地图key
Vue.prototype.MAP_KEY = "SPVBZ-2EXWJ-WTEFC-K7ANJ-VG7G6-V7FQ6"
//小程序静态资源存储地址由于小程序代码包大小限制比较大的静态资源图片放在了宝塔上对应域名下的recook-weapp文件夹里面

@ -16,9 +16,9 @@
<live-videos></live-videos>
</swiper-item> -->
<!-- 小视频列表 -->
<swiper-item>
<!-- <swiper-item>
<small-videos></small-videos>
</swiper-item>
</swiper-item> -->
<!-- 图文动态列表 -->
<swiper-item>
<dynamics :showGoodsLink="true"></dynamics>
@ -36,10 +36,12 @@
data() {
return {
showMybtn:false,
currentIndex:1,
list: [{
name: '视频'
}, {
currentIndex:0,
list: [
// {
// name: ''
// },
{
name: '图文'
}]
};

@ -6,7 +6,7 @@
</template>
<!-- 除了会员以外的角色显示数据展示页面 -->
<template class="container-B" v-if="roleLevel==400||roleLevel==300||roleLevel==200||roleLevel==100">
<template class="container-B" v-else-if="roleLevel==400||roleLevel==300||roleLevel==200||roleLevel==100">
<view class="top-box">
<image :src="STATIC_URL+'top_bg.png'" style="width: 100%;" mode="widthFix"></image>
<view class="bg-box bg-img flex flex-direction justify-between" :style="'background-image: url('+bgImage+');'" v-if="myInfo">
@ -248,6 +248,13 @@
<view class="cancle" @tap="hideModel"></view>
</u-popup>
</template>
<template v-else>
<view class="loginBtn">
<button class="btn" @click="tologin" style="background-color: #ff0000;">
<view class="">登录</view>
</button>
</view>
</template>
</view>
</template>
@ -331,6 +338,11 @@
}
},
methods: {
tologin() {
uni.navigateTo({
url: "../login/login"
})
},
postShare() {
this.$u.toast("功能暂未开放,敬请期待~");
},
@ -497,6 +509,23 @@
</script>
<style lang="scss">
.loginBtn{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
display: flex;
justify-content: center;
.btn{
width:110px;
margin: 20rpx 30rpx;
border-radius: 44rpx;
height: 88rpx;
line-height: 88rpx;
color: #FFFFFF;
}
}
.top-box {
position: relative;

Loading…
Cancel
Save