update251118

This commit is contained in:
众产-王坤 2025-11-17 08:01:41 +08:00
parent 5d23fe6469
commit c8741c9253
15 changed files with 857 additions and 543 deletions

File diff suppressed because one or more lines are too long

View File

@ -12,102 +12,21 @@
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, },
{
"path": "pages/main/me_cash"
},
{
"path": "pages/main/me_cash_bank"
},
{
"path": "pages/main/me_cash_charge"
},
{
"path": "pages/main/me_cash_ie",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "pages/main/me_cash_in",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "pages/main/me_cash_out",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "pages/main/me_info"
},
{
"path": "pages/main/me_invoice"
},
{
"path": "pages/main/me_invoicetitle"
},
{
"path": "pages/main/me_invoice_history",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "pages/main/me_passchange"
},
{
"path": "pages/main/me_pnt"
},
{
"path": "pages/main/me_pnt_buy",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "pages/main/me_pnt_record",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "pages/main/me_problechat"
},
{
"path": "pages/main/me_problem",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "pages/main/me_qrcode"
},
{
"path": "pages/main/me_real"
},
{
"path": "pages/main/me_shipaddr"
},
{
"path": "pages/main/me_suggest"
},
{
"path": "pages/main/paper"
},
{
"path": "pages/main/part"
},
{
"path": "pages/main/psection",
"style": {
"enablePullDownRefresh": true
}
},
{ {
"path": "pages/pub/camera" "path": "pages/pub/camera"
}, },
{
"path": "pages/pub/paper"
},
{
"path": "pages/pub/part"
},
{
"path": "pages/pub/psection",
"style": {
"enablePullDownRefresh": true
}
},
{ {
"path": "pages/pub/web", "path": "pages/pub/web",
"style": { "style": {
@ -251,6 +170,9 @@
{ {
"path": "comview/ani" "path": "comview/ani"
}, },
{
"path": "comview/aniheight"
},
{ {
"path": "comview/anipop" "path": "comview/anipop"
}, },
@ -293,6 +215,9 @@
{ {
"path": "comview/segment" "path": "comview/segment"
}, },
{
"path": "comview/showemoney"
},
{ {
"path": "comview/showimgs" "path": "comview/showimgs"
}, },
@ -375,6 +300,98 @@
"path": "test" "path": "test"
} }
] ]
},
{
"root": "pages/me",
"pages": [
{
"path": "cashie_lst",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "cashin_lst",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "cashout_cash"
},
{
"path": "cashout_lst",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "cash_charge"
},
{
"path": "invoicetitle"
},
{
"path": "invoice_lst",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "invoicing"
},
{
"path": "me_bank_info"
},
{
"path": "pnt_buylst",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "pnt_buynow"
},
{
"path": "pnt_lst",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "problem_chat"
},
{
"path": "problem_pub",
"style": {
"enablePullDownRefresh": true
}
},
{
"path": "safe_ccub"
},
{
"path": "safe_password"
},
{
"path": "safe_real"
},
{
"path": "share_qrcode"
},
{
"path": "suggest"
},
{
"path": "user_bank"
},
{
"path": "user_info"
},
{
"path": "user_shipaddr"
}
]
} }
] ]
} }

View File

@ -11,29 +11,18 @@
</view> </view>
</view> </view>
<view v-else> <view v-else>
<view style="min-height:80vw;background: linear-gradient(354deg, #f3fcff, #ffffff);"> <ciy-swiper :banner="init.banner" height="60vw"></ciy-swiper>
<swiper v-if="init.once.banner && init.once.banner.length > 0" :indicator-dots="init.once.banner.length > 1" :autoplay="false" interval="3000" style="height:80vw;">
<swiper-item v-for="(item,index) in init.once.banner" :key="item.id">
<view v-if="isvideo(item.img)">
<cover-image v-if="vmuted" @tap="vmute" class="cmute" :style="{opacity: vop}" :src="file_stor('/img/wav2.png')"></cover-image>
<cover-image v-else @tap="vmute" class="cmute" :style="{opacity: vop}" :src="file_stor('/img/wav1.png')"></cover-image>
<video id="swipervideo" @tap="showop" object-fit="cover" :poster="file_stor(item.img + '.jpg')" :src="file_stor(item.img)" controls autoplay loop show-mute-btn :muted="vmuted" :enable-progress-gesture="false" style="width:100%;height:80vw;"></video>
</view>
<image v-else @tap="gourl" :data-url="item.url" :src="file_stor(item.img)" style="width:100%;height:100%;" />
</swiper-item>
</swiper>
</view>
<view class="bg1"> <view class="bg1">
<view class="ciy-grid"> <view class="ciy-grid">
<view class="grid" @tap="gourl" data-url="/pages/demo/index"> <view class="grid" @tap="gourl" data-url="/pages/demo/index">
<view class="icon" :style="{backgroundImage:svg2bg(svg.ctg)}"></view> <view class="icon" :style="{backgroundImage:svg2bg(svg.ctg)}"></view>
<view class="name">Demo</view> <view class="name">Demo</view>
</view> </view>
<view class="grid" @tap="gourl" data-url="/pages/main/paper?id=1"> <view class="grid" @tap="gourl" data-url="/pages/pub/paper?id=1">
<view class="icon" :style="{backgroundImage:svg2bg(svg.cqd)}"></view> <view class="icon" :style="{backgroundImage:svg2bg(svg.cqd)}"></view>
<view class="name">游客页面</view> <view class="name">游客页面</view>
</view> </view>
<view class="grid" @tap="gourl" data-url="$/pages/main/me_suggest"> <view class="grid" @tap="gourl" data-url="$/pages/me/suggest">
<view class="icon" :style="{backgroundImage:svg2bg(svg.cjf)}"></view> <view class="icon" :style="{backgroundImage:svg2bg(svg.cjf)}"></view>
<view class="name">用户页面</view> <view class="name">用户页面</view>
</view> </view>
@ -56,28 +45,13 @@
</template> </template>
<style scoped> <style scoped>
.cmute {
position: absolute;
right: 0.5em;
top: 0.5em;
z-index: 100;
height: 1.5em;
width: 1.5em;
}
</style> </style>
<script> <script>
export default { export default {
data() { data() {
return { return {
vmuted: false, svg: {},
vop: 0.2,
svg: {
cqd: '<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M546.334118 258.198588V106.315294h288.527058V57.825882c0-31.924706-25.840941-57.825882-57.825882-57.825882H103.002353a57.825882 57.825882 0 0 0-57.825882 57.825882v886.66353C45.176471 976.414118 71.077647 1002.315294 103.002353 1002.315294H777.035294a57.765647 57.765647 0 0 0 57.795765-57.825882v-63.668706H121.133176v-151.853177H834.861176v-55.717647H121.133176v-151.823058H834.861176v-55.717648h-288.527058v-151.823058h288.527058v-55.717647h-288.527058z" fill="#A267F8"></path><path d="M834.861176 465.679059h121.494589V313.825882H834.861176z" fill="#F9D11F"></path><path d="M546.334118 465.679059h288.527058V313.825882h-288.527058z" fill="#7E42B9"></path><path d="M834.861176 673.249882h121.494589v-151.853176H834.861176z" fill="#F9D11F"></path><path d="M121.103059 673.249882h713.728v-151.853176H121.103059z" fill="#7E42B9"></path><path d="M834.861176 258.168471h121.494589V106.315294H834.861176z" fill="#F9D11F"></path><path d="M546.334118 258.168471h288.527058V106.315294h-288.527058z" fill="#7E42B9"></path><path d="M834.861176 880.790588h121.494589v-151.853176H834.861176z" fill="#F9D11F"></path><path d="M121.103059 880.790588h713.728v-151.853176H121.103059z" fill="#7E42B9"></path><path d="M485.586824 465.709176H121.103059v-81.799529a70.053647 70.053647 0 0 1 70.053647-70.053647h224.37647a70.053647 70.053647 0 0 1 70.053648 70.053647v81.799529zM386.891294 189.831529a83.516235 83.516235 0 1 1-167.03247 0 83.516235 83.516235 0 0 1 167.03247 0" fill="#FFFFFF"></path></svg>',
cjf: '<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M902.384941 257.114353H245.338353a98.454588 98.454588 0 0 0-98.454588 98.424471V746.315294a98.484706 98.484706 0 0 0 98.484706 98.454588h57.675294v141.914353c0 13.914353 16.745412 20.841412 26.593882 11.023059l152.937412-152.937412h419.84a98.484706 98.484706 0 0 0 98.42447-98.484706V355.568941a98.454588 98.454588 0 0 0-98.454588-98.42447" fill="#FF7E50"></path><path d="M98.424471 0h657.046588a98.454588 98.454588 0 0 1 98.484706 98.424471v390.806588a98.424471 98.424471 0 0 1-98.484706 98.42447H697.825882v141.914353a15.570824 15.570824 0 0 1-26.593882 11.023059l-152.997647-152.937412H98.424471A98.454588 98.454588 0 0 1 0 489.231059V98.424471A98.484706 98.484706 0 0 1 98.484706 0" fill="#F9D11F"></path><path d="M671.232 740.592941a15.600941 15.600941 0 0 0 26.624-11.023059v-141.94447h57.645176a98.394353 98.394353 0 0 0 98.424471-98.424471V257.084235H245.338353a98.424471 98.424471 0 0 0-98.424471 98.424471v232.116706h371.350589l152.967529 152.997647z" fill="#ED4042"></path><path d="M303.043765 468.269176h394.812235V358.098824H303.043765z" fill="#FFFFFF"></path></svg>',
cmh: '<svg viewBox="0 0 1355 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M663.491765 1002.315294c-162.454588 0-294.159059-131.734588-294.159059-294.189176V109.236706A109.236706 109.236706 0 0 1 478.569412 0h369.844706a109.236706 109.236706 0 0 1 109.236706 109.236706v598.889412c0 162.454588-131.704471 294.159059-294.159059 294.159058" fill="#31EC7C"></path><path d="M871.484235 916.148706c-114.868706 114.868706-301.116235 114.868706-416.015059 0L32.015059 492.634353a109.206588 109.206588 0 0 1 0-154.443294l261.511529-261.541647a109.206588 109.206588 0 0 1 154.443294 0l423.514353 423.454117c114.868706 114.928941 114.868706 301.176471 0 416.045177" fill="#A267F8"></path><path d="M455.499294 916.148706c-114.868706-114.868706-114.868706-301.116235 0-416.015059L879.013647 76.649412a109.206588 109.206588 0 0 1 154.443294 0l261.541647 261.541647a109.206588 109.206588 0 0 1 0 154.443294L871.514353 916.148706c-114.898824 114.868706-301.176471 114.868706-416.015059 0" fill="#F83CB6"></path><path d="M871.484235 500.133647L663.491765 292.141176l-208.022589 207.992471c-114.838588 114.868706-114.838588 301.116235 0 416.015059 114.898824 114.868706 301.176471 114.868706 416.015059 0 114.868706-114.898824 114.868706-301.146353 0-416.015059" fill="#7E42B9"></path><path d="M740.532706 636.235294a101.707294 101.707294 0 0 1-143.811765 143.811765 101.707294 101.707294 0 0 1 143.811765-143.811765" fill="#FFFFFF"></path></svg>',
ctg: '<svg viewBox="0 0 1114 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M801.039059 672.677647l-198.415059 198.415059-198.415059-198.415059-155.888941-155.888941 198.415059-198.415059 155.888941 155.888941 220.16-220.129882V133.150118a133.150118 133.150118 0 0 0-133.150118-133.12H118.211765C44.664471 0 0 59.632941 0 133.12v735.954824C0 942.682353 44.664471 1002.315294 118.211765 1002.315294h571.422117a133.12 133.12 0 0 0 133.12-133.180235v-218.172235l-21.714823 21.744941z" fill="#F9D11F"></path><path d="M1105.92 367.766588l-198.384941-198.415059-84.751059 84.781177v396.8z" fill="#3193FF"></path><path d="M446.735059 318.403765L248.32 516.818824l155.888941 155.888941 198.415059 198.415059 198.415059-198.415059 21.744941-21.744941V254.132706l-220.16 220.16z" fill="#006FD9"></path><path d="M119.657412 239.344941h583.439059v-134.625882H119.657412zM119.687529 882.627765h179.501177v-134.625883h-179.501177z" fill="#FFFFFF"></path></svg>',
},
} }
}, },
onLoad() { onLoad() {
@ -89,13 +63,29 @@
setTimeout(() => { setTimeout(() => {
this.executepnt(1); this.executepnt(1);
}, 3000); }, 3000);
this.getauth().then(auth => {
if (auth.me.id == 0)
return;
this.pageno = 0;
this.getinit();
});
this.load_svgicon(this.file_stor('/svgicon/index.txt')).then(svgs => {
this.svg = svgs;
});
},
onShow() {
if (this._meid === this.me.id)
return;
this._meid = this.me.id;
this.pageno = 0;
this.init.members = [];
this.getinit(); this.getinit();
}, },
onShareAppMessage(res) { onShareAppMessage(res) {
return this.shareparam({ return this.shareparam({
type: 'message', type: 'message',
title: this.init.sharename, title: this.init.sharename,
//img: this.file_stor(''), img: this.file_stor(this.init.shareicon),
path: this.getroute(), path: this.getroute(),
query: { query: {
...this.opn ...this.opn
@ -106,7 +96,7 @@
return this.shareparam({ return this.shareparam({
type: 'timeline', type: 'timeline',
title: this.init.sharename, title: this.init.sharename,
//img: this.file_stor(''), img: this.file_stor(this.init.shareicon),
path: this.getroute(), path: this.getroute(),
query: { query: {
...this.opn ...this.opn
@ -119,19 +109,13 @@
}, },
methods: { methods: {
async getinit() { async getinit() {
var retjson = await this.callajax({ var retjson = await this.callfunc({
func: 'main.index_init' func: 'main.index_init'
}); });
if (retjson.code != 1) if (retjson.code != 1)
return this.alert(retjson.errmsg); return this.alert(retjson.errmsg);
this.init = retjson; this.init = retjson;
}, },
showop() {
this.vop = 2;
},
vmute() {
this.vmuted = !this.vmuted;
},
} }
} }
</script> </script>

View File

@ -9,7 +9,7 @@
</view> </view>
<view class="maincard" style="margin-top: -2.5em;"> <view class="maincard" style="margin-top: -2.5em;">
<view class="flex flex-center"> <view class="flex flex-center">
<view class="nick" @tap="gourl" data-url="$/pages/main/me_info">{{me.name?me.name:'登录/注册'}}</view> <view class="nick" @tap="gourl" data-url="$/pages/me/user_info">{{me.id>0?(me.name?me.name:'游客'):'登录/注册'}}</view>
<view class="icon zy" style="margin-left:1em;" v-if="showbalance" @tap="getbalance(2)"></view> <view class="icon zy" style="margin-left:1em;" v-if="showbalance" @tap="getbalance(2)"></view>
<view class="icon by" style="margin-left:1em;" v-else @tap="getbalance(1)"></view> <view class="icon by" style="margin-left:1em;" v-else @tap="getbalance(1)"></view>
</view> </view>
@ -18,18 +18,25 @@
<view class="usrnum"> <view class="usrnum">
<view> <view>
<view class="num" v-if="showbalance"> <view class="num" v-if="showbalance">
<ciy-shownum speed="80" :value="me.mycashmoney" unit=",100,2|万,1000000,2|亿,10000000000,2"></ciy-shownum> <ciy-shownum speed="80" :value="me.mymoney" unit=",100,2|万,1000000,2|亿,10000000000,2"></ciy-shownum>
</view> </view>
<view class="num" v-else>---</view> <view class="num" v-else>---</view>
<view class="tit" @tap="gourl" data-url="$/pages/main/me_cash">提现</view> <view class="tit">账户余额</view>
</view>
<view>
<view class="num" v-if="showbalance">
<ciy-shownum :value="me.mybondmoney<0?-me.mybondmoney:me.mybondmoney" unit=",100,2|万,1000000,2|亿,10000000000,2"></ciy-shownum>
</view>
<view class="num" v-else>---</view>
<view class="tit" v-if="me.mybondmoney<0">信用额度</view>
<view class="tit" v-else>保证金</view>
</view> </view>
<view> <view>
<view class="num" v-if="showbalance"> <view class="num" v-if="showbalance">
<ciy-shownum :value="me.mypnt" unit=",1,0|万,10000,2|亿,100000000,2"></ciy-shownum> <ciy-shownum :value="me.mypnt" unit=",1,0|万,10000,2|亿,100000000,2"></ciy-shownum>
</view> </view>
<view class="num" v-else>---</view> <view class="num" v-else>---</view>
<view class="tit" @tap="gourl" data-url="$/pages/main/me_pnt">积分</view> <view class="tit" @tap="gourl" data-url="$/pages/me/pnt_lst">积分</view>
</view> </view>
</view> </view>
</view> </view>
@ -64,23 +71,23 @@
</view> </view>
</view> </view>
</view> </view>
<view class="maincard" style="min-height:9em;"> <view class="maincard">
<view class="ciy-grid"> <view class="ciy-grid">
<view class="grid"> <view class="grid" data-url="$/pages/me/cash_charge" @tap="gourl">
<view class="icon" :style="{backgroundImage:svg2bg(svg.ciy)}"></view> <view class="icon" :style="{backgroundImage:svg2bg(svg.v1)}"></view>
<view class="name">图标名称</view> <view class="name">充值</view>
</view>
<view class="grid" data-url="$/pages/me/cashout_cash" @tap="gourl">
<view class="icon" :style="{backgroundImage:svg2bg(svg.v2)}"></view>
<view class="name">提现</view>
</view>
<view class="grid" data-url="$/pages/me/cashie_lst" @tap="gourl">
<view class="icon" :style="{backgroundImage:svg2bg(svg.v3)}"></view>
<view class="name">收支明细</view>
</view> </view>
<view class="grid"> <view class="grid">
<view class="icon" :style="{backgroundImage:svg2bg(svg.ciy)}"></view> <view class="icon" :style="{backgroundImage:svg2bg(svg.v4)}"></view>
<view class="name">图标名称</view> <view class="name">保证金</view>
</view>
<view class="grid">
<view class="icon" :style="{backgroundImage:svg2bg(svg.ciy)}"></view>
<view class="name">图标名称</view>
</view>
<view class="grid">
<view class="icon" :style="{backgroundImage:svg2bg(svg.ciy)}"></view>
<view class="name">图标名称</view>
</view> </view>
</view> </view>
<view class="ciy-grid"> <view class="ciy-grid">
@ -102,24 +109,24 @@
</view> </view>
</view> </view>
</view> </view>
<ciy-swipelist v-if="me.id>0" :icon="svg.ciy" title="实名认证" data-url="$/pages/main/me_real" @tap="gourl" :right="tomsk(me.truename, '#***')" more></ciy-swipelist>
<view class="bg5" style="height:0.3em;" v-if="me.id>0"></view>
<ciy-swipelist title="收入明细" v-if="me.id>0" @tap="gourl" data-url="$/pages/main/me_cash_in" more></ciy-swipelist>
<view class="bg5" style="height:0.3em;"></view> <view class="bg5" style="height:0.3em;"></view>
<ciy-swipelist v-if="me.id>0" title="个人信息" @tap="gourl" data-url="$/pages/main/me_info" more></ciy-swipelist> <ciy-swipelist v-if="me.id>0" title="众识码" data-url="$/pages/me/safe_ccub" @tap="gourl" :right="tocciy(me.cciy)" more></ciy-swipelist>
<ciy-swipelist v-if="me.id>0" title="收货地址" @tap="gourl" data-url="$/pages/main/me_shipaddr" more></ciy-swipelist> <ciy-swipelist v-if="me.id>0" title="实名认证" data-url="$/pages/me/safe_real" @tap="gourl" :right="tomsk(me.truename, '#***')" more></ciy-swipelist>
<ciy-swipelist v-if="me.id>0" title="我要开票" @tap="gourl" data-url="$/pages/main/me_invoice" :right="me.myinvmoney>=100?'可开票金额 ' + me.myinvmoney/100 + '元':'未达开票金额'" more></ciy-swipelist> <view class="bg5" style="height:0.3em;"></view>
<ciy-swipelist v-if="me.id>0" title="分享二维码" @tap="gourl" data-url="$/pages/main/me_qrcode" more></ciy-swipelist> <ciy-swipelist v-if="me.id>0" title="个人信息" @tap="gourl" data-url="$/pages/me/user_info" more></ciy-swipelist>
<ciy-swipelist v-if="me.mobile" :title="me.needpass?'设置密码':'修改密码'" @tap="gourl" data-url="$/pages/main/me_passchange" more></ciy-swipelist> <ciy-swipelist v-if="me.id>0" title="收款银行" @tap="gourl" data-url="$/pages/me/user_bank" :right="me.bankaccount?'已设置':'未设置'" more></ciy-swipelist>
<ciy-swipelist v-if="me.id>0" title="意见建议" @tap="gourl" data-url="$/pages/main/me_suggest" right="留下您的宝贵建议" more></ciy-swipelist> <ciy-swipelist v-if="me.id>0" title="收货地址" @tap="gourl" data-url="$/pages/me/user_shipaddr" more></ciy-swipelist>
<ciy-swipelist title="帮助中心" @tap="gourl" data-url="/pages/main/psection?id=1" right="FAQ" more></ciy-swipelist> <ciy-swipelist v-if="me.id>0" title="我要开票" @tap="gourl" data-url="$/pages/me/invoicing" :right="me.myinvmoney>=1000?'可开票':'未达开票金额'" more></ciy-swipelist>
<ciy-swipelist v-if="me.id>0" title="工单提问" @tap="gourl" data-url="$/pages/main/me_problem" right="提交您的问题" more></ciy-swipelist> <ciy-swipelist v-if="me.id>0" title="分享二维码" @tap="gourl" data-url="$/pages/me/share_qrcode" more></ciy-swipelist>
<ciy-swipelist v-if="me.mobile" :title="me.needpass?'设置密码':'修改密码'" @tap="gourl" data-url="$/pages/me/safe_password" more></ciy-swipelist>
<ciy-swipelist v-if="me.id>0" title="意见建议" @tap="gourl" data-url="$/pages/me/suggest" right="留下您的宝贵建议" more></ciy-swipelist>
<ciy-swipelist title="帮助中心" @tap="gourl" data-url="/pages/pub/psection?id=1" right="FAQ" more></ciy-swipelist>
<ciy-swipelist v-if="me.id>0" title="工单提问" @tap="gourl" data-url="$/pages/me/problem_pub" right="提交您的问题" more></ciy-swipelist>
<ciy-swipelist title="联系客服" more> <ciy-swipelist title="联系客服" more>
<button open-type="contact" plain class="btn tran" style="color:var(--txt5)">在线客服</button> <button open-type="contact" plain class="btn tran" style="color:var(--txt5)">在线客服</button>
</ciy-swipelist> </ciy-swipelist>
<ciy-swipelist title="关于我们" @tap="gourl" data-url="/pages/main/paper?id=1" right="众产" more></ciy-swipelist> <ciy-swipelist title="关于我们" @tap="gourl" data-url="/pages/pub/paper?id=1" right="众产" more></ciy-swipelist>
<ciy-swipelist title="软件版本" @tap="upver" :right="version" more></ciy-swipelist> <ciy-swipelist title="软件版本" @tap="upver" :right="version" more></ciy-swipelist>
<view class="bg5" v-if="me.id>0" style="height:0.5em;"></view> <view class="bg5" v-if="me.id>0" style="height:0.5em;"></view>
<ciy-swipelist v-if="me.id>0" title="重新登录" @tap="relogin" more></ciy-swipelist> <ciy-swipelist v-if="me.id>0" title="重新登录" @tap="relogin" more></ciy-swipelist>
@ -130,14 +137,17 @@
export default { export default {
data() { data() {
return { return {
svg: {},
version:'',
showbalance: false, showbalance: false,
svg: {
ciy: '<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M987.136 384.512C919.552 131.584 668.16-22.528 415.232 27.136c219.648-41.984 434.176 79.36 488.96 283.136 57.344 214.016-82.944 437.76-313.344 499.2-49.664 13.312-78.848 64-65.536 113.152 13.312 49.664 64 78.848 113.152 65.536 263.168-70.144 418.816-340.48 348.672-603.648zM116.224 713.216C58.88 499.2 199.68 275.456 430.08 214.016c49.664-13.312 78.848-64 65.536-113.152C482.816 51.2 432.128 21.504 382.464 34.816c-263.68 70.656-419.84 340.992-349.184 604.16 67.584 252.928 319.488 407.04 571.392 356.864-219.648 42.496-433.664-78.848-488.448-282.624z m93.184-203.776L291.84 449.536c44.544-32.256 90.112-32.256 133.12-0.512l83.456 60.928-149.504-230.4-149.504 229.888z m516.096-60.416L808.96 509.952l-149.504-229.888-149.504 229.376 82.432-59.904c44.544-32.256 90.112-32.256 133.12-0.512z m-366.08 291.84L441.856 680.96c44.544-32.256 90.112-32.256 133.12-0.512l83.456 60.928-149.504-230.4-149.504 229.888z" fill="#56a4ef"></path></svg>',
},
} }
}, },
onLoad() {}, onLoad() {
onShow() { var app = getApp();
this.version = app.globalData._version;
this.load_svgicon(this.file_stor('/svgicon/me.txt')).then(svgs => {
this.svg = svgs;
});
this.getinit(); this.getinit();
}, },
onPullDownRefresh(b) { onPullDownRefresh(b) {
@ -147,26 +157,28 @@
}, },
methods: { methods: {
async getinit() { async getinit() {
this.getauth(); await this.getauth();
var retjson = this.callajax({ var retjson = await this.callfunc({
func: 'me.usrbuy_get', func: 'main.me_init',
cache: 86400, //cache: 86400,
data: {}
}).then(json => {
this.init = json;
}); });
if (retjson.code != 1)
return this.alert(retjson.errmsg);
this.init = retjson;
}, },
async getbalance(act) { async getbalance(act) {
var auth = await this.getauth(); if (this._loading)
if(auth.me.id == 0) return;
await this.getauth();
if (this.me.id == 0)
return; return;
if (act == 2) { if (act == 2) {
this.showbalance = false; this.showbalance = false;
return; return;
} }
this._loading = true; this._loading = true;
var retjson = await this.callajax({ var retjson = await this.callfunc({
func: 'me.balance_get', func: 'me.me_balance_get',
data: {} data: {}
}); });
this._loading = false; this._loading = false;
@ -184,8 +196,8 @@
if (this._loading) if (this._loading)
return; return;
this._loading = true; this._loading = true;
var retjson = await this.callajax({ var retjson = await this.callfunc({
func: 'me.buy_usernow', func: 'me.me_userbuy_create',
data: { data: {
id: item.id id: item.id
} }
@ -198,8 +210,8 @@
try { try {
var retpay = await uni.requestPayment(retjson); var retpay = await uni.requestPayment(retjson);
await this.sleep(1000); await this.sleep(1000);
var retjson2 = await this.callajax({ var retjson2 = await this.callfunc({
func: 'me.buy_userchk', func: 'me.me_userbuy_chk',
data: { data: {
orderid: retjson.orderid orderid: retjson.orderid
} }
@ -214,14 +226,14 @@
}, },
relogin() { relogin() {
this.clearstorage(); this.clearstorage();
this.getauth(true); this.getauth('relogin');
}, },
upver() { upver() {
var app = getApp(); var app = getApp();
app.appupdate('all', async verinfo => { app.appupdate('all', async verinfo => {
return await this.askmsg(verinfo, '更新') == 'ok'; return await this.askmsg(verinfo, '更新') == 'ok';
}); });
} },
} }
} }
</script> </script>
@ -270,7 +282,6 @@
position: relative; position: relative;
background: var(--bg1); background: var(--bg1);
color: var(--txt6); color: var(--txt6);
min-height: 7em;
padding: 0.5em; padding: 0.5em;
margin: 0 1em 1em 1em; margin: 0 1em 1em 1em;
border-radius: 0.3em; border-radius: 0.3em;

View File

@ -72,14 +72,6 @@
}, },
methods: { methods: {
async getinit() { async getinit() {
<<<<<<< HEAD:fapp/ciyon_ap/pages/main/me_cash_charge.vue
this.init.charges = [];
this.init.charges.push(10000);
this.init.charges.push(50000);
this.init.charges.push(100000);
this.init.charges.push(500000);
this.init.code = 1;
=======
var retjson = await this.callfunc({ var retjson = await this.callfunc({
func: 'me.cash_charge_init', func: 'me.cash_charge_init',
data: this.pagepost data: this.pagepost
@ -87,7 +79,6 @@
if (retjson.code != 1) if (retjson.code != 1)
return this.alert(retjson.errmsg); return this.alert(retjson.errmsg);
this.init = retjson; this.init = retjson;
>>>>>>> publish:fapp/ciyon_ap/pages/me/cash_charge.vue
this.money = this.toint(this.opn.pay); this.money = this.toint(this.opn.pay);
if(this.money > 0) if(this.money > 0)
this.paynow(); this.paynow();

View File

@ -9,11 +9,7 @@
</view> </view>
<view v-else> <view v-else>
<view class="sti" :style="{top:(header_statusbar_height+header_title_height)+'px'}"> <view class="sti" :style="{top:(header_statusbar_height+header_title_height)+'px'}">
<<<<<<< HEAD:fapp/ciyon_ap/pages/main/me_cash_ie.vue
<ciy-segment lis="1:收入,2:支出" all="全部" v-model="liid" @change="segment_change"></ciy-segment>
=======
<ciy-segment lis="1:收入,2:支出" all="全部" @change="segment_change"></ciy-segment> <ciy-segment lis="1:收入,2:支出" all="全部" @change="segment_change"></ciy-segment>
>>>>>>> publish:fapp/ciyon_ap/pages/me/cashie_lst.vue
</view> </view>
<view class="ciy-list" v-for="(item,index) in init.list" :key="item.id"> <view class="ciy-list" v-for="(item,index) in init.list" :key="item.id">
<view class="l2" style="margin-right: 4em;">{{item.name}}</view> <view class="l2" style="margin-right: 4em;">{{item.name}}</view>

View File

@ -71,7 +71,7 @@
return this.toast('请输入开户银行'); return this.toast('请输入开户银行');
this._loading = true; this._loading = true;
var retjson = await this.callajax({ var retjson = await this.callfunc({
func: 'me.me_bank_info_change', func: 'me.me_bank_info_change',
data: e.detail.value data: e.detail.value
}); });

View File

@ -13,11 +13,7 @@
<view class="ciy-tip" v-if="init.data.auditstatus == 100">您已申请通过</view> <view class="ciy-tip" v-if="init.data.auditstatus == 100">您已申请通过</view>
<view class="ciy-list"> <view class="ciy-list">
<view class="l1">{{init.data.name}}</view> <view class="l1">{{init.data.name}}</view>
<<<<<<< HEAD:fapp/ciyon_ap/pages/main/me_real.vue
<view class="l1">{{init.data.idid}}</view>
=======
<view class="l1">{{tomsk(init.data.idid, '**###***')}}</view> <view class="l1">{{tomsk(init.data.idid, '**###***')}}</view>
>>>>>>> publish:fapp/ciyon_ap/pages/me/safe_real.vue
<view class="rb">{{todatetime(init.data.addtimes)}} 申请</view> <view class="rb">{{todatetime(init.data.addtimes)}} 申请</view>
</view> </view>
</view> </view>
@ -69,37 +65,7 @@
<button class="btn lg cc" @tap="readnfc">{{nfcwork==0?'手机贴近身份证识别':'停止NFC扫描'}}</button> <button class="btn lg cc" @tap="readnfc">{{nfcwork==0?'手机贴近身份证识别':'停止NFC扫描'}}</button>
</view> </view>
</view> </view>
<<<<<<< HEAD:fapp/ciyon_ap/pages/main/me_real.vue
</view> -->
<form @submit="submit" class="char4">
<view class="ciy-card">
<view class="content">
<label>摄像头拍摄身份证正面(人像面)自动识别</label>
<view>
<ciy-aicameraocr ref="cameraocr" checkidcard="front" mode="idcard" @change="chgidcard"></ciy-aicameraocr>
</view>
<view class="ciy-form">
<label>实名姓名</label>
<view>
<ciy-input name="name" disabled ciystyle="width:6em;" :value="name" type="text" bb></ciy-input>
</view>
</view>
<view class="ciy-form">
<label>身份证号</label>
<view>
<ciy-input name="idno" disabled :value="idno" type="idcard" bb></ciy-input>
</view>
</view>
<view class="ciy-form-bottom">
<button class="btn lg cc" form-type="submit">申请实名认证</button>
</view>
</view>
</view>
</form>
<!-- <ciy-aivoice @change="chgvoice"></ciy-aivoice> -->
=======
</view> </view>
>>>>>>> publish:fapp/ciyon_ap/pages/me/safe_real.vue
</view> </view>
</template> </template>
@ -128,20 +94,11 @@
}); });
this.init = retjson; this.init = retjson;
if (retjson.code != 1) if (retjson.code != 1)
<<<<<<< HEAD:fapp/ciyon_ap/pages/main/me_real.vue
return;
=======
return this.alert(retjson.errmsg); return this.alert(retjson.errmsg);
>>>>>>> publish:fapp/ciyon_ap/pages/me/safe_real.vue
if (retjson.data && retjson.data.auditstatus == 100 && !this.me.truename) { if (retjson.data && retjson.data.auditstatus == 100 && !this.me.truename) {
this.me.truename = retjson.data.name; this.me.truename = retjson.data.name;
this.me.idid = retjson.data.idid; this.me.idid = retjson.data.idid;
this.setstorage('me', this.me); this.setstorage('me', this.me);
<<<<<<< HEAD:fapp/ciyon_ap/pages/main/me_real.vue
var app = getApp();
var page = app.getpage(1);
page.me = this.me;
=======
var page = app.getpage(1); var page = app.getpage(1);
page.me = this.me; page.me = this.me;
} }
@ -151,22 +108,15 @@
setTimeout(() => { setTimeout(() => {
this.getrefsSync('cameraocr').Step(1); this.getrefsSync('cameraocr').Step(1);
}, 500); }, 500);
>>>>>>> publish:fapp/ciyon_ap/pages/me/safe_real.vue
} }
setTimeout(() => { setTimeout(() => {
this.getrefsSync('cameraocr').Step(1); this.getrefsSync('cameraocr').Step(1);
}, 500); }, 500);
}, },
async submit(e) { async submit(e) {
<<<<<<< HEAD:fapp/ciyon_ap/pages/main/me_real.vue
// e.detail.value.name = '';
// e.detail.value.idno = '152304200111157127';
if (e.detail.value.name.length < 1)
=======
// this.editdata.name = ''; // this.editdata.name = '';
// this.editdata.idid = '152304200111157127'; // this.editdata.idid = '152304200111157127';
if (this.editdata.name.length < 1) if (this.editdata.name.length < 1)
>>>>>>> publish:fapp/ciyon_ap/pages/me/safe_real.vue
return this.toast('请输入姓名'); return this.toast('请输入姓名');
if (this.editdata.idid.length < 10) if (this.editdata.idid.length < 10)
return this.toast('请输入身份证号'); return this.toast('请输入身份证号');
@ -189,11 +139,7 @@
await this.toast('申请提交成功'); await this.toast('申请提交成功');
uni.navigateBack(); uni.navigateBack();
}, },
<<<<<<< HEAD:fapp/ciyon_ap/pages/main/me_real.vue
async chgidcard(e) {
=======
async chgcameraocr(e) { async chgcameraocr(e) {
>>>>>>> publish:fapp/ciyon_ap/pages/me/safe_real.vue
console.log(e); console.log(e);
this.idimg = e.tempimg; this.idimg = e.tempimg;
if (this._loading) if (this._loading)

View File

@ -1129,7 +1129,7 @@ export default {
field = field || 'name'; field = field || 'name';
nonestr = nonestr || '--'; nonestr = nonestr || '--';
if (typeof(arr) != 'object') { if (typeof(arr) != 'object') {
arr = this.g[arr] || (this.init.once && this.init.once[arr]) || this.init[arr]; arr = this.g[arr] || this.init[arr];
if (typeof(arr) != 'object') if (typeof(arr) != 'object')
return '!'; return '!';
} }

View File

@ -42,11 +42,7 @@ class logdb {
$csql->limit($pageno, $pagecount); $csql->limit($pageno, $pagecount);
$mainrowcount = $post->getint('count'); $mainrowcount = $post->getint('count');
$rows = $db->get($csql, $mainrowcount); $rows = $db->get($csql, $mainrowcount);
<<<<<<< HEAD
$ret = array('where' => $where, 'pageno' => $pageno, 'pagecount' => $pagecount, 'count' => $mainrowcount, 'list' => $rows);
=======
$ret = array('searchwhere' => $where, 'pageno' => $pageno, 'pagecount' => $pagecount, 'count' => $mainrowcount, 'list' => $rows); $ret = array('searchwhere' => $where, 'pageno' => $pageno, 'pagecount' => $pagecount, 'count' => $mainrowcount, 'list' => $rows);
>>>>>>> publish
if ($post->getbool('field')) { if ($post->getbool('field')) {
$field = array(); $field = array();
$fshow = $db->getfield($field, 'ap_log'); $fshow = $db->getfield($field, 'ap_log');
@ -55,11 +51,7 @@ class logdb {
} }
if ($post->getbool('once')) { if ($post->getbool('once')) {
<<<<<<< HEAD
$ret['once'] = array();
=======
$ret['once'] = true; $ret['once'] = true;
>>>>>>> publish
$input = array(); $input = array();
$input[] = array( $input[] = array(
'type' => 'input', 'type' => 'input',
@ -92,11 +84,7 @@ class logdb {
'name' => '详情', 'name' => '详情',
'prop' => ' style="width:8em;"' 'prop' => ' style="width:8em;"'
); );
<<<<<<< HEAD
$ret['once']['input'] = $input;
=======
$ret['searchinput'] = $input; $ret['searchinput'] = $input;
>>>>>>> publish
} }
$ret['ap_user'] = getrelation($db, $rows, 'ap_user', 'loguser'); $ret['ap_user'] = getrelation($db, $rows, 'ap_user', 'loguser');
return succjson($ret); return succjson($ret);

View File

@ -38,11 +38,7 @@ class luser {
$csql->limit($pageno, $pagecount); $csql->limit($pageno, $pagecount);
$mainrowcount = $post->getint('count'); $mainrowcount = $post->getint('count');
$rows = $db->get($csql, $mainrowcount); $rows = $db->get($csql, $mainrowcount);
<<<<<<< HEAD
$ret = array('where' => $where, 'pageno' => $pageno, 'pagecount' => $pagecount, 'count' => $mainrowcount, 'list' => $rows);
=======
$ret = array('searchwhere' => $where, 'pageno' => $pageno, 'pagecount' => $pagecount, 'count' => $mainrowcount, 'list' => $rows); $ret = array('searchwhere' => $where, 'pageno' => $pageno, 'pagecount' => $pagecount, 'count' => $mainrowcount, 'list' => $rows);
>>>>>>> publish
if ($post->getbool('field')) { if ($post->getbool('field')) {
$field = array(); $field = array();
$fshow = $db->getfield($field, 'ap_luser'); $fshow = $db->getfield($field, 'ap_luser');
@ -51,11 +47,7 @@ class luser {
} }
if ($post->getbool('once')) { if ($post->getbool('once')) {
<<<<<<< HEAD
$ret['once'] = array();
=======
$ret['once'] = true; $ret['once'] = true;
>>>>>>> publish
$input = array(); $input = array();
$input[] = array( $input[] = array(
'type' => 'input', 'type' => 'input',
@ -73,11 +65,7 @@ class luser {
'form' => 'model', 'form' => 'model',
'name' => '设备指纹', 'name' => '设备指纹',
); );
<<<<<<< HEAD
$ret['once']['input'] = $input;
=======
$ret['searchinput'] = $input; $ret['searchinput'] = $input;
>>>>>>> publish
} }
$ret['ap_user'] = getrelation($db, $rows, 'ap_user', 'loguser'); $ret['ap_user'] = getrelation($db, $rows, 'ap_user', 'loguser');
return succjson($ret); return succjson($ret);

View File

@ -47,7 +47,7 @@
<ciy-upload com="file" /> <ciy-upload com="file" />
</div> </div>
<div style="margin-left:0.3em;"> <div style="margin-left:0.3em;">
<a class="lang btn btn-sm def" href="/ud/inpl/ap_demo.xlsx" target="_blank">下载导入模板</a><br /> <a class="lang btn btn-sm def" href="/ud/inpl/ap_normal.xlsx" target="_blank">下载导入模板</a><br />
<div class="lang">每次导入建议不超过1000条</div> <div class="lang">每次导入建议不超过1000条</div>
<div class="lang">导入更新,首列为导出的行码</div> <div class="lang">导入更新,首列为导出的行码</div>
<div class="lang">请按模版列填写</div> <div class="lang">请按模版列填写</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 KiB

BIN
web/ud/img/banner.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

5
web/ud/svgicon/index.txt Normal file
View File

@ -0,0 +1,5 @@
cqd:<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M546.334118 258.198588V106.315294h288.527058V57.825882c0-31.924706-25.840941-57.825882-57.825882-57.825882H103.002353a57.825882 57.825882 0 0 0-57.825882 57.825882v886.66353C45.176471 976.414118 71.077647 1002.315294 103.002353 1002.315294H777.035294a57.765647 57.765647 0 0 0 57.795765-57.825882v-63.668706H121.133176v-151.853177H834.861176v-55.717647H121.133176v-151.823058H834.861176v-55.717648h-288.527058v-151.823058h288.527058v-55.717647h-288.527058z" fill="#A267F8"></path><path d="M834.861176 465.679059h121.494589V313.825882H834.861176z" fill="#F9D11F"></path><path d="M546.334118 465.679059h288.527058V313.825882h-288.527058z" fill="#7E42B9"></path><path d="M834.861176 673.249882h121.494589v-151.853176H834.861176z" fill="#F9D11F"></path><path d="M121.103059 673.249882h713.728v-151.853176H121.103059z" fill="#7E42B9"></path><path d="M834.861176 258.168471h121.494589V106.315294H834.861176z" fill="#F9D11F"></path><path d="M546.334118 258.168471h288.527058V106.315294h-288.527058z" fill="#7E42B9"></path><path d="M834.861176 880.790588h121.494589v-151.853176H834.861176z" fill="#F9D11F"></path><path d="M121.103059 880.790588h713.728v-151.853176H121.103059z" fill="#7E42B9"></path><path d="M485.586824 465.709176H121.103059v-81.799529a70.053647 70.053647 0 0 1 70.053647-70.053647h224.37647a70.053647 70.053647 0 0 1 70.053648 70.053647v81.799529zM386.891294 189.831529a83.516235 83.516235 0 1 1-167.03247 0 83.516235 83.516235 0 0 1 167.03247 0" fill="#FFFFFF"></path></svg>
cjf:<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M902.384941 257.114353H245.338353a98.454588 98.454588 0 0 0-98.454588 98.424471V746.315294a98.484706 98.484706 0 0 0 98.484706 98.454588h57.675294v141.914353c0 13.914353 16.745412 20.841412 26.593882 11.023059l152.937412-152.937412h419.84a98.484706 98.484706 0 0 0 98.42447-98.484706V355.568941a98.454588 98.454588 0 0 0-98.454588-98.42447" fill="#FF7E50"></path><path d="M98.424471 0h657.046588a98.454588 98.454588 0 0 1 98.484706 98.424471v390.806588a98.424471 98.424471 0 0 1-98.484706 98.42447H697.825882v141.914353a15.570824 15.570824 0 0 1-26.593882 11.023059l-152.997647-152.937412H98.424471A98.454588 98.454588 0 0 1 0 489.231059V98.424471A98.484706 98.484706 0 0 1 98.484706 0" fill="#F9D11F"></path><path d="M671.232 740.592941a15.600941 15.600941 0 0 0 26.624-11.023059v-141.94447h57.645176a98.394353 98.394353 0 0 0 98.424471-98.424471V257.084235H245.338353a98.424471 98.424471 0 0 0-98.424471 98.424471v232.116706h371.350589l152.967529 152.997647z" fill="#ED4042"></path><path d="M303.043765 468.269176h394.812235V358.098824H303.043765z" fill="#FFFFFF"></path></svg>
cmh:<svg viewBox="0 0 1355 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M663.491765 1002.315294c-162.454588 0-294.159059-131.734588-294.159059-294.189176V109.236706A109.236706 109.236706 0 0 1 478.569412 0h369.844706a109.236706 109.236706 0 0 1 109.236706 109.236706v598.889412c0 162.454588-131.704471 294.159059-294.159059 294.159058" fill="#31EC7C"></path><path d="M871.484235 916.148706c-114.868706 114.868706-301.116235 114.868706-416.015059 0L32.015059 492.634353a109.206588 109.206588 0 0 1 0-154.443294l261.511529-261.541647a109.206588 109.206588 0 0 1 154.443294 0l423.514353 423.454117c114.868706 114.928941 114.868706 301.176471 0 416.045177" fill="#A267F8"></path><path d="M455.499294 916.148706c-114.868706-114.868706-114.868706-301.116235 0-416.015059L879.013647 76.649412a109.206588 109.206588 0 0 1 154.443294 0l261.541647 261.541647a109.206588 109.206588 0 0 1 0 154.443294L871.514353 916.148706c-114.898824 114.868706-301.176471 114.868706-416.015059 0" fill="#F83CB6"></path><path d="M871.484235 500.133647L663.491765 292.141176l-208.022589 207.992471c-114.838588 114.868706-114.838588 301.116235 0 416.015059 114.898824 114.868706 301.176471 114.868706 416.015059 0 114.868706-114.898824 114.868706-301.146353 0-416.015059" fill="#7E42B9"></path><path d="M740.532706 636.235294a101.707294 101.707294 0 0 1-143.811765 143.811765 101.707294 101.707294 0 0 1 143.811765-143.811765" fill="#FFFFFF"></path></svg>
ctg:<svg viewBox="0 0 1114 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M801.039059 672.677647l-198.415059 198.415059-198.415059-198.415059-155.888941-155.888941 198.415059-198.415059 155.888941 155.888941 220.16-220.129882V133.150118a133.150118 133.150118 0 0 0-133.150118-133.12H118.211765C44.664471 0 0 59.632941 0 133.12v735.954824C0 942.682353 44.664471 1002.315294 118.211765 1002.315294h571.422117a133.12 133.12 0 0 0 133.12-133.180235v-218.172235l-21.714823 21.744941z" fill="#F9D11F"></path><path d="M1105.92 367.766588l-198.384941-198.415059-84.751059 84.781177v396.8z" fill="#3193FF"></path><path d="M446.735059 318.403765L248.32 516.818824l155.888941 155.888941 198.415059 198.415059 198.415059-198.415059 21.744941-21.744941V254.132706l-220.16 220.16z" fill="#006FD9"></path><path d="M119.657412 239.344941h583.439059v-134.625882H119.657412zM119.687529 882.627765h179.501177v-134.625883h-179.501177z" fill="#FFFFFF"></path></svg>