在搞加密解密

This commit is contained in:
xk_guohonglei
2020-09-01 10:17:18 +08:00
parent 95d1376376
commit e29760f1cb
29 changed files with 2139 additions and 406 deletions

View File

@@ -9,15 +9,14 @@
</view>
<view class="main-money bg-white margin radius">
<view class="cu-card case no-card ">
<view class="cu-item shadow">
<view class="cu-item bg-white shadow">
<view class="image">
<image src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597746946206&di=6e59ce33ad431328fa391cadb807da10&imgtype=0&src=http%3A%2F%2Fpic119.nipic.com%2Ffile%2F20161227%2F12449414_100501543000_2.jpg"
mode="widthFix"></image>
<image :src="mainURL+'default-station-bg.png'" mode="widthFix"></image>
<!-- <view class="cu-tag bg-blue">史诗</view> -->
<!-- <view class="cu-bar bg-shadeBottom"> <text class="text-cut">我已天理为凭踏入这片荒芜不再受凡人的枷锁遏制我已天理为凭踏入这片荒芜不再受凡人的枷锁遏制</text></view> -->
</view>
<view class="cu-list ">
<view class="cu-item padding-sm ">
<view class="cu-list bg-white position-re">
<view class="cu-item bg-white padding-sm ">
<view class="text-bold color-333 text-xl">
{{site.oilSiteName}}
</view>
@@ -25,7 +24,10 @@
{{site.address}}
</view>
<view class="color-333 padding-top-xs">
联系方式{{site.linkMan}}{{site.phone}}
联系方式<text v-if="site.linkMan">{{site.linkMan}}</text>
<text v-else>暂无</text>
<text v-if="site.phone">{{site.phone}}</text>
<text v-else>暂无</text>
</view>
</view>
</view>
@@ -34,7 +36,7 @@
</view>
</view>
<view class="margin margin-bottom-0 padding-bottom my-bg">
<OilMenuItem :oilItem="item" v-for="(item,index) in oilList" :key="index" />
<OilMenuItem :oilItem="item" v-for="(item,index) in oilList" :key="index" />
</view>
</view>
</template>
@@ -48,6 +50,7 @@
},
data() {
return {
mainURL: this.global.mainURL,
title: 'Hello',
site: {},
cuIconList: [{
@@ -97,13 +100,12 @@
methods: {
getSiteInfo() {
cloudSiteApi.getSiteDetail().then(res => {
console.log('...', res)
if (res.code === 20000) {
this.site = res.data.site
this.oilList = res.data.oil
uni.setStorage({
key:'oilSiteName',
data:res.data.site.oilSiteName
key: 'oilSiteName',
data: res.data.site.oilSiteName
})
}
})
@@ -112,12 +114,11 @@
};
</script>
<style>
<style scopeds>
.content {
min-height: 100%;
}
.cu-card.case.no-card .image {
margin: 0;
}
@@ -127,4 +128,10 @@
min-width: 100%;
position: absolute;
}
.position-re {}
image {
vertical-align: bottom;
}
</style>