parent
941c7feb89
commit
4a83a93cb2
@ -0,0 +1,3 @@
|
||||
App({
|
||||
|
||||
})
|
@ -0,0 +1,14 @@
|
||||
{
|
||||
"debug": true,
|
||||
"window": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#000000",
|
||||
"navigationBarTitleText": "",
|
||||
"backgroundColor": "#ffffff",
|
||||
"enablePullDownRefresh": false,
|
||||
"backgroundTextStyle": "dark"
|
||||
},
|
||||
"pages": [
|
||||
"page/index/index"
|
||||
]
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
/* 基础样式 */
|
||||
view,scroll-view,swiper,swiper-item,icon,text,progress,button,checkbox-group,checkbox,form,input,label,picker,radio-group,radio,slider,switch,action-sheet,action-sheet-item,action-sheet-cancel,modal,toast,loading,navigator,audio,image,video,map,canvas {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
page {
|
||||
height: 100%;
|
||||
font-family: -apple-system-font,Helvetica Neue,Helvetica,sans-serif;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
checkbox-group,
|
||||
radio-group{
|
||||
display:block;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
:before,
|
||||
:after ,
|
||||
::before,
|
||||
::after{
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.c-minheight {
|
||||
min-height: 80px;
|
||||
}
|
||||
.c-full {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.c-block {
|
||||
display: block;
|
||||
}
|
||||
.c-autosize {
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
.c-fullwidth {
|
||||
width: 100%;
|
||||
}
|
||||
.c-fullheight {
|
||||
height: 100%;
|
||||
}
|
||||
.c-initHide{
|
||||
opacity:0 !important;
|
||||
}
|
||||
.c-ellipse{
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow:hidden;
|
||||
}
|
||||
/* 自定义样式 */
|
||||
|
||||
|
||||
|
||||
|
||||
.wx-view_3ZhLNq{transition: All 0s ease; margin-right: 150px; margin-left: 150px; transform: rotate(0deg) scale(1.6) translate(0%,43%); -ms-transform: rotate(0deg) scale(1.6) translate(0%,43%); -o-transform: rotate(0deg) scale(1.6) translate(0%,43%); -moz-transform: rotate(0deg) scale(1.6) translate(0%,43%); -webkit-transform: rotate(0deg) scale(1.6) translate(0%,43%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
||||
.wx-text_efNLZY{transition: All 0s ease; margin-right: 80px; margin-left: 80px; transform: rotate(0deg) scale(1.2) translate(0%,434%); -ms-transform: rotate(0deg) scale(1.2) translate(0%,434%); -o-transform: rotate(0deg) scale(1.2) translate(0%,434%); -moz-transform: rotate(0deg) scale(1.2) translate(0%,434%); -webkit-transform: rotate(0deg) scale(1.2) translate(0%,434%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
||||
.wx-text_07leZC{transition: All 0s ease; margin-right: 80px; margin-left: 80px; transform: rotate(0deg) scale(1.2) translate(0%,543%); -ms-transform: rotate(0deg) scale(1.2) translate(0%,543%); -o-transform: rotate(0deg) scale(1.2) translate(0%,543%); -moz-transform: rotate(0deg) scale(1.2) translate(0%,543%); -webkit-transform: rotate(0deg) scale(1.2) translate(0%,543%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
||||
.wx-text_MWTyqb{transition: All 0s ease; margin-right: 80px; margin-left: 80px; transform: rotate(0deg) scale(1.2) translate(0%,652%); -ms-transform: rotate(0deg) scale(1.2) translate(0%,652%); -o-transform: rotate(0deg) scale(1.2) translate(0%,652%); -moz-transform: rotate(0deg) scale(1.2) translate(0%,652%); -webkit-transform: rotate(0deg) scale(1.2) translate(0%,652%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
||||
|
||||
|
||||
|
||||
|
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
onLoad: function () {
|
||||
wx.request({
|
||||
url: 'https://zhenxiang.xuanjis.com', //服务器地址
|
||||
data: {
|
||||
name: 'book_id'//请求参数
|
||||
},
|
||||
header: {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
success: function (res) {
|
||||
console.log(res.data)
|
||||
}
|
||||
})
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
|
||||
|
||||
// 获取全局应用程序实例对象
|
||||
const app = getApp();
|
||||
|
||||
// 创建页面实例对象
|
||||
Page({
|
||||
/**
|
||||
* 页面名称
|
||||
*/
|
||||
name: "index",
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
|
||||
data: {
|
||||
|
||||
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow () {
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh () {
|
||||
|
||||
},
|
||||
|
||||
|
||||
//以下为自定义点击事件
|
||||
|
||||
})
|
||||
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
<view class="c-minheight wx-view_3ZhLNq" />
|
||||
<text class="c-block wx-text_efNLZY" >书名:</text>
|
||||
<text class="c-block wx-text_07leZC" >书号:</text>
|
||||
<text class="c-block wx-text_MWTyqb" >作者</text>
|
@ -0,0 +1 @@
|
||||
/* page/index/index.wxss */
|
@ -0,0 +1,40 @@
|
||||
{
|
||||
"description": "项目配置文件",
|
||||
"packOptions": {
|
||||
"ignore": []
|
||||
},
|
||||
"setting": {
|
||||
"urlCheck": true,
|
||||
"es6": true,
|
||||
"postcss": true,
|
||||
"minified": true,
|
||||
"newFeature": true,
|
||||
"autoAudits": false
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "2.5.0",
|
||||
"appid": "wxb280d1925541c356",
|
||||
"projectname": "7",
|
||||
"debugOptions": {
|
||||
"hidedInDevtools": []
|
||||
},
|
||||
"isGameTourist": false,
|
||||
"condition": {
|
||||
"search": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"conversation": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"currentL": -1,
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue