小程序
7
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.vscode/
|
||||
.hbuilderx/
|
||||
.history/
|
||||
.idea/
|
||||
node_modules/
|
||||
unpackage/dist/
|
||||
unpackage/cache/
|
||||
146
App.vue
Normal file
|
|
@ -0,0 +1,146 @@
|
|||
<script>
|
||||
import Vue from 'vue'
|
||||
|
||||
export default {
|
||||
onLaunch: function () {
|
||||
console.log('App Launch')
|
||||
|
||||
const openBgm = uni.createInnerAudioContext()
|
||||
Vue.prototype.bgmCtx = {}
|
||||
Vue.prototype.bgmCtx.openBgm = openBgm
|
||||
openBgm.src = this.$img('/static/mp3/open.mp3')
|
||||
/* 重置首页公告弹窗状态 */
|
||||
uni.setStorageSync('_is_this_show', false)
|
||||
|
||||
/* 清除缓存中的广告id */
|
||||
uni.removeStorageSync('_ad_id')
|
||||
/* 清除缓存中的click_id */
|
||||
uni.removeStorageSync('_click_id')
|
||||
},
|
||||
onShow: function () {
|
||||
console.log('App Show')
|
||||
|
||||
},
|
||||
onHide: function () {
|
||||
console.log('App Hide')
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
/*每个页面公共css */
|
||||
@import './common/animate.css';
|
||||
@import url('./common/common.css');
|
||||
@import url('/components/gaoyia-parse/parse.css');
|
||||
|
||||
/* 引入字体 */
|
||||
@font-face {
|
||||
font-family: 'YouSheBiaoTiHei';
|
||||
src: url($imgurl +'font/YouSheBiaoTiHei.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'zihun152hao-jijiachaojihei';
|
||||
src: url($imgurl+'font/zihun152hao-jijiachaojihei.TTF') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'zihun147hao-xingyuanhei';
|
||||
src: url($imgurl+'font/zihun147hao-xingyuanhei.TTF') format('truetype');
|
||||
}
|
||||
|
||||
page {
|
||||
overflow-x: hidden;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-color: #1C1B20;
|
||||
}
|
||||
}
|
||||
.ziti{
|
||||
font-family: YouSheBiaoTiHei;
|
||||
}
|
||||
.flex_center {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.hang2 {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.hang1 {
|
||||
overflow: hidden;
|
||||
/*超出部分隐藏*/
|
||||
white-space: nowrap;
|
||||
/*不换行*/
|
||||
text-overflow: ellipsis;
|
||||
/*超出部分文字以...显示*/
|
||||
}
|
||||
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.common_bg {
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 0;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.relative {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
button.hide {
|
||||
position: absolute;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* 重写组件样式 */
|
||||
/deep/.uni-noticebar {
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/deep/.mescroll-upwarp {
|
||||
box-sizing: border-box;
|
||||
min-height: 55px;
|
||||
padding: 15px 0;
|
||||
text-align: center;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/deep/.cmd-progress-outer {
|
||||
line-height: 0;
|
||||
|
||||
.cmd-progress-bg {
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
BIN
assets/font/YouSheBiaoTiHei.ttf
Normal file
BIN
assets/font/zihun147hao-xingyuanhei.TTF
Normal file
BIN
assets/font/zihun152hao-jijiachaojihei.TTF
Normal file
BIN
assets/img/1_bd_my.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
assets/img/1_coin.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/img/1_coin_act.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
assets/img/1_flmh.png
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
assets/img/1_group_bg.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
assets/img/1_invite_bg.png
Normal file
|
After Width: | Height: | Size: 320 KiB |
BIN
assets/img/1_invite_card.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
assets/img/1_jqyfl.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/img/1_jqyhl.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
assets/img/1_lb.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
assets/img/1_qdrw.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
assets/img/1_rank_tai.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/img/1_sign_act_bg.png
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
assets/img/1_sign_bg.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
assets/img/1_sign_box.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
assets/img/1_yqcs.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
assets/img/1_yqflmh.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
assets/img/1_yqhy.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
assets/img/1_yqhylhl.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
assets/img/2_card_bg.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/img/2_card_icon.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
assets/img/2_coupon_bg.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/img/2_coupon_item.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/img/2_coupon_pop.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/img/2_detail_bg.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
assets/img/2_djk.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/img/2_fjjl.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/img/2_gj_border.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/img/2_gsjl.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/img/2_jrflq.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/img/2_jsphb.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/img/2_mine_bg.png
Normal file
|
After Width: | Height: | Size: 142 KiB |
BIN
assets/img/2_money_card_bg.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
assets/img/2_pt_border.png
Normal file
|
After Width: | Height: | Size: 284 B |
BIN
assets/img/2_qy_card.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
assets/img/2_qy_gjjl.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
assets/img/2_qy_list_bg.png
Normal file
|
After Width: | Height: | Size: 285 B |
BIN
assets/img/2_qy_ptjl.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
assets/img/2_tab_bg.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
assets/img/2_title_bg.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
assets/img/2_type_bordder.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
assets/img/2_vip_card.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
assets/img/2_vip_icon.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
assets/img/2_wdsc.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/img/2_xfjl.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
assets/img/2_xrzx.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
assets/img/2_yhq.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
assets/img/2_yhxy.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
assets/img/2_yqhy.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/img/3_1fa.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
assets/img/3_3fa.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
assets/img/3_5fa.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
assets/img/3_ang_border.png
Normal file
|
After Width: | Height: | Size: 431 B |
BIN
assets/img/3_btns_bg.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
assets/img/3_buy_notice.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/img/3_change_box.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
assets/img/3_cs.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
assets/img/3_detail_pop.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
assets/img/3_detail_title.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
assets/img/3_gj_bg.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
assets/img/3_gj_icon.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/img/3_hd_bg.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
assets/img/3_hd_bg1.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
assets/img/3_hj.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
assets/img/3_inf_10fa.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/img/3_inf_1fa.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/img/3_inf_3fa.png
Normal file
|
After Width: | Height: | Size: 9.0 KiB |
BIN
assets/img/3_inf_50fa.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/img/3_inf_5fa.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/img/3_inf_bb.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
assets/img/3_inf_bg.png
Normal file
|
After Width: | Height: | Size: 8.6 KiB |
BIN
assets/img/3_inf_boss_box.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
assets/img/3_inf_boss_lzjl.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
assets/img/3_inf_boss_pop.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
assets/img/3_inf_boss_wfgz.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
assets/img/3_inf_cc.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
assets/img/3_inf_class.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
assets/img/3_inf_lzjl.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
assets/img/3_inf_lzlp.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
assets/img/3_inf_lzwf.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/img/3_inf_wf.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/img/3_jfs.png
Normal file
|
After Width: | Height: | Size: 119 KiB |
BIN
assets/img/3_lj.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
assets/img/3_lj_dqmb.png
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
assets/img/3_lj_jia.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
assets/img/3_lj_jian.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
assets/img/3_lj_max.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
BIN
assets/img/3_lj_times.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
assets/img/3_mix_bg.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
assets/img/3_oh.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
assets/img/3_pt.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
assets/img/3_pt_bg.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
assets/img/3_pt_icon.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
assets/img/3_qy_bg.png
Normal file
|
After Width: | Height: | Size: 265 KiB |
BIN
assets/img/3_qy_card.png
Normal file
|
After Width: | Height: | Size: 13 KiB |