Commit 09eeebd4 authored by xwq's avatar xwq

login

parent 6a4ba013
......@@ -180,7 +180,7 @@ var XYSequencedBatchFetch = function (paramsArr) {
return sequencedTask(paramsArr)
}
const HOST = "https://test.xinya.me"
const HOST = "https://xinya.me"
const API_URL = HOST + "/mp/"
const getUrl = (relative_path, params = {}) => {
......
......@@ -7,7 +7,7 @@ Page({
data: {
},
bindGetUserInfo: function(e){
bindGetUserInfo: function (e) {
console.log(e);
wx.navigateBack({
delta: 1
......
/* pages/login/login.wxss */
.login-back{
.login-back {
width: 100%;
height: 100%;
background-color: #FFB12C;
min-height: calc(100%vh - 0px);
position: relative;
}
.login-button{
.login-button {
position: absolute;
left: 50%;
transform: translateX(-50%);
......
<!--pages/takePhoto/takePhoto.wxml-->
<view style="height: 100vh; width: 100%">
<camera device-position="back" flash="off" binderror="error" style="width: 100%; height: calc(100% - 100px); background: black"></camera>
<camera device-position="back" flash="off" binderror="error"
style="width: 100%; height: calc(100% - 100px); background: black"></camera>
<block wx:if="{{cameraError}}">
<view style="margin-top: 30vh;text-align: center;">{{cameraError}}</view>
</block>
<view bindtap="takePhoto" style="height: 100px; width: 100%; background: black; display: flex; justify-content: center;align-items: center;">
<view bindtap="takePhoto"
style="height: 100px; width: 100%; background: black; display: flex; justify-content: center;align-items: center;">
<image src='../../assets/images/take_photo.png' style="width: 70px; height: 70px"></image>
</view>
</view>
\ No newline at end of file
......@@ -141,7 +141,7 @@ const convertURLToJSON = function (url, params = {}) {
// }
// }
const hosts="https://test.xinya.me"
const hosts="https://xinya.me"
// const hosts="https://xinya.me"
// const request=function(url){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment