优化页面
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { TUILogin } from "@tencentcloud/tui-core";
|
||||
let vueVersion = 3;
|
||||
function TUIlogin(
|
||||
chatInfo,
|
||||
info,
|
||||
@@ -7,13 +6,14 @@ function TUIlogin(
|
||||
) {
|
||||
uni.$SDKAppID = chatInfo; // Your SDKAppID
|
||||
uni.$userID = String(info); // Your userID
|
||||
console.log("TUIlogin", chatInfo, info, userSig);
|
||||
uni.$userSig = userSig; // Your userSig
|
||||
TUILogin.login({
|
||||
SDKAppID: uni.$SDKAppID,
|
||||
userID: uni.$userID,
|
||||
userSig: uni.$userSig,
|
||||
useUploadPlugin: true, // If you need to send rich media messages, please set to true.
|
||||
framework: `vue${vueVersion}`, // framework used vue2 / vue3
|
||||
framework: `vue3`, // framework used vue2 / vue3
|
||||
}).catch(() => {});
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ export default {
|
||||
async pkList(){
|
||||
const res = await request({
|
||||
url: "pk/pkList",
|
||||
method: "GET",
|
||||
method: "POST",
|
||||
data: {
|
||||
status: 0,
|
||||
page: this.page,
|
||||
|
||||
@@ -8,8 +8,12 @@
|
||||
<view class="name">{{ userinfo.nickName }}</view>
|
||||
</view>
|
||||
<view class="Settings" @click="goSetting">
|
||||
<image class="SettingsIcon" src="../../static/Settings.png" mode="scaleToFill"/>
|
||||
</view>
|
||||
<image class="SettingsIcon" src="../../static/Settings.png" mode="scaleToFill" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view>
|
||||
<view class="logout" @click="logout">退出登录</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tabBar">
|
||||
@@ -26,7 +30,7 @@ export default {
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
uni.getStorage({
|
||||
uni.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.userinfo = res.data;
|
||||
@@ -35,10 +39,27 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
goSetting() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/Setting/Setting'
|
||||
});
|
||||
},
|
||||
uni.navigateTo({
|
||||
url: "/pages/Setting/Setting",
|
||||
});
|
||||
},
|
||||
logout() {
|
||||
uni.removeStorage({
|
||||
key: "chatInfo",
|
||||
});
|
||||
uni.removeStorage({
|
||||
key: "userinfo",
|
||||
});
|
||||
uni.removeStorage({
|
||||
key: "userSig",
|
||||
});
|
||||
uni.removeStorage({
|
||||
key: "lastPage",
|
||||
});
|
||||
uni.reLaunch({
|
||||
url: "/pages/login/login",
|
||||
});
|
||||
}
|
||||
},
|
||||
components: {
|
||||
tabBar,
|
||||
@@ -62,6 +83,7 @@ export default {
|
||||
width: 100%;
|
||||
}
|
||||
.header {
|
||||
background: #ffffff;
|
||||
margin-left: 50rpx;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
|
||||
@@ -153,7 +153,7 @@ export default {
|
||||
}
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
mounted() {
|
||||
uni.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
@@ -236,13 +236,13 @@ export default {
|
||||
method: "POST",
|
||||
data: {
|
||||
anchorId: this.nameAnchor,
|
||||
pk_time: this.datetimesingle,
|
||||
pkTime: this.sendingTime,
|
||||
sex: this.genders,
|
||||
country: this.countrys,
|
||||
coin: this.numberCoins,
|
||||
remark: this.remarks,
|
||||
status: 0,
|
||||
sender_id: this.id,
|
||||
senderId: this.id,
|
||||
anchorIcon: "",
|
||||
},
|
||||
userInfo: true,
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
<script>
|
||||
import request from "../../components/request.js";
|
||||
import postFile from "../../components/postFile.js";
|
||||
import generateFileName from "../../components/generateFileName.js";
|
||||
import postFile from "../../components/postFile.js";
|
||||
import generateFileName from "../../components/generateFileName.js";
|
||||
|
||||
export default {
|
||||
inject: ['$global'],
|
||||
inject: ["$global"],
|
||||
data() {
|
||||
return {
|
||||
userinfo:
|
||||
@@ -29,6 +29,8 @@ export default {
|
||||
info: {},
|
||||
userSig: "",
|
||||
lastPage: "",
|
||||
picture: "",
|
||||
Filename: generateFileName(),
|
||||
};
|
||||
},
|
||||
onLoad(option) {
|
||||
@@ -47,12 +49,12 @@ export default {
|
||||
uni.getStorage({
|
||||
key: "lastPage",
|
||||
success: (res) => {
|
||||
this.lastPage = "/"+res.data;
|
||||
this.lastPage = "/" + res.data;
|
||||
},
|
||||
fail: () => {
|
||||
this.lastPage = "/pages/Home/Home";
|
||||
},
|
||||
})
|
||||
});
|
||||
// const { info } = option;
|
||||
// this.id = JSON.parse(info).id
|
||||
},
|
||||
@@ -72,61 +74,51 @@ export default {
|
||||
title: "登录中...",
|
||||
mask: true,
|
||||
});
|
||||
const { code } = await uni.login({
|
||||
provider: "weixin",
|
||||
onlyAuthorize: true,
|
||||
});
|
||||
|
||||
postFile({
|
||||
path: this.userinfo,
|
||||
name:generateFileName(),
|
||||
}).then((res) => {
|
||||
this.userinfo = res;
|
||||
}).catch((err) => {
|
||||
const { code } = await uni.login({
|
||||
provider: "weixin",
|
||||
onlyAuthorize: true,
|
||||
});
|
||||
postFile({
|
||||
path: this.userinfo,
|
||||
name: this.Filename,
|
||||
})
|
||||
.then((ress) => {
|
||||
this.picture = ress;
|
||||
const res = request({
|
||||
url: "user/inputUserInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.id,
|
||||
headerIcon: this.Filename,
|
||||
nickName: this.name,
|
||||
code,
|
||||
usersig: this.userSig.userSig,
|
||||
},
|
||||
userInfo: false,
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
uni.showToast({
|
||||
title: "登录成功",
|
||||
icon: "success",
|
||||
});
|
||||
uni.setStorageSync("userinfo", res.data.info);
|
||||
uni.hideLoading();
|
||||
//```````````````````````````````````````````````````````````````````````登录成功后跳转回原页面 或 首页
|
||||
uni.reLaunch({
|
||||
url: this.lastPage,
|
||||
});
|
||||
//````````````````````````````````````````````````````````````````````
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: "登录失败",
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
});
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
|
||||
if (this.userinfo) {
|
||||
const res = await request({
|
||||
url: "user/inputUserInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.id,
|
||||
headerIcon: this.userinfo,
|
||||
nickName: this.name,
|
||||
code,
|
||||
usersig: this.userSig.userSig,
|
||||
},
|
||||
userInfo: false,
|
||||
});
|
||||
if (res.code === 200) {
|
||||
uni.showToast({
|
||||
title: "登录成功",
|
||||
icon: "success",
|
||||
});
|
||||
uni.setStorageSync("userinfo", res.data.info);
|
||||
uni.hideLoading();
|
||||
|
||||
//```````````````````````````````````````````````````````````````````````登录成功后跳转回原页面 或 首页
|
||||
uni.reLaunch({
|
||||
url: this.lastPage,
|
||||
});
|
||||
//````````````````````````````````````````````````````````````````````
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: "登录失败",
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
}else{
|
||||
uni.showToast({
|
||||
title: "上传失败",
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -21,6 +21,7 @@ export default {
|
||||
info: {},
|
||||
userSig: "",
|
||||
lastPage: "",
|
||||
myuserSig: "",
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
@@ -58,6 +59,7 @@ export default {
|
||||
userInfo: false,
|
||||
});
|
||||
this.info = res;
|
||||
console.log("登录信息", this.info);
|
||||
const sdkAppID = Number(this.info.data.chatInfo.appId);
|
||||
const userID ="administrator";
|
||||
this.userSig = genTestUserSig({
|
||||
@@ -65,6 +67,13 @@ export default {
|
||||
SECRETKEY:this.info.data.chatInfo.appKey,
|
||||
userID: userID,
|
||||
})
|
||||
this.myuserSig = genTestUserSig({
|
||||
SDKAPPID : sdkAppID,
|
||||
SECRETKEY:this.info.data.chatInfo.appKey,
|
||||
userID: String(res.data.info.id),
|
||||
})
|
||||
console.log("userSig",this.myuserSig.userSig);
|
||||
uni.setStorageSync("myuserSig", this.myuserSig)
|
||||
uni.setStorageSync("chatInfo", this.info.data.chatInfo)
|
||||
uni.setStorageSync("userSig", this.userSig)
|
||||
uni.setStorageSync("userinfo", this.info.data.info);
|
||||
@@ -73,10 +82,12 @@ export default {
|
||||
uni.reLaunch({
|
||||
url: "/pages/UserInformation/UserInformation",
|
||||
});
|
||||
TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id,this.myuserSig.userSig)
|
||||
uni.hideLoading();
|
||||
} else {
|
||||
uni.setStorageSync("userinfo", this.info.data.info);
|
||||
TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id,this.myuserSig.userSig)
|
||||
uni.hideLoading();
|
||||
TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id,this.userSig.userSig)
|
||||
//跳转原来页面否则首页
|
||||
console.log("跳的地址", this.lastPage);
|
||||
uni.reLaunch({
|
||||
|
||||
@@ -37,22 +37,37 @@
|
||||
<!-- 弹窗 -->
|
||||
<uni-popup ref="popup" type="center" border-radius="10px 10px 0 0">
|
||||
<view class="popup-content">
|
||||
<view class="popup-title">您确定要邀请主播PK吗?</view>
|
||||
<view class="popup-title">
|
||||
<scroll-view scroll-y="true" class="scroll">
|
||||
<!-- <uni-card v-for="(item, index) in list"> -->
|
||||
<view class="card" v-for="(item, index) in list">
|
||||
<view class="card-content">
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<!-- `````````````` -->
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="popup-btn">
|
||||
<button class="invite" type="primary" @click="invite()">邀请</button>
|
||||
<button class="cancel" type="default" @click="close()">取消</button>
|
||||
</view>
|
||||
</view>
|
||||
</uni-popup>
|
||||
<NewAddedPk class="createModule" ref="createModule"></NewAddedPk>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import formatDate from "../../components/formatDate.js";
|
||||
import VerifyLogin from "../../components/VerifyLogin.js";
|
||||
import NewAddedPk from "../../pages/NewAddedPk/NewAddedPk.vue";
|
||||
import request from "../../components/request.js";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
item: {},
|
||||
id: 0,
|
||||
list: [],
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
@@ -63,7 +78,13 @@ export default {
|
||||
this.item = data.item; // 将接收到的数据赋值给item
|
||||
console.log("接收到的数据:", this.item);
|
||||
});
|
||||
|
||||
|
||||
uni.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.id = res.data.id;
|
||||
},
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
formatDate: formatDate,
|
||||
@@ -74,6 +95,7 @@ export default {
|
||||
},
|
||||
open() {
|
||||
this.$refs.popup.open("center");
|
||||
this.userlist()
|
||||
},
|
||||
invite() {
|
||||
// 发送邀请消息
|
||||
@@ -91,7 +113,46 @@ export default {
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
async userlist() {
|
||||
uni.showLoading({
|
||||
title: "加载中...",
|
||||
mask: true,
|
||||
});
|
||||
const res = await request({
|
||||
url: "pk/queryMyPkData",
|
||||
method: "POST",
|
||||
data: {
|
||||
userId: this.id,
|
||||
},
|
||||
userInfo: true,
|
||||
});
|
||||
if (res.code === 200) {
|
||||
if(res.data.length !== 0){
|
||||
uni.hideLoading();
|
||||
console.log("res.data",res.data);
|
||||
this.list = res.data;
|
||||
}else{
|
||||
uni.hideLoading();
|
||||
this.openPopupQuantity()
|
||||
}
|
||||
} else {
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
title: "加载失败",
|
||||
icon: "none",
|
||||
duration: 2000,
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
openPopupQuantity() {
|
||||
this.$refs.createModule.open();
|
||||
},
|
||||
},
|
||||
components: {
|
||||
NewAddedPk
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -135,7 +196,7 @@ export default {
|
||||
}
|
||||
.popup-content {
|
||||
width: 500rpx;
|
||||
height: 300rpx;
|
||||
height: 700rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
@@ -169,4 +230,31 @@ export default {
|
||||
margin-left: 30rpx;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.scroll {
|
||||
width: 470rpx;
|
||||
height: 500rpx;
|
||||
border: 1px solid #afafaf;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.card {
|
||||
margin-top: 10rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.card-content {
|
||||
width: 445rpx;
|
||||
height: 70rpx;
|
||||
border: 1px solid #afafaf;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.createModule{
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 998;
|
||||
width: 100vw;
|
||||
}
|
||||
</style>
|
||||
|
||||
BIN
static/plus.png
Normal file
BIN
static/plus.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"TUILogin.js","sources":["components/TUILogin.js"],"sourcesContent":["import { TUILogin } from \"@tencentcloud/tui-core\";\r\nlet vueVersion = 3;\r\nfunction TUIlogin(\r\n chatInfo,\r\n info,\r\n userSig,\r\n) {\r\n uni.$SDKAppID = chatInfo; // Your SDKAppID\r\n uni.$userID = String(info); // Your userID\r\n uni.$userSig = userSig; // Your userSig\r\n TUILogin.login({\r\n SDKAppID: uni.$SDKAppID,\r\n userID: uni.$userID,\r\n userSig: uni.$userSig,\r\n useUploadPlugin: true, // If you need to send rich media messages, please set to true.\r\n framework: `vue${vueVersion}`, // framework used vue2 / vue3\r\n }).catch(() => {});\r\n }\r\n\r\n export default TUIlogin;"],"names":["uni","TUILogin"],"mappings":";;AACA,IAAI,aAAa;AACjB,SAAS,SACL,UACA,MACA,SACF;AACEA,gBAAG,MAAC,YAAY;AAChBA,gBAAAA,MAAI,UAAU,OAAO,IAAI;AACzBA,gBAAG,MAAC,WAAW;AACfC,gBAAAA,EAAS,MAAM;AAAA,IACb,UAAUD,cAAG,MAAC;AAAA,IACd,QAAQA,cAAG,MAAC;AAAA,IACZ,SAASA,cAAG,MAAC;AAAA,IACb,iBAAiB;AAAA;AAAA,IACjB,WAAW,MAAM,UAAU;AAAA;AAAA,EACjC,CAAK,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AACrB;;"}
|
||||
{"version":3,"file":"TUILogin.js","sources":["components/TUILogin.js"],"sourcesContent":["import { TUILogin } from \"@tencentcloud/tui-core\";\r\nfunction TUIlogin(\r\n chatInfo,\r\n info,\r\n userSig,\r\n) {\r\n uni.$SDKAppID = chatInfo; // Your SDKAppID\r\n uni.$userID = String(info); // Your userID\r\n console.log(\"TUIlogin\", chatInfo, info, userSig);\r\n uni.$userSig = userSig; // Your userSig\r\n TUILogin.login({\r\n SDKAppID: uni.$SDKAppID,\r\n userID: uni.$userID,\r\n userSig: uni.$userSig,\r\n useUploadPlugin: true, // If you need to send rich media messages, please set to true.\r\n framework: `vue3`, // framework used vue2 / vue3\r\n }).catch(() => {});\r\n }\r\n\r\n export default TUIlogin;"],"names":["uni","TUILogin"],"mappings":";;AACA,SAAS,SACL,UACA,MACA,SACF;AACEA,gBAAG,MAAC,YAAY;AAChBA,gBAAAA,MAAI,UAAU,OAAO,IAAI;AACzBA,kEAAY,YAAY,UAAU,MAAM,OAAO;AAC/CA,gBAAG,MAAC,WAAW;AACfC,gBAAAA,EAAS,MAAM;AAAA,IACb,UAAUD,cAAG,MAAC;AAAA,IACd,QAAQA,cAAG,MAAC;AAAA,IACZ,SAASA,cAAG,MAAC;AAAA,IACb,iBAAiB;AAAA;AAAA,IACjB,WAAW;AAAA;AAAA,EACjB,CAAK,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AACrB;;"}
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"Mine.js","sources":["pages/Mine/Mine.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvTWluZS9NaW5lLnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"container\">\r\n <view class=\"PersonalInformation\">\r\n <view class=\"header\">\r\n <image :src=\"userinfo.headerIcon\" mode=\"scaleToFill\" class=\"headerIcon\" />\r\n </view>\r\n <view>\r\n <view class=\"name\">{{ userinfo.nickName }}</view>\r\n </view>\r\n <view class=\"Settings\" @click=\"goSetting\">\r\n\t <image class=\"SettingsIcon\" src=\"../../static/Settings.png\" mode=\"scaleToFill\"/>\r\n\t </view>\r\n </view>\r\n </view>\r\n <view class=\"tabBar\">\r\n <tabBar></tabBar>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport tabBar from \"../../components/tabBar/tabBar\";\r\nexport default {\r\n data() {\r\n return {\r\n userinfo: {},\r\n };\r\n },\r\n onShow() {\r\n\tuni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n this.userinfo = res.data;\r\n },\r\n });\r\n },\r\n methods: {\r\n goSetting() {\r\n\t\tuni.navigateTo({\r\n\t\t\turl: '/pages/Setting/Setting'\r\n\t\t});\r\n\t},\r\n },\r\n components: {\r\n tabBar,\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.container {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n height: 100%;\r\n width: 100%;\r\n background: linear-gradient(to bottom, #11cb2a6e, #2574fc6d);\r\n}\r\n.PersonalInformation {\r\n margin-top: 200rpx;\r\n display: flex;\r\n align-items: center;\r\n width: 100%;\r\n}\r\n.header {\r\n margin-left: 50rpx;\r\n width: 100rpx;\r\n height: 100rpx;\r\n border-radius: 50%;\r\n}\r\n.headerIcon {\r\n width: 100rpx;\r\n height: 100rpx;\r\n border-radius: 50%;\r\n}\r\n.name {\r\n margin-left: 30rpx;\r\n}\r\n.Settings {\r\n margin-left: 370rpx;\r\n width: 50rpx;\r\n height: 50rpx;\r\n}\r\n.SettingsIcon {\r\n width: 50rpx;\r\n height: 50rpx;\r\n}\r\n</style>\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Mine/Mine.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni"],"mappings":";;;AAoBA,eAAe,MAAW;AAC1B,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,UAAU,CAAE;AAAA;EAEf;AAAA,EACD,SAAS;AACVA,kBAAAA,MAAI,WAAW;AAAA,MACV,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,WAAW,IAAI;AAAA,MACrB;AAAA,IACH,CAAC;AAAA,EACF;AAAA,EACD,SAAS;AAAA,IACP,YAAY;AACdA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,MACN,CAAC;AAAA,IACD;AAAA,EACC;AAAA,EACD,YAAY;AAAA,IACV;AAAA,EACD;AACH;;;;;;;;;;;;;;;;;;AC5CA,GAAG,WAAW,eAAe;"}
|
||||
{"version":3,"file":"Mine.js","sources":["pages/Mine/Mine.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvTWluZS9NaW5lLnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"container\">\r\n <view class=\"PersonalInformation\">\r\n <view class=\"header\">\r\n <image :src=\"userinfo.headerIcon\" mode=\"scaleToFill\" class=\"headerIcon\" />\r\n </view>\r\n <view>\r\n <view class=\"name\">{{ userinfo.nickName }}</view>\r\n </view>\r\n <view class=\"Settings\" @click=\"goSetting\">\r\n <image class=\"SettingsIcon\" src=\"../../static/Settings.png\" mode=\"scaleToFill\" />\r\n </view>\r\n </view>\r\n\r\n <view>\r\n <view class=\"logout\" @click=\"logout\">退出登录</view>\r\n </view>\r\n </view>\r\n <view class=\"tabBar\">\r\n <tabBar></tabBar>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport tabBar from \"../../components/tabBar/tabBar\";\r\nexport default {\r\n data() {\r\n return {\r\n userinfo: {},\r\n };\r\n },\r\n onShow() {\r\n uni.getStorage({\r\n key: \"userinfo\",\r\n success: (res) => {\r\n this.userinfo = res.data;\r\n },\r\n });\r\n },\r\n methods: {\r\n goSetting() {\r\n uni.navigateTo({\r\n url: \"/pages/Setting/Setting\",\r\n });\r\n },\r\n logout() {\r\n uni.removeStorage({\r\n key: \"chatInfo\",\r\n });\r\n uni.removeStorage({\r\n key: \"userinfo\",\r\n });\r\n uni.removeStorage({\r\n key: \"userSig\",\r\n });\r\n uni.removeStorage({\r\n key: \"lastPage\",\r\n });\r\n uni.reLaunch({\r\n url: \"/pages/login/login\",\r\n }); \r\n }\r\n },\r\n components: {\r\n tabBar,\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.container {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n height: 100%;\r\n width: 100%;\r\n background: linear-gradient(to bottom, #11cb2a6e, #2574fc6d);\r\n}\r\n.PersonalInformation {\r\n margin-top: 200rpx;\r\n display: flex;\r\n align-items: center;\r\n width: 100%;\r\n}\r\n.header {\r\n background: #ffffff;\r\n margin-left: 50rpx;\r\n width: 100rpx;\r\n height: 100rpx;\r\n border-radius: 50%;\r\n}\r\n.headerIcon {\r\n width: 100rpx;\r\n height: 100rpx;\r\n border-radius: 50%;\r\n}\r\n.name {\r\n margin-left: 30rpx;\r\n}\r\n.Settings {\r\n margin-left: 370rpx;\r\n width: 50rpx;\r\n height: 50rpx;\r\n}\r\n.SettingsIcon {\r\n width: 50rpx;\r\n height: 50rpx;\r\n}\r\n</style>\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Mine/Mine.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni"],"mappings":";;;AAwBA,eAAe,MAAW;AAC1B,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,UAAU,CAAE;AAAA;EAEf;AAAA,EACD,SAAS;AACPA,kBAAAA,MAAI,WAAW;AAAA,MACb,KAAK;AAAA,MACL,SAAS,CAAC,QAAQ;AAChB,aAAK,WAAW,IAAI;AAAA,MACrB;AAAA,IACH,CAAC;AAAA,EACF;AAAA,EACD,SAAS;AAAA,IACP,YAAY;AACVA,oBAAAA,MAAI,WAAW;AAAA,QACb,KAAK;AAAA,MACP,CAAC;AAAA,IACF;AAAA,IACD,SAAS;AACPA,oBAAAA,MAAI,cAAc;AAAA,QAChB,KAAK;AAAA,MACP,CAAC;AACDA,oBAAAA,MAAI,cAAc;AAAA,QAChB,KAAK;AAAA,MACP,CAAC;AACDA,oBAAAA,MAAI,cAAc;AAAA,QAChB,KAAK;AAAA,MACP,CAAC;AACDA,oBAAAA,MAAI,cAAc;AAAA,QAChB,KAAK;AAAA,MACP,CAAC;AACDA,oBAAAA,MAAI,SAAS;AAAA,QACX,KAAK;AAAA,MACP,CAAC;AAAA,IACH;AAAA,EACD;AAAA,EACD,YAAY;AAAA,IACV;AAAA,EACD;AACH;;;;;;;;;;;;;;;;;;;ACjEA,GAAG,WAAW,eAAe;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
6
unpackage/dist/dev/mp-weixin/NewAddedPk.js
vendored
@@ -37,7 +37,7 @@ const _sfc_main = {
|
||||
}
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
mounted() {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
@@ -107,13 +107,13 @@ const _sfc_main = {
|
||||
method: "POST",
|
||||
data: {
|
||||
anchorId: this.nameAnchor,
|
||||
pk_time: this.datetimesingle,
|
||||
pkTime: this.sendingTime,
|
||||
sex: this.genders,
|
||||
country: this.countrys,
|
||||
coin: this.numberCoins,
|
||||
remark: this.remarks,
|
||||
status: 0,
|
||||
sender_id: this.id,
|
||||
senderId: this.id,
|
||||
anchorIcon: ""
|
||||
},
|
||||
userInfo: true
|
||||
|
||||
@@ -8012,7 +8012,7 @@ function isConsoleWritable() {
|
||||
function initRuntimeSocketService() {
|
||||
const hosts = "192.168.0.111,127.0.0.1";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_nuy28N";
|
||||
const id = "mp-weixin_87tmWq";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../common/vendor.js");
|
||||
let vueVersion = 3;
|
||||
function TUIlogin(chatInfo, info, userSig) {
|
||||
common_vendor.index.$SDKAppID = chatInfo;
|
||||
common_vendor.index.$userID = String(info);
|
||||
common_vendor.index.__f__("log", "at components/TUILogin.js:9", "TUIlogin", chatInfo, info, userSig);
|
||||
common_vendor.index.$userSig = userSig;
|
||||
common_vendor.A.login({
|
||||
SDKAppID: common_vendor.index.$SDKAppID,
|
||||
@@ -11,7 +11,7 @@ function TUIlogin(chatInfo, info, userSig) {
|
||||
userSig: common_vendor.index.$userSig,
|
||||
useUploadPlugin: true,
|
||||
// If you need to send rich media messages, please set to true.
|
||||
framework: `vue${vueVersion}`
|
||||
framework: `vue3`
|
||||
// framework used vue2 / vue3
|
||||
}).catch(() => {
|
||||
});
|
||||
|
||||
@@ -38,7 +38,7 @@ const _sfc_main = {
|
||||
async pkList() {
|
||||
const res = await components_request.request({
|
||||
url: "pk/pkList",
|
||||
method: "GET",
|
||||
method: "POST",
|
||||
data: {
|
||||
status: 0,
|
||||
page: this.page,
|
||||
|
||||
20
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
20
unpackage/dist/dev/mp-weixin/pages/Mine/Mine.js
vendored
@@ -21,6 +21,23 @@ const _sfc_main = {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/Setting/Setting"
|
||||
});
|
||||
},
|
||||
logout() {
|
||||
common_vendor.index.removeStorage({
|
||||
key: "chatInfo"
|
||||
});
|
||||
common_vendor.index.removeStorage({
|
||||
key: "userinfo"
|
||||
});
|
||||
common_vendor.index.removeStorage({
|
||||
key: "userSig"
|
||||
});
|
||||
common_vendor.index.removeStorage({
|
||||
key: "lastPage"
|
||||
});
|
||||
common_vendor.index.reLaunch({
|
||||
url: "/pages/login/login"
|
||||
});
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -40,7 +57,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
a: $data.userinfo.headerIcon,
|
||||
b: common_vendor.t($data.userinfo.nickName),
|
||||
c: common_assets._imports_0$2,
|
||||
d: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args))
|
||||
d: common_vendor.o$1((...args) => $options.goSetting && $options.goSetting(...args)),
|
||||
e: common_vendor.o$1((...args) => $options.logout && $options.logout(...args))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-402ad917"]]);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="container data-v-402ad917"><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{a}}" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{b}}</view></view><view class="Settings data-v-402ad917" bindtap="{{d}}"><image class="SettingsIcon data-v-402ad917" src="{{c}}" mode="scaleToFill"/></view></view></view><view class="tabBar data-v-402ad917"><tab-bar class="data-v-402ad917" u-i="402ad917-0" bind:__l="__l"></tab-bar></view>
|
||||
<view class="container data-v-402ad917"><view class="PersonalInformation data-v-402ad917"><view class="header data-v-402ad917"><image src="{{a}}" mode="scaleToFill" class="headerIcon data-v-402ad917"/></view><view class="data-v-402ad917"><view class="name data-v-402ad917">{{b}}</view></view><view class="Settings data-v-402ad917" bindtap="{{d}}"><image class="SettingsIcon data-v-402ad917" src="{{c}}" mode="scaleToFill"/></view></view><view class="data-v-402ad917"><view class="logout data-v-402ad917" bindtap="{{e}}">退出登录</view></view></view><view class="tabBar data-v-402ad917"><tab-bar class="data-v-402ad917" u-i="402ad917-0" bind:__l="__l"></tab-bar></view>
|
||||
@@ -14,6 +14,7 @@
|
||||
width: 100%;
|
||||
}
|
||||
.header.data-v-402ad917 {
|
||||
background: #ffffff;
|
||||
margin-left: 50rpx;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
|
||||
@@ -12,7 +12,9 @@ const _sfc_main = {
|
||||
id: "",
|
||||
info: {},
|
||||
userSig: "",
|
||||
lastPage: ""
|
||||
lastPage: "",
|
||||
picture: "",
|
||||
Filename: components_generateFileName.generateFileName()
|
||||
};
|
||||
},
|
||||
onLoad(option) {
|
||||
@@ -60,47 +62,41 @@ const _sfc_main = {
|
||||
});
|
||||
components_postFile.uploadFile({
|
||||
path: this.userinfo,
|
||||
name: components_generateFileName.generateFileName()
|
||||
}).then((res) => {
|
||||
this.userinfo = res;
|
||||
}).catch((err) => {
|
||||
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:86", err);
|
||||
});
|
||||
if (this.userinfo) {
|
||||
const res = await components_request.request({
|
||||
name: this.Filename
|
||||
}).then((ress) => {
|
||||
this.picture = ress;
|
||||
components_request.request({
|
||||
url: "user/inputUserInfo",
|
||||
method: "POST",
|
||||
data: {
|
||||
id: this.id,
|
||||
headerIcon: this.userinfo,
|
||||
headerIcon: this.Filename,
|
||||
nickName: this.name,
|
||||
code,
|
||||
usersig: this.userSig.userSig
|
||||
},
|
||||
userInfo: false
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
common_vendor.index.showToast({
|
||||
title: "登录成功",
|
||||
icon: "success"
|
||||
});
|
||||
common_vendor.index.setStorageSync("userinfo", res.data.info);
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.reLaunch({
|
||||
url: this.lastPage
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: "登录失败",
|
||||
icon: "none"
|
||||
});
|
||||
}
|
||||
});
|
||||
if (res.code === 200) {
|
||||
common_vendor.index.showToast({
|
||||
title: "登录成功",
|
||||
icon: "success"
|
||||
});
|
||||
common_vendor.index.setStorageSync("userinfo", res.data.info);
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.reLaunch({
|
||||
url: this.lastPage
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: "登录失败",
|
||||
icon: "none"
|
||||
});
|
||||
}
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: "上传失败",
|
||||
icon: "none"
|
||||
});
|
||||
}
|
||||
}).catch((err) => {
|
||||
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:120", err);
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -10,7 +10,8 @@ const _sfc_main = {
|
||||
userInfo: {},
|
||||
info: {},
|
||||
userSig: "",
|
||||
lastPage: ""
|
||||
lastPage: "",
|
||||
myuserSig: ""
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
@@ -24,7 +25,7 @@ const _sfc_main = {
|
||||
key: "lastPage",
|
||||
success: (res) => {
|
||||
this.lastPage = "/" + res.data;
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:37", this.lastPage);
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:38", this.lastPage);
|
||||
},
|
||||
fail: () => {
|
||||
this.lastPage = "/pages/Home/Home";
|
||||
@@ -47,6 +48,7 @@ const _sfc_main = {
|
||||
userInfo: false
|
||||
});
|
||||
this.info = res;
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:62", "登录信息", this.info);
|
||||
const sdkAppID = Number(this.info.data.chatInfo.appId);
|
||||
const userID = "administrator";
|
||||
this.userSig = components_debug_GenerateTestUserSig.genTestUserSig({
|
||||
@@ -54,6 +56,13 @@ const _sfc_main = {
|
||||
SECRETKEY: this.info.data.chatInfo.appKey,
|
||||
userID
|
||||
});
|
||||
this.myuserSig = components_debug_GenerateTestUserSig.genTestUserSig({
|
||||
SDKAPPID: sdkAppID,
|
||||
SECRETKEY: this.info.data.chatInfo.appKey,
|
||||
userID: String(res.data.info.id)
|
||||
});
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:75", "userSig", this.myuserSig.userSig);
|
||||
common_vendor.index.setStorageSync("myuserSig", this.myuserSig);
|
||||
common_vendor.index.setStorageSync("chatInfo", this.info.data.chatInfo);
|
||||
common_vendor.index.setStorageSync("userSig", this.userSig);
|
||||
common_vendor.index.setStorageSync("userinfo", this.info.data.info);
|
||||
@@ -62,11 +71,13 @@ const _sfc_main = {
|
||||
common_vendor.index.reLaunch({
|
||||
url: "/pages/UserInformation/UserInformation"
|
||||
});
|
||||
components_TUILogin.TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id, this.myuserSig.userSig);
|
||||
common_vendor.index.hideLoading();
|
||||
} else {
|
||||
common_vendor.index.setStorageSync("userinfo", this.info.data.info);
|
||||
components_TUILogin.TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id, this.myuserSig.userSig);
|
||||
common_vendor.index.hideLoading();
|
||||
components_TUILogin.TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id, this.userSig.userSig);
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:81", "跳的地址", this.lastPage);
|
||||
common_vendor.index.__f__("log", "at pages/login/login.vue:92", "跳的地址", this.lastPage);
|
||||
common_vendor.index.reLaunch({
|
||||
url: this.lastPage
|
||||
});
|
||||
|
||||
@@ -2,18 +2,28 @@
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const components_formatDate = require("../../components/formatDate.js");
|
||||
const components_VerifyLogin = require("../../components/VerifyLogin.js");
|
||||
const components_request = require("../../components/request.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const NewAddedPk = () => "../NewAddedPk/NewAddedPk2.js";
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
item: {}
|
||||
item: {},
|
||||
id: 0,
|
||||
list: []
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
const eventChannel = this.getOpenerEventChannel();
|
||||
eventChannel.on("itemDetail", (data) => {
|
||||
this.item = data.item;
|
||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:64", "接收到的数据:", this.item);
|
||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:79", "接收到的数据:", this.item);
|
||||
});
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.id = res.data.id;
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
@@ -25,6 +35,7 @@ const _sfc_main = {
|
||||
},
|
||||
open() {
|
||||
this.$refs.popup.open("center");
|
||||
this.userlist();
|
||||
},
|
||||
invite() {
|
||||
},
|
||||
@@ -38,12 +49,50 @@ const _sfc_main = {
|
||||
url: `/TUIKit/components/TUIChat/index?conversationID=${conversationID}`
|
||||
});
|
||||
});
|
||||
},
|
||||
async userlist() {
|
||||
common_vendor.index.showLoading({
|
||||
title: "加载中...",
|
||||
mask: true
|
||||
});
|
||||
const res = await components_request.request({
|
||||
url: "pk/queryMyPkData",
|
||||
method: "POST",
|
||||
data: {
|
||||
userId: this.id
|
||||
},
|
||||
userInfo: true
|
||||
});
|
||||
if (res.code === 200) {
|
||||
if (res.data.length !== 0) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.__f__("log", "at pages/pkDetail/pkDetail.vue:133", "res.data", res.data);
|
||||
this.list = res.data;
|
||||
} else {
|
||||
common_vendor.index.hideLoading();
|
||||
this.openPopupQuantity();
|
||||
}
|
||||
} else {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "加载失败",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
}
|
||||
},
|
||||
openPopupQuantity() {
|
||||
this.$refs.createModule.open();
|
||||
}
|
||||
},
|
||||
components: {
|
||||
NewAddedPk
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
_easycom_uni_popup2();
|
||||
const _component_NewAddedPk = common_vendor.resolveComponent("NewAddedPk");
|
||||
(_easycom_uni_popup2 + _component_NewAddedPk)();
|
||||
}
|
||||
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
@@ -62,13 +111,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
i: common_vendor.t($data.item.remark),
|
||||
j: common_vendor.o$1(($event) => $options.openChat()),
|
||||
k: common_vendor.o$1(($event) => $options.open()),
|
||||
l: common_vendor.o$1(($event) => $options.invite()),
|
||||
m: common_vendor.o$1(($event) => $options.close()),
|
||||
n: common_vendor.sr("popup", "9639f721-0"),
|
||||
o: common_vendor.p({
|
||||
l: common_vendor.f($data.list, (item, index, i0) => {
|
||||
return {};
|
||||
}),
|
||||
m: common_vendor.o$1(($event) => $options.invite()),
|
||||
n: common_vendor.o$1(($event) => $options.close()),
|
||||
o: common_vendor.sr("popup", "9639f721-0"),
|
||||
p: common_vendor.p({
|
||||
type: "center",
|
||||
["border-radius"]: "10px 10px 0 0"
|
||||
})
|
||||
}),
|
||||
q: common_vendor.sr("createModule", "9639f721-1")
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9639f721"]]);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "PK详情",
|
||||
"usingComponents": {
|
||||
"new-added-pk": "../NewAddedPk/NewAddedPk",
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<view class="Navigation data-v-9639f721"><image src="{{a}}" mode="scaleToFill" class="Navigationimg data-v-9639f721"/><image bindtap="{{b}}" src="{{c}}" mode="scaleToFill" class="Return data-v-9639f721"/></view><view class="container data-v-9639f721"><view class="individual data-v-9639f721"><view class="anchor data-v-9639f721"></view><view class="data-v-9639f721"><view class="data-v-9639f721">主播名称{{d}}</view><view class="data-v-9639f721">主播性别{{e}}</view><view class="data-v-9639f721"> 国家{{f}}</view></view></view><view class="data-v-9639f721">金币{{g}}</view><view class="data-v-9639f721">PK时间{{h}}</view><view class="data-v-9639f721">主播备注{{i}}</view><button class="data-v-9639f721" bindtap="{{j}}">聊了个天</button><button class="data-v-9639f721" bindtap="{{k}}">立即邀请PK</button></view><uni-popup wx:if="{{o}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-0" bind:__l="__l" u-p="{{o}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721">您确定要邀请主播PK吗?</view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{l}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{m}}">取消</button></view></view></uni-popup>
|
||||
<view class="Navigation data-v-9639f721"><image src="{{a}}" mode="scaleToFill" class="Navigationimg data-v-9639f721"/><image bindtap="{{b}}" src="{{c}}" mode="scaleToFill" class="Return data-v-9639f721"/></view><view class="container data-v-9639f721"><view class="individual data-v-9639f721"><view class="anchor data-v-9639f721"></view><view class="data-v-9639f721"><view class="data-v-9639f721">主播名称{{d}}</view><view class="data-v-9639f721">主播性别{{e}}</view><view class="data-v-9639f721"> 国家{{f}}</view></view></view><view class="data-v-9639f721">金币{{g}}</view><view class="data-v-9639f721">PK时间{{h}}</view><view class="data-v-9639f721">主播备注{{i}}</view><button class="data-v-9639f721" bindtap="{{j}}">聊了个天</button><button class="data-v-9639f721" bindtap="{{k}}">立即邀请PK</button></view><uni-popup wx:if="{{p}}" class="r data-v-9639f721" u-s="{{['d']}}" u-r="popup" u-i="9639f721-0" bind:__l="__l" u-p="{{p}}"><view class="popup-content data-v-9639f721"><view class="popup-title data-v-9639f721"><scroll-view scroll-y="true" class="scroll data-v-9639f721"><view wx:for="{{l}}" wx:for-item="item" class="card data-v-9639f721"><view class="card-content data-v-9639f721"></view></view></scroll-view></view><view class="popup-btn data-v-9639f721"><button class="invite data-v-9639f721" type="primary" bindtap="{{m}}">邀请</button><button class="cancel data-v-9639f721" type="default" bindtap="{{n}}">取消</button></view></view></uni-popup><new-added-pk class="createModule r data-v-9639f721" u-r="createModule" u-i="9639f721-1" bind:__l="__l"></new-added-pk>
|
||||
@@ -38,7 +38,7 @@
|
||||
}
|
||||
.popup-content.data-v-9639f721 {
|
||||
width: 500rpx;
|
||||
height: 300rpx;
|
||||
height: 700rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
@@ -72,3 +72,30 @@
|
||||
margin-left: 30rpx;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.scroll.data-v-9639f721 {
|
||||
width: 470rpx;
|
||||
height: 500rpx;
|
||||
border: 1px solid #afafaf;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.card.data-v-9639f721 {
|
||||
margin-top: 10rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.card-content.data-v-9639f721 {
|
||||
width: 445rpx;
|
||||
height: 70rpx;
|
||||
border: 1px solid #afafaf;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.createModule.data-v-9639f721{
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 998;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
BIN
unpackage/dist/dev/mp-weixin/static/plus.png
vendored
Normal file
BIN
unpackage/dist/dev/mp-weixin/static/plus.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
Reference in New Issue
Block a user