75 Commits

Author SHA1 Message Date
qxf
f431b02d9f Merge pull request '修改协议隐私' (#399) from qxf into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/399
2020-12-01 17:55:00 +08:00
亓雪峰
a374babc45 修改协议隐私 2020-12-01 17:53:23 +08:00
ad68dd81d4 Merge pull request '拼团列表加载更多' (#398) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/398
2020-11-25 09:02:42 +08:00
3840074b00 拼团列表加载更多 2020-11-25 09:00:41 +08:00
3a880711ad Merge pull request '秒杀查看更多' (#397) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/397
2020-11-24 12:09:13 +08:00
5cd7597068 秒杀查看更多 2020-11-24 12:07:33 +08:00
qxf
e916119b2b Merge pull request 'qxf' (#396) from qxf into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/396
2020-11-20 15:56:24 +08:00
亓雪峰
1ce56510b1 Merge branch 'master' of https://git.luyuan.tk/luyuan/deming into qxf 2020-11-20 11:18:49 +08:00
d552a03ab4 Merge pull request '添加拒绝协议按钮' (#395) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/395
2020-11-20 10:22:12 +08:00
9f6bcdfa94 添加拒绝协议按钮 2020-11-20 10:20:51 +08:00
亓雪峰
63353b6877 新增 设置页新增“用户协议与隐私政策”的选项卡 2020-11-19 18:09:17 +08:00
qxf
74f083d6c1 Merge pull request 'qxf' (#394) from qxf into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/394
2020-11-19 17:08:26 +08:00
亓雪峰
7977bd795c 优化 初次登录的“用户协议”改为“用户协议与隐私” 2020-11-19 17:05:45 +08:00
亓雪峰
e044812a7c 修复 添加iOS审核所需要的位置信息 2020-11-13 10:34:05 +08:00
亓雪峰
363349afe6 修复 添加iOS审核所需要的位置信息 2020-11-12 16:18:51 +08:00
亓雪峰
456edb252e 修复 登录时iOS平台暂时隐藏第三方登录,方便过审 2020-11-12 15:19:15 +08:00
亓雪峰
ecfc79fbf8 优化 图标路径 2020-11-12 15:11:00 +08:00
亓雪峰
fb297e8a8c 修复 nvue部分样式编译错误的问题 2020-11-11 12:00:07 +08:00
qxf
1a15f1e3e6 Merge pull request 'qxf 修复订单列表中退款状态显示错误的问题' (#393) from qxf into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/393
2020-10-19 11:49:52 +08:00
亓雪峰
497d49eceb fix 修复订单列表中退款状态显示错误的问题 2020-10-19 11:46:50 +08:00
亓雪峰
0886ec74ea Update chatservice.js 2020-10-14 23:22:26 +08:00
qxf
ebff801c7e Merge pull request 'Update manifest.json' (#392) from qxf into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/392
2020-10-14 11:00:47 +08:00
亓雪峰
215730f8d1 Update manifest.json 2020-10-14 10:47:00 +08:00
483dfba475 Merge pull request 'qxf 修改申请退款成功的提示框, 消息-关注达人改为展示用户昵称' (#391) from qxf into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/391
2020-10-14 10:45:39 +08:00
亓雪峰
f8f3cf08f2 修改申请退款成功的提示框 2020-10-13 14:30:01 +08:00
亓雪峰
55e0bc7cd9 消息-关注达人改为展示用户昵称
This reverts commit 7a2edcfd1c0fc7c546389a3e63dd0d7892e65e0a.
2020-10-13 14:29:20 +08:00
f87bd2cfba Merge pull request '更换' (#390) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/390
2020-09-25 17:43:29 +08:00
9f5498ac7c 更换 2020-09-25 17:42:36 +08:00
gyh
d33bc8965a Merge pull request 'avater' (#389) from gyh into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/389
2020-09-23 09:56:49 +08:00
Gdpao
3115ac9447 avater 2020-09-23 09:55:30 +08:00
gyh
b914ba7c58 Merge pull request '更新 'pageE/mine/MineInfo.vue'' (#388) from gyh-patch-1 into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/388
2020-09-22 09:36:50 +08:00
gyh
990db30e77 更新 'pageE/mine/MineInfo.vue' 2020-09-22 09:36:39 +08:00
gyh
875aeeb63a Merge pull request 'gdpao' (#387) from gyh into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/387
2020-09-22 09:34:31 +08:00
Gdpao
7304d3edb6 gdpao 2020-09-22 09:32:56 +08:00
aebdb23b6d Merge pull request '商品分类' (#386) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/386
2020-09-22 09:14:53 +08:00
c4c19871d8 商品分类 2020-09-22 09:13:54 +08:00
c85f1aeead 修改字体大小 2020-09-21 17:37:29 +08:00
977d38ce18 Merge pull request '增加订单平台已退款状态' (#385) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/385
2020-09-21 17:03:28 +08:00
194710f97b 增加订单平台已退款状态 2020-09-21 16:58:25 +08:00
1c14a23d76 Merge pull request '增加订单平台已退款状态' (#384) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/384
2020-09-21 16:43:31 +08:00
611066e778 增加订单平台已退款状态 2020-09-21 16:42:38 +08:00
bc1d0b8e4c Merge pull request '增加订单平台已退款状态' (#383) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/383
2020-09-21 15:51:23 +08:00
31027d10e4 增加订单平台已退款状态 2020-09-21 15:50:26 +08:00
c606b9b3ce Merge pull request '修改字体大小' (#382) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/382
2020-09-21 08:41:39 +08:00
gyh
bf765ba231 Merge pull request 'gdpao' (#381) from gyh into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/381
2020-09-19 20:02:01 +08:00
Gdpao
645b3f65c1 gdpao 2020-09-19 20:01:07 +08:00
ded4488f89 Merge pull request '实体店送洗可不传图片' (#380) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/380
2020-09-19 16:44:04 +08:00
2b2667df2a 实体店送洗可不传图片 2020-09-19 16:43:01 +08:00
79f0040688 Merge pull request '图标' (#379) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/379
2020-09-18 16:41:00 +08:00
00670f4501 图标 2020-09-18 16:40:21 +08:00
db20e52e48 Merge pull request '去掉首页下拉刷新' (#378) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/378
2020-09-18 16:37:11 +08:00
d5cf7ae2fb 去掉首页下拉刷新 2020-09-18 16:36:35 +08:00
7644def64f Merge pull request '修改图标' (#377) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/377
2020-09-18 10:16:19 +08:00
2add59f416 修改图标 2020-09-18 10:15:46 +08:00
689b6a03aa Merge pull request '修改了备注的高度' (#376) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/376
2020-09-17 19:44:53 +08:00
2f8557eb42 修改了备注的高度 2020-09-17 19:42:34 +08:00
6364be1743 Merge pull request 'zhy' (#374) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/374
2020-09-17 19:33:43 +08:00
c893ece3a4 退款 2020-09-17 19:33:04 +08:00
fa9817e7bb 退款 2020-09-17 18:48:02 +08:00
a60f61c300 Merge pull request '添加了请求接口' (#373) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/373
2020-09-16 19:06:30 +08:00
6e40ae0daa 添加了请求接口 2020-09-16 18:35:21 +08:00
gyh
e96fcf28a9 Merge pull request 'gdpao' (#371) from gyh into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/371
2020-09-16 17:07:24 +08:00
Gdpao
8af938e0eb gdpao 2020-09-16 11:31:59 +08:00
gyh
d805b6f0bf Merge pull request 'gdpao' (#370) from gyh into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/370
2020-09-15 17:40:00 +08:00
Gdpao
10c9498985 gdpao 2020-09-15 16:44:03 +08:00
75dd6ca8d8 Merge pull request 'zhy' (#369) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/369
2020-09-15 16:16:44 +08:00
06bc5651ae 达人申请添加身份证 2020-09-15 16:14:57 +08:00
28c324e449 达人申请添加身份证 2020-09-15 16:07:59 +08:00
8158a1e780 Merge pull request '达人申请添加身份证' (#368) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/368
2020-09-15 15:41:38 +08:00
339f8e3346 达人申请添加身份证 2020-09-15 15:40:08 +08:00
1a9f06e722 Merge pull request '修改' (#367) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/367
2020-09-11 20:16:16 +08:00
7a9c0eb53f 修改 2020-09-11 20:15:49 +08:00
gyh
dd15356717 Merge pull request 'gdpao' (#366) from gyh into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/366
2020-09-11 19:48:11 +08:00
Gdpao
414f50ce5d gdpao 2020-09-11 18:47:14 +08:00
d5ba314bf6 Merge pull request '修改了标题' (#365) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/365
2020-09-11 17:59:32 +08:00
37 changed files with 268 additions and 104 deletions

View File

@@ -374,6 +374,11 @@ export default {
recordAppOpenTimes({appversion,device_type}){ recordAppOpenTimes({appversion,device_type}){
// appversion=1.0.0&device_type=android/ios // appversion=1.0.0&device_type=android/ios
return vm.$u.post("Member/recordAppOpenTimes",{appversion,device_type}) return vm.$u.post("Member/recordAppOpenTimes",{appversion,device_type})
},
//统计直播间浏览次数
// https://mall.dmygkeji.com/api/Live/countLiveBrowse?live_id=1
countLiveBrowse({live_id}){
return vm.$u.post("Live/countLiveBrowse",{live_id})
} }
} }
} }

View File

@@ -475,9 +475,9 @@ export default {
return vm.$u.post("Expertapply/hobbyList") return vm.$u.post("Expertapply/hobbyList")
}, },
// 达人申请 // 达人申请
applyExpert({ name, mobile, address, industry, hobby }) { applyExpert({ name, mobile, idcard, address, industry, hobby }) {
return vm.$u.post("Expertapply/expertApply", { return vm.$u.post("Expertapply/expertApply", {
name, mobile, address, industry, hobby name, mobile, idcard, address, industry, hobby
}) })
}, },
getInvoiceList() { getInvoiceList() {

View File

@@ -73,6 +73,9 @@ export default {
}, },
methods:{ methods:{
zhibo(){ zhibo(){
this.$u.api.countLiveBrowse({live_id:this.zid}).then((res)=>{
console.log(JSON.stringify(res),77)
})
this.$u.route({ this.$u.route({
url:"/pages/zhibo/index", url:"/pages/zhibo/index",
params:{ params:{
@@ -81,6 +84,7 @@ export default {
rid:this.rid rid:this.rid
} }
}) })
}, },
articleAddShield() { articleAddShield() {
console.log(this.item) console.log(this.item)

View File

@@ -17,7 +17,7 @@
<text>我已详细阅读并同意</text> <text>我已详细阅读并同意</text>
<text class="pact_text">用户协议</text> <text class="pact_text">用户协议</text>
<text class="pact_text">隐私协议</text> <text class="pact_text">隐私协议</text>
<text class="pact_text">使用协议</text> <!-- <text class="pact_text">使用协议</text> -->
<u-checkbox-group @change="checkboxGroupChange" size="27"> <u-checkbox-group @change="checkboxGroupChange" size="27">
<u-checkbox @change="checkboxChange" v-model="item.checked" v-for="(item, index) in list" :key="index" :name="item.name" <u-checkbox @change="checkboxChange" v-model="item.checked" v-for="(item, index) in list" :key="index" :name="item.name"
shape="circle" size="14" active-color="#19BE6B"></u-checkbox> shape="circle" size="14" active-color="#19BE6B"></u-checkbox>

View File

@@ -130,7 +130,7 @@ export default {
state = '待退款'; state = '待退款';
break; break;
case 7: case 7:
state = '已退款'; state = '商家已退款';
break; break;
case 9: case 9:
state = '拼团中'; state = '拼团中';
@@ -139,7 +139,10 @@ export default {
state = '已取消'; state = '已取消';
break; break;
case 11: case 11:
state = '已拒绝'; state = '商家已拒绝';
break;
case 12:
state = '平台已退款';
break; break;
default: default:
break; break;

View File

@@ -33,12 +33,16 @@
<!-- 用户协议弹窗 --> <!-- 用户协议弹窗 -->
<view class="welcome_backes" v-if="protocol"> <view class="welcome_backes" v-if="protocol">
<view class="content"> <view class="content">
<view class="title">{{ agreement.document_title }}</view> <!-- <view class="title">{{ agreement.document_title }}</view> -->
<view class="title">用户协议</view>
<!-- <text class="protocol_content"></text> --> <!-- <text class="protocol_content"></text> -->
<scroll-view scroll-y class="scroll"> <scroll-view scroll-y class="scroll">
<rich-text class="protocol_content" :nodes="agreement.document_content"></rich-text> <rich-text class="protocol_content" :nodes="agreement.document_content"></rich-text>
</scroll-view> </scroll-view>
<view class="to_agree" @click="to_agree">我同意</view> <view class="agree-btn">
<view class="refuse" @click="refuseAgreement">不同意并退出</view>
<view class="to_agree" @click="to_agree">同意</view>
</view>
</view> </view>
</view> </view>
</view> </view>
@@ -74,7 +78,7 @@
duration: 500, duration: 500,
swiper_index: "", swiper_index: "",
tiaoguo:false, tiaoguo:false,
weizhi:0 weizhi:0,
}; };
}, },
onReady: function(res) { onReady: function(res) {
@@ -165,6 +169,21 @@
url: '/pageA/login/login' url: '/pageA/login/login'
}); });
}, },
// 拒绝协议
refuseAgreement() {
//退出app
// #ifdef APP-PLUS
if (plus.os.name.toLowerCase() === 'android') {
plus.runtime.quit();
} else{
const threadClass = plus.ios.importClass("NSThread");
const mainThread = plus.ios.invoke(threadClass, "mainThread");
plus.ios.invoke(mainThread, "exit");
// ios11
plus.ios.import("UIApplication").sharedApplication().performSelector("exit")
}
// #endif
},
// 视频引入 // 视频引入
bindInputBlur: function(e) { bindInputBlur: function(e) {
this.inputValue = e.target.value; this.inputValue = e.target.value;
@@ -327,15 +346,37 @@
} }
} }
.to_agree { .agree-btn {
width: 558rpx; border-top: #D8D8D8 solid 1rpx;
// padding-top: 27rpx;
display: flex;
height: 80rpx;
> view {
height: inherit;
flex: 1;
font-size: 30rpx; font-size: 30rpx;
font-weight: bold; font-weight: bold;
color: rgba(255, 121, 16, 1);
text-align: center; text-align: center;
padding-top: 27rpx; line-height: 80rpx;
border-top: #D8D8D8 solid 1px;
} }
.refuse {
color: #999;
position: relative;
&:after {
content: "";
height: 80rpx;
width: 1rpx;
background-color: #D8D8D8;
position: absolute;
right: 0;
top: 0;
}
}
.to_agree {
color: rgba(255, 121, 16, 1);
}
}
} }
} }
</style> </style>

View File

@@ -33,7 +33,7 @@ export default {
border-radius: 50%; border-radius: 50%;
} }
>text{ >text{
width: 100rpx; max-width: 100rpx;
margin-top: 14rpx; margin-top: 14rpx;
font-size: 24rpx; font-size: 24rpx;
color: #333; color: #333;

View File

@@ -3,7 +3,7 @@
"appid" : "__UNI__EBFF00A", "appid" : "__UNI__EBFF00A",
"description" : "", "description" : "",
"versionName" : "1.0.1", "versionName" : "1.0.1",
"versionCode" : "100", "versionCode" : 107,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {
@@ -67,7 +67,13 @@
"abiFilters" : [ "armeabi-v7a", "x86" ] "abiFilters" : [ "armeabi-v7a", "x86" ]
}, },
/* ios */ /* ios */
"ios" : {}, "ios" : {
"privacyDescription" : {
"NSLocationAlwaysAndWhenInUseUsageDescription" : "德铭阳光将在推荐商品、收货地址等服务中使用您的位置信息。",
"NSLocationWhenInUseUsageDescription" : "德铭阳光将在推荐商品、收货地址等服务中使用您的位置信息。",
"NSLocationAlwaysUsageDescription" : "德铭阳光将在推荐商品、收货地址等服务中使用您的位置信息。"
}
},
/* SDK */ /* SDK */
"sdkConfigs" : { "sdkConfigs" : {
"ad" : {}, "ad" : {},
@@ -119,22 +125,22 @@
}, },
"icons" : { "icons" : {
"android" : { "android" : {
"hdpi" : "E:/Source-code/appleidmore/安卓png/72x72psd.PNG", "hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "E:/Source-code/appleidmore/安卓png/96x96psd.PNG", "xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "E:/Source-code/appleidmore/安卓png/144x144.PNG", "xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "E:/Source-code/appleidmore/安卓png/192x192.PNG" "xxxhdpi" : "unpackage/res/icons/192x192.png"
}, },
"ios" : { "ios" : {
"appstore" : "E:/Source-code/appleidmore/苹果png/appstore 1024X1024.PNG", "appstore" : "unpackage/res/icons/1024x1024.png",
"iphone" : { "iphone" : {
"app@2x" : "E:/Source-code/appleidmore/苹果png/120x120.PNG", "app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "E:/Source-code/appleidmore/苹果png/180x180.PNG", "app@3x" : "unpackage/res/icons/180x180.png",
"spotlight@2x" : "E:/Source-code/appleidmore/苹果png/80x80.PNG", "spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "E:/Source-code/appleidmore/苹果png/120x120.PNG", "spotlight@3x" : "unpackage/res/icons/120x120.png",
"settings@2x" : "E:/Source-code/appleidmore/苹果png/58x58psd.PNG", "settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "E:/Source-code/appleidmore/苹果png/87X87.PNG", "settings@3x" : "unpackage/res/icons/87x87.png",
"notification@2x" : "E:/Source-code/appleidmore/苹果png/40X40.PNG", "notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "E:/Source-code/appleidmore/苹果png/60X60.PNG" "notification@3x" : "unpackage/res/icons/60x60.png"
}, },
"ipad" : { "ipad" : {
"app" : "unpackage/res/icons/76x76.png", "app" : "unpackage/res/icons/76x76.png",

View File

@@ -41,7 +41,7 @@
timer: null, timer: null,
is_sendcode: false, // 60s is_sendcode: false, // 60s
time_count: 60, time_count: 60,
pactList: [ "《用户协议》", "《隐私协议》", "《使用协议》" ], pactList: [ "《用户协议》", "《隐私协议》" ],
}; };
}, },
methods: { methods: {

View File

@@ -34,7 +34,8 @@
<!-- 注册 --> <!-- 注册 -->
<view class="more_Login"> <view class="more_Login">
<text @click="registerUrl()">{{register}}</text> <text @click="registerUrl()">{{register}}</text>
<text class="other" @click="mask_u">其他方式登录</text> <!-- TODO 苹果因审核原因暂时隐藏第三方登录 -->
<text v-if="platform != 'ios'" class="other" @click="mask_u">其他方式登录</text>
</view> </view>
<!-- denglu QQ weixin --> <!-- denglu QQ weixin -->
<view class="buttones"> <view class="buttones">
@@ -92,17 +93,27 @@
}, { }, {
"id": '2', "id": '2',
"text": "《隐私协议》" "text": "《隐私协议》"
}, { },
"id": '3', // {
"text": "《使用协议》" // "id": '3',
}, ], // "text": "《使用协议》"
// },
],
temp_url: "", // 上个页面路径 temp_url: "", // 上个页面路径
pagesArr: ["pages/mine/index"], // 特殊路径 pagesArr: ["pages/mine/index"], // 特殊路径
platform: '', // 手机平台
}; };
}, },
onLoad() { onLoad() {
// 数据的请求 // 数据的请求
// this.apiwelcome(); // this.apiwelcome();
// 获取手机平台
uni.getSystemInfo({
success: (res) => {
console.log(res);
this.platform = res.platform
}
});
}, },
onShow() { onShow() {
let pages = getCurrentPages(); let pages = getCurrentPages();

View File

@@ -82,10 +82,11 @@
}, { }, {
"id": '2', "id": '2',
"text": "《隐私协议》" "text": "《隐私协议》"
}, {
"id": '3',
"text": "《使用协议》"
}, },
// {
// "id": '3',
// "text": "《使用协议》"
// },
] ]
}; };

View File

@@ -49,7 +49,7 @@
</view> </view>
<view class="remark"> <view class="remark">
<view class="title">订单备注</view> <view class="title">订单备注</view>
<u-input v-model="remark[index]" type="textarea" :height="88" placeholder="选填" /> <u-input v-model="remark[index]" type="textarea" style="margin-top:-5rpx" :height="88" placeholder="选填" />
</view> </view>
</view> </view>
<view class="pick-up" v-if="delivery.type == 3"> <view class="pick-up" v-if="delivery.type == 3">

View File

@@ -6,12 +6,12 @@
</view> </view>
<swiper :current="swiperCurrent" @animationfinish="animationfinish" :style="{height: swiperHeight}"> <swiper :current="swiperCurrent" @animationfinish="animationfinish" :style="{height: swiperHeight}">
<swiper-item class="swiper-item" v-for="(_, index) in tabList" :key="index"> <swiper-item class="swiper-item" v-for="(_, index) in tabList" :key="index">
<scroll-view scroll-y style="width: 100%;" @scrolltolower="onreachBottom"> <scroll-view scroll-y style="width: 100%;height: 100%;" @scrolltolower="onreachBottom">
<view v-if="pinTuanList[index]"> <view v-if="pinTuanList[index]">
<SpecialGoods v-for="(item, index) in pinTuanList[index]" :key="index" :item="item" type='group'></SpecialGoods> <SpecialGoods v-for="(item, index) in pinTuanList[index]" :key="index" :item="item" type='group'></SpecialGoods>
</view> </view>
<u-empty text="暂无商品" mode="list" color="#000" margin-top="120" v-if="!pinTuanList[index] || !pinTuanList[index].length"></u-empty> <u-empty text="暂无商品" mode="list" color="#000" margin-top="120" v-if="!pinTuanList[index] || !pinTuanList[index].length"></u-empty>
<u-loadmore :status="loadStatus" bgColor="#FFF" margin-top="20" margin-bottom="20" v-if="pinTuanList[index] && pinTuanList[index].length>=pageSize" @loadmore="onreachBottom"></u-loadmore> <u-loadmore :status="loadStatus" bgColor="#FFF" margin-top="20" margin-bottom="20" v-if="pinTuanList[index]" @loadmore="onreachBottom"></u-loadmore>
</scroll-view> </scroll-view>
</swiper-item> </swiper-item>
</swiper> </swiper>
@@ -22,7 +22,6 @@ import SpecialGoods from "../../components/shop/special-shop/index";
export default { export default {
data() { data() {
return { return {
pageSize: 6,
tabList: [], tabList: [],
current: -1, current: -1,
swiperCurrent: 0, swiperCurrent: 0,
@@ -42,6 +41,7 @@ export default {
}, },
watch: { watch: {
current(index) { current(index) {
this.page = 0;
this.getPinTuanList({ id: this.tabList[index].gc_id, load: 'reload' }); this.getPinTuanList({ id: this.tabList[index].gc_id, load: 'reload' });
} }
}, },
@@ -56,7 +56,7 @@ export default {
}) })
}, },
// 拼团列表 // 拼团列表
async getPinTuanList({ id, page, load }) { async getPinTuanList({ id, load }) {
const res = await this.$u.api.getPinTuanList({ const res = await this.$u.api.getPinTuanList({
page: this.page, page: this.page,
gc_id: id, gc_id: id,

View File

@@ -12,7 +12,7 @@
<view v-for="classifyA in classifyList" :key="classifyA.gc_parent_id" class="classify-view"> <view v-for="classifyA in classifyList" :key="classifyA.gc_parent_id" class="classify-view">
<view class="title">{{ classifyA.gc_parent_name }}</view> <view class="title">{{ classifyA.gc_parent_name }}</view>
<view class="classifyA-view"> <view class="classifyA-view">
<view v-for="classifyB in classifyA.gc_child" :key="classifyB.gc_id" class="classifyB-item u-line-1" @click="viewGoods({ type: classifyB.gc_parent_id, name: classifyB.gc_parent_name })">{{ classifyB.gc_parent_name }}</view> <view v-for="classifyB in classifyA.gc_child" :key="classifyB.gc_id" class="classifyB-item u-line-1" @click="viewGoods({ type: classifyB.gc_id, name: classifyB.gc_name })">{{ classifyB.gc_name }}</view>
</view> </view>
</view> </view>
</view> </view>

View File

@@ -1,5 +1,5 @@
<template> <template>
<view class="spike"> <scroll-view class="spike" scroll-y @scrolltolower="onreachBottom">
<view class="title"> <view class="title">
<view class="name">全部秒杀</view> <view class="name">全部秒杀</view>
<view class="time"> <view class="time">
@@ -19,8 +19,9 @@
<view class="spike-list"> <view class="spike-list">
<SpecialGoods v-for="(item, index) in spikeList" :key="index" :item="item" type='spike'></SpecialGoods> <SpecialGoods v-for="(item, index) in spikeList" :key="index" :item="item" type='spike'></SpecialGoods>
<u-empty mode="list" v-if="!spikeList.length" :margin-top="240"></u-empty> <u-empty mode="list" v-if="!spikeList.length" :margin-top="240"></u-empty>
<u-loadmore :status="loadStatus" bgColor="#FFF" margin-top="20" margin-bottom="20" @loadmore="onreachBottom"></u-loadmore>
</view> </view>
</view> </scroll-view>
</template> </template>
<script> <script>
import SpecialGoods from "@/components/shop/special-shop/index" import SpecialGoods from "@/components/shop/special-shop/index"
@@ -29,27 +30,50 @@ export default {
return { return {
spikeList: [], spikeList: [],
page: 0, page: 0,
seckillTime: {} seckillTime: {},
timer: true, // 限制下拉刷新
loadStatus: 'loadmore',
} }
}, },
components: { components: {
SpecialGoods SpecialGoods
}, },
onShow() { onShow() {
this.getSpikeList(); this.getSpikeList({ load: "reload" });
}, },
methods: { methods: {
// 全部秒杀 // 全部秒杀
getSpikeList() { async getSpikeList({ load }) {
this.$u.api.getSpikeList({ page: this.page }).then(res => { const res = await this.$u.api.getSpikeList({
console.log(res) page: this.page,
})
this.timer = true;
if (res.errCode == 0) { if (res.errCode == 0) {
this.spikeList = res.data.list;
this.seckillTime = { this.seckillTime = {
bigHour: res.data.bigHour, bigHour: res.data.bigHour,
littleHour: res.data.littleHour, littleHour: res.data.littleHour,
} }
if(load == 'reload') this.spikeList = res.data.list;
else if(load == 'loadmore') this.spikeList.push(...res.data.list);
} }
this.$forceUpdate();
return res.data.list.length;
},
onreachBottom() {
if(!this.timer) return false;
this.loadStatus = "loading";
this.page++;
this.getSpikeList({ load: "loadmore" }).then(length => {
// console.log(length);
if(length == 0) {
this.page--;
this.loadStatus = 'nomore';
} else {
this.loadStatus = 'loadmore';
}
}).catch(() => {
this.loadStatus = "nomore";
this.page--;
}) })
}, },
} }
@@ -57,9 +81,10 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.spike{ .spike{
min-height: calc(100vh - var(--window-top)); height: calc(100vh - var(--window-top));
padding: 30rpx; padding: 30rpx;
border-top: 1rpx solid rgba(236,236,236,1); border-top: 1rpx solid rgba(236,236,236,1);
box-sizing: border-box;
.title{ .title{
margin-bottom: 30rpx; margin-bottom: 30rpx;
display: flex; display: flex;

View File

@@ -5,7 +5,7 @@
<image :src="item.friend_tomavatar" mode="aspectFill"></image> <image :src="item.friend_tomavatar" mode="aspectFill"></image>
<view class="tishi" v-if="item.unread_message"></view> <view class="tishi" v-if="item.unread_message"></view>
</view> </view>
<view>{{item.friend_tomname}}</view> <view>{{item.friend_tomnickname}}</view>
<view>{{item.live_status ? '正在直播' : '未直播'}}</view> <view>{{item.live_status ? '正在直播' : '未直播'}}</view>
<view class="cur_two" @click="tapClick(index)">已关注</view> <view class="cur_two" @click="tapClick(index)">已关注</view>
<!-- <view class="cur" @click="tapClick(index)" v-else = "item.about == 2">未关注</view> --> <!-- <view class="cur" @click="tapClick(index)" v-else = "item.about == 2">未关注</view> -->

View File

@@ -119,7 +119,7 @@ export default {
margin-left: -20rpx; margin-left: -20rpx;
.daren-item { .daren-item {
width: 215rpx; width: 215rpx;
height: 282rpx; height: 270rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;

View File

@@ -1,7 +1,7 @@
<template> <template>
<view class="information"> <view class="information">
<view class="info-avatar"> <view class="info-avatar">
<u-avatar :src="userInfo.member_avatar" :size="120"></u-avatar> <u-avatar :src="userInfo.member_avatar + '?' + (new Date().getTime())" :size="120"></u-avatar>
</view> </view>
<view class="info-item"> <view class="info-item">
<view class="title">昵称</view> <view class="title">昵称</view>
@@ -51,8 +51,8 @@ export default {
getUserInfo() { getUserInfo() {
this.$u.api.getMemberInfo().then(res => { this.$u.api.getMemberInfo().then(res => {
if (res.errCode == 0) { if (res.errCode == 0) {
// this.userInfo = res.data.MemberArray; this.userInfo = res.data.MemberArray;
this.$set(this, 'userInfo', res.data.MemberArray); // this.$set(this, 'userInfo', res.data.MemberArray);
} }
}) })
}, },

View File

@@ -16,7 +16,7 @@
<view class="item-name u-line-1">{{ item.store_name }}</view> <view class="item-name u-line-1">{{ item.store_name }}</view>
<view class="item-date"> <view class="item-date">
<image src="@/pageE/static/mine/26.png"></image> <image src="@/pageE/static/mine/26.png"></image>
<view>{{ item.fav_time | date }}</view> <view>{{ item.fav_time }}</view>
</view> </view>
</view> </view>
</view> </view>

View File

@@ -16,7 +16,7 @@
<view class="item-bottom"> <view class="item-bottom">
<view class="item-date"> <view class="item-date">
<image src="@/pageE/static/mine/26.png"></image> <image src="@/pageE/static/mine/26.png"></image>
<view>{{ item.friend_tomavatar | date }}</view> <view>{{ item.friend_addtime }}</view>
</view> </view>
</view> </view>
</view> </view>

View File

@@ -9,6 +9,10 @@
<label for="phone">手机号:</label> <label for="phone">手机号:</label>
<input type="number" id="phone" @input="phones" maxlength="11" placeholder="请输入手机号" /> <input type="number" id="phone" @input="phones" maxlength="11" placeholder="请输入手机号" />
</view> </view>
<view>
<label for="idCard">身份证号:</label>
<input type="text" id="idCard" placeholder="请输入身份证号" @input="setIdCard" />
</view>
<view @click="show=true"> <view @click="show=true">
<label for="address">居住地址:</label> <label for="address">居住地址:</label>
<input type="text" id="address" v-model="address" disabled placeholder="请选择居住地址" /> <input type="text" id="address" v-model="address" disabled placeholder="请选择居住地址" />
@@ -65,6 +69,7 @@ export default {
areaList: [], areaList: [],
name: '', name: '',
phone: '', phone: '',
idCard: '',
address: '', address: '',
details: '', details: '',
industryList: [], industryList: [],
@@ -87,6 +92,9 @@ export default {
phones(a){ phones(a){
this.phone = a.detail.value this.phone = a.detail.value
}, },
setIdCard(v) {
this.idCard = v.detail.value;
},
detailss(a){ detailss(a){
this.details = a.detail.value this.details = a.detail.value
}, },
@@ -140,14 +148,22 @@ export default {
this.$u.toast('手机号错误'); this.$u.toast('手机号错误');
return false; return false;
} }
if(this.$u.test.isEmpty(this.address)) { if(this.$u.test.isEmpty(this.idCard)) {
this.$u.toast('地址不能为空'); this.$u.toast('身份证号不可为空');
return false;
}
if(this.$u.test.isEmpty(this.details)) {
this.$u.toast('详细地址不能为空');
return false; return false;
} }
// if(!this.$u.test.idCard(this.idCard)) {
// this.$u.toast('请正确填写身份证号');
// return false;
// }
// if(this.$u.test.isEmpty(this.address)) {
// this.$u.toast('地址不能为空');
// return false;
// }
// if(this.$u.test.isEmpty(this.details)) {
// this.$u.toast('详细地址不能为空');
// return false;
// }
if(!this.checkedIndustryList.length) { if(!this.checkedIndustryList.length) {
this.$u.toast('行业领域不能为空'); this.$u.toast('行业领域不能为空');
return false; return false;
@@ -165,6 +181,7 @@ export default {
this.$u.api.applyExpert({ this.$u.api.applyExpert({
name: this.name, name: this.name,
mobile: this.phone, mobile: this.phone,
idcard: this.idCard,
address: this.address + this.details, address: this.address + this.details,
industry: this.checkedIndustryList, industry: this.checkedIndustryList,
hobby: this.checkedHobbyList, hobby: this.checkedHobbyList,

View File

@@ -115,7 +115,7 @@ export default {
image: '../static/mine/36.png', image: '../static/mine/36.png',
}, },
'5': { '5': {
text: '已退款', text: '商家已退款',
image: '../static/mine/34.png', image: '../static/mine/34.png',
}, },
'6': { '6': {
@@ -135,7 +135,11 @@ export default {
image: '../static/mine/33.png', image: '../static/mine/33.png',
}, },
'10': { '10': {
text: '已拒绝', text: '商家已拒绝',
image: '../static/mine/34.png',
},
'11': {
text: '平台已退款',
image: '../static/mine/34.png', image: '../static/mine/34.png',
}, },
}, },
@@ -232,7 +236,7 @@ export default {
this.$u.api.getOrderInfo({ this.$u.api.getOrderInfo({
order_id: id, order_id: id,
}).then(res => { }).then(res => {
// console.log(res) console.log(res)
if(res.errCode == 0) { if(res.errCode == 0) {
this.orderInfo = res.data; this.orderInfo = res.data;
this.setTitle(this.orderInfo.view_type); this.setTitle(this.orderInfo.view_type);
@@ -286,6 +290,7 @@ export default {
toOtherPage(url) { toOtherPage(url) {
this.$u.route('/pageE/order/' + url, { this.$u.route('/pageE/order/' + url, {
oid: this.orderInfo.order_id, oid: this.orderInfo.order_id,
type:this.orderInfo.view_type
}); });
}, },
makePhone(phone) { makePhone(phone) {
@@ -328,6 +333,9 @@ export default {
case 11: case 11:
state = '10'; state = '10';
break; break;
case 12:
state = '11';
break;
default: default:
break; break;
} }

View File

@@ -94,7 +94,8 @@ export default {
} }
}, },
onLoad(option) { onLoad(option) {
this.type = option.type this.type = 2; // 需求更改 所有订单只能全退,不可选择商品。
// this.type = option.type
this.oid = option.oid; this.oid = option.oid;
this.getOrderInfo(option.oid); this.getOrderInfo(option.oid);
}, },
@@ -136,22 +137,23 @@ export default {
return true; return true;
}, },
applyRefund() { applyRefund() {
if(this.type !=2 && !this.verifyParams()) return false; if(this.type !=2 && !this.verifyParams()) return false;
// addrefundall 只需要订单id 和 说明
let params = { let params = {
order_id: this.oid, order_id: this.oid,
goods_id: this.goods.goods_id, // goods_id: this.goods.goods_id,
refund_amount: Number(this.totalPrice), // refund_amount: Number(this.totalPrice),
reason_info: this.refundText, reason_info: this.refundText,
goods_num: this.num, // goods_num: this.num,
} }
console.log(params) console.log(params)
if(this.type == 2){ if(this.type == 2){
this.$u.api.addrefundall(params).then(res => { this.$u.api.addrefundall(params).then(res => {
console.log(JSON.stringify(res)) // console.log(JSON.stringify(res))
if(res.errCode == 0) { if(res.errCode == 0) {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: res.message, title: res.message,
type: 'success',
back: true, back: true,
}) })
} else { } else {

View File

@@ -78,6 +78,14 @@
title: '帮助与反馈', title: '帮助与反馈',
link: './feedback' link: './feedback'
}, },
{
title: '用户协议',
link: '/pageA/pactList/pactList?index=0'
},
{
title: '隐私政策',
link: '/pageA/pactList/pactList?index=1'
},
], ],
content: "是否退出登录!", content: "是否退出登录!",
show: false, show: false,
@@ -129,9 +137,9 @@
plus.cache.clear(function(e) { plus.cache.clear(function(e) {
console.log(e); console.log(e);
}) })
}
this.getCache(); this.getCache();
} }
}
}) })
// #endif // #endif
}, },

View File

@@ -1,6 +1,6 @@
<template> <template>
<view class="mine-history"> <view class="mine-history">
<scroll-view scroll-y class="history-box" @scrolltolower="reachBottom"> <view scroll-y class="history-box">
<view class="item-box"> <view class="item-box">
<!-- 需求只显示最近五十条数据 后台未作限制 --> <!-- 需求只显示最近五十条数据 后台未作限制 -->
<view v-for="(item, index) in historyList" :key="index" class="history-item"> <view v-for="(item, index) in historyList" :key="index" class="history-item">
@@ -20,7 +20,7 @@
<u-action-sheet :list="actionList" v-model="showAction" :cancel-btn="true" @click="delHistory" border-radius="20"></u-action-sheet> <u-action-sheet :list="actionList" v-model="showAction" :cancel-btn="true" @click="delHistory" border-radius="20"></u-action-sheet>
<u-empty text="暂无足迹" mode="list" color="#000" v-if="!historyList.length"></u-empty> <u-empty text="暂无足迹" mode="list" color="#000" v-if="!historyList.length"></u-empty>
<u-loadmore class="load-size" :status="loadStatus" bgColor="#ECECEC" margin-top="20" margin-bottom="20" v-if="historyList.length >= pageSize" @loadmore="reachBottom"></u-loadmore> <u-loadmore class="load-size" :status="loadStatus" bgColor="#ECECEC" margin-top="20" margin-bottom="20" v-if="historyList.length >= pageSize" @loadmore="reachBottom"></u-loadmore>
</scroll-view> </view>
</view> </view>
</template> </template>
@@ -47,6 +47,9 @@ export default {
onLoad() { onLoad() {
this.getBrowseList(); this.getBrowseList();
}, },
onReachBottom(){
this.reachBottom()
},
methods: { methods: {
viewAction(id) { viewAction(id) {
this.showAction = true; this.showAction = true;
@@ -58,6 +61,10 @@ export default {
this.$u.api.delMemberBrowse({ goods_id: glist }).then(res => { this.$u.api.delMemberBrowse({ goods_id: glist }).then(res => {
if(res.errCode == 0) { if(res.errCode == 0) {
this.getBrowseList(); this.getBrowseList();
uni.pageScrollTo({
scrollTop: 0,
duration: 300
});
} else { } else {
this.$u.toast(res.message); this.$u.toast(res.message);
} }
@@ -109,13 +116,16 @@ export default {
} }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss">
page{
background: #ECECEC;
}
.mine-history { .mine-history {
min-height: calc(100vh - var(--window-top)); min-height: calc(100vh - var(--window-top));
background: #ECECEC; background: #ECECEC;
.history-box { .history-box {
box-sizing: border-box; box-sizing: border-box;
height: calc(100vh - var(--window-top)); // height: calc(100vh - var(--window-top));
padding: 20rpx 30rpx 0; padding: 20rpx 30rpx 0;
.item-box { .item-box {
display: flex; display: flex;

View File

@@ -21,7 +21,7 @@
<view class="order-status">{{ item.order_status | viewStatus }}</view> <view class="order-status">{{ item.order_status | viewStatus }}</view>
</view> </view>
<view class="order-info"> <view class="order-info">
<image :src="type == 1 ? item.goods_image : item.images[0]" mode="aspectFit"></image> <image :src="type == 1 ? item.goods_image : (Array.isArray(item.images) ? item.images[0] : '/static/image/mine/47.png')" mode="aspectFit"></image>
<view v-if="item.deliver_goods_type == 2 && item.order_status == 20"> <view v-if="item.deliver_goods_type == 2 && item.order_status == 20">
<view>骑手名字{{ item.takeawayer_name || '' }}</view> <view>骑手名字{{ item.takeawayer_name || '' }}</view>
<view>联系方式{{ item.takeawayer_mobile || '' }}</view> <view>联系方式{{ item.takeawayer_mobile || '' }}</view>

View File

@@ -1211,7 +1211,6 @@
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"enablePullDownRefresh": true,
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },

View File

@@ -273,7 +273,7 @@
darenItem darenItem
}, },
onShow() { onShow() {
console.log(this.imService.status) console.log(this.imService.status,this.$store.state.hasLogin)
if(!this.imService.status && this.$store.state.hasLogin){ if(!this.imService.status && this.$store.state.hasLogin){
const user = uni.getStorageSync('user_info'); const user = uni.getStorageSync('user_info');
// console.log(user) // console.log(user)

View File

@@ -127,7 +127,8 @@
uni.request({ uni.request({
url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo", url:"https://mall.dmygkeji.com/api/Specialci/getAtwillUserInfo",
data:{ data:{
userId: 1 userId: 1,
markup: 1
}, },
method:"POST", method:"POST",
header:{ header:{

View File

@@ -2,7 +2,7 @@
<view class="mine"> <view class="mine">
<view class="mine-top"> <view class="mine-top">
<view class="top"> <view class="top">
<u-avatar @click="toOtherPage('/mine/MineInfo')" :src="userInfo.member_avatar" :size="110"></u-avatar> <u-avatar @click="toOtherPage('/mine/MineInfo')" :src="userInfo.member_avatar + '?' + (new Date().getTime())" :size="110"></u-avatar>
<view class="user-info"> <view class="user-info">
<view class="info-top"> <view class="info-top">
<view class="user-nickname u-line-1">{{ userInfo.member_nickname }}</view> <view class="user-nickname u-line-1">{{ userInfo.member_nickname }}</view>
@@ -207,8 +207,8 @@ export default {
this.$u.api.getMemberInfo().then(res => { this.$u.api.getMemberInfo().then(res => {
// uni.stopPullDownRefresh(); // uni.stopPullDownRefresh();
if (res.errCode == 0) { if (res.errCode == 0) {
// this.userInfo = res.data.MemberArray; this.userInfo = res.data.MemberArray;
this.$set(this, 'userInfo', res.data.MemberArray); // this.$set(this, 'userInfo', res.data.MemberArray);
} }
}) })
}, },

View File

@@ -351,7 +351,7 @@
z-index: 9; z-index: 9;
position: fixed; position: fixed;
right: 30rpx; right: 30rpx;
bottom: 300rpx; bottom: 110rpx;
width: 100rpx; width: 100rpx;
height: 100rpx; height: 100rpx;
background: rgba(253, 211, 96, 1); background: rgba(253, 211, 96, 1);

View File

@@ -96,7 +96,9 @@
border-bottom-width: 2rpx; border-bottom-width: 2rpx;
border-style: solid; border-style: solid;
border-color: #ECECEC; border-color: #ECECEC;
/* #ifndef APP-PLUS-NVUE */
display: flex; display: flex;
/* #endif */
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
@@ -124,7 +126,9 @@
border-bottom-width: 2rpx; border-bottom-width: 2rpx;
border-style: solid; border-style: solid;
border-color: #ECECEC; border-color: #ECECEC;
/* #ifndef APP-PLUS-NVUE */
display: flex; display: flex;
/* #endif */
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
} }
@@ -183,7 +187,9 @@
border-radius: 30rpx; border-radius: 30rpx;
} }
.userlist{ .userlist{
/* #ifndef APP-PLUS-NVUE */
display: flex; display: flex;
/* #endif */
flex-direction: row-reverse; flex-direction: row-reverse;
width: 150rpx; width: 150rpx;
height: 60rpx; height: 60rpx;
@@ -205,7 +211,9 @@
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.userinfo { .userinfo {
/* #ifndef APP-PLUS-NVUE */
display: flex; display: flex;
/* #endif */
flex-direction: column; flex-direction: column;
width: 100rpx; width: 100rpx;
margin-left: 20rpx; margin-left: 20rpx;
@@ -240,7 +248,9 @@
left: 30rpx; left: 30rpx;
width: 308rpx; width: 308rpx;
height: 70rpx; height: 70rpx;
/* #ifndef APP-PLUS-NVUE */
display: flex; display: flex;
/* #endif */
align-items: center; align-items: center;
border-radius: 35rpx; border-radius: 35rpx;
overflow: hidden; overflow: hidden;
@@ -312,10 +322,13 @@
width: 690rpx; width: 690rpx;
} }
.danmuitem{ .danmuitem{
font-size: 26rpx; font-size: 30rpx;
color: #fff; color: #fff;
flex-direction: column-reverse; flex-direction: column-reverse;
/* #ifndef APP-PLUS-NVUE */
word-wrap:anywhere; word-wrap:anywhere;
/* #endif */
font-weight: bold;
} }
</style> </style>
@@ -418,6 +431,7 @@ export default {
"Authorization" : 'Bearer' + " " + token "Authorization" : 'Bearer' + " " + token
}, },
success(res){ success(res){
console.log(res) console.log(res)
that.info = res.data.data that.info = res.data.data
// that.list= res.data.data // that.list= res.data.data
@@ -461,6 +475,10 @@ export default {
}); });
}, },
errors(a){ errors(a){
this.videoContext.stop();
setTimeout(() => {
this.videoContext.play()
},1000)
console.log(a) console.log(a)
}, },
newpeople(list){ newpeople(list){
@@ -497,6 +515,11 @@ export default {
// this.contentPosition = 'message-box'+(this.room.messages.length-1); // this.contentPosition = 'message-box'+(this.room.messages.length-1);
// }, 300) // }, 300)
console.log(message) console.log(message)
if(message.type == 1){
console.log('stop')
return ;
}
this.danmulist.push(message) this.danmulist.push(message)
if(this.danmulist.length > 7){ if(this.danmulist.length > 7){

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
static/cartback.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -62,7 +62,7 @@ function ChatRoomService(room, user) {
//获取实例 //获取实例
ChatRoomService.prototype.connectGoEasyIM = function () { ChatRoomService.prototype.connectGoEasyIM = function () {
this.im = GoEasyIM.getInstance({ this.im = GoEasyIM.getInstance({
appkey: 'BC-453aa755c4ea48148abefc55a86df283', appkey: 'BC-d9b5e639006b4ee2a4bc9eddc4235a6a',
host: 'hangzhou.goeasy.io' host: 'hangzhou.goeasy.io'
}); });

BIN
static/image/mine/47.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@@ -38,7 +38,7 @@ function CurrentUser(uuid, name, avatar) {
function IMService() { function IMService() {
this.im = GoEasyIM.getInstance({ this.im = GoEasyIM.getInstance({
host:'hangzhou.goeasy.io',//qos=1 host:'hangzhou.goeasy.io',//qos=1
appkey:'BC-453aa755c4ea48148abefc55a86df283' appkey:'BC-d9b5e639006b4ee2a4bc9eddc4235a6a'
}); });
this.status = false this.status = false
this.lianjie = false this.lianjie = false