Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
FlashMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
FlashMan
Commits
42e557fb
Commit
42e557fb
authored
May 22, 2019
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改样式
parent
79fa0afa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
10 deletions
+18
-10
app.js
app.js
+4
-5
SametradeZW.wxml
pages/product/SametradeZW/SametradeZW.wxml
+6
-3
SametradeZW.wxss
pages/product/SametradeZW/SametradeZW.wxss
+5
-0
luckdraw.js
pages/product/SametradeZW/luckdraw/luckdraw.js
+0
-2
product.wxml
pages/product/product.wxml
+3
-0
No files found.
app.js
View file @
42e557fb
//app.js
let
md5
=
require
(
'utils/md5.js'
)
let
utilMd5
=
require
(
'utils/md5_2.js'
);
App
({
// 小程序初始化时
onLaunch
:
function
(
options
)
{},
...
...
@@ -43,8 +42,8 @@ App({
let
sign
=
md5
(
'cmd='
+
url
+
'&'
+
'msg='
+
encodeURIComponent
(
data
).
toLowerCase
()
+
'&'
+
'timestamp='
+
timestamp
+
'&'
+
'token='
+
getApp
().
state
.
admin
.
token
+
'&'
+
'key='
+
''
)
wx
.
request
({
// url: 'http://192.168.2.214:8082/api/Common/Post',
url
:
'http://192.168.2.65:8025/api/Common/Post'
,
//春姐
//
url: 'https://reborn.oytour.com/api/common/post', //线上
//
url: 'http://192.168.2.65:8025/api/Common/Post', //春姐
url
:
'https://reborn.oytour.com/api/common/post'
,
//线上
// url: ' http://test.viitto.com/api/common/post',
method
:
'POST'
,
...
...
@@ -86,8 +85,8 @@ App({
let
timestamp
=
(
new
Date
()).
valueOf
()
let
sign
=
md5
(
'msg='
+
encodeURIComponent
(
JSON
.
stringify
(
msg
)).
toLowerCase
()
+
'&'
+
'timestamp='
+
timestamp
+
'&'
+
'token='
+
token
+
'&'
+
'key='
+
secretKey
)
wx
.
request
({
// url: 'http
://efficient.oytour.com/'+ url, //线上
url
:
'http://192.168.2.215:9000/'
+
url
,
//测试 亚军
url
:
'https
://efficient.oytour.com/'
+
url
,
//线上
//
url: 'http://192.168.2.215:9000/' + url, //测试 亚军
method
:
'POST'
,
data
:
{
...
...
pages/product/SametradeZW/SametradeZW.wxml
View file @
42e557fb
...
...
@@ -58,9 +58,12 @@
</view>
<view class='notice'>
<image class='notice_image' bindtap='selectionimg'
src="{{selection == false ?'../../../images/product/kuang.png':'../../../images/product/kuang_x.png' }}"></image>
<text class='notice_t'>已查看</text>
<view class = 'notice_box' bindtap='selectionimg'>
<image class='notice_image'
src="{{selection == false ?'../../../images/product/kuang.png':'../../../images/product/kuang_x.png' }}"></image>
<text class='notice_t'>已查看</text>
</view>
<view class='applicat' bindtap='Applicat' >
<text class='notice_t_r'>《报名须知》</text>
</view>
...
...
pages/product/SametradeZW/SametradeZW.wxss
View file @
42e557fb
...
...
@@ -223,6 +223,11 @@
align-items: center;
justify-content: center;
}
.notice_box{
display: flex;
flex-direction: row;
align-items: center
}
.notice_t{
font-size: 12px;
color: #333333;
...
...
pages/product/SametradeZW/luckdraw/luckdraw.js
View file @
42e557fb
...
...
@@ -140,11 +140,9 @@ Page({
var
list
=
[];
// //获取抽奖列表
app
.
$apit
(
'api/sell/lottery/getB2bTaskLottery'
,
{},
groupId
,
uid
,
token
,
secretKey
).
then
(
res
=>
{
console
.
log
(
res
.
lotteryAwardItem
)
let
a
=
res
.
lotteryRules
;
let
b
=
a
.
replace
(
/<p>/g
,
'
\
n'
);
let
c
=
b
.
replace
(
/
[
<
/
p>
]
/g
,
''
)
console
.
log
(
c
)
this
.
setData
({
lotteryId
:
res
.
id
,
...
...
pages/product/product.wxml
View file @
42e557fb
...
...
@@ -2,6 +2,9 @@
<view class='page__bd'>
<view class='header'>
<view class='header_check'>
<!-- <navigator url='SametradeZW/SametradeZW'>
<text class='header_check_in_text'>占位跳转临时使用</text>
</navigator> -->
<navigator url="productCheck/productCheck" class='header_check_in' hover-class="none">
<text class='header_check_in_text'>目的地、旅游路线</text>
<image class='header_check_in_image' src='../../images/product/product_ico_search.png'></image>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment