first commit
This commit is contained in:
8
unpackage/dist/dev/mp-weixin/pages/personalcenter/account.js
vendored
Normal file
8
unpackage/dist/dev/mp-weixin/pages/personalcenter/account.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {};
|
||||
function _sfc_render(_ctx, _cache) {
|
||||
return {};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5e16536a"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
4
unpackage/dist/dev/mp-weixin/pages/personalcenter/account.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/pages/personalcenter/account.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "账号安全",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/account.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/account.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['padding', 'page', 'data-v-5e16536a', virtualHostClass]}}" style="{{virtualHostStyle}}"><view class="padding bg-white data-v-5e16536a"><view class="flex justify-between padding-bottom solid-bottom data-v-5e16536a"><view class="data-v-5e16536a">修改登录密码</view><view class="lg text-gray cuIcon-right data-v-5e16536a"></view></view><view class="flex justify-between padding-top padding-bottom solid-bottom data-v-5e16536a"><view class="data-v-5e16536a">注销账户</view><view class="lg text-gray cuIcon-right data-v-5e16536a"></view></view></view></view>
|
||||
30
unpackage/dist/dev/mp-weixin/pages/personalcenter/account.wxss
vendored
Normal file
30
unpackage/dist/dev/mp-weixin/pages/personalcenter/account.wxss
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* uni.scss */
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.page.data-v-5e16536a {
|
||||
min-height: 100vh;
|
||||
background: #EBF2FC;
|
||||
}
|
||||
82
unpackage/dist/dev/mp-weixin/pages/personalcenter/edit.js
vendored
Normal file
82
unpackage/dist/dev/mp-weixin/pages/personalcenter/edit.js
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_calendar2 = common_vendor.resolveComponent("up-calendar");
|
||||
_easycom_up_calendar2();
|
||||
}
|
||||
const _easycom_up_calendar = () => "../../uni_modules/uview-plus/components/u-calendar/u-calendar.js";
|
||||
if (!Math) {
|
||||
_easycom_up_calendar();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "edit",
|
||||
setup(__props) {
|
||||
const showDatePicker = common_vendor.ref(false);
|
||||
const userInfo = common_vendor.reactive({
|
||||
avatar: "https://ossweb-img.qq.com/images/lol/web201310/skin/big81005.jpg",
|
||||
nickname: "希缝弗斯",
|
||||
username: "17374339800",
|
||||
signature: "",
|
||||
gender: 1,
|
||||
// 1-男 2-女
|
||||
birthday: "2025-10-09"
|
||||
});
|
||||
const chooseAvatar = () => {
|
||||
common_vendor.index.chooseImage({
|
||||
count: 1,
|
||||
sizeType: ["compressed"],
|
||||
sourceType: ["album", "camera"],
|
||||
success: (res) => {
|
||||
userInfo.avatar = res.tempFilePaths[0];
|
||||
}
|
||||
});
|
||||
};
|
||||
const confirmDate = (e) => {
|
||||
userInfo.birthday = e[0];
|
||||
showDatePicker.value = false;
|
||||
};
|
||||
const handleSave = () => {
|
||||
common_vendor.index.showToast({ title: "保存成功", icon: "success" });
|
||||
};
|
||||
const handleLogout = () => {
|
||||
common_vendor.index.showModal({
|
||||
title: "提示",
|
||||
content: "确定要退出登录吗?",
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
common_vendor.index.reLaunch({ url: "/pages/login/login" });
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: userInfo.avatar,
|
||||
b: common_vendor.o(chooseAvatar),
|
||||
c: userInfo.nickname,
|
||||
d: common_vendor.o(($event) => userInfo.nickname = $event.detail.value),
|
||||
e: common_vendor.t(userInfo.username),
|
||||
f: userInfo.signature,
|
||||
g: common_vendor.o(($event) => userInfo.signature = $event.detail.value),
|
||||
h: userInfo.gender === 1 ? 1 : "",
|
||||
i: userInfo.gender === 1 ? 1 : "",
|
||||
j: common_vendor.o(($event) => userInfo.gender = 1),
|
||||
k: userInfo.gender === 2 ? 1 : "",
|
||||
l: userInfo.gender === 2 ? 1 : "",
|
||||
m: common_vendor.o(($event) => userInfo.gender = 2),
|
||||
n: common_vendor.t(userInfo.birthday || "请选择日期"),
|
||||
o: common_vendor.o(($event) => showDatePicker.value = true),
|
||||
p: common_vendor.o(confirmDate),
|
||||
q: common_vendor.o(($event) => showDatePicker.value = false),
|
||||
r: common_vendor.p({
|
||||
show: showDatePicker.value,
|
||||
mode: "single"
|
||||
}),
|
||||
s: common_vendor.o(handleSave),
|
||||
t: common_vendor.o(handleLogout)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-249675c2"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/dev/mp-weixin/pages/personalcenter/edit.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/personalcenter/edit.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "编辑资料",
|
||||
"usingComponents": {
|
||||
"up-calendar": "../../uni_modules/uview-plus/components/u-calendar/u-calendar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/edit.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/edit.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['page', 'data-v-249675c2', virtualHostClass]}}" style="{{virtualHostStyle}}"><view class="padding bg-white data-v-249675c2"><view class="flex justify-between align-center padding-tb solid-bottom data-v-249675c2" bindtap="{{b}}"><view class="text-black data-v-249675c2">头像</view><view class="flex align-center data-v-249675c2"><image class="avatar data-v-249675c2" src="{{a}}" mode="aspectFill"></image><view class="lg text-gray cuIcon-right margin-left-xs data-v-249675c2"></view></view></view><view class="flex justify-between align-center padding-tb solid-bottom data-v-249675c2"><view class="text-black label-text data-v-249675c2">昵称</view><view class="flex align-center flex-sub justify-end data-v-249675c2"><input class="input-right data-v-249675c2" placeholder="请输入昵称" value="{{c}}" bindinput="{{d}}"/><view class="lg text-gray cuIcon-right margin-left-xs data-v-249675c2"></view></view></view><view class="flex justify-between align-center padding-tb solid-bottom data-v-249675c2"><view class="text-black label-text data-v-249675c2">用户名</view><view class="flex align-center data-v-249675c2"><text class="text-black data-v-249675c2">{{e}}</text><view class="lg text-gray cuIcon-right margin-left-xs data-v-249675c2"></view></view></view><view class="flex justify-between align-center padding-tb solid-bottom data-v-249675c2"><view class="text-black label-text data-v-249675c2">个性签名</view><view class="flex align-center flex-sub justify-end data-v-249675c2"><input class="input-right data-v-249675c2" placeholder="请输入个性签名" value="{{f}}" bindinput="{{g}}"/><view class="lg text-gray cuIcon-right margin-left-xs data-v-249675c2"></view></view></view><view class="flex justify-between align-center padding-tb solid-bottom data-v-249675c2"><view class="text-black data-v-249675c2">性别</view><view class="flex align-center data-v-249675c2"><view class="gender-switch data-v-249675c2"><view class="{{['gender-item', 'data-v-249675c2', h && 'gender-active', i && 'gender-male']}}" bindtap="{{j}}"><text class="cuIcon-male data-v-249675c2"></text></view><view class="{{['gender-item', 'data-v-249675c2', k && 'gender-active', l && 'gender-female']}}" bindtap="{{m}}"><text class="cuIcon-female data-v-249675c2"></text></view></view></view></view><view class="flex justify-between align-center padding-tb solid-bottom data-v-249675c2" bindtap="{{o}}"><view class="text-black data-v-249675c2">日期选择</view><view class="flex align-center data-v-249675c2"><text class="text-black data-v-249675c2">{{n}}</text><view class="lg text-gray cuIcon-right margin-left-xs data-v-249675c2"></view></view></view><up-calendar wx:if="{{r}}" class="data-v-249675c2" virtualHostClass="data-v-249675c2" bindconfirm="{{p}}" bindclose="{{q}}" u-i="249675c2-0" bind:__l="__l" u-p="{{r}}"></up-calendar><button class="bg-blue round margin-top-xl data-v-249675c2" bindtap="{{s}}">保存</button><button class="round line-blue margin-top data-v-249675c2" bindtap="{{t}}">退出登录</button></view></view>
|
||||
79
unpackage/dist/dev/mp-weixin/pages/personalcenter/edit.wxss
vendored
Normal file
79
unpackage/dist/dev/mp-weixin/pages/personalcenter/edit.wxss
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* uni.scss */
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.page.data-v-249675c2 {
|
||||
min-height: 100vh;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
.avatar.data-v-249675c2 {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.label-text.data-v-249675c2 {
|
||||
flex-shrink: 0;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.input-right.data-v-249675c2 {
|
||||
text-align: right;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
}
|
||||
.padding-tb.data-v-249675c2 {
|
||||
padding: 30rpx 0;
|
||||
}
|
||||
.gender-switch.data-v-249675c2 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: #f0f0f0;
|
||||
border-radius: 40rpx;
|
||||
padding: 4rpx;
|
||||
}
|
||||
.gender-item.data-v-249675c2 {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 32rpx;
|
||||
color: #999;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
.gender-active.data-v-249675c2 {
|
||||
color: #fff;
|
||||
}
|
||||
.gender-male.data-v-249675c2 {
|
||||
background: #2667E9;
|
||||
}
|
||||
.gender-female.data-v-249675c2 {
|
||||
background: #ff6b81;
|
||||
}
|
||||
.line-blue.data-v-249675c2 {
|
||||
border: 1rpx solid #2667E9;
|
||||
color: #2667E9;
|
||||
background: #fff;
|
||||
}
|
||||
12
unpackage/dist/dev/mp-weixin/pages/personalcenter/helpcenter.js
vendored
Normal file
12
unpackage/dist/dev/mp-weixin/pages/personalcenter/helpcenter.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {};
|
||||
function _sfc_render(_ctx, _cache) {
|
||||
return {
|
||||
a: common_assets._imports_0$2,
|
||||
b: common_assets._imports_1$2
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
4
unpackage/dist/dev/mp-weixin/pages/personalcenter/helpcenter.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/pages/personalcenter/helpcenter.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "帮助中心",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/helpcenter.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/helpcenter.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{[virtualHostClass]}}" style="{{virtualHostStyle}}"><view class="justify-around flex margin-top-xl"><view><image src="{{a}}" style="width:100rpx;height:100rpx"></image></view><view><image src="{{b}}" style="width:100rpx;height:100rpx"></image></view></view><view class="margin-top-xl flex text-gray text-center justify-center"><view>工作时间:</view><view>09:00-22:00</view></view></view>
|
||||
0
unpackage/dist/dev/mp-weixin/pages/personalcenter/helpcenter.wxss
vendored
Normal file
0
unpackage/dist/dev/mp-weixin/pages/personalcenter/helpcenter.wxss
vendored
Normal file
45
unpackage/dist/dev/mp-weixin/pages/personalcenter/my.js
vendored
Normal file
45
unpackage/dist/dev/mp-weixin/pages/personalcenter/my.js
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
__name: "my",
|
||||
setup(__props) {
|
||||
const Helpcenter = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/personalcenter/helpcenter"
|
||||
});
|
||||
};
|
||||
const notification = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/personalcenter/notification"
|
||||
});
|
||||
};
|
||||
const Settings = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/personalcenter/settings"
|
||||
});
|
||||
};
|
||||
const Account = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/personalcenter/account"
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_assets._imports_0$1,
|
||||
b: common_vendor.o(($event) => Helpcenter()),
|
||||
c: common_assets._imports_1$1,
|
||||
d: common_assets._imports_2$1,
|
||||
e: common_vendor.o(($event) => Account()),
|
||||
f: common_assets._imports_3$1,
|
||||
g: common_vendor.o(($event) => notification()),
|
||||
h: common_assets._imports_4$1,
|
||||
i: common_assets._imports_5,
|
||||
j: common_vendor.o(($event) => Settings()),
|
||||
k: common_assets._imports_0$1
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-02345808"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
5
unpackage/dist/dev/mp-weixin/pages/personalcenter/my.json
vendored
Normal file
5
unpackage/dist/dev/mp-weixin/pages/personalcenter/my.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"navigationBarTitleText": "我的",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/my.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/my.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="title data-v-02345808"><view class="padding data-v-02345808"><view class="text-center data-v-02345808">我的</view><view class="flex justify-around data-v-02345808" style="padding-top:60rpx"><view class="flex data-v-02345808"><view class="cu-avatar xl round margin-left data-v-02345808" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big99008.jpg)"></view><view class="data-v-02345808"><view class="data-v-02345808">测试</view><view class="data-v-02345808">17374339800</view></view></view><button class="bg-blue round cu-btn data-v-02345808">编辑资料</button></view></view></view><view class="padding page data-v-02345808"><view class="padding bg-white radius data-v-02345808"><view class="flex justify-between padding-bottom solid-bottom data-v-02345808"><view class="flex data-v-02345808" bindtap="{{b}}"><image class="data-v-02345808" src="{{a}}" style="width:40rpx;height:40rpx"></image><view class="margin-left data-v-02345808">帮助中心</view></view><view class="lg text-gray cuIcon-right data-v-02345808"></view></view><view class="flex justify-between padding-bottom padding-top solid-bottom data-v-02345808"><view class="flex data-v-02345808"><image class="data-v-02345808" src="{{c}}" style="width:40rpx;height:40rpx"></image><view class="margin-left data-v-02345808">智能客服</view></view><view class="lg text-gray cuIcon-right data-v-02345808"></view></view><view class="flex justify-between padding-bottom padding-top solid-bottom data-v-02345808"><view class="flex data-v-02345808" bindtap="{{e}}"><image class="data-v-02345808" src="{{d}}" style="width:40rpx;height:40rpx"></image><view class="margin-left data-v-02345808">账号安全</view></view><view class="lg text-gray cuIcon-right data-v-02345808"></view></view><view class="flex justify-between padding-bottom padding-top solid-bottom data-v-02345808"><view class="flex data-v-02345808" bindtap="{{g}}"><image class="data-v-02345808" src="{{f}}" style="width:40rpx;height:40rpx"></image><view class="margin-left data-v-02345808">新消息通知</view></view><view class="lg text-gray cuIcon-right data-v-02345808"></view></view><view class="flex justify-between padding-bottom padding-top solid-bottom data-v-02345808"><view class="flex data-v-02345808"><image class="data-v-02345808" src="{{h}}" style="width:40rpx;height:40rpx"></image><view class="margin-left data-v-02345808">清除缓存</view></view><view class="lg text-gray cuIcon-right data-v-02345808"></view></view><view class="flex justify-between padding-bottom padding-top solid-bottom data-v-02345808"><view class="flex data-v-02345808" bindtap="{{j}}"><image class="data-v-02345808" src="{{i}}" style="width:40rpx;height:40rpx"></image><view class="margin-left data-v-02345808">通用设置</view></view><view class="lg text-gray cuIcon-right data-v-02345808"></view></view><view class="flex justify-between padding-bottom padding-top solid-bottom data-v-02345808"><view class="flex data-v-02345808"><image class="data-v-02345808" src="{{k}}" style="width:40rpx;height:40rpx"></image><view class="margin-left data-v-02345808">关于</view></view><view class="lg text-gray cuIcon-right data-v-02345808"></view></view></view><button class="bg-blue round margin-top-xl data-v-02345808">退出登录</button></view>
|
||||
33
unpackage/dist/dev/mp-weixin/pages/personalcenter/my.wxss
vendored
Normal file
33
unpackage/dist/dev/mp-weixin/pages/personalcenter/my.wxss
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* uni.scss */
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.page.data-v-02345808 {
|
||||
background: #EBF2FC;
|
||||
}
|
||||
.title.data-v-02345808 {
|
||||
height: 516rpx;
|
||||
background: radial-gradient(0% 0% at 78% 8%, #2667E9 0%, #FDFDFD 100%, #719BF0 100%);
|
||||
}
|
||||
43
unpackage/dist/dev/mp-weixin/pages/personalcenter/notification.js
vendored
Normal file
43
unpackage/dist/dev/mp-weixin/pages/personalcenter/notification.js
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_switch2 = common_vendor.resolveComponent("up-switch");
|
||||
_easycom_up_switch2();
|
||||
}
|
||||
const _easycom_up_switch = () => "../../uni_modules/uview-plus/components/u-switch/u-switch.js";
|
||||
if (!Math) {
|
||||
_easycom_up_switch();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "notification",
|
||||
setup(__props) {
|
||||
const value = common_vendor.ref(false);
|
||||
const change = (e) => {
|
||||
console.log("change", e);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(change),
|
||||
b: common_vendor.o(($event) => value.value = $event),
|
||||
c: common_vendor.p({
|
||||
activeColor: "#07C160",
|
||||
modelValue: value.value
|
||||
}),
|
||||
d: common_vendor.o(change),
|
||||
e: common_vendor.o(($event) => value.value = $event),
|
||||
f: common_vendor.p({
|
||||
activeColor: "#07C160",
|
||||
modelValue: value.value
|
||||
}),
|
||||
g: common_vendor.o(change),
|
||||
h: common_vendor.o(($event) => value.value = $event),
|
||||
i: common_vendor.p({
|
||||
activeColor: "#07C160",
|
||||
modelValue: value.value
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-7f3eb145"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/dev/mp-weixin/pages/personalcenter/notification.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/personalcenter/notification.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "新消息通知",
|
||||
"usingComponents": {
|
||||
"up-switch": "../../uni_modules/uview-plus/components/u-switch/u-switch"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/notification.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/notification.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['page', 'padding', 'data-v-7f3eb145', virtualHostClass]}}" style="{{virtualHostStyle}}"><view class="padding bg-white radius data-v-7f3eb145"><view class="flex justify-between padding-bottom solid-bottom data-v-7f3eb145"><view class="data-v-7f3eb145">横幅消息通知</view><up-switch wx:if="{{c}}" class="data-v-7f3eb145" virtualHostClass="data-v-7f3eb145" bindchange="{{a}}" u-i="7f3eb145-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></up-switch></view><view class="flex justify-between padding-bottom padding-top solid-bottom data-v-7f3eb145"><view class="data-v-7f3eb145">系统声音</view><up-switch wx:if="{{f}}" class="data-v-7f3eb145" virtualHostClass="data-v-7f3eb145" bindchange="{{d}}" u-i="7f3eb145-1" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"></up-switch></view><view class="flex justify-between padding-bottom padding-top solid-bottom data-v-7f3eb145"><view class="data-v-7f3eb145">系统震动</view><up-switch wx:if="{{i}}" class="data-v-7f3eb145" virtualHostClass="data-v-7f3eb145" bindchange="{{g}}" u-i="7f3eb145-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-switch></view></view></view>
|
||||
30
unpackage/dist/dev/mp-weixin/pages/personalcenter/notification.wxss
vendored
Normal file
30
unpackage/dist/dev/mp-weixin/pages/personalcenter/notification.wxss
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* uni.scss */
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.page.data-v-7f3eb145 {
|
||||
min-height: 100vh;
|
||||
background: #EBF2FC;
|
||||
}
|
||||
43
unpackage/dist/dev/mp-weixin/pages/personalcenter/settings.js
vendored
Normal file
43
unpackage/dist/dev/mp-weixin/pages/personalcenter/settings.js
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_switch2 = common_vendor.resolveComponent("up-switch");
|
||||
_easycom_up_switch2();
|
||||
}
|
||||
const _easycom_up_switch = () => "../../uni_modules/uview-plus/components/u-switch/u-switch.js";
|
||||
if (!Math) {
|
||||
_easycom_up_switch();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "settings",
|
||||
setup(__props) {
|
||||
const value = common_vendor.ref(false);
|
||||
const change = (e) => {
|
||||
console.log("change", e);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(change),
|
||||
b: common_vendor.o(($event) => value.value = $event),
|
||||
c: common_vendor.p({
|
||||
activeColor: "#07C160",
|
||||
modelValue: value.value
|
||||
}),
|
||||
d: common_vendor.o(change),
|
||||
e: common_vendor.o(($event) => value.value = $event),
|
||||
f: common_vendor.p({
|
||||
activeColor: "#07C160",
|
||||
modelValue: value.value
|
||||
}),
|
||||
g: common_vendor.o(change),
|
||||
h: common_vendor.o(($event) => value.value = $event),
|
||||
i: common_vendor.p({
|
||||
activeColor: "#07C160",
|
||||
modelValue: value.value
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8a628c0f"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/dev/mp-weixin/pages/personalcenter/settings.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/personalcenter/settings.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "通用设置",
|
||||
"usingComponents": {
|
||||
"up-switch": "../../uni_modules/uview-plus/components/u-switch/u-switch"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/settings.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/personalcenter/settings.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['page', 'padding', 'data-v-8a628c0f', virtualHostClass]}}" style="{{virtualHostStyle}}"><view class="padding bg-white radius data-v-8a628c0f"><view class="flex justify-between padding-bottom solid-bottom data-v-8a628c0f"><view class="data-v-8a628c0f">截屏后提示</view><up-switch wx:if="{{c}}" class="data-v-8a628c0f" virtualHostClass="data-v-8a628c0f" bindchange="{{a}}" u-i="8a628c0f-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></up-switch></view><view class="flex justify-between padding-bottom padding-top solid-bottom data-v-8a628c0f"><view class="data-v-8a628c0f">开启屏幕旋转</view><up-switch wx:if="{{f}}" class="data-v-8a628c0f" virtualHostClass="data-v-8a628c0f" bindchange="{{d}}" u-i="8a628c0f-1" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"></up-switch></view><view class="flex justify-between padding-bottom padding-top solid-bottom data-v-8a628c0f"><view class="data-v-8a628c0f">获取地理位置</view><up-switch wx:if="{{i}}" class="data-v-8a628c0f" virtualHostClass="data-v-8a628c0f" bindchange="{{g}}" u-i="8a628c0f-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-switch></view></view></view>
|
||||
30
unpackage/dist/dev/mp-weixin/pages/personalcenter/settings.wxss
vendored
Normal file
30
unpackage/dist/dev/mp-weixin/pages/personalcenter/settings.wxss
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* uni.scss */
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.page.data-v-8a628c0f {
|
||||
min-height: 100vh;
|
||||
background: #EBF2FC;
|
||||
}
|
||||
Reference in New Issue
Block a user