Compare commits
No commits in common. 'cc5fc9992efbe2b19e9e423cbf6d104e93c1b12c' and '94f2d4256f656cc9207422b3f9a1f9abccff0100' have entirely different histories.
cc5fc9992e
...
94f2d4256f
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
@ -1,9 +0,0 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
@ -1,3 +0,0 @@
|
||||
build/*.js
|
||||
src/qrcode.js
|
||||
src/index.js
|
||||
@ -1,26 +0,0 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
parser: 'babel-eslint',
|
||||
parserOptions: {
|
||||
sourceType: 'module'
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
},
|
||||
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
|
||||
extends: 'standard',
|
||||
"globals": {
|
||||
__VERSION__: false,
|
||||
ENV: false,
|
||||
wx: false
|
||||
},
|
||||
// add your custom rules here
|
||||
'rules': {
|
||||
// allow paren-less arrow functions
|
||||
'arrow-parens': 0,
|
||||
// allow async-await
|
||||
'generator-star-spacing': 0,
|
||||
// allow debugger during development
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
|
||||
}
|
||||
}
|
||||
@ -1,23 +0,0 @@
|
||||
language: node_js
|
||||
sudo: required
|
||||
node_js:
|
||||
- 10.0.0
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
before_install:
|
||||
- export TZ='Asia/Shanghai'
|
||||
install:
|
||||
- npm install
|
||||
script:
|
||||
- npm run publish
|
||||
|
||||
after_script:
|
||||
- git init
|
||||
- git config user.name "${USER_NAME}"
|
||||
- git config user.email "${USER_EMAIL}"
|
||||
- git add .
|
||||
- git commit -m "publish"
|
||||
- git push -f https://${access_token}@github.com/DoctorWei/weapp.qrcode-canvas-2d HEAD:master
|
||||
|
||||
branch: master
|
||||
@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 DoctorWei
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@ -1,39 +0,0 @@
|
||||
var babel = require('rollup-plugin-babel')
|
||||
var resolve = require('rollup-plugin-node-resolve')
|
||||
var commonjs = require('rollup-plugin-commonjs')
|
||||
var eslint = require('rollup-plugin-eslint')
|
||||
var license = require('rollup-plugin-license')
|
||||
|
||||
var path = require('path')
|
||||
|
||||
var pkg = require('../package.json')
|
||||
|
||||
module.exports = {
|
||||
input: path.resolve(__dirname, '../src/index.js'),
|
||||
output: [
|
||||
{
|
||||
file: path.resolve(__dirname, '../dist/weapp.qrcode.js'),
|
||||
format: 'umd'
|
||||
},
|
||||
{
|
||||
file: path.resolve(__dirname, '../examples/wechat-app/utils/weapp.qrcode.js'),
|
||||
format: 'umd'
|
||||
}
|
||||
],
|
||||
moduleName: 'drawQrcode',
|
||||
plugins: [
|
||||
eslint(),
|
||||
resolve({
|
||||
jsnext: true,
|
||||
main: true,
|
||||
browser: true
|
||||
}),
|
||||
commonjs(),
|
||||
babel({
|
||||
exclude: 'node_modules/**'
|
||||
}),
|
||||
license({
|
||||
banner: 'weapp.qrcode.js v' + pkg.version + ' (' + pkg.homepage + ')'
|
||||
})
|
||||
]
|
||||
}
|
||||
@ -1,49 +0,0 @@
|
||||
var babel = require('rollup-plugin-babel')
|
||||
var babel = require('rollup-plugin-babel')
|
||||
var resolve = require('rollup-plugin-node-resolve')
|
||||
var commonjs = require('rollup-plugin-commonjs')
|
||||
var eslint = require('rollup-plugin-eslint')
|
||||
var license = require('rollup-plugin-license')
|
||||
var uglify = require('rollup-plugin-uglify')
|
||||
|
||||
var path = require('path')
|
||||
var pkg = require('../package.json')
|
||||
|
||||
module.exports = {
|
||||
input: path.resolve(__dirname, '../src/index.js'),
|
||||
output: [
|
||||
{
|
||||
file: path.resolve(__dirname, '../dist/weapp.qrcode.min.js'),
|
||||
format: 'umd'
|
||||
},
|
||||
{
|
||||
file: path.resolve(__dirname, '../dist/weapp.qrcode.common.js'),
|
||||
format: 'cjs'
|
||||
},
|
||||
{
|
||||
file: path.resolve(__dirname, '../dist/weapp.qrcode.esm.js'),
|
||||
format: 'es'
|
||||
}
|
||||
],
|
||||
moduleName: 'drawQrcode',
|
||||
plugins: [
|
||||
eslint(),
|
||||
resolve({
|
||||
jsnext: true,
|
||||
main: true,
|
||||
browser: true
|
||||
}),
|
||||
commonjs(),
|
||||
babel({
|
||||
exclude: 'node_modules/**'
|
||||
}),
|
||||
uglify({
|
||||
compress: {
|
||||
// 'drop_console': true
|
||||
}
|
||||
}),
|
||||
license({
|
||||
banner: 'weapp.qrcode.js v' + pkg.version + ' (' + pkg.homepage + ')'
|
||||
})
|
||||
]
|
||||
}
|
||||
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 it is too large
Load Diff
File diff suppressed because one or more lines are too long
1326
node_modules/weapp-qrcode-canvas-2d/examples/wechat-app/utils/weapp.qrcode.js
generated
vendored
1326
node_modules/weapp-qrcode-canvas-2d/examples/wechat-app/utils/weapp.qrcode.js
generated
vendored
File diff suppressed because it is too large
Load Diff
@ -1,42 +0,0 @@
|
||||
{
|
||||
"name": "weapp-qrcode-canvas-2d",
|
||||
"version": "1.1.2",
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "generate qrcode in wx",
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-eslint": "^8.2.1",
|
||||
"eslint": "^4.16.0",
|
||||
"eslint-config-standard": "^11.0.0-beta.0",
|
||||
"eslint-plugin-import": "^2.8.0",
|
||||
"eslint-plugin-node": "^5.2.1",
|
||||
"eslint-plugin-promise": "^3.6.0",
|
||||
"eslint-plugin-standard": "^3.0.1",
|
||||
"rollup": "^0.55.1",
|
||||
"rollup-plugin-babel": "^3.0.3",
|
||||
"rollup-plugin-commonjs": "^8.3.0",
|
||||
"rollup-plugin-eslint": "^4.0.0",
|
||||
"rollup-plugin-license": "^0.6.0",
|
||||
"rollup-plugin-node-resolve": "^3.0.2",
|
||||
"rollup-plugin-replace": "^2.0.0",
|
||||
"rollup-plugin-uglify": "^3.0.0"
|
||||
},
|
||||
"keywords": [
|
||||
"wechat",
|
||||
"weapp",
|
||||
"qrcode",
|
||||
"canvas",
|
||||
"canvas 2d",
|
||||
"canvas-2d"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "dist/weapp.qrcode.common.js",
|
||||
"module": "dist/weapp.qrcode.esm.js",
|
||||
"scripts": {
|
||||
"build": "rollup --config build/rollup.prod.config.js",
|
||||
"dev": "rollup --config build/rollup.dev.config.js -w",
|
||||
"publish": "rollup --config build/rollup.dev.config.js & npm run build",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
}
|
||||
}
|
||||
@ -1,141 +0,0 @@
|
||||
import extend from 'extend'
|
||||
import {
|
||||
QRCode,
|
||||
QRErrorCorrectLevel
|
||||
} from './qrcode'
|
||||
|
||||
// support Chinese
|
||||
function utf16to8(str) {
|
||||
var out, i, len, c
|
||||
out = ''
|
||||
len = str.length
|
||||
for (i = 0; i < len; i++) {
|
||||
c = str.charCodeAt(i)
|
||||
if ((c >= 0x0001) && (c <= 0x007F)) {
|
||||
out += str.charAt(i)
|
||||
} else if (c > 0x07FF) {
|
||||
out += String.fromCharCode(0xE0 | ((c >> 12) & 0x0F))
|
||||
out += String.fromCharCode(0x80 | ((c >> 6) & 0x3F))
|
||||
out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F))
|
||||
} else {
|
||||
out += String.fromCharCode(0xC0 | ((c >> 6) & 0x1F))
|
||||
out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F))
|
||||
}
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
function drawQrcode(options, debug) {
|
||||
options = options || {}
|
||||
options = extend(true, {
|
||||
canvasId: 'myQrcode',
|
||||
// canvas: canvas,
|
||||
text: '爱一个人就要勇敢说出来',
|
||||
width: 260,
|
||||
height: 260,
|
||||
padding: 20,
|
||||
// paddingColor: '#ffffff', // 默认与background一致
|
||||
typeNumber: -1,
|
||||
correctLevel: QRErrorCorrectLevel.H,
|
||||
background: '#ffffff',
|
||||
foreground: '#000000',
|
||||
image: {
|
||||
imageResource: '',
|
||||
width: 80,
|
||||
height: 80,
|
||||
round: true
|
||||
}
|
||||
}, options)
|
||||
|
||||
if (!options.canvasId && !options.canvas) {
|
||||
console.warn('please set canvasId or canvas!')
|
||||
return
|
||||
}
|
||||
|
||||
if (!options.paddingColor) options.paddingColor = options.background
|
||||
|
||||
if (debug) {
|
||||
var qrcode = new QRCode(options.typeNumber, options.correctLevel)
|
||||
qrcode.addData(utf16to8(options.text))
|
||||
qrcode.make()
|
||||
|
||||
return new Promise(function (resolve, reject) {
|
||||
resolve(qrcode);
|
||||
})
|
||||
|
||||
} else {
|
||||
|
||||
return new Promise(function (resolve, reject) {
|
||||
return resolve(createCanvas());
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
function createCanvas() {
|
||||
// create the qrcode itself
|
||||
var qrcode = new QRCode(options.typeNumber, options.correctLevel)
|
||||
qrcode.addData(utf16to8(options.text))
|
||||
qrcode.make()
|
||||
|
||||
const dpr = wx.getSystemInfoSync().pixelRatio
|
||||
var canvas = options.canvas
|
||||
const ctx = canvas.getContext('2d')
|
||||
canvas.width = options.width * dpr
|
||||
canvas.height = options.width * dpr
|
||||
const width = canvas.width
|
||||
|
||||
// 背景色
|
||||
ctx.fillStyle = options.paddingColor
|
||||
ctx.fillRect(0, 0, width + options.padding * 2, width + options.padding * 2);
|
||||
|
||||
var tileW = (width - options.padding * 2) / qrcode.getModuleCount()
|
||||
var tileH = (width - options.padding * 2) / qrcode.getModuleCount()
|
||||
|
||||
// 开始画二维码
|
||||
for (var row = 0; row < qrcode.getModuleCount(); row++) {
|
||||
for (var col = 0; col < qrcode.getModuleCount(); col++) {
|
||||
ctx.fillStyle = qrcode.isDark(row, col) ? options.foreground : options.background
|
||||
var w = (Math.ceil((col + 1) * tileW) - Math.floor(col * tileW))
|
||||
var h = (Math.ceil((row + 1) * tileW) - Math.floor(row * tileW))
|
||||
ctx.fillRect(Math.round(col * tileW) + options.padding, Math.round(row * tileH) + options.padding, w, h);
|
||||
}
|
||||
}
|
||||
|
||||
if (options.image.imageResource) {
|
||||
const imgW = options.image.width * dpr
|
||||
const imgH = options.image.height * dpr
|
||||
const dx = (width - imgW) / 2
|
||||
const dy = (width - imgH) / 2
|
||||
if (options.image.round) {
|
||||
// Logo边框
|
||||
const imgW2 = options.image.width * dpr + 30
|
||||
const dx2 = (width - imgW2) / 2
|
||||
const r2 = imgW2 / 2
|
||||
const cx2 = dx2 + r2;
|
||||
ctx.beginPath();
|
||||
ctx.arc(cx2, cx2, r2, 0, 2 * Math.PI);
|
||||
ctx.fillStyle = '#ffffff'
|
||||
ctx.fill();
|
||||
ctx.restore();
|
||||
|
||||
// 画Logo
|
||||
const r = imgW / 2
|
||||
const cx = dx + r;
|
||||
const cy = dy + r;
|
||||
ctx.beginPath();
|
||||
ctx.arc(cx, cy, r, 0, 2 * Math.PI);
|
||||
ctx.clip();
|
||||
|
||||
ctx.drawImage(options.image.imageResource, dx, dy, imgW, imgW);
|
||||
ctx.restore();
|
||||
} else {
|
||||
ctx.drawImage(options.image.imageResource, dx, dy, imgW, imgH)
|
||||
ctx.restore();
|
||||
}
|
||||
}
|
||||
|
||||
return ctx
|
||||
}
|
||||
}
|
||||
|
||||
export default drawQrcode
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,66 +0,0 @@
|
||||
// pages/home/jl/jlai.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,3 +0,0 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
<!--pages/home/jl/jlai.wxml-->
|
||||
<text>pages/home/jl/jlai.wxml</text>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/home/jl/jlai.wxss */
|
||||
@ -1,146 +0,0 @@
|
||||
// pages/home/jl/jlai/jlai.js
|
||||
const app = getApp();//新建页面时 默认引入
|
||||
const req = app.xzjlReq();//初始化一个的request() 实例
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
times:0,//非会员聊天次数
|
||||
chatList:[],
|
||||
ltinfo:'',
|
||||
isBlank:true,//没有聊天
|
||||
userInfo:{},
|
||||
stxx:false,
|
||||
},
|
||||
dovipTips(){
|
||||
wx: wx.showToast({
|
||||
title: '请购买会员或聊天次数',
|
||||
icon:'none',
|
||||
})
|
||||
},
|
||||
go2Member(){
|
||||
console.log('一天啊啊啊')
|
||||
wx.navigateTo({
|
||||
url: '/pages/home/me/member/member'
|
||||
})
|
||||
},
|
||||
doLt(e){/**点击快捷选项 */
|
||||
console.log('到此一游')
|
||||
this.setData({ltinfo:e.target.dataset.lt})
|
||||
|
||||
},
|
||||
go2BB(e){/**鼠标回显事件 */
|
||||
this.setData({ltinfo:e.detail.value})
|
||||
},
|
||||
go2Send(e){/**发送消息 */
|
||||
this.setData({isBlank:false})
|
||||
if(e.target.dataset.lt==''){
|
||||
wx: wx.showToast({
|
||||
title: '聊天内容不能为空',
|
||||
icon:'none',
|
||||
})
|
||||
}else{
|
||||
this.setData({
|
||||
chatList:this.data.chatList.concat({'type':1,'value':e.target.dataset.lt})
|
||||
})
|
||||
let that = this
|
||||
req.postRequest('/api/v1/chat-records/completions',{'content':e.target.dataset.lt}).then((res)=>{
|
||||
console.log(res)
|
||||
console.log(res.data)
|
||||
if(res.data.code==500){
|
||||
console.log('500状态码')
|
||||
wx: wx.showToast({
|
||||
title: '获取星座精灵AI聊天消息超时',
|
||||
icon:'none',
|
||||
})
|
||||
}
|
||||
if(res.data.code==200){
|
||||
this.setData({times:res.data.data.freeChatCount})
|
||||
console.log(res)
|
||||
this.setData({
|
||||
chatList:this.data.chatList.concat({'type':2,'value':res.data.data.content})
|
||||
})
|
||||
}
|
||||
console.log(this.userInfo);
|
||||
}).catch((err)=>{
|
||||
console.log(err);
|
||||
})
|
||||
this.setData({ltinfo:''})
|
||||
}
|
||||
|
||||
},
|
||||
getUserInfo(){
|
||||
req.getRequest('/api/user/curt',{}).then((res)=>{
|
||||
if(res.data.code==200){
|
||||
this.setData({userInfo:res.data.data})
|
||||
if(!res.data.data.isChatVip){
|
||||
this.setData({times:res.data.data.freeChatCount})
|
||||
}
|
||||
console.log(this.data.times)
|
||||
}
|
||||
console.log(this.userInfo);
|
||||
}).catch((err)=>{
|
||||
console.log(err);
|
||||
})
|
||||
},
|
||||
go2Reback(){
|
||||
wx.navigateBack({ changed: true });
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
this.getUserInfo()
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,7 +0,0 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"t-image": "tdesign-miniprogram/image/image",
|
||||
"t-input": "tdesign-miniprogram/input/input",
|
||||
"t-textarea": "tdesign-miniprogram/textarea/textarea"
|
||||
}
|
||||
}
|
||||
@ -1,293 +0,0 @@
|
||||
/* pages/home/jl/jlai/jlai.wxss */
|
||||
.reback{
|
||||
position: absolute;
|
||||
margin-left: 20rpx;
|
||||
margin-top:108rpx;
|
||||
width:48rpx;
|
||||
height:48rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/reback.png);
|
||||
}
|
||||
|
||||
.title{
|
||||
position: absolute;
|
||||
left: 278rpx;
|
||||
top: 108rpx;
|
||||
width: 196rpx;
|
||||
height: 48rpx;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.mfcs{
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 88px;
|
||||
width: 375px;
|
||||
height: 44px;
|
||||
line-height: 88rpx;
|
||||
opacity: 0.8;
|
||||
background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%);
|
||||
text-align: center;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-size: 14px;
|
||||
}
|
||||
.ltkjj{
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
top: 164px;
|
||||
width: 343px;
|
||||
height: 382px;
|
||||
line-height: 20px;
|
||||
opacity: 0.9;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
box-shadow: 1px 2px 6px 0px rgba(0, 0, 0, 0.2);
|
||||
font-family: Arial;
|
||||
}
|
||||
|
||||
|
||||
.ltkjj1{
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
top: 164px;
|
||||
width: 343px;
|
||||
height: 1000rpx;
|
||||
line-height: 20px;
|
||||
opacity: 0.9;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
box-shadow: 1px 2px 6px 0px rgba(0, 0, 0, 0.2);
|
||||
font-family: Arial;
|
||||
}
|
||||
|
||||
.ltat{
|
||||
position: absolute;
|
||||
height: 50px;
|
||||
line-height: 100rpx;
|
||||
opacity: 0.9;
|
||||
border-radius: 24px;
|
||||
background: linear-gradient(222.69deg, rgba(248,99,42,1) 14.04%,rgba(249,135,89,1) 88.56%);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
|
||||
font-family: Arial;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.ltxzys{
|
||||
left: 38rpx;
|
||||
top: 64rpx;
|
||||
width: 88px;
|
||||
|
||||
}
|
||||
.ltxzzb{
|
||||
left: 128px;
|
||||
top: 64rpx;
|
||||
width: 88px;
|
||||
}
|
||||
|
||||
.lttlzb{
|
||||
top: 64rpx;
|
||||
width: 88px;
|
||||
left:237px;
|
||||
}
|
||||
.ltqgqs{
|
||||
width:118px;
|
||||
left:38rpx;
|
||||
top:228rpx;
|
||||
}
|
||||
.ltwm{
|
||||
left:158px;
|
||||
top:228rpx;
|
||||
width:167px;
|
||||
}
|
||||
|
||||
.wzmxyx{
|
||||
left:38rpx;
|
||||
width:137px;
|
||||
top:392rpx;
|
||||
}
|
||||
.ltqs{
|
||||
left:172px;
|
||||
width:153px;
|
||||
top:392rpx;
|
||||
}
|
||||
|
||||
.tximg{
|
||||
position: absolute;
|
||||
left: 38rpx;
|
||||
top: 278px;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border: 3px solid rgba(161, 134, 81, 1);
|
||||
background-color: coral;
|
||||
}
|
||||
.ltwzk{
|
||||
position: absolute;
|
||||
left: 154rpx;
|
||||
top: 278px;
|
||||
width: 241px;
|
||||
height: 72px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 17px;
|
||||
line-height: 43rpx;
|
||||
text-align: justify;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.ltk1{
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 722px;
|
||||
width: 375px;
|
||||
height: 90px;
|
||||
line-height: 20px;
|
||||
background-color: rgba(248, 248, 248, 1);
|
||||
text-align: center;
|
||||
border: 1px solid rgba(255, 0, 0, 0);
|
||||
}
|
||||
|
||||
.ltk1txt{
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
top: 14rpx;
|
||||
width: 265px;
|
||||
height: 84rpx;
|
||||
border-radius: 5px;
|
||||
color: rgba(136, 136, 136, 1);
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
font-family: Arial;
|
||||
border: 1px solid rgba(255, 0, 0, 0);
|
||||
}
|
||||
.t-textarea{
|
||||
margin: 0!important;
|
||||
padding: 0!important;
|
||||
height:84rpx;
|
||||
line-height: 84rpx!important;
|
||||
}
|
||||
.ltk1txt1{
|
||||
width: 265px;
|
||||
height: 84rpx;
|
||||
}
|
||||
.t-textarea__wrapper-inner{
|
||||
|
||||
}
|
||||
.t-textarea__label{
|
||||
height:84rpx;
|
||||
line-height: 84rpx!important;
|
||||
}
|
||||
|
||||
.fsan{
|
||||
position: absolute;
|
||||
left: 332px;
|
||||
top: 32rpx;
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/chatbtn.png);
|
||||
}
|
||||
|
||||
.addbtn{
|
||||
position: absolute;
|
||||
left: 293px;
|
||||
top: 30rpx;
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/addbtn.png);
|
||||
}
|
||||
|
||||
.chatbox{
|
||||
position: absolute;
|
||||
top:132px;
|
||||
width:750rpx;
|
||||
height:1360rpx;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.chatbox1{
|
||||
width:750rpx;
|
||||
height:148rpx;
|
||||
display: block;
|
||||
}
|
||||
.chattoux{
|
||||
margin-left: 32rpx;
|
||||
margin-top: 32rpx;
|
||||
width: 84rpx;
|
||||
height: 84rpx;
|
||||
display: online;
|
||||
}
|
||||
|
||||
.chatinfo{
|
||||
margin-left: 74px;
|
||||
margin-top: -70rpx;
|
||||
width: 280px;
|
||||
height: 90px;
|
||||
color: rgba(79, 79, 79, 1);
|
||||
font-size: 17px;
|
||||
text-align: justify;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.dd1{
|
||||
width:750rpx;
|
||||
height:160rpx;
|
||||
}
|
||||
|
||||
.kthybtn{
|
||||
position: absolute;
|
||||
left: 224rpx;
|
||||
top: 826rpx;
|
||||
width: 120px;
|
||||
height: 35px;
|
||||
line-height: 70rpx;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(222.54deg, rgba(248,99,42,1) 14.03%,rgba(249,135,89,1) 85.21%);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-medium;
|
||||
}
|
||||
|
||||
.kthytips{
|
||||
position: absolute;
|
||||
top: 448px;
|
||||
width: 343px;
|
||||
height: 20px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.hyhgtx{
|
||||
position: absolute;
|
||||
left: 196px;
|
||||
top: 371px;
|
||||
width: 59.8px;
|
||||
height: 66.45px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/hyhg.png);
|
||||
}
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/home/me/cjwt/cjwt.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "常见问题",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,5 +0,0 @@
|
||||
<!--pages/home/me/cjwt/cjwt.wxml 常见问题-->
|
||||
<!--<!--<!--<web-view src="https://xzjl-api.windymuse.cn/"></web-view>-->
|
||||
<view>跳转页面,待完善</view>-->
|
||||
<view>跳转页面,待完善</view>-->
|
||||
<view>跳转页面,待完善</view>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/home/me/cjwt/cjwt.wxss */
|
||||
@ -1,171 +0,0 @@
|
||||
// pages/home/me/grzl/grzl.js
|
||||
const app = getApp();//新建页面时 默认引入
|
||||
const req = app.xzjlReq();//初始化一个的request() 实例
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
avatars:[
|
||||
'https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tx1.png',
|
||||
'https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tx2.png',
|
||||
'https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tx3.png',
|
||||
'https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tx4.png',
|
||||
'https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tx5.png',
|
||||
'https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tx6.png',
|
||||
'https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tx1.png',
|
||||
'https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tx2.png',
|
||||
'https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tx3.png',
|
||||
],
|
||||
|
||||
sexs:[{label:'男生',value:'male'},{label:'女生',value:'female'}],
|
||||
sexVisible:false,
|
||||
note:'',
|
||||
cVisible:false,
|
||||
userInfo:{}
|
||||
},
|
||||
changeAvatar(e){
|
||||
req.patchRequest('/api/user/curt',{avatar:e.target.dataset.img}).then((res)=>{
|
||||
if(res.data.code==200){
|
||||
this.setData({userInfo:res.data.data})
|
||||
wx.showToast({
|
||||
title:'修改成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
}
|
||||
}).catch((err)=>{
|
||||
console.log(err);
|
||||
})
|
||||
},
|
||||
onColumnChange(e) {/**修改性别 */
|
||||
req.patchRequest('/api/user/curt',{spriteType:e.detail.value[0]}).then((res)=>{
|
||||
if(res.data.code==200){
|
||||
this.setData({userInfo:res.data.data})
|
||||
wx.showToast({
|
||||
title:'修改成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
}
|
||||
}).catch((err)=>{
|
||||
console.log(err);
|
||||
})
|
||||
},
|
||||
handleCalendar(){
|
||||
this.setData({cVisible:true})
|
||||
console.log('11111')
|
||||
},
|
||||
changeDate(e) {/**修改日期 */
|
||||
const { value } = e.detail;
|
||||
const format = (val) => {
|
||||
const date = new Date(val);
|
||||
return `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}`;
|
||||
};
|
||||
|
||||
this.setData({
|
||||
note: format(value),
|
||||
});
|
||||
req.patchRequest('/api/user/curt',{date:format(value)}).then((res)=>{
|
||||
if(res.data.code==200){
|
||||
this.setData({userInfo:res.data.data})
|
||||
wx.showToast({
|
||||
title:'修改成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
}
|
||||
}).catch((err)=>{
|
||||
console.log(err);
|
||||
})
|
||||
},
|
||||
changeSex(){
|
||||
this.setData({sexVisible:true})
|
||||
console.log('修改性别')
|
||||
},
|
||||
doChangeName1(e){
|
||||
console.log(e)
|
||||
console.log(e.detail.value)
|
||||
req.patchRequest('/api/user/curt',{nick:e.detail.value}).then((res)=>{
|
||||
if(res.data.code==200){
|
||||
this.setData({userInfo:res.data.data})
|
||||
wx.showToast({
|
||||
title:'修改成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
}
|
||||
}).catch((err)=>{
|
||||
console.log(err);
|
||||
})
|
||||
},
|
||||
getUserInfo(){
|
||||
req.getRequest('/api/user/curt',{}).then((res)=>{
|
||||
if(res.data.code==200){
|
||||
this.setData({userInfo:res.data.data})
|
||||
}
|
||||
console.log(this.userInfo);
|
||||
}).catch((err)=>{
|
||||
console.log(err);
|
||||
})
|
||||
},
|
||||
go2Reback(){
|
||||
wx.navigateBack({ changed: true });
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
this.getUserInfo()
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,8 +0,0 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"t-input": "tdesign-miniprogram/input/input",
|
||||
"t-calendar": "tdesign-miniprogram/calendar/calendar",
|
||||
"t-picker": "tdesign-miniprogram/picker/picker",
|
||||
"t-picker-item": "tdesign-miniprogram/picker-item/picker-item"
|
||||
}
|
||||
}
|
||||
@ -1,40 +0,0 @@
|
||||
<!--pages/home/me/grzl/grzl.wxml-->
|
||||
<!--返回图标-->
|
||||
<view class="reback" bindtap="go2Reback"></view>
|
||||
<view class="title">修改资料</view>
|
||||
<image class="avatar1" src="{{userInfo.avatar}}"></image>
|
||||
<view class="cameralogo"></view>
|
||||
|
||||
<view class="yhtx"></view>
|
||||
|
||||
<form bindsubmit="go2UpdateUserInfo">
|
||||
|
||||
</form>
|
||||
<t-input focus="doChangeName1" class="nickname" name="nick" placeholder="昵称不能为空" maxlength="7" value="{{userInfo.nick}}" bindblur="doChangeName1" ></t-input>
|
||||
|
||||
<view class="xbwz">性别</view>
|
||||
<view class="xzwz">星座</view>
|
||||
<view class="srwz">生日</view>
|
||||
<view class="jltxtxt">精灵头像</view>
|
||||
<view class="xbtxt" bindtap="changeSex">{{userInfo.spriteType=='male'?'男生':'女生'}}</view>
|
||||
<view class="ssxz">{{userInfo.horoscope.name}}</view>
|
||||
<view class="srtxt" bindtap="handleCalendar">{{userInfo.horoscope.date}}</view><!--生日-->
|
||||
<t-calendar visible="{{cVisible}}" bind:confirm="changeDate" />
|
||||
|
||||
<t-picker
|
||||
visible="{{sexVisible}}"
|
||||
value="{{cityValue}}"
|
||||
data-key="city"
|
||||
title="选择性别"
|
||||
cancelBtn="取消"
|
||||
confirmBtn="确认"
|
||||
bindchange="onPickerChange"
|
||||
bindpick="onColumnChange"
|
||||
bindcancel="onPickerCancel"
|
||||
>
|
||||
<t-picker-item options="{{sexs}}" />
|
||||
</t-picker>
|
||||
|
||||
<view class="txcheck" >
|
||||
<view wx:for="{{avatars}}" class="itemxx"><image class="iii" src="{{item}}" data-img="{{item}}" bindtap="changeAvatar"></image></view>
|
||||
</view>
|
||||
@ -1,185 +0,0 @@
|
||||
/* pages/home/me/grzl/grzl.wxss */
|
||||
.reback{
|
||||
position: absolute;
|
||||
margin-left: 20rpx;
|
||||
margin-top:108rpx;
|
||||
width:48rpx;
|
||||
height:48rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/reback.png);
|
||||
}
|
||||
|
||||
.title{
|
||||
position: absolute;
|
||||
left: 278rpx;
|
||||
top: 108rpx;
|
||||
width: 196rpx;
|
||||
height: 48rpx;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.yhtx{
|
||||
position: absolute;
|
||||
left: 74px;
|
||||
top: 109px;
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
border-radius: 74rpx;
|
||||
border: 3px solid rgba(161, 134, 81, 1);
|
||||
}
|
||||
|
||||
.avatar1{
|
||||
position: absolute;
|
||||
left: 77px;
|
||||
top: 112px;
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
border-radius: 74rpx;
|
||||
}
|
||||
|
||||
.cameralogo{
|
||||
position: absolute;
|
||||
left: 128px;
|
||||
top: 162px;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/camera.png);
|
||||
}
|
||||
.nickname{
|
||||
z-index: 999;
|
||||
position: absolute;
|
||||
left: 176px;
|
||||
top: 131px;
|
||||
width: 126px;
|
||||
height: 27px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-medium;
|
||||
}
|
||||
|
||||
.xzwz{
|
||||
position: absolute;
|
||||
left: 32px;
|
||||
top: 436px;
|
||||
width: 32px;
|
||||
height: 24px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.srwz{
|
||||
position: absolute;
|
||||
left: 32px;
|
||||
top: 380px;
|
||||
width: 32px;
|
||||
height: 24px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.xbwz{
|
||||
position: absolute;
|
||||
left: 32px;
|
||||
top: 324px;
|
||||
width: 32px;
|
||||
height: 24px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.ssxz{
|
||||
position: absolute;
|
||||
left: 291px;
|
||||
top: 436px;
|
||||
width: 52px;
|
||||
height: 24px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 16px;
|
||||
text-align: right;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.rlt{
|
||||
position: absolute;
|
||||
left: 260px;
|
||||
top: 380px;
|
||||
width: 83px;
|
||||
height: 24px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 16px;
|
||||
text-align: right;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.srtxt{
|
||||
position: absolute;
|
||||
left: 500rpx;
|
||||
top: 380px;
|
||||
width: 200rpx;
|
||||
height: 24px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 16px;
|
||||
text-align: right;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.xbtxt{
|
||||
position: absolute;
|
||||
left: 311px;
|
||||
top: 324px;
|
||||
width: 32px;
|
||||
height: 24px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 16px;
|
||||
text-align: right;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
.jltxtxt{
|
||||
position: absolute;
|
||||
left: 25px;
|
||||
top: 200px;
|
||||
width: 56px;
|
||||
height: 21px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.txcheck{
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 221px;
|
||||
width: 422px;
|
||||
height: 82px;
|
||||
text-align: center;
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.itemxx{
|
||||
margin-left: 21px;
|
||||
margin-top: 32rpx;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.iii{
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/home/me/gw/gw.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "了解星座精灵",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,4 +0,0 @@
|
||||
<!--pages/home/me/gw/gw.wxml-->
|
||||
<!--星座精灵官网-->
|
||||
<!--<web-view src="https://xzjl-api.windymuse.cn/"></web-view>-->
|
||||
<view>跳转页面,待完善</view>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/home/me/gw/gw.wxss */
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/home/me/manual/manual.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "说明书",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,4 +0,0 @@
|
||||
<!--pages/index/out/out.wxml 说明书页面-->
|
||||
<!--<web-view src="https://xzjl-api.windymuse.cn/"></web-view>-->
|
||||
<view>跳转页面,待完善</view>
|
||||
|
||||
@ -1 +0,0 @@
|
||||
/* pages/home/me/manual/manual.wxss */
|
||||
@ -1,5 +0,0 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"t-toast": "tdesign-miniprogram/toast/toast"
|
||||
}
|
||||
}
|
||||
@ -1,232 +0,0 @@
|
||||
.reback{
|
||||
position: absolute;
|
||||
margin-left: 20rpx;
|
||||
margin-top:108rpx;
|
||||
width:48rpx;
|
||||
height:48rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/reback.png);
|
||||
}
|
||||
|
||||
.title{
|
||||
position: absolute;
|
||||
left: 278rpx;
|
||||
top: 108rpx;
|
||||
width: 196rpx;
|
||||
height: 48rpx;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.hybt{
|
||||
position: absolute;
|
||||
left: 30rpx;
|
||||
top: 1326rpx;
|
||||
width: 690rpx;
|
||||
height: 230rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/hybt.png);
|
||||
}
|
||||
|
||||
.sftp{
|
||||
position: absolute;
|
||||
left: 15px;
|
||||
top: 82px;
|
||||
width: 345px;
|
||||
height: 115px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/sftp.png);
|
||||
}
|
||||
|
||||
.hgpng{
|
||||
position: absolute;
|
||||
left: 109px;
|
||||
top: 124px;
|
||||
width: 157px;
|
||||
height: 174px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/hgpng.png);
|
||||
}
|
||||
|
||||
.question{
|
||||
position: absolute;
|
||||
left: 236px;
|
||||
top: 124px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/qqest.png);
|
||||
}
|
||||
.hybtn{
|
||||
position: absolute;
|
||||
left: 118px;
|
||||
top: 645px;
|
||||
width: 140px;
|
||||
height: 40px;
|
||||
line-height: 80rpx;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(233.49deg, rgba(248,99,42,1) 10.48%,rgba(249,135,89,1) 89.2%);
|
||||
text-align: center;
|
||||
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
|
||||
border: 3px solid rgba(255, 255, 255, 1);
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-medium;
|
||||
}
|
||||
|
||||
.viphyqy{
|
||||
position: absolute;
|
||||
top: 502px;
|
||||
width: 750rpx;
|
||||
height: 20px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.introd{
|
||||
left:180rpx;
|
||||
position: absolute;
|
||||
top: 538px;
|
||||
width: 750rpx;
|
||||
height: 75px;
|
||||
line-height: 50rpx;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.zhytxt{
|
||||
position: absolute;
|
||||
left: 82px;
|
||||
top: 442px;
|
||||
width: 42px;
|
||||
height: 21px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.yhytxt{
|
||||
position: absolute;
|
||||
left: 506rpx;
|
||||
top: 442px;
|
||||
width: 42px;
|
||||
height: 21px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.hydqr{
|
||||
position: absolute;
|
||||
top: 314px;
|
||||
width: 750rpx;
|
||||
height: 20px;
|
||||
color: rgba(248, 99, 42, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.week1{
|
||||
position: absolute;
|
||||
left: 32px;
|
||||
top: 374px;
|
||||
width: 140px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
border: 2px solid rgba(248, 99, 42, 1);
|
||||
}
|
||||
|
||||
.month1{
|
||||
position: absolute;
|
||||
left: 203px;
|
||||
top: 374px;
|
||||
width: 140px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(248, 99, 42, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
border: 1px solid rgba(248, 99, 42, 1);
|
||||
}
|
||||
|
||||
.text1{
|
||||
margin-left: 2px;
|
||||
top: 384px;
|
||||
width: 60px;
|
||||
height: 41px;
|
||||
font-size: 28px;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.text2{
|
||||
left: 130px;
|
||||
top: 401px;
|
||||
width: 16px;
|
||||
height: 17px;
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.tcolor1{
|
||||
color: rgba(79, 79, 79, 1);
|
||||
}
|
||||
|
||||
.tcolor2{
|
||||
color: rgba(255, 255, 255, 1);
|
||||
}
|
||||
|
||||
.week2{
|
||||
position: absolute;
|
||||
left: 32px;
|
||||
top: 374px;
|
||||
width: 140px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(248, 99, 42, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
border: 1px solid rgba(248, 99, 42, 1);
|
||||
}
|
||||
|
||||
.month2{
|
||||
|
||||
position: absolute;
|
||||
left: 203px;
|
||||
top: 374px;
|
||||
width: 140px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
border: 2px solid rgba(248, 99, 42, 1);
|
||||
}
|
||||
@ -1,5 +0,0 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"t-toast": "tdesign-miniprogram/toast/toast"
|
||||
}
|
||||
}
|
||||
@ -1,26 +0,0 @@
|
||||
<!--返回图标-->
|
||||
<view class="reback" bindtap="go2Reback"></view>
|
||||
<view class="title">VIP会员</view>
|
||||
<view class="sftp"></view><!--上方图片-->
|
||||
<!--底部图片-->
|
||||
<view class="hybt"></view>
|
||||
<view class="hgpng"></view><!--皇冠图标-->
|
||||
<view class="question" bindtap="tQuest"></view><!--问号图标-->
|
||||
|
||||
<t-toast id="t-toast" /><!--弹出问号图标-->
|
||||
<view class="hybtn" bindtap="doKtHy">开通会员</view>
|
||||
<view class="viphyqy">VIP会员权益</view>
|
||||
<view class="introd">
|
||||
<view>1、星座精灵AI服务无限次畅聊</view>
|
||||
<view>2、不定期商品及新品折扣优惠</view>
|
||||
<view>3、 其他权益陆续增加中......</view>
|
||||
</view>
|
||||
<view class="zhytxt">周会员</view>
|
||||
<view class="yhytxt">月会员</view>
|
||||
<view class="hydqr">您的会员将于 2023年5月20日到期</view>
|
||||
|
||||
<view class="week1" wx:if="{{yhy}}" bindtap="go2Week"><text class="text1 tcolor1">¥29</text><text class="text2 tcolor1"> / 周</text></view>
|
||||
<view class="month1" wx:if="{{yhy}}" bindtap="go2Month"><text class="text1 tcolor2">¥69</text><text class="text2 tcolor2"> / 月</text></view>
|
||||
|
||||
<view class="week2" wx:if="{{!yhy}}" bindtap="go2Week"><text class="text1 tcolor2">¥29</text><text class="text2 tcolor2"> / 周</text></view>
|
||||
<view class="month2" wx:if="{{!yhy}}" bindtap="go2Month"><text class="text1 tcolor1">¥69</text><text class="text2 tcolor1"> / 月</text></view>
|
||||
@ -1,232 +0,0 @@
|
||||
.reback{
|
||||
position: absolute;
|
||||
margin-left: 20rpx;
|
||||
margin-top:108rpx;
|
||||
width:48rpx;
|
||||
height:48rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/reback.png);
|
||||
}
|
||||
|
||||
.title{
|
||||
position: absolute;
|
||||
left: 278rpx;
|
||||
top: 108rpx;
|
||||
width: 196rpx;
|
||||
height: 48rpx;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.hybt{
|
||||
position: absolute;
|
||||
left: 30rpx;
|
||||
top: 1326rpx;
|
||||
width: 690rpx;
|
||||
height: 230rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/hybt.png);
|
||||
}
|
||||
|
||||
.sftp{
|
||||
position: absolute;
|
||||
left: 15px;
|
||||
top: 82px;
|
||||
width: 345px;
|
||||
height: 115px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/sftp.png);
|
||||
}
|
||||
|
||||
.hgpng{
|
||||
position: absolute;
|
||||
left: 109px;
|
||||
top: 124px;
|
||||
width: 157px;
|
||||
height: 174px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/hgpng.png);
|
||||
}
|
||||
|
||||
.question{
|
||||
position: absolute;
|
||||
left: 236px;
|
||||
top: 124px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/qqest.png);
|
||||
}
|
||||
.hybtn{
|
||||
position: absolute;
|
||||
left: 118px;
|
||||
top: 645px;
|
||||
width: 140px;
|
||||
height: 40px;
|
||||
line-height: 80rpx;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(233.49deg, rgba(248,99,42,1) 10.48%,rgba(249,135,89,1) 89.2%);
|
||||
text-align: center;
|
||||
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
|
||||
border: 3px solid rgba(255, 255, 255, 1);
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-medium;
|
||||
}
|
||||
|
||||
.viphyqy{
|
||||
position: absolute;
|
||||
top: 502px;
|
||||
width: 750rpx;
|
||||
height: 20px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.introd{
|
||||
left:180rpx;
|
||||
position: absolute;
|
||||
top: 538px;
|
||||
width: 750rpx;
|
||||
height: 75px;
|
||||
line-height: 50rpx;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.zhytxt{
|
||||
position: absolute;
|
||||
left: 82px;
|
||||
top: 442px;
|
||||
width: 42px;
|
||||
height: 21px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.yhytxt{
|
||||
position: absolute;
|
||||
left: 506rpx;
|
||||
top: 442px;
|
||||
width: 42px;
|
||||
height: 21px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.hydqr{
|
||||
position: absolute;
|
||||
top: 314px;
|
||||
width: 750rpx;
|
||||
height: 20px;
|
||||
color: rgba(248, 99, 42, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.week1{
|
||||
position: absolute;
|
||||
left: 32px;
|
||||
top: 374px;
|
||||
width: 140px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
border: 2px solid rgba(248, 99, 42, 1);
|
||||
}
|
||||
|
||||
.month1{
|
||||
position: absolute;
|
||||
left: 203px;
|
||||
top: 374px;
|
||||
width: 140px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(248, 99, 42, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
border: 1px solid rgba(248, 99, 42, 1);
|
||||
}
|
||||
|
||||
.text1{
|
||||
margin-left: 2px;
|
||||
top: 384px;
|
||||
width: 60px;
|
||||
height: 41px;
|
||||
font-size: 28px;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.text2{
|
||||
left: 130px;
|
||||
top: 401px;
|
||||
width: 16px;
|
||||
height: 17px;
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.tcolor1{
|
||||
color: rgba(79, 79, 79, 1);
|
||||
}
|
||||
|
||||
.tcolor2{
|
||||
color: rgba(255, 255, 255, 1);
|
||||
}
|
||||
|
||||
.week2{
|
||||
position: absolute;
|
||||
left: 32px;
|
||||
top: 374px;
|
||||
width: 140px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(248, 99, 42, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
border: 1px solid rgba(248, 99, 42, 1);
|
||||
}
|
||||
|
||||
.month2{
|
||||
|
||||
position: absolute;
|
||||
left: 203px;
|
||||
top: 374px;
|
||||
width: 140px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(255, 255, 255, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
border: 2px solid rgba(248, 99, 42, 1);
|
||||
}
|
||||
@ -1,140 +0,0 @@
|
||||
// pages/home/me/mydevice/device.js
|
||||
const app = getApp();//新建页面时 默认引入
|
||||
const req = app.xzjlReq();//初始化一个的request() 实例
|
||||
|
||||
// 引入二维码
|
||||
import drawQrcode from 'weapp-qrcode-canvas-2d'
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
devs:[]
|
||||
|
||||
},
|
||||
doCopy(e){/**赋值设备唯一识别码 */
|
||||
let key = e.target.dataset.copy
|
||||
wx.setClipboardData({ //设置系统剪贴板的内容
|
||||
data: key,
|
||||
success(res) {
|
||||
wx.getClipboardData({ // 获取系统剪贴板的内容
|
||||
success(res) {
|
||||
wx.showToast({
|
||||
title: '复制成功',
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
go2Reback(){
|
||||
wx.navigateBack({ changed: true });
|
||||
},
|
||||
doDevQuery(){
|
||||
req.getRequest('/api/user/curt/equipments',{}).then((res)=>{
|
||||
if(res.data.code==200){
|
||||
// 循环查询
|
||||
this.setData({devs:res.data.data})
|
||||
}
|
||||
}).catch((err)=>{
|
||||
console.log(err);
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
this.doDevQuery()
|
||||
const query = wx.createSelectorQuery()
|
||||
query.select('#myQrcode')
|
||||
.fields({
|
||||
node: true,
|
||||
size: true
|
||||
})
|
||||
.exec((res) => {
|
||||
var canvas = res[0].node
|
||||
|
||||
// 调用方法drawQrcode生成二维码
|
||||
drawQrcode({
|
||||
canvas: canvas,
|
||||
canvasId: 'myQrcode',
|
||||
width: 260,
|
||||
padding: 30,
|
||||
background: '#ffffff',
|
||||
foreground: '#000000',
|
||||
text: '大王顶真帅',
|
||||
})
|
||||
|
||||
// 获取临时路径(得到之后,想干嘛就干嘛了)
|
||||
wx.canvasToTempFilePath({
|
||||
canvasId: 'myQrcode',
|
||||
canvas: canvas,
|
||||
x: 0,
|
||||
y: 0,
|
||||
width: 260,
|
||||
height: 260,
|
||||
destWidth: 260,
|
||||
destHeight: 260,
|
||||
success(res) {
|
||||
console.log('二维码临时路径:', res.tempFilePath)
|
||||
},
|
||||
fail(res) {
|
||||
console.error(res)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,3 +0,0 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,692 +0,0 @@
|
||||
/* pages/home/me/mydevice/device.wxss */
|
||||
.reback11{
|
||||
position: absolute;
|
||||
margin-left: 20rpx;
|
||||
top:108rpx;
|
||||
width:48rpx;
|
||||
height:48rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/reback.png);
|
||||
}
|
||||
|
||||
.title{
|
||||
position: absolute;
|
||||
left: 278rpx;
|
||||
top: 108rpx;
|
||||
width: 196rpx;
|
||||
height: 48rpx;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.call{
|
||||
margin-top:0rpx;
|
||||
padding: 0;
|
||||
width:750rpx;
|
||||
height:1624rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.call1{
|
||||
margin-top:-50rpx;
|
||||
padding: 0!important;
|
||||
width:750rpx;
|
||||
height:1624rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dcrightql{
|
||||
position:absolute;
|
||||
width:116.67rpx;
|
||||
height:116.67rpx;
|
||||
margin-left: 520rpx;
|
||||
margin-top:1232rpx;
|
||||
border-radius: 58.335rpx;
|
||||
}
|
||||
.dcrightql1{
|
||||
position:absolute;
|
||||
}
|
||||
|
||||
.dcrbs{
|
||||
position:absolute;
|
||||
width:62.67rpx;
|
||||
height:72rpx;
|
||||
margin-top:29.30rpx;
|
||||
margin-left: 32.33rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/rbs.png);
|
||||
}
|
||||
|
||||
.lovepic{
|
||||
position: absolute;
|
||||
width:290rpx;
|
||||
height:50.67rpx;
|
||||
margin-top:1264.67rpx;
|
||||
margin-left:235.33rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/pulse.png);
|
||||
}
|
||||
|
||||
.dchxtxtql{
|
||||
position:absolute;
|
||||
width:200rpx;
|
||||
height:16rpx;
|
||||
margin-top:1320.67rpx;
|
||||
margin-left: 275.33rpx;
|
||||
text-align: center;
|
||||
color: #9a9a9a;
|
||||
font-size: 27rpx;
|
||||
}
|
||||
|
||||
|
||||
.txl{
|
||||
position:absolute;
|
||||
width:72rpx;
|
||||
height:72rpx;
|
||||
margin-top:142.67rpx;
|
||||
margin-left:218rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/tx.png);
|
||||
}
|
||||
|
||||
.txr{
|
||||
position:absolute;
|
||||
width:72rpx;
|
||||
height:72rpx;
|
||||
margin-top:142.67rpx;
|
||||
margin-left:400.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/tx.png);
|
||||
}
|
||||
|
||||
.txtextl{
|
||||
position:absolute;
|
||||
width:772rpx;
|
||||
height:72rpx;
|
||||
line-height:72rpx;
|
||||
color: #9a9a9a;
|
||||
margin-top:142.67rpx;
|
||||
margin-left:36rpx;
|
||||
font-size: 27rpx;
|
||||
}
|
||||
.jiuchan{
|
||||
position: absolute;
|
||||
width:47.33rpx;
|
||||
height:26rpx;
|
||||
margin-top: 169.33rpx;
|
||||
margin-left: 322.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/jiuchan.png);
|
||||
|
||||
}
|
||||
|
||||
.txtextr{
|
||||
position:absolute;
|
||||
width:772rpx;
|
||||
height:72rpx;
|
||||
line-height:72rpx;
|
||||
color: #9a9a9a;
|
||||
margin-top:142.67rpx;
|
||||
margin-left:493.33rpx;
|
||||
font-size: 27rpx;
|
||||
}
|
||||
|
||||
.bkg3{
|
||||
position: absolute;
|
||||
width:47.33rpx;
|
||||
height:26rpx;
|
||||
margin-top: 169.33rpx;
|
||||
margin-left: 322.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/bkg3.png);
|
||||
}
|
||||
|
||||
.xxt{
|
||||
position: absolute;
|
||||
width:326.67rpx;
|
||||
height:771.33rpx;
|
||||
margin-top: 326.67rpx;
|
||||
margin-left: 212rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/szn.png);
|
||||
}
|
||||
|
||||
.yan1{
|
||||
position: absolute;
|
||||
width:114rpx;
|
||||
height:116.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-top: 837.33rpx;
|
||||
margin-left:118.67rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/yan.png);
|
||||
}
|
||||
.yan2{
|
||||
position: absolute;
|
||||
width:114rpx;
|
||||
height:116.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-top: 837.33rpx;
|
||||
margin-left:318rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/yan.png);
|
||||
}
|
||||
.yan3{
|
||||
position: absolute;
|
||||
width:114rpx;
|
||||
height:116.67rpx;
|
||||
margin-top: 837.33rpx;
|
||||
margin-left:517.33rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/yan.png);
|
||||
}
|
||||
|
||||
.bkg1{
|
||||
position: absolute;
|
||||
width:684.67rpx;
|
||||
height:988rpx;
|
||||
margin-top: 169.33rpx;
|
||||
margin-left:46rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/bkg1.png);
|
||||
}
|
||||
|
||||
.bkg3{
|
||||
position: absolute;
|
||||
width:660rpx;
|
||||
height:952rpx;
|
||||
margin-top: 205.33rpx;
|
||||
margin-left:42rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/bkg3.png);
|
||||
}
|
||||
|
||||
.yan11{
|
||||
position: absolute;
|
||||
width:46.67rpx;
|
||||
height:46.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-top: 33.33rpx;
|
||||
margin-left:34.33rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/paw.png);
|
||||
}
|
||||
|
||||
.yan12{
|
||||
position: absolute;
|
||||
width:46.67rpx;
|
||||
height:46.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-top: 33.33rpx;
|
||||
margin-left:34.33rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/male.png);
|
||||
}
|
||||
|
||||
.yan13{
|
||||
position: absolute;
|
||||
width:46.67rpx;
|
||||
height:46.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-top: 33.33rpx;
|
||||
margin-left:34.33rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/female.png);
|
||||
}
|
||||
|
||||
.xxtl{
|
||||
position: absolute;
|
||||
width:326.67rpx;
|
||||
height:771.33rpx;
|
||||
margin-top: 326.67rpx;
|
||||
margin-left: 88rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/szn.png);
|
||||
}
|
||||
|
||||
.xxtr{
|
||||
position: absolute;
|
||||
width:323.33rpx;
|
||||
height:787.33rpx;
|
||||
margin-top: 308.67rpx;
|
||||
margin-left: 355.33rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/xxtr.png);
|
||||
}
|
||||
|
||||
.yanql1{
|
||||
position: absolute;
|
||||
width:114rpx;
|
||||
height:116.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-top: 492rpx;
|
||||
margin-left:86.67rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/yan.png);
|
||||
}
|
||||
|
||||
.yanql2{
|
||||
position: absolute;
|
||||
width:114rpx;
|
||||
height:116.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-top: 663.33rpx;
|
||||
margin-left:38.67rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/yan.png);
|
||||
}
|
||||
|
||||
.yanql4{
|
||||
position: absolute;
|
||||
width:114rpx;
|
||||
height:116.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-top: 492rpx;
|
||||
margin-left:550.67rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/yan.png);
|
||||
}
|
||||
|
||||
.yanql5{
|
||||
position: absolute;
|
||||
width:114rpx;
|
||||
height:116.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-top: 663.33rpx;
|
||||
margin-left:598rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/yan.png);
|
||||
}
|
||||
|
||||
.xxtq{
|
||||
position: absolute;
|
||||
width:326.67rpx;
|
||||
height:771.33rpx;
|
||||
margin-top: 326.67rpx;
|
||||
margin-left: 212rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/xxtr.png);
|
||||
}
|
||||
|
||||
.k1{
|
||||
position: absolute;
|
||||
width:116rpx;
|
||||
height:116rpx;
|
||||
line-height:116rpx;
|
||||
text-align: center;
|
||||
margin-top: 1232.67rpx;
|
||||
margin-left: 114.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/circle.png);
|
||||
|
||||
}
|
||||
|
||||
.k2{
|
||||
position: absolute;
|
||||
width:116rpx;
|
||||
height:116rpx;
|
||||
margin-top: 1232.67rpx;
|
||||
margin-left: 318rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/yan.png);
|
||||
|
||||
}
|
||||
|
||||
.k3{
|
||||
position: absolute;
|
||||
width:116rpx;
|
||||
height:116rpx;
|
||||
line-height:116rpx;
|
||||
text-align: center;
|
||||
margin-top: 1232.67rpx;
|
||||
margin-left: 520.67rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/circle.png);
|
||||
|
||||
}
|
||||
|
||||
.k11{
|
||||
position: absolute;
|
||||
width:46rpx;
|
||||
height:46rpx;
|
||||
margin-top: 34rpx;
|
||||
margin-left: 36rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/jl/yst.png);
|
||||
|
||||
}
|
||||
|
||||
.ktext1{
|
||||
position: absolute;
|
||||
width:116rpx;
|
||||
height:116rpx;
|
||||
margin-top: 1366rpx;
|
||||
margin-left: 114.67rpx;
|
||||
text-align: center;
|
||||
color: #9a9a9a;
|
||||
font-size: 27rpx;
|
||||
}
|
||||
|
||||
.ktext2{
|
||||
position: absolute;
|
||||
width:116rpx;
|
||||
height:116rpx;
|
||||
margin-top: 1366rpx;
|
||||
margin-left: 318rpx;
|
||||
text-align: center;
|
||||
color: #9a9a9a;
|
||||
font-size: 27rpx;
|
||||
}
|
||||
|
||||
.ktext3{
|
||||
position: absolute;
|
||||
width:116rpx;
|
||||
height:116rpx;
|
||||
margin-top: 1366rpx;
|
||||
margin-left: 520.67rpx;
|
||||
text-align: center;
|
||||
color: #9a9a9a;
|
||||
font-size: 27rpx;
|
||||
}
|
||||
|
||||
.ttpopup{
|
||||
width: 659.33rpx;
|
||||
height:804rpx;
|
||||
background:rgba(255, 255, 255, 0.9);
|
||||
border-radius: 36rpx;
|
||||
}
|
||||
|
||||
.ztys{
|
||||
position: absolute;
|
||||
width: 542.67rpx;
|
||||
height: 290rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 84rpx auto;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xzt/ztys.png);
|
||||
}
|
||||
|
||||
.jkzs{
|
||||
position: absolute;
|
||||
width: 111.33rpx;
|
||||
height: 26.67rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-left:97.33rpx;
|
||||
margin-top: 589.33rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xy/jkzs.png);
|
||||
}
|
||||
|
||||
.aqzs{
|
||||
position: absolute;
|
||||
width: 111.33rpx;
|
||||
height: 26.67rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-left:97.33rpx;
|
||||
margin-top: 653.33rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xy/aqzs.png);
|
||||
}
|
||||
|
||||
.cyzs{
|
||||
position: absolute;
|
||||
width: 111.33rpx;
|
||||
height: 26.67rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-left:97.33rpx;
|
||||
margin-top: 717.33rpx;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/xy/cyzs.png);
|
||||
}
|
||||
|
||||
.rjkzs{
|
||||
position: absolute;
|
||||
width: 311.33rpx;
|
||||
height: 26.67rpx;
|
||||
line-height: 26.67rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left:279.33rpx;
|
||||
margin-top: 580.33rpx;
|
||||
}
|
||||
|
||||
.raqzs{
|
||||
position: absolute;
|
||||
width: 111.33rpx;
|
||||
height: 26.67rpx;
|
||||
line-height:26.67rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-left:279.33rpx;
|
||||
margin-top: 644.33rpx;
|
||||
}
|
||||
|
||||
.rcyzs{
|
||||
position: absolute;
|
||||
width: 111.33rpx;
|
||||
height: 26.67rpx;
|
||||
line-height:26.67rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
margin-left:279.33rpx;
|
||||
margin-top: 708.33rpx;
|
||||
}
|
||||
|
||||
|
||||
.shtp{
|
||||
position: absolute;
|
||||
left: 121px;
|
||||
top: 120px;
|
||||
width: 134px;
|
||||
height: 134px;
|
||||
border-radius: 134rpx;
|
||||
line-height: 17px;
|
||||
opacity: 0.5;
|
||||
background-color: rgba(239, 239, 239, 1);
|
||||
color: rgba(16, 16, 16, 1);
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
font-family: Arial;
|
||||
}
|
||||
|
||||
.shimg{
|
||||
position: absolute;
|
||||
left: 131px;
|
||||
top: 131px;
|
||||
width: 113px;
|
||||
height: 113px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/shimg.png);
|
||||
}
|
||||
|
||||
.shmz{
|
||||
position: absolute;
|
||||
top: 270px;
|
||||
width: 750rpx;
|
||||
height: 24px;
|
||||
color: rgba(248, 99, 42, 1);
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-medium;
|
||||
}
|
||||
|
||||
.sbwysbm{
|
||||
position: absolute;
|
||||
top: 349px;
|
||||
width: 750rpx;
|
||||
height: 24px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-medium;
|
||||
}
|
||||
|
||||
.intr1{
|
||||
position: absolute;
|
||||
top: 728px;
|
||||
width: 750rpx;
|
||||
height: 18px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
|
||||
.intr2{
|
||||
position: absolute;
|
||||
top: 746px;
|
||||
width: 750rpx;
|
||||
height: 18px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.sbmm{
|
||||
position: absolute;
|
||||
top: 449px;
|
||||
width: 750rpx;
|
||||
height: 18px;
|
||||
color: rgba(154, 154, 154, 1);
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
.sbewmt{
|
||||
position: absolute;
|
||||
top: 522px;
|
||||
width: 750rpx;
|
||||
height: 24px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-medium;
|
||||
}
|
||||
|
||||
.sbewm{
|
||||
position: absolute;
|
||||
left: 113px;
|
||||
top: 562px;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
}
|
||||
.sbsbmk{
|
||||
position: absolute;
|
||||
left: 44px;
|
||||
top: 389px;
|
||||
width: 288px;
|
||||
height: 44px;
|
||||
line-height: 20px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(239, 239, 239, 0.5);
|
||||
text-align: center;
|
||||
border: 1px solid rgba(187, 187, 187, 1);
|
||||
}
|
||||
|
||||
.sbsbmkt{
|
||||
position: absolute;
|
||||
left: 76px;
|
||||
top: 389px;
|
||||
width: 185px;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.fz{
|
||||
position: absolute;
|
||||
left: 296px;
|
||||
top: 401px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/copy.png);
|
||||
}
|
||||
|
||||
.tbl{
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 150px;
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tbl.png);
|
||||
}
|
||||
|
||||
.tbr{
|
||||
position: absolute;
|
||||
left: 301px;
|
||||
top: 150px;
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/tbr.png);
|
||||
}
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/home/me/sq/sq.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "加入社群",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,3 +0,0 @@
|
||||
<!--pages/home/me/sq/sq.wxml 加入社群-->
|
||||
<!--<web-view src="https://xzjl-api.windymuse.cn/"></web-view>-->
|
||||
<view>跳转页面,待完善</view>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/home/me/sq/sq.wxss */
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/home/me/yhsyxy/yhsyxy.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "用户使用协议",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,3 +0,0 @@
|
||||
<!--pages/home/me/yhsyxy/yhsyxy.wxml 用户使用协议-->
|
||||
<!--<web-view src="https://xzjl-api.windymuse.cn/"></web-view>-->
|
||||
<view>跳转页面,待完善</view>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/home/me/yhsyxy/yhsyxy.wxss */
|
||||
@ -1,107 +0,0 @@
|
||||
// pages/home/me/yjfk/yjfk.js
|
||||
const app = getApp();//新建页面时 默认引入
|
||||
const req = app.xzjlReq();//初始化一个的request() 实例
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
ctt:'',
|
||||
yj:{
|
||||
contactWay: "",
|
||||
content: ""
|
||||
}
|
||||
|
||||
},
|
||||
go2Reback(){
|
||||
wx.navigateBack({ changed: true });
|
||||
},
|
||||
doExecYjfk(e){
|
||||
let form = e.detail.value
|
||||
req.postRequest('/api/v1/opinion',form).then((res)=>{
|
||||
console.log(res)
|
||||
if(res.data.code==200){
|
||||
console.log('反馈成功')
|
||||
wx.showToast({
|
||||
title:'反馈提交成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
|
||||
}else{
|
||||
wx.showToast({
|
||||
title:'反馈提交失败',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
}
|
||||
console.log(this.userInfo);
|
||||
}).catch((err)=>{
|
||||
console.log(err);
|
||||
})
|
||||
wx.switchTab({
|
||||
url: '/pages/home/me/indexx',
|
||||
})
|
||||
/**
|
||||
* wx.switchTab({
|
||||
url: '/pages/home/me/indexx',
|
||||
}) */
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,5 +0,0 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"t-textarea": "tdesign-miniprogram/textarea/textarea"
|
||||
}
|
||||
}
|
||||
@ -1,19 +0,0 @@
|
||||
<!--pages/home/me/yjfk/yjfk.wxml-->
|
||||
<!--返回图标-->
|
||||
<view class="reback" bindtap="go2Reback"></view>
|
||||
<view class="title">意见反馈</view>
|
||||
<view class="fkt1">我们非常重视您的意见</view>
|
||||
<view class="fkt2">如果有任何建议也欢迎向我们提出</view>
|
||||
<view class="jyms">建议描述</view>
|
||||
<view class="lxfs">联系方式</view>
|
||||
|
||||
<form bindsubmit="doExecYjfk">
|
||||
<view class="jymsk"><t-textarea name="content" placeholder="请描述您遇到的问题或建议" /></view>
|
||||
<view class="lxfsk" ><t-textarea name="contactWay" maxlength="11" value="{{yj.contactWay}}" placeholder="请输入您的联系方式" /></view>
|
||||
|
||||
|
||||
|
||||
|
||||
<button class="submit" form-type="submit">提交</button>
|
||||
</form>
|
||||
|
||||
@ -1,125 +0,0 @@
|
||||
/* pages/home/me/yjfk/yjfk.wxss */
|
||||
.reback{
|
||||
position: absolute;
|
||||
margin-left: 20rpx;
|
||||
margin-top:108rpx;
|
||||
width:48rpx;
|
||||
height:48rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/reback.png);
|
||||
}
|
||||
|
||||
.title{
|
||||
position: absolute;
|
||||
left: 278rpx;
|
||||
top: 108rpx;
|
||||
width: 196rpx;
|
||||
height: 48rpx;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.hybt{
|
||||
position: absolute;
|
||||
left: 30rpx;
|
||||
top: 1326rpx;
|
||||
width: 690rpx;
|
||||
height: 230rpx;
|
||||
background-repeat: no-repeat;
|
||||
background-size:100% 100%;
|
||||
background-image: url(https://xzjl-1257436036.cos.ap-nanjing.myqcloud.com/me/hybt.png);
|
||||
}
|
||||
.fkt1{
|
||||
position: absolute;
|
||||
left: 46rpx;
|
||||
top: 240rpx;
|
||||
width: 552rpx;
|
||||
height: 106rpx;
|
||||
color: rgba(248, 99, 42, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.fkt2{
|
||||
position: absolute;
|
||||
left: 46rpx;
|
||||
top: 290rpx;
|
||||
width: 552rpx;
|
||||
height: 106rpx;
|
||||
color: rgba(248, 99, 42, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
.jyms{
|
||||
position: absolute;
|
||||
left: 46rpx;
|
||||
top: 418rpx;
|
||||
width: 196rpx;
|
||||
height: 52rpx;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 36rpx;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.submit{
|
||||
z-index: 9999;
|
||||
position: absolute;
|
||||
left: 236rpx;
|
||||
top: 1290rpx;
|
||||
width: 280rpx;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
border-radius: 20rpx;
|
||||
background: linear-gradient(233.49deg, rgba(248,99,42,1) 10.48%,rgba(249,135,89,1) 89.2%);
|
||||
text-align: center;
|
||||
box-shadow: 0px 4rpx 12rpx 0px rgba(0, 0, 0, 0.4);
|
||||
border: 6rpx solid rgba(255, 255, 255, 1);
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-size: 32rpx;
|
||||
text-align: center;
|
||||
font-family: SourceHanSansSC-medium;
|
||||
}
|
||||
.lxfs{
|
||||
position: absolute;
|
||||
left: 46rpx;
|
||||
top: 980rpx;
|
||||
width: 196rpx;
|
||||
height: 52rpx;
|
||||
color: rgba(108, 108, 108, 1);
|
||||
font-size: 36rpx;
|
||||
text-align: left;
|
||||
font-family: SourceHanSansSC-regular;
|
||||
}
|
||||
|
||||
.jymsk{
|
||||
position: absolute;
|
||||
left: 23px;
|
||||
top: 251px;
|
||||
width: 330px;
|
||||
height: 207px;
|
||||
line-height: 20px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(239, 239, 239, 1);
|
||||
text-align: center;
|
||||
}
|
||||
.t-textarea {
|
||||
background-color: transparent!important;
|
||||
}
|
||||
|
||||
.lxfsk{
|
||||
position: absolute;
|
||||
left: 23px;
|
||||
top: 532px;
|
||||
width: 330px;
|
||||
height: 56px;
|
||||
line-height: 20px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(239, 239, 239, 1);
|
||||
text-align: center;
|
||||
}
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/home/me/ysxy/ysxy.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "隐私协议",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,4 +0,0 @@
|
||||
<!--pages/home/me/ysxy/ysxy.wxml 隐私协议页面-->
|
||||
<!--<web-view src="https://xzjl-api.windymuse.cn/"></web-view>-->
|
||||
<view>跳转页面,待完善</view>
|
||||
|
||||
@ -1 +0,0 @@
|
||||
/* pages/home/me/ysxy/ysxy.wxss */
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/home/xx/hy/hx/hx.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,3 +0,0 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
<!--pages/home/xx/hy/hx/hx.wxml-->
|
||||
<text>pages/home/xx/hy/hx/hx.wxml</text>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/home/xx/hy/hx/hx.wxss */
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/home/xx/hy/index.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,5 +0,0 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"t-image": "tdesign-miniprogram/image/image"
|
||||
}
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
<!--pages/home/xx/hy/index.wxml-->
|
||||
<text>pages/home/xx/hy/index.wxml</text>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/home/xx/hy/index.wxss */
|
||||
@ -1,66 +0,0 @@
|
||||
// pages/home/xx/hy/xz/zt.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {
|
||||
|
||||
}
|
||||
})
|
||||
@ -1,3 +0,0 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
<!--pages/home/xx/hy/xz/zt.wxml-->
|
||||
<text>pages/home/xx/hy/xz/zt.wxml</text>
|
||||
@ -1 +0,0 @@
|
||||
/* pages/home/xx/hy/xz/zt.wxss */
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue