zhangsiyu 2 years ago
parent
commit
6c37912f95
  1. 11
      .hbuilderx/launch.json
  2. 2
      manifest.json
  3. 2
      pages/index/collection.vue
  4. 5
      pages/index/index.vue
  5. 2
      pages/index/mine.vue
  6. 2
      pages/index/register.vue
  7. 10
      pages/index/setting.vue
  8. 2
      pages/index/text.vue
  9. 2
      pages/index/updateinfo.vue
  10. 2
      pages/index/updateinfoone.vue
  11. 9
      pages/index/workshow.vue
  12. 2
      unpackage/dist/build/h5/index.html
  13. 7
      unpackage/dist/build/h5/static/js/chunk-vendors.05a22c3b.js
  14. 7
      unpackage/dist/build/h5/static/js/chunk-vendors.bf5ab242.js
  15. 1
      unpackage/dist/build/h5/static/js/index.35fdb3da.js
  16. 1
      unpackage/dist/build/h5/static/js/index.4fcc3190.js
  17. 1
      unpackage/dist/build/h5/static/js/pages-index-collection.50b461f9.js
  18. 1
      unpackage/dist/build/h5/static/js/pages-index-collection.f89ae8da.js
  19. 1
      unpackage/dist/build/h5/static/js/pages-index-details.bd9cd0d4.js
  20. 1
      unpackage/dist/build/h5/static/js/pages-index-details.c659c63d.js
  21. 1
      unpackage/dist/build/h5/static/js/pages-index-homepage.1c13fd25.js
  22. 1
      unpackage/dist/build/h5/static/js/pages-index-homepage.95819443.js
  23. 1
      unpackage/dist/build/h5/static/js/pages-index-index.938e75b7.js
  24. 1
      unpackage/dist/build/h5/static/js/pages-index-index.f8bf555b.js
  25. 1
      unpackage/dist/build/h5/static/js/pages-index-mine.61f80540.js
  26. 1
      unpackage/dist/build/h5/static/js/pages-index-mine.8f1678b0.js
  27. 1
      unpackage/dist/build/h5/static/js/pages-index-mylike.071a33b0.js
  28. 1
      unpackage/dist/build/h5/static/js/pages-index-mylike.d1b7d665.js
  29. 1
      unpackage/dist/build/h5/static/js/pages-index-register.09e77316.js
  30. 1
      unpackage/dist/build/h5/static/js/pages-index-register.ff430cf3.js
  31. 1
      unpackage/dist/build/h5/static/js/pages-index-sample.abcbc2c0.js
  32. 1
      unpackage/dist/build/h5/static/js/pages-index-sample.f7f66251.js
  33. 1
      unpackage/dist/build/h5/static/js/pages-index-setting.6f5584ad.js
  34. 1
      unpackage/dist/build/h5/static/js/pages-index-setting.bf604254.js
  35. 1
      unpackage/dist/build/h5/static/js/pages-index-text.6c7e17cd.js
  36. 1
      unpackage/dist/build/h5/static/js/pages-index-text.ed3fb8a5.js
  37. 1
      unpackage/dist/build/h5/static/js/pages-index-updateinfo.80ee242e.js
  38. 1
      unpackage/dist/build/h5/static/js/pages-index-updateinfo.eb47063f.js
  39. 1
      unpackage/dist/build/h5/static/js/pages-index-updateinfoone.cd928668.js
  40. 1
      unpackage/dist/build/h5/static/js/pages-index-updateinfoone.dc8be2f4.js
  41. 1
      unpackage/dist/build/h5/static/js/pages-index-updateinfo~pages-index-updateinfoone.9fff8e4a.js
  42. 1
      unpackage/dist/build/h5/static/js/pages-index-updateinfo~pages-index-updateinfoone.d4c74416.js
  43. 1
      unpackage/dist/build/h5/static/js/pages-index-workshow.0987688c.js
  44. 1
      unpackage/dist/build/h5/static/js/pages-index-workshow.670c76b9.js
  45. BIN
      unpackage/dist/build/语境.zip
  46. 13
      util/api.js

11
.hbuilderx/launch.json

@ -2,10 +2,15 @@
// launchtypelocalremote, localremote
"version": "0.0",
"configurations": [{
"type": "uniCloud",
"default": {
"default" :
{
"launchtype" : "remote"
}
},
"mp-weixin" :
{
"launchtype" : "remote"
},
"type" : "uniCloud"
}
]
}

2
manifest.json

@ -75,7 +75,7 @@
"base" : "./"
},
"devServer" : {
"https" : true
"https" : false
}
}
}

2
pages/index/collection.vue

@ -78,7 +78,7 @@
display: flex;
flex-direction: column;
background-color: #000000;
min-height: 1340rpx;
min-height: 94.6vh;
font-family: Arial-Regular;
.content {

5
pages/index/index.vue

@ -76,7 +76,8 @@
uni.setStorageSync("Authorization",res.data.data.createToken)
uni.setStorageSync("id",res.data.data.id)
uni.showToast({
title: res.data.msg
title: res.data.msg,
icon:'none'
})
setTimeout(()=>{
uni.switchTab({
@ -95,7 +96,7 @@
display: flex;
flex-direction: column;
background-color: #000000;
height: 1340rpx;
height: 94.6vh;
}
.logo {

2
pages/index/mine.vue

@ -164,7 +164,7 @@
flex-direction: column;
align-items: center;
background-color: #000000;
min-height: 1340rpx;
min-height: 88.4vh;
font-family: Arial-Regular;
.head {

2
pages/index/register.vue

@ -109,7 +109,7 @@
display: flex;
flex-direction: column;
background-color: #000000;
height: 1340rpx;
height:94.6vh;
}
.logo {

10
pages/index/setting.vue

@ -1,22 +1,22 @@
<template>
<view class="body">
<view class="item" style="border-bottom: 1rpx solid #545454;">
<view class="item" @click="contactUa()" style="border-bottom: 1rpx solid #545454;">
<view class="item-content">
<image src="../../static/353.png" mode=""></image>
<view class="text">
{{name}}
</view>
</view>
<image src="../../static/207.png" mode="" @click="contactUa()"></image>
<image src="../../static/207.png" mode=""></image>
</view>
<view class="item">
<view class="item" @click="Regulationa()">
<view class="item-content">
<image src="../../static/355.png" mode=""></image>
<view class="text">
{{Regulation}}
</view>
</view>
<image src="../../static/207.png" mode="" @click="Regulationa()"></image>
<image src="../../static/207.png" mode=""></image>
</view>
</view>
</template>
@ -88,7 +88,7 @@
flex-direction: column;
align-items: center;
background-color: #000000;
min-height: 1340rpx;
min-height: 89.5vh;
font-family: Arial-Regular;
color: #FFFFFF;
font-size: 28rpx;

2
pages/index/text.vue

@ -64,7 +64,7 @@
display: flex;
flex-direction: column;
background-color: #000000;
min-height: 1340rpx;
min-height: 94.6vh;
font-family: Arial-Regular;
padding-left: 10rpx;
padding-right: 10rpx;

2
pages/index/updateinfo.vue

@ -104,7 +104,7 @@
flex-direction: column;
align-items: center;
background-color: #000000;
min-height: 1340rpx;
min-height: 94.6vh;
font-family: Arial-Regular;
color: #FFFFFF;
font-size: 28rpx;

2
pages/index/updateinfoone.vue

@ -130,7 +130,7 @@
flex-direction: column;
align-items: center;
background-color: #000000;
min-height: 1340rpx;
min-height: 92.2vh;
font-family: Arial-Regular;
color: #FFFFFF;
font-size: 28rpx;

9
pages/index/workshow.vue

@ -15,7 +15,7 @@
</view>
<view class="name-content" @click="artist(form.artistId)">
<image :src="form.thumbnail" mode=""></image>
<image :src="form.writerAvatar" mode=""></image>
<view class="name">
{{form.artistName}}
</view>
@ -171,9 +171,10 @@
.body {
padding-top: 0rpx;
display: flex;
min-height: 95vh;
flex-direction: column;
background-color: #000000;
min-height: 1340rpx;
// min-height: 1340rpx;
font-family: Arial-Regular;
align-items: center;
color: #FFFFFF;
@ -263,6 +264,10 @@
}
.btn {
position: fixed;
bottom: 50upx;
left: 50%;
transform: translate(-50%);
background-color: #E84779;
color: #FFFFFF;
width: 582rpx;

2
unpackage/dist/build/h5/index.html vendored

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>yuanjing</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.2772579d.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.05a22c3b.js></script><script src=./static/js/index.4fcc3190.js></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.2772579d.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.bf5ab242.js></script><script src=./static/js/index.35fdb3da.js></script></body></html>

7
unpackage/dist/build/h5/static/js/chunk-vendors.05a22c3b.js vendored

File diff suppressed because one or more lines are too long

7
unpackage/dist/build/h5/static/js/chunk-vendors.bf5ab242.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/index.35fdb3da.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/index.4fcc3190.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-collection.50b461f9.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-collection.f89ae8da.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-details.bd9cd0d4.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-details.c659c63d.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-homepage.1c13fd25.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-homepage.95819443.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-index.938e75b7.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-index.f8bf555b.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-mine.61f80540.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-mine.8f1678b0.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-mylike.071a33b0.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-mylike.d1b7d665.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-register.09e77316.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-register.ff430cf3.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-sample.abcbc2c0.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-sample.f7f66251.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-setting.6f5584ad.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-setting.bf604254.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-text.6c7e17cd.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-text.ed3fb8a5.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-updateinfo.80ee242e.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-updateinfo.eb47063f.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-updateinfoone.cd928668.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-updateinfoone.dc8be2f4.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-updateinfo~pages-index-updateinfoone.9fff8e4a.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-updateinfo~pages-index-updateinfoone.d4c74416.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-workshow.0987688c.js vendored

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/h5/static/js/pages-index-workshow.670c76b9.js vendored

File diff suppressed because one or more lines are too long

BIN
unpackage/dist/build/语境.zip vendored

Binary file not shown.

13
util/api.js

@ -1,18 +1,18 @@
const BASE_URL = "http://wj-nft.x-embers.com/prod-api";
// uni.getStorageSync("token")
export const myRequest = (options) => {
return new Promise((resolve, reject) => {
let url='http://sophia.wujingnft.com/prod-api'
uni.request({
url: BASE_URL + options.url,
url: url + options.url,
method: options.method || "GET",
sslVerify:false,
// sslVerify:false,
data: options.data || {},
header: options.header,
success: (res) => {
if (res.data.code == 500) {
return uni.showToast({
title: res.data.msg
title: res.data.msg,
icon:'none'
})
} else if(res.data.code==0){
resolve(res);
@ -27,7 +27,8 @@ export const myRequest = (options) => {
fail: (err) => {
console.log(err);
uni.showToast({
title: "请求接口失败"
title: "请求接口失败",
icon:'error'
})
reject(err)
}

Loading…
Cancel
Save