小钻风 4 years ago
parent a6147d1828
commit 8ae96f0339

@ -1,3 +1,4 @@
2021-03-30,17:45:05,3-30,189,161
2021-03-29,20:26:56,3-29,932,416 2021-03-29,20:26:56,3-29,932,416
2021-03-26,17:52:00,3-26,545,353 2021-03-26,17:52:00,3-26,545,353
2021-03-25,17:52:15,3-25,326,1540 2021-03-25,17:52:15,3-25,326,1540

1 2021-03-29 2021-03-30 20:26:56 17:45:05 3-29 3-30 932 189 416 161
1 2021-03-30 17:45:05 3-30 189 161
2 2021-03-29 2021-03-29 20:26:56 20:26:56 3-29 3-29 932 932 416 416
3 2021-03-26 2021-03-26 17:52:00 17:52:00 3-26 3-26 545 545 353 353
4 2021-03-25 2021-03-25 17:52:15 17:52:15 3-25 3-25 326 326 1540 1540

@ -21,13 +21,13 @@ Vue.component('goods-list', goodsList)
Vue.component('order-goods', orderGoods) Vue.component('order-goods', orderGoods)
Vue.component('large-image-list', largeImageList) Vue.component('large-image-list', largeImageList)
// 测试域名 // 测试域名
Vue.prototype.BASE_URL = "https://testapi.reecook.cn" // Vue.prototype.BASE_URL = "https://testapi.reecook.cn"
Vue.prototype.IMAGE_URL = "https://testcdn.reecook.cn/static" // Vue.prototype.IMAGE_URL = "https://testcdn.reecook.cn/static"
Vue.prototype.H5_BASE_URL = "https://testh5.reecook.cn"
// // 正式域名
// Vue.prototype.BASE_URL = "https://api.reecook.cn"
// Vue.prototype.IMAGE_URL = "https://cdn.reecook.cn/static"
// Vue.prototype.H5_BASE_URL = "https://testh5.reecook.cn" // Vue.prototype.H5_BASE_URL = "https://testh5.reecook.cn"
// // 正式域名
Vue.prototype.BASE_URL = "https://api.reecook.cn"
Vue.prototype.IMAGE_URL = "https://cdn.reecook.cn/static"
Vue.prototype.H5_BASE_URL = "https://testh5.reecook.cn"
//腾讯地图key //腾讯地图key
Vue.prototype.MAP_KEY = "SPVBZ-2EXWJ-WTEFC-K7ANJ-VG7G6-V7FQ6" Vue.prototype.MAP_KEY = "SPVBZ-2EXWJ-WTEFC-K7ANJ-VG7G6-V7FQ6"

@ -13,13 +13,13 @@
<swiper class="flex-sub" :current="currentIndex" :duration="300" :indicator-dots="false" :autoplay="false" @change="changeCurrent"> <swiper class="flex-sub" :current="currentIndex" :duration="300" :indicator-dots="false" :autoplay="false" @change="changeCurrent">
<!-- 直播回放列表 --> <!-- 直播回放列表 -->
<swiper-item> <!-- <swiper-item>
<live-videos></live-videos> <live-videos></live-videos>
</swiper-item> </swiper-item> -->
<!-- 小视频列表 --> <!-- 小视频列表 -->
<swiper-item> <!-- <swiper-item>
<small-videos></small-videos> <small-videos></small-videos>
</swiper-item> </swiper-item> -->
<!-- 图文动态列表 --> <!-- 图文动态列表 -->
<swiper-item> <swiper-item>
<dynamics :showGoodsLink="true"></dynamics> <dynamics :showGoodsLink="true"></dynamics>
@ -30,20 +30,21 @@
</template> </template>
<script> <script>
import liveVideos from 'components/liveVideos.vue' // import liveVideos from 'components/liveVideos.vue'
import smallVideos from 'components/smallVideos.vue' // import smallVideos from 'components/smallVideos.vue'
import dynamics from 'components/dynamics.vue' import dynamics from 'components/dynamics.vue'
export default { export default {
data() { data() {
return { return {
showMybtn: false, showMybtn: false,
currentIndex: 0, currentIndex: 0,
list: [{ list: [
name: '直播' // {
}, // name: ''
{ // },
name: '视频' // {
}, // name: ''
// },
{ {
name: '图文' name: '图文'
} }
@ -51,8 +52,8 @@
}; };
}, },
components: { components: {
liveVideos, // liveVideos,
smallVideos, // smallVideos,
dynamics dynamics
}, },
onLoad() { onLoad() {

@ -136,12 +136,12 @@
<view class="txt">复制链接</view> <view class="txt">复制链接</view>
</button> </button>
</view> </view>
<view class="flex-sub flex justify-center"> <!-- <view class="flex-sub flex justify-center">
<button class="flex flex-direction justify-center align-center" @tap="postShare"> <button class="flex flex-direction justify-center align-center" @tap="postShare">
<image class="share-icon" src="/static/mine/post.png" mode="widthFix"></image> <image class="share-icon" src="/static/mine/post.png" mode="widthFix"></image>
<view class="txt">二维码海报</view> <view class="txt">二维码海报</view>
</button> </button>
</view> </view> -->
</view> </view>
<view class="cancle" @tap="hideModel"></view> <view class="cancle" @tap="hideModel"></view>
</u-popup> </u-popup>

@ -1,6 +1,6 @@
<template> <template>
<view> <view>
<view v-if="type !== 'share'" style="position: absolute; top: 25px; right: 16px;" @tap="toMobileLogin"></view> <!-- <view v-if="type !== 'share'" style="position: absolute; top: 25px; right: 16px;" @tap="toMobileLogin"></view> -->
<view class="logo-box flex flex-direction align-center"> <view class="logo-box flex flex-direction align-center">
<image :src="IMAGE_URL+'/logo.png'" mode="widthFix"></image> <image :src="IMAGE_URL+'/logo.png'" mode="widthFix"></image>
<view class="">享受指尖的购物乐趣</view> <view class="">享受指尖的购物乐趣</view>

@ -610,8 +610,14 @@
let r = this.convert_length(80) let r = this.convert_length(80)
if (result.cardType) { if (result.cardType) {
this.Progressbar(100, 100, r, this.progressColor.start, this.progressColor.end); this.Progressbar(100, 100, r, this.progressColor.start, this.progressColor.end);
} else { } else {
this.Progressbar(result.amount, result.needAmount, r, this.progressColor.start, this.progressColor.end); let amount = result.amount
let needAmount = result.needAmount
if(needAmount === 0){
amount = 0
needAmount = 100
}
this.Progressbar(amount, needAmount, r, this.progressColor.start, this.progressColor.end);
} }
}); });
}, },

@ -27,12 +27,12 @@
<view class="txt">复制链接</view> <view class="txt">复制链接</view>
</button> </button>
</view> </view>
<view class="flex-sub flex justify-center"> <!-- <view class="flex-sub flex justify-center">
<button class="flex flex-direction justify-center align-center" @tap="postShare"> <button class="flex flex-direction justify-center align-center" @tap="postShare">
<image class="share-icon" src="/static/mine/post.png" mode="widthFix"></image> <image class="share-icon" src="/static/mine/post.png" mode="widthFix"></image>
<view class="txt">二维码海报</view> <view class="txt">二维码海报</view>
</button> </button>
</view> </view> -->
</view> </view>
<view class="cancle" @tap="hideModel"></view> <view class="cancle" @tap="hideModel"></view>
</u-popup> </u-popup>

@ -50,6 +50,10 @@ const install = (Vue, vm) => {
config.header["X-Recook-ID"] = id config.header["X-Recook-ID"] = id
config.header["X-Recook-Token"] = token config.header["X-Recook-Token"] = token
config.header["Device-Type"] = "wxapp" config.header["Device-Type"] = "wxapp"
config.header["X-Recook-System"] = 'wxapp'
// 当前版本 281 32
config.header["X-Recook-version"] = "32"
// console.log("请求参数为========",config.data) // console.log("请求参数为========",config.data)
config.data = Encrypt(config.data) config.data = Encrypt(config.data)
} }

Loading…
Cancel
Save