Commit ff86f7f2 by LJM

css

parent 50738473
......@@ -6,6 +6,20 @@
"description": "",
"glyphs": [
{
"icon_id": "35604131",
"name": "矩形",
"font_class": "juxing5",
"unicode": "e79d",
"unicode_decimal": 59293
},
{
"icon_id": "35604132",
"name": "矩形 (1)",
"font_class": "a-juxing1",
"unicode": "e79e",
"unicode_decimal": 59294
},
{
"icon_id": "35604112",
"name": "tdzty",
"font_class": "tdzty",
......
<template>
<view class="page-user">新闻</view>
<view class="page-news-detail">
<navElement title="新闻详情">
<template slot="title-bar">
<view style="text-align: right;"><text class="iconfont icon-juxing5"></text></view>
</template>
</navElement>
<view></view>
</view>
</template>
<script>
import { Api_Url } from '@/util/api.js';
import navElement from '@/components/nav.vue';
export default {
components: {
navElement
},
data() {
return {};
},
onShow() {
this.getData();
},
methods: {
getData() {
this.request(Api_Url + '/user/getUserType', 'POST', {}, true, true).then(res => {
if (res.err_code === 0) {
this.userInfo = res.data;
}
});
}
}
onShow() {},
methods: {}
};
</script>
<style lang="scss">
@import '@/assets/css/mine/zqsx.scss';
@import '@/assets/css/mine/news.scss';
</style>
......@@ -83,7 +83,7 @@
<script>
import { Ichunt_Api, Api_Url, Code_Url } from '@/util/api.js';
import { setCookie, delCookie, startCountdown } from '@/util/util.js';
import { setCookie, delCookie, getCookie, startCountdown } from '@/util/util.js';
import w_md5 from '@/util/md5.js';
export default {
......@@ -126,7 +126,11 @@ export default {
* 刷新验证码
*/
refresh() {
this.url = Code_Url + '?time=' + new Date().getTime() + '&pf=2';
var Yo4teW_gid = getCookie('Yo4teW_gid');
var Yo4teW_csrf = getCookie('Yo4teW_csrf');
var Yo4teW_uid = getCookie('Yo4teW_uid');
this.url = Code_Url + '?time=' + new Date().getTime() + '&pf=2&Yo4teW_gid=' + Yo4teW_gid + '&Yo4teW_csrf=' + Yo4teW_csrf + '&Yo4teW_uid=' + Yo4teW_uid;
},
/**
* 手机验证码
......@@ -148,7 +152,6 @@ export default {
});
return false;
}
this.request(Api_Url + '/public/smsVerify', 'POST', { mobile: this.formParams.account, verify: this.formParams.verify, intl_code: this.formParams.intl_code }, true, true).then(res => {
if (res.err_code === 0) {
if (!this.code_disabled) {
......
<template>
<view class="page-user">新闻</view>
<view class="page-news">
<navElement title="新闻资讯">
<template slot="title-bar">
<view style="text-align: right;"><text class="iconfont icon-search"></text></view>
</template>
</navElement>
<view class="tab">
<text class="box curr">行业热点</text>
<text class="box">猎芯公告</text>
<text class="box">猎芯活动</text>
<text class="box">知识分享</text>
</view>
<view class="list">
<navigator class="box" url="/article" hover-class="none">
<view class="pic"><image mode="aspectFill" src="https://img.ichunt.com/images/ichunt/202305/20/ffa1060a38803d5b436b33259fe142d0.jpg"></image></view>
</navigator>
<navigator class="box" url="/article" hover-class="none">
<view class="pic">
<image mode="aspectFill" src="https://img.ichunt.com/images/ichunt/202305/20/ffa1060a38803d5b436b33259fe142d0.jpg"></image>
<view class="uni-text">
<view class="desc">猎芯以数字化方式构建全新质检体系,保障企业猎芯以数字化方式构建全新质检体系,保障企业用…猎芯以数字化方式构建全新质检体系,保障企业</view>
<view class="desc-bar row bothSide">
<view class="label row verCenter">
<view class="label-box row rowCenter verCenter">专用传感器</view>
<view class="label-box">标签</view>
</view>
<text class="time">2023-03-16 18:23:17</text>
</view>
</view>
</view>
</navigator>
<navigator class="box" url="/article" hover-class="none">
<view class="pic">
<image mode="aspectFill" src="https://img.ichunt.com/images/ichunt/202305/20/ffa1060a38803d5b436b33259fe142d0.jpg"></image>
<view class="uni-text">
<view class="desc">猎芯以数字化方式构建全新质检体系,保障企业猎芯以数字化方式构建全新质检体系,保障企业用…猎芯以数字化方式构建全新质检体系,保障企业</view>
<view class="desc-bar row bothSide">
<view class="label row verCenter">
<view class="label-box row rowCenter verCenter">专用传感器</view>
<view class="label-box">标签</view>
</view>
<text class="time">2023-03-16 18:23:17</text>
</view>
</view>
</view>
</navigator>
<navigator class="box" url="/article" hover-class="none">
<view class="pic">
<image mode="aspectFill" src="https://img.ichunt.com/images/ichunt/202305/20/ffa1060a38803d5b436b33259fe142d0.jpg"></image>
<view class="uni-text">
<view class="desc">猎芯以数字化方式构建全新质检体系,保障企业猎芯以数字化方式构建全新质检体系,保障企业用…猎芯以数字化方式构建全新质检体系,保障企业</view>
<view class="desc-bar row bothSide">
<view class="label row verCenter">
<view class="label-box row rowCenter verCenter">专用传感器</view>
<view class="label-box">标签</view>
</view>
<text class="time">2023-03-16 18:23:17</text>
</view>
</view>
</view>
</navigator>
</view>
</view>
</template>
<script>
import { Api_Url } from '@/util/api.js';
import navElement from '@/components/nav.vue';
export default {
components: {
navElement
},
data() {
return {};
},
onShow() {
this.getData();
},
methods: {
getData() {
this.request(Api_Url + '/user/getUserType', 'POST', {}, true, true).then(res => {
if (res.err_code === 0) {
this.userInfo = res.data;
}
});
}
}
onShow() {},
methods: {}
};
</script>
<style lang="scss">
@import '@/assets/css/mine/zqsx.scss';
@import '@/assets/css/mine/news.scss';
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment