黑名单

This commit is contained in:
18631081161 2025-08-31 15:09:14 +08:00
parent f7ae30506f
commit 37d95100aa
16 changed files with 178 additions and 16 deletions

View File

@ -34,6 +34,13 @@
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
},
{
"path": "pages/me/blacklist-page",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
}
],
"globalStyle": {

View File

@ -0,0 +1,71 @@
<template>
<view class="content column">
<view class="row" style="width: 90%; margin: 100rpx auto 0; justify-content: space-between;">
<image src="/static/back.png" style="width: 40rpx; height: 40rpx;" @click="goBack()" mode=""></image>
<text style="font-size: 30rpx;">黑名单</text>
<view style="width: 40rpx;"></view>
</view>
<view class="" style=" overflow-y: auto; margin-top: 30rpx;">
<view class="column" style="width: 90%; margin: 0 auto 0;">
<view class="column" v-for="(item,index) in 10"
style="width: 100%; background-color: #E9E9E9; border-radius: 10rpx; margin-bottom: 10rpx;">
<view class="row" style="align-items: center;">
<image src=""
style="width: 130rpx; height: 130rpx; background-color: burlywood; border-radius: 50%; margin: 20rpx;"
mode="">
</image>
<view class="column" style="font-size: 24rpx; margin-left: 30rpx;">
<text>苏嘉辉</text>
<text style="margin-top: 20rpx;">UID123456</text>
</view>
<view class="center"
style="width: 180rpx; height: 80rpx; background-color: #1989FA; font-size: 26rpx; border-radius: 10rpx; margin-left: auto; margin-right: 20rpx;">
取消拉黑
</view>
</view>
<text
style="margin-top: 20rpx; font-size: 24rpx; margin-left: 20rpx; margin-bottom: 20rpx;">拉黑时间2025/08/13
1356</text>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
goBack() {
//
uni.navigateBack({
delta: 1
});
},
}
}
</script>
<style lang="scss">
.content {
width: 100%;
height: 100vh;
}
</style>

View File

@ -88,7 +88,7 @@
<text style="font-size: 24rpx; margin-top: 20rpx;">联系我们</text>
</view>
<view class="column" style="align-items: center; margin-left: 40rpx;">
<view class="column" @click="toBlacklist()" style="align-items: center; margin-left: 40rpx;">
<image src="/static/blacklist.png" style="width: 50rpx; height: 50rpx;" mode=""></image>
<text style="font-size: 24rpx; margin-top: 20rpx;">黑名单</text>
</view>
@ -209,13 +209,19 @@
toAppointment() {
uni.navigateTo({
url: '/pages/me/appointment-record-page'
url: '/pages/me/appointment-record-page'
});
},
toEditInfo() {
uni.navigateTo({
url: '/pages/me/edit-info'
url: '/pages/me/edit-info'
});
},
toBlacklist() {
uni.navigateTo({
url: '/pages/me/blacklist-page'
});
}

View File

@ -1 +1 @@
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t/*每个页面公共css */\r\n\t.bg {\r\n\t\tbackground-size: cover;\r\n\t\tbackground-repeat: no-repeat;\r\n\t\tbackground-position: center;\r\n\t\tbackground-attachment: fixed;\r\n\t}\r\n\r\n\t.column {\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.row {\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: row;\r\n\t}\r\n\r\n\t.center {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t}\r\n</style>","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["uni","createSSRApp","App"],"mappings":";;;;;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACIM,SAAS,YAAY;AAC1B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t/*每个页面公共css */\r\n\t.bg {\r\n\t\tbackground-size: cover;\r\n\t\tbackground-repeat: no-repeat;\r\n\t\tbackground-position: center;\r\n\t\tbackground-attachment: fixed;\r\n\t}\r\n\r\n\t.column {\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.row {\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: row;\r\n\t}\r\n\r\n\t.center {\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t}\r\n</style>","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["uni","createSSRApp","App"],"mappings":";;;;;;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACIM,SAAS,YAAY;AAC1B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"blacklist-page.js","sources":["pages/me/blacklist-page.vue","../../../Software/HBuilderX.4.15.2024050802/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbWUvYmxhY2tsaXN0LXBhZ2UudnVl"],"sourcesContent":["<template>\r\n\t<view class=\"content column\">\r\n\r\n\r\n\t\t<view class=\"row\" style=\"width: 90%; margin: 100rpx auto 0; justify-content: space-between;\">\r\n\t\t\t<image src=\"/static/back.png\" style=\"width: 40rpx; height: 40rpx;\" @click=\"goBack()\" mode=\"\"></image>\r\n\t\t\t<text style=\"font-size: 30rpx;\">黑名单</text>\r\n\t\t\t<view style=\"width: 40rpx;\"></view>\r\n\t\t</view>\r\n\r\n\r\n\t\t<view class=\"\" style=\" overflow-y: auto; margin-top: 30rpx;\">\r\n\r\n\t\t\t<view class=\"column\" style=\"width: 90%; margin: 0 auto 0;\">\r\n\r\n\t\t\t\t<view class=\"column\" v-for=\"(item,index) in 10\"\r\n\t\t\t\t\tstyle=\"width: 100%; background-color: #E9E9E9; border-radius: 10rpx; margin-bottom: 10rpx;\">\r\n\r\n\t\t\t\t\t<view class=\"row\" style=\"align-items: center;\">\r\n\t\t\t\t\t\t<image src=\"\"\r\n\t\t\t\t\t\t\tstyle=\"width: 130rpx; height: 130rpx; background-color: burlywood; border-radius: 50%; margin: 20rpx;\"\r\n\t\t\t\t\t\t\tmode=\"\">\r\n\t\t\t\t\t\t</image>\r\n\r\n\t\t\t\t\t\t<view class=\"column\" style=\"font-size: 24rpx; margin-left: 30rpx;\">\r\n\t\t\t\t\t\t\t<text>苏嘉辉</text>\r\n\t\t\t\t\t\t\t<text style=\"margin-top: 20rpx;\">UID123456</text>\r\n\t\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t\t<view class=\"center\"\r\n\t\t\t\t\t\t\tstyle=\"width: 180rpx; height: 80rpx; background-color: #1989FA; font-size: 26rpx; border-radius: 10rpx; margin-left: auto; margin-right: 20rpx;\">\r\n\t\t\t\t\t\t\t取消拉黑\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t<text\r\n\t\t\t\t\t\tstyle=\"margin-top: 20rpx; font-size: 24rpx; margin-left: 20rpx; margin-bottom: 20rpx;\">拉黑时间2025/08/13\r\n\t\t\t\t\t\t1356</text>\r\n\r\n\t\t\t\t</view>\r\n\r\n\t\t\t</view>\r\n\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgoBack() {\r\n\t\t\t\t// 返回上一页\r\n\t\t\t\tuni.navigateBack({\r\n\t\t\t\t\tdelta: 1\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.content {\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t}\r\n</style>","import MiniProgramPage from 'F:/gitCode/uniapp/mahjong_group/pages/me/blacklist-page.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni"],"mappings":";;;AAgDC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO,CAEP;AAAA,EACA;AAAA,EACD,SAAS;AAAA,IACR,SAAS;AAERA,oBAAAA,MAAI,aAAa;AAAA,QAChB,OAAO;AAAA,MACR,CAAC;AAAA,IACD;AAAA,EACF;AACD;;;;;;;;;;;AC7DD,GAAG,WAAW,eAAe;"}

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,7 @@ if (!Math) {
"./pages/me/me-page.js";
"./pages/me/appointment-record-page.js";
"./pages/me/edit-info.js";
"./pages/me/blacklist-page.js";
}
const _sfc_main = {
onLaunch: function() {

View File

@ -4,7 +4,8 @@
"pages/appointment/appointment-page",
"pages/me/me-page",
"pages/me/appointment-record-page",
"pages/me/edit-info"
"pages/me/edit-info",
"pages/me/blacklist-page"
],
"window": {
"navigationBarTextStyle": "black",

View File

@ -7311,9 +7311,9 @@ function isConsoleWritable() {
return isWritable;
}
function initRuntimeSocketService() {
const hosts = "192.168.1.7,192.168.195.32,127.0.0.1,172.24.208.1";
const hosts = "172.24.208.1,192.168.1.7,192.168.195.32,127.0.0.1";
const port = "8090";
const id = "mp-weixin_8SZSw0";
const id = "mp-weixin_URWiby";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();
@ -8294,6 +8294,13 @@ const pages = [
navigationBarTitleText: "",
navigationStyle: "custom"
}
},
{
path: "pages/me/blacklist-page",
style: {
navigationBarTitleText: "",
navigationStyle: "custom"
}
}
];
const globalStyle = {

View File

@ -0,0 +1,27 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
data() {
return {};
},
methods: {
goBack() {
common_vendor.index.navigateBack({
delta: 1
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_assets._imports_0$2,
b: common_vendor.o(($event) => $options.goBack()),
c: common_vendor.f(10, (item, index, i0) => {
return {};
})
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/me/blacklist-page.js.map

View File

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="content column"><view class="row" style="width:90%;margin:100rpx auto 0;justify-content:space-between"><image src="{{a}}" style="width:40rpx;height:40rpx" bindtap="{{b}}" mode=""></image><text style="font-size:30rpx">黑名单</text><view style="width:40rpx"></view></view><view class="" style="overflow-y:auto;margin-top:30rpx"><view class="column" style="width:90%;margin:0 auto 0"><view wx:for="{{c}}" wx:for-item="item" class="column" style="width:100%;background-color:#E9E9E9;border-radius:10rpx;margin-bottom:10rpx"><view class="row" style="align-items:center"><image src="{{''}}" style="width:130rpx;height:130rpx;background-color:burlywood;border-radius:50%;margin:20rpx" mode=""></image><view class="column" style="font-size:24rpx;margin-left:30rpx"><text>苏嘉辉</text><text style="margin-top:20rpx">UID123456</text></view><view class="center" style="width:180rpx;height:80rpx;background-color:#1989FA;font-size:26rpx;border-radius:10rpx;margin-left:auto;margin-right:20rpx"> 取消拉黑 </view></view><text style="margin-top:20rpx;font-size:24rpx;margin-left:20rpx;margin-bottom:20rpx">拉黑时间2025/08/13 1356</text></view></view></view></view>

View File

@ -0,0 +1,29 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.content {
width: 100%;
height: 100vh;
}

View File

@ -23,6 +23,11 @@ const _sfc_main = {
common_vendor.index.navigateTo({
url: "/pages/me/edit-info"
});
},
toBlacklist() {
common_vendor.index.navigateTo({
url: "/pages/me/blacklist-page"
});
}
}
};
@ -59,13 +64,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
k: common_assets._imports_2$1,
l: common_assets._imports_3,
m: common_assets._imports_4,
n: common_vendor.f(3, (item, index, i0) => {
n: common_vendor.o(($event) => $options.toBlacklist()),
o: common_vendor.f(3, (item, index, i0) => {
return {};
}),
o: common_vendor.o(($event) => _ctx.openUserPop()),
p: common_vendor.o(($event) => $options.clasePop()),
q: common_vendor.sr("infoPop", "5735b596-2"),
r: common_vendor.p({
p: common_vendor.o(($event) => _ctx.openUserPop()),
q: common_vendor.o(($event) => $options.clasePop()),
r: common_vendor.sr("infoPop", "5735b596-2"),
s: common_vendor.p({
type: "center"
})
};

File diff suppressed because one or more lines are too long