liudan 6 months ago
parent 4c4d848584
commit c018952d6c
  1. 4
      config/app.js
  2. 7
      pages/goods_cate/goods_cate.vue
  3. 18
      pages/prize/index.vue
  4. 2
      pages/short_video/nvueSwiper/index.nvue

@ -15,11 +15,11 @@ let openPlantGrass = '-openPlantGrass-'
// 网络接口修改此字符 小程序域名要求https // 网络接口修改此字符 小程序域名要求https
// let httpApi = 'http://192.168.31.106:8324' //测试 // let httpApi = 'http://192.168.31.106:8324' //测试
let httpApi = 'https://b3.njrenzhou.com' //生产 let httpApi = 'https://admin.njqicheng.cn' //生产
// 聊天接口修改此字符 小程序聊天要求wss 例如:wss://mer.crmeb.net // 聊天接口修改此字符 小程序聊天要求wss 例如:wss://mer.crmeb.net
// let wsApi = 'ws://192.168.3.20:8324' // let wsApi = 'ws://192.168.3.20:8324'
let wsApi = 'wss://b3.njrenzhou.com' let wsApi = 'wss://admin.njqicheng.cn'
module.exports = { module.exports = {
// 请求域名 格式: https://您的域名 // 请求域名 格式: https://您的域名

@ -28,6 +28,7 @@
<image class="list_title" :src="domain+'/static/diy/recommend_cate'+keyColor+'.png'"></image> <image class="list_title" :src="domain+'/static/diy/recommend_cate'+keyColor+'.png'"></image>
</view> </view>
<view v-else class='name skeleton-rect'>{{item.cate_name}}</view> <view v-else class='name skeleton-rect'>{{item.cate_name}}</view>
<view style="color:#aaaaaa;font-size:24rpx;" @click="getMore(item)">查看更多></view>
</view> </view>
<view class='list acea-row'> <view class='list acea-row'>
<block v-for="(itemn,indexn) in item.children" :key="itemn.store_category_id"> <block v-for="(itemn,indexn) in item.children" :key="itemn.store_category_id">
@ -240,6 +241,11 @@
this.cateList= item['children']; this.cateList= item['children'];
this.navActive = index ; this.navActive = index ;
}, },
getMore(itemn){
uni.navigateTo({
url:'/pages/columnGoods/goods_list/index?id='+itemn.store_category_id+'&title='+itemn.cate_name
})
},
getAllCategory: function() { getAllCategory: function() {
let that = this; let that = this;
let value = "" let value = ""
@ -395,6 +401,7 @@
.productSort .conter .listw .title { .productSort .conter .listw .title {
height: 100rpx; height: 100rpx;
align-items: center; align-items: center;
justify-content: space-between;
} }
.productSort .conter .listw .title .line { .productSort .conter .listw .title .line {
width: 100rpx; width: 100rpx;

@ -2,9 +2,9 @@
<view class="conbox"> <view class="conbox">
<view class="container"> <view class="container">
<!-- 背景 --> <!-- 背景 -->
<image src="https://b3.njrenzhou.com/static/images/prizeBg.png" class="cont" mode=""></image> <image src="https://admin.njqicheng.cn/static/images/prizeBg.png" class="cont" mode=""></image>
<view> <view>
<image src="https://b3.njrenzhou.com/static/images/prizeTitle.png" class="caidai" mode="widthFix"></image> <image src="https://admin.njqicheng.cn/static/images/prizeTitle.png" class="caidai" mode="widthFix"></image>
<view class="main"> <view class="main">
<view class="canvas-container"> <view class="canvas-container">
@ -27,7 +27,7 @@
</view> </view>
<view @click="playReward" class="canvas-btn" v-bind:class="btnDisabled"> <view @click="playReward" class="canvas-btn" v-bind:class="btnDisabled">
<image src="https://b3.njrenzhou.com/static/images/start.png" mode="widthFix"></image> <image src="https://admin.njqicheng.cn/static/images/start.png" mode="widthFix"></image>
<text>开始<br/>抽奖</text> <text>开始<br/>抽奖</text>
</view> </view>
@ -69,9 +69,9 @@
</view> </view>
<view class="status"> <view class="status">
<!-- <image :src="image" mode="widthFix"></image> --> <!-- <image :src="image" mode="widthFix"></image> -->
<image src="https://b3.njrenzhou.com/static/images/2.png" v-if="type==1" mode="widthFix"></image> <image src="https://admin.njqicheng.cn/static/images/2.png" v-if="type==1" mode="widthFix"></image>
<image src="https://b3.njrenzhou.com/static/images/3.png" v-if="type==2" mode="widthFix"></image> <image src="https://admin.njqicheng.cn/static/images/3.png" v-if="type==2" mode="widthFix"></image>
<image src="https://b3.njrenzhou.com/static/images/1.png" v-if="type==3" mode="widthFix"></image> <image src="https://admin.njqicheng.cn/static/images/1.png" v-if="type==3" mode="widthFix"></image>
</view> </view>
<view class="btnGroup"> <view class="btnGroup">
@ -186,15 +186,15 @@
if(res.data.item.type==1){ if(res.data.item.type==1){
this.title="恭喜你,抽中"; this.title="恭喜你,抽中";
this.subTitle = res.data.item.value+"钻石" this.subTitle = res.data.item.value+"钻石"
this.image = "https://b3.njrenzhou.com/static/images/2.png" this.image = "https://admin.njqicheng.cn/static/images/2.png"
}else if(res.data.item.type==2){ }else if(res.data.item.type==2){
this.title="很遗憾,没有抽中"; this.title="很遗憾,没有抽中";
this.subTitle = "谢谢惠顾" this.subTitle = "谢谢惠顾"
this.image = "https://b3.njrenzhou.com/static/images/3.png" this.image = "https://admin.njqicheng.cn/static/images/3.png"
}else if(res.data.item.type==3){ }else if(res.data.item.type==3){
this.title="恭喜你,抽中"; this.title="恭喜你,抽中";
this.subTitle = "再抽一次" this.subTitle = "再抽一次"
this.image = "https://b3.njrenzhou.com/static/images/1.png" this.image = "https://admin.njqicheng.cn/static/images/1.png"
} }
this.show = true; this.show = true;
this.btnDisabled = ''; this.btnDisabled = '';

@ -324,7 +324,7 @@
PromotionCode: '', //二维码图片 PromotionCode: '', //二维码图片
canvasStatus: false, //海报绘图标签 canvasStatus: false, //海报绘图标签
posterImage: '', //海报路径 posterImage: '', //海报路径
posterbackgd: 'https://b3.njrenzhou.com/static/img/index/posterbackgd.png', posterbackgd: 'https://admin.njqicheng.cn/static/img/index/posterbackgd.png',
avatar: '/static/images/f.png', avatar: '/static/images/f.png',
codeImg: "", codeImg: "",
autoplay: false, autoplay: false,

Loading…
Cancel
Save